12012-06-01 Frank Warmerdam <[email protected]> 2 3 * libtiff/tif_unix.c: use strerror() to return a more specific error message 4 on failed open. 5 http://bugzilla.maptools.org/show_bug.cgi?id=2341 6 7 * libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs. 8 http://bugzilla.maptools.org/show_bug.cgi?id=2386 9 10 * tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support 11 for testing jpeg in tiff image decoding including the "raw" decode interface. 12 132012-05-31 Frank Warmerdam <[email protected]> 14 15 * libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in 16 JPEGDecodeRaw() - mostly likely to occur when there is confusion about 17 sampling values. 18 19 * libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed. 20 21 * libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval. 22 http://bugzilla.maptools.org/show_bug.cgi?id=2398 23 242012-05-29 Frank Warmerdam <[email protected]> 25 26 * libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories, 27 like EXIF directories. This fixes problems like a tag "320" existing in a custom directory getting 28 processed as if it were a colormap when it isn't really. Damn the wide variety of argument formulations 29 to get/set functions for different tags! 30 31 * libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata 32 is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag. 33 342012-05-24 Frank Warmerdam <[email protected]> 35 36 * libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward 37 accumulate" and overwrite the end by one word in at least some cases. 38 392012-05-23 Frank Warmerdam <[email protected]> 40 41 * libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs. 42 43 * tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files. 44 45 * libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on 46 the same image. 47 48 * libtiff/tif_ojpeg.c: make things more resilient in the face of files without 49 stripbytecounts or stripoffsets or where loading these fails. 50 51 * libtiff/tif_print.c: be careful about whether min/max values are singular 52 or one per sample. 53 54 * libtiff/tif_print.c: Avoid confusion about count size when printing custom fields. 55 May affect things like ISOSpeedRatings. 56 57 * libtiff/tif_dir.c: avoid one byte past end of ink names reading 58 in some cases. 59 602012-05-19 Bob Friesenhahn <[email protected]> 61 62 * man/TIFFGetField.3tiff: Correct the 'count' field type in the 63 example for how to retreive the value of unsupported tags. 64 652012-03-30 Frank Warmerdam <[email protected]> 66 67 * tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173) 68 care of Tom Lane @ Red Hat. 69 702012-02-18 Bob Friesenhahn <[email protected]> 71 72 * libtiff 4.0.1 released. 73 74 * Update automake used to 1.11.3. 75 76 * libtiff/tiffio.h: Use double-underbar syntax in GCC printf 77 attribute specification to lessen the risk of accidental macro 78 substitution. Patch from Vincent Torri. 79 802012-01-31 Frank Warmerdam <[email protected]> 81 82 * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around 83 assumption tag fetching is always successful. 84 85 * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL. 86 872012-01-22 Bob Friesenhahn <[email protected]> 88 89 * configure.ac: Add support for using library symbol versioning on 90 ELF systems with the GNU linker. Support is enabled via 91 --enable-ld-version-script. Disabled by default for now until 92 there is a decision for how to deploy a libtiff with versioned 93 symbols after libtiff 4.0.0 was already released. 94 952011-12-22 Bob Friesenhahn <[email protected]> 96 97 * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in 98 99 tif_win32.c. Patch by Edward Lam. 100 101 * configure.ac: Add libtiff private dependency on -llzma for 102 pkg-config. Patch by Mark Brand. 103 Updated Automake to 1.11.2. 104 1052011-12-21 Bob Friesenhahn <[email protected]> 106 107 * libtiff 4.0.0 released. 108 1092011-12-08 Frank Warmerdam <[email protected]> 110 111 * libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking 112 of _TIFFFillStriles() results (#gdal 4372) 113 1142011-12-07 Frank Warmerdam <[email protected]> 115 116 * libtiff/tif_dirread.c: fixes to deal with invalid files where 117 _TIFFFillStriles() fails, and we try to chop up strips (gdal #4372) 118 119 * libtiff/tif_dirread.c: fix error reporting when there is no 120 tag information struct and name (gdal #4373) 121 1222011-10-22 Bob Friesenhahn <[email protected]> 123 124 * Update GNU libtool to 2.4.2. 125 126 * tools/tiffsplit.c (tiffcp): TIFFGetField count field should be 127 uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe 128 Deroulers. 129 1302011-06-21 Frank Warmerdam <[email protected]> 131 132 * libtiff/libtiff.def: Restore TIFFMergeFieldInfo. 133 1342011-05-31 Jim Meyering <[email protected]> 135 136 * libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also 137 upon failure to allocate "resizeddata". 138 * tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for 139 allocation failure, not before. 140 * libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path 141 * tools/rgb2ycbcr.c (cvtRaster): unchecked malloc 142 * libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark 143 NULL-deref and possible overflow 144 * tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written" 145 * libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration 146 and set of otherwise unused local, data_is_empty. 147 * libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]: 148 Diagnose out-of-memory failure and return 0 rather than 149 dereferencing NULL. 150 1512011-05-24 Frank Warmerdam <[email protected]> 152 153 * libtiff/tif_dirread.c: produce special error message for zero tag 154 directories instead of error out on the malloc(0) failure. 155 1562011-05-16 Frank Warmerdam <[email protected]> 157 158 * libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and 159 related declarations as they are in active use by libraries 160 such as libgeotiff, and work just fine. (#2315) 161 1622011-04-20 Frank Warmerdam <[email protected]> 163 164 * libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete 165 TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API. 166 http://bugzilla.maptools.org/show_bug.cgi?id=2315 167 168 * libtiff/libtiff.def: add some missing (64bit) APIs. 169 http://bugzilla.maptools.org/show_bug.cgi?id=2316 170 1712011-04-09 Bob Friesenhahn <[email protected]> 172 173 * libtiff 4.0.0beta7 released. 174 1752011-04-09 Bob Friesenhahn <[email protected]> 176 177 * configure.ac: Should use AC_CANONICAL_HOST since host specifies 178 the run-time target whereas target is used to specify the final 179 output target if the package is a build tool (like a compiler), 180 which libtiff is not. Resolves libtiff bug 2307 "Use 181 AC_CANONICAL_HOST macro". 182 1832011-04-02 Bob Friesenhahn <[email protected]> 184 185 * configure.ac: Support configuring TIFF_INT64_FORMAT and 186 TIFF_UINT64_FORMAT appropriately for MinGW32. 187 188 * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32 189 printf conventions for 64-bit types because it uses the WIN32 CRT. 190 191 * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c, 192 tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32 193 printf conventions for 64-bit types because it uses the WIN32 CRT. 194 195 * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not 196 understood by WIN32 CRT. 197 198 * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC. 199 200 * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since 201 it is much more portable. Tmpfile is included in ISO/IEC 202 9899:1990 and the WIN32 CRT. 203 2042011-03-26 Frank Warmerdam <[email protected]> 205 206 * tools/tiffset.c: add -d and -sd switches to allow operation on 207 a particular directory, not just the first (jef). 208 2092011-03-21 Frank Warmerdam <[email protected]> 210 211 * libtiff/tif_thunder.c: Correct potential buffer overflow with 212 thunder encoded files with wrong bitspersample set. The libtiff 213 development team would like to thank Marin Barbella and TippingPoint's 214 Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004, 215 CVE-2011-1167). 216 http://bugzilla.maptools.org/show_bug.cgi?id=2300 217 2182011-03-10 Frank Warmerdam <[email protected]> 219 220 * libtiff/tif_fax3.h: Fix to last change allowing zero length 221 runs at the start of a scanline - needed for legal cases. 222 2232011-03-02 Frank Warmerdam <[email protected]> 224 225 * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 226 a move left. Without this, a malicious input file can generate an 227 indefinitely large series of runs without a0 ever reaching the right 228 margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192. 229 This is a modified version of a patch proposed by Drew Yao of Apple 230 Product Security. It adds an unexpected() report, and disallows the 231 equality case, since emitting a run without increasing a0 still allows 232 buffer overrun. 233 2342011-02-23 Frank Warmerdam <[email protected]> 235 236 * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296) 237 238 * tools/tiff2rgba.c: close source file on error to make leak 239 detection easier. 240 241 * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails. 242 243 http://bugzilla.maptools.org/show_bug.cgi?id=2295 244 2452011-02-22 Frank Warmerdam <[email protected]> 246 247 * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ 248 _SUPPORT) 249 2502011-02-18 Frank Warmerdam <[email protected]> 251 252 * configure.ac, configure: Added support for --enable-chunky-strip-read 253 configure option to enable the experimental feature from a couple 254 months ago for reading big strips in chunks. 255 256 * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 257 tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c: 258 Implement optional support for deferring the load of strip/tile 259 offset and size tags for optimized scanning of directories. Enabled 260 with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD 261 #define in tif_config.h). 262 2632011-02-11 Frank Warmerdam <[email protected]> 264 265 * libtiff/tif_print.c: remove unused variable. 266 2672011-02-09 Frank Warmerdam <[email protected]> 268 269 * libtiff/tif_win32.c: avoid error/warning buffer overrun problem 270 with non-console (popup message) builds on win32. 271 272 http://bugzilla.maptools.org/show_bug.cgi?id=2293 273 2742011-01-24 Olivier Paquet <[email protected]> 275 276 * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c, 277 tif_print.c, tiff.h, tiffiop.h} : Added support for 278 TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different 279 values for each sample. Presents the min/max of all samples by default for 280 compatibility. TIFFSetField/TIFFGetField can be made to handle those tags 281 as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag. 282 http://www.asmail.be/msg0055458208.html 283 2842011-01-06 Frank Warmerdam <[email protected]> 285 286 * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 287 maintained. 288 289 * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 290 for CHUNKY_STRIP_READ_SUPPORT. 291 292 * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained 293 during JPEGPreDecode and JPEGDecode calls. 294 * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 295 as compression formats like JPEG keep 16 lines interleaved in a sense 296 and might need to touch quite a bit of data. 297 298 http://trac.osgeo.org/gdal/ticket/3894 299 3002011-01-03 Lee Howard <[email protected]> 301 302 * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images 303 caused by commit on 2010-12-14. Submitted by e-mail from 304 Even Rouault <[email protected]> 305 3062010-12-31 Olivier Paquet <[email protected]> 307 308 * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE. 309 http://bugzilla.maptools.org/show_bug.cgi?id=2266 310 3112010-12-23 Andrey Kiselev <[email protected]> 312 313 * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the 314 compression level parameter (preset) for Deflate and LZMA encoders, 315 e.g "-c lzma:p1" or "-c zip:p9". 316 317 * libtiff/tif_lzma.c: Properly set the LZMA2 compression level 318 (preset) in LZMAVSetField(). 319 3202010-12-18 Bob Friesenhahn <[email protected]> 321 322 * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to 323 Makefile. 324 3252010-12-14 Andrey Kiselev <[email protected]> 326 327 * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h, 328 tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new 329 TIFF compression scheme LZMA reserving a new value 34925 for 330 Compression tag. As per 331 bug http://bugzilla.maptools.org/show_bug.cgi?id=2221 332 3332010-12-14 Lee Howard <[email protected]> 334 335 * libtiff/tif_dirread.c: tolerate some cases where 336 FIELD_COLORMAP is missing 337 http://bugzilla.maptools.org/show_bug.cgi?id=2189 338 3392010-12-14 Lee Howard <[email protected]> 340 341 * libtiff/tif_read.c: change read_ahead to tmsize_t 342 http://bugzilla.maptools.org/show_bug.cgi?id=2222 343 3442010-12-14 Lee Howard <[email protected]> 345 346 * configure.ac, libtiff/Makefile.am: Build tif_win32.c on 347 Windows except on Cygwin 348 http://bugzilla.maptools.org/show_bug.cgi?id=2224 349 3502010-12-14 Lee Howard <[email protected]> 351 352 * tools/gif2tiff.c: fix buffer overrun 353 http://bugzilla.maptools.org/show_bug.cgi?id=2270 354 3552010-12-14 Lee Howard <[email protected]> 356 357 * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order 358 to improve compatibility with various viewers 359 submitted by e-mail from Dwight Kelly <[email protected]> 360 3612010-12-13 Lee Howard <[email protected]> 362 363 * tools/fax2ps.c: be consistent with page-numbering 364 http://bugzilla.maptools.org/show_bug.cgi?id=2225 365 3662010-12-13 Lee Howard <[email protected]> 367 368 * libtiff/tif_color.c: prevent crash in handling bad TIFFs 369 resolves CVE-2010-2595 370 http://bugzilla.maptools.org/show_bug.cgi?id=2208 371 3722010-12-13 Lee Howard <[email protected]> 373 374 * tools/tiffcrop.c: new release by Richard Nolde 375 http://bugzilla.maptools.org/show_bug.cgi?id=2004 376 3772010-12-12 Lee Howard <[email protected]> 378 379 * tools/tiff2pdf.c: fix colors for images with RGBA 380 interleaved data 381 http://bugzilla.maptools.org/show_bug.cgi?id=2250 382 3832010-12-12 Lee Howard <[email protected]> 384 385 * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files 386 http://bugzilla.maptools.org/show_bug.cgi?id=2164 387 3882010-12-11 Lee Howard <[email protected]> 389 390 * tools/tiff2pdf.c: remove invalid duplication for Lab 391 http://bugzilla.maptools.org/show_bug.cgi?id=2162 392 3932010-12-11 Lee Howard <[email protected]> 394 395 * libtiff/tif_jpeg.c: fix use of clumplines calculation 396 http://bugzilla.maptools.org/show_bug.cgi?id=2149 397 3982010-12-11 Lee Howard <[email protected]> 399 400 * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp() 401 http://bugzilla.maptools.org/show_bug.cgi?id=2118 402 4032010-12-11 Lee Howard <[email protected]> 404 405 * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c, 406 libtiff/tif_zip.c: fix build errors for VC6 407 http://bugzilla.maptools.org/show_bug.cgi?id=2105 408 4092010-12-11 Lee Howard <[email protected]> 410 411 * libtiff/tif_stream.cxx: warnings cleanup 412 http://bugzilla.maptools.org/show_bug.cgi?id=2091 413 * libtiff/tif_dirread.c: warnings cleanup 414 http://bugzilla.maptools.org/show_bug.cgi?id=2092 415 4162010-12-11 Lee Howard <[email protected]> 417 418 * tools/tiff2pdf.c: add fill-page option 419 http://bugzilla.maptools.org/show_bug.cgi?id=2051 420 4212010-12-11 Lee Howard <[email protected]> 422 423 * libtiff/tif_dirread.c: modify warnings 424 http://bugzilla.maptools.org/show_bug.cgi?id=2016 425 4262010-12-11 Lee Howard <[email protected]> 427 428 * libtiff/tif_ojpeg.c: fix buffer overflow on problem data 429 http://bugzilla.maptools.org/show_bug.cgi?id=1999 430 4312010-12-11 Lee Howard <[email protected]> 432 433 * tools/tiffinfoce.c: strip byte counts are uint64* now 434 4352010-12-11 Lee Howard <[email protected]> 436 437 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero 438 or missing byte-count tag 439 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count 440 per http://bugzilla.maptools.org/show_bug.cgi?id=1996 441 4422010-12-08 Lee Howard <[email protected]> 443 444 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed 445 TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994 446 4472010-12-06 Lee Howard <[email protected]> 448 449 * libtiff/tif_open.c: Fix mode check before opening a file. 450 http://bugzilla.maptools.org/show_bug.cgi?id=1906 451 4522010-11-27 Bob Friesenhahn <[email protected]> 453 454 * libtiff-4.pc.in: Added libtiff pkg-config .pc file support. 455 Patch by Vincent Torri. 456 4572010-10-21 Frank Warmerdam <[email protected]> 458 459 * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler. 460 461 * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf. 462 463 * libtiff/libtiff.def: export _TIFFCheckMalloc for tools. 464 4652010-09-25 Lee Howard <[email protected]> 466 467 * tools/tiff2ps.c: improvements and enhancements from Richard Nolde 468 with additional command line options for Document Title, 469 Document Creator, and Page Orientation 470 4712010-07-13 Bob Friesenhahn <[email protected]> 472 473 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 474 potentially unterminated buffer due to using an exceptionally long 475 file name. 476 4772010-07-08 Andrey Kiselev <[email protected]> 478 479 * tools/tiff2pdf.c: Fixed ID buffer filling in 480 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 481 4822010-07-07 Andrey Kiselev <[email protected]> 483 484 * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 485 to expected value as the warning message suggests. As per bug 486 http://bugzilla.maptools.org/show_bug.cgi?id=1963 487 4882010-07-06 Andrey Kiselev <[email protected]> 489 490 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 491 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 492 which should be set by value. 493 494 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 495 and _TIFFFieldWithName() if the tag is not found in the tag table. 496 This should be normal situation and returned NULL value should be 497 properly handled by the caller. 498 4992010-07-02 Andrey Kiselev <[email protected]> 500 501 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 502 integer type conversions. As per bug 503 http://bugzilla.maptools.org/show_bug.cgi?id=2207 504 505 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 506 WhitePoint tag as per bug 507 http://bugzilla.maptools.org/show_bug.cgi?id=2042 508 509 * libtiff/tif_getimage.c: Check the number of samples per pixel when 510 working with YCbCr image in PickContigCase(). As per bug 511 http://bugzilla.maptools.org/show_bug.cgi?id=2216 512 513 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 514 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 515 we don't need any post-processing. That helps to reset the hook if we 516 previously set this field to some other value and the hook was 517 initialized accordingly. As per bug 518 http://bugzilla.maptools.org/show_bug.cgi?id=2035 519 5202010-07-01 Andrey Kiselev <[email protected]> 521 522 * tools/tiffgt.c: Properly check the raster buffer allocations for 523 integer overflows. As per bug 524 http://bugzilla.maptools.org/show_bug.cgi?id=2108 525 526 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 527 upstream. 528 529 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 530 multiply_32() and multiply_64() functions into tif_aux.c file and 531 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 532 5332010-06-30 Andrey Kiselev <[email protected]> 534 535 * tools/tiff2pdf.c: Better generation of ID field in 536 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 537 538 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 539 converting JPEG encoded tiles. 540 541 * tools/tiff2pdf.c: Better handling of string fields, use static 542 string buffers instead of dynamically allocated, use strncpy() instead 543 of strcpy(), control the string lengths. 544 5452010-06-25 Andrey Kiselev <[email protected]> 546 547 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 548 referencing to uninitialized memory in some cases (e.g. when tile size 549 set bigger than the image size). 550 5512010-06-15 Bob Friesenhahn <[email protected]> 552 553 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 554 subsampled data since tiffcrop currently doesn't support it. Fix 555 JPEG support. 556 5572010-06-13 Frank Warmerdam <[email protected]> 558 559 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 560 561 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 562 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 563 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 564 size is larger. Also, there are a bunch of places that try to 565 memset() a malloc'd buffer before checking for malloc failure, which 566 would result in core dump if there actually were a failure. (#2211) 567 5682010-06-11 Bob Friesenhahn <[email protected]> 569 570 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 571 avoid compiler warnings if parameter types are not sign 572 consistent. 573 574 * libtiff 4.0.0alpha6 released. 575 576 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 577 European page size dimensions. Added an option to allow the user 578 to specify a custom page size on the command line. Fix the case 579 where a page size specified with a fractional part was being 580 coerced to an integer by retyping the variables that define the 581 paper size. 582 583 * html/index.html: Update for the 3.9.3 release. 584 585 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 586 YCbCr subsampled data since tiffcp currently doesn't support it. 587 http://bugzilla.maptools.org/show_bug.cgi?id=2097 588 589 * Update libtool to version 2.2.10. 590 5912010-06-10 Bob Friesenhahn <[email protected]> 592 593 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 594 multiplier is zero. 595 5962010-06-09 Bob Friesenhahn <[email protected]> 597 598 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 599 CVE-2010-1411 was not complete. 600 601 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 602 multiply two integers. Returns zero if there is an integer 603 overflow. 604 605 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 606 is reported when reading the input file. 607 6082010-06-08 Bob Friesenhahn <[email protected]> 609 610 * Update libtool to version 2.2.8. 611 612 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 613 buffer due to integer overflow in TIFFroundup() and several other 614 potential overflows. In conjunction with the fix to TIFFhowmany(), 615 fixes CVE-2010-1411. 616 617 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 618 result in an integer overflow. This causes TIFFroundup() to also 619 return zero if there would be an integer overflow. 620 621 * contrib: Add an emacs formatting mode footer to all source files 622 so that emacs can be effectively used. 623 6242010-06-03 Oliver Chen Feng <[email protected]> 625 626 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 627 file PAGENUMBER value in sequence for users who care the page 628 sequence, this will also prevent tiff2pdf from creating pdf file from 629 the merged tiff file with wrong page sequence. 630 6312010-05-08 Olivier Paquet <[email protected]> 632 633 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 634 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 635 * libtiff/tif_dirinfo.c: Use correct set_field_type for 636 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 637 http://bugzilla.maptools.org/show_bug.cgi?id=2192 638 6392010-05-07 Frank Warmerdam <[email protected]> 640 641 * libtiff/tif_jpeg.c: Ensure that quality is always set in 642 JPEGPreEncode(), not just when we want to output local tables. 643 Otherwise the quality used during compression may not be right and 644 might not match the tables in the tables tag. This bug only occurs 645 when seeking between directories in the midst of writing blocks. 646 http://trac.osgeo.org/gdal/ticket/3539 647 6482010-05-06 Andrey Kiselev <[email protected]> 649 650 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 651 Regenerated from the source. 652 6532010-05-05 Olivier Paquet <[email protected]> 654 655 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 656 had stopped working. Also made it always print 6 floats instead of 657 2*SamplesPerPixel. 658 http://bugzilla.maptools.org/show_bug.cgi?id=2191 659 http://bugzilla.maptools.org/show_bug.cgi?id=2186 660 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 661 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 662 6632010-05-05 Frank Warmerdam <[email protected]> 664 665 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 666 if the jpeg table was written. This is a fix for the last fix on 04-21. 667 6682010-04-21 Frank Warmerdam <[email protected]> 669 670 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 671 JPEGSetupEncode() is called if the tables already seem to be 672 established. This prevents spurious updates and rewriting of 673 directories with jpegtables when doing updates to existing images. 674 http://trac.osgeo.org/gdal/ticket/3539 675 6762010-04-20 Olivier Paquet <[email protected]> 677 678 * libtiff/tif_dirinfo.c: Use correct set_field_type for 679 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 680 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 681 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 682 http://bugzilla.maptools.org/show_bug.cgi?id=2139 683 6842010-04-10 Bob Friesenhahn <[email protected]> 685 686 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 687 when the tag count value is zero. Error handling is still a 688 regression since in 3.9.2, empty tags are skipped (with a warning) 689 rather than returning a hard error and refusing to read the file. 690 691 * tools/ppm2tiff.c (main): While case for parsing comment line 692 requires extra parenthesis to work as expected. Reported by 693 Thomas Sinclair. 694 6952010-04-02 Frank Warmerdam <[email protected]> 696 697 * libtiff/tif_read.c (primarily): Add support for 698 CHUNKY_STRIP_READ_SUPPORT where large strips are 699 read in chunks for applications using TIFFReadScanline(). 700 This is intended to make it more practical work with very 701 large compressed one-strip files. Feature is off by default. 702 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 703 http://trac.osgeo.org/gdal/ticket/3514 704 7052010-03-31 Frank Warmerdam <[email protected]> 706 707 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 708 directories so previously placed directories will be migrated to 709 the end of file if needed. 710 7112010-03-30 Frank Warmerdam <[email protected]> 712 713 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 714 to support operating on strips/tiles of more than 256MB. 715 http://trac.osgeo.org/gdal/ticket/3512 716 7172010-03-10 Bob Friesenhahn <[email protected]> 718 719 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 720 that it is clearly a memory allocation error message, and also 721 includes the size of the allocation request. 722 7232010-02-22 Lee Howard <[email protected]> 724 725 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 726 the JPEG TIFF as is is not required in order to prevent it from 727 being unused and filled with invalid data. (Leave it to be 728 generated by later activity.) 729 http://bugzilla.maptools.org/show_bug.cgi?id=2135 730 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 731 data rather than skipping them. This fixes the ability to view in 732 Acrobat Reader, Evince, and Ghostscript. 733 http://bugzilla.maptools.org/show_bug.cgi?id=2135 734 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 735 strips. 736 http://bugzilla.maptools.org/show_bug.cgi?id=2029 737 7382009-12-03 Frank Warmerdam <[email protected]> 739 740 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 741 Made so that when working with downsampled images a stub function 742 reporting an error is used for tif_decoderow. We cannot meaningfully 743 support reading scanlines in this situation. (#1936) 744 745 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 746 resetting of the upsampling values (gdal:#3259). 747 http://bugzilla.maptools.org/show_bug.cgi?id=1936 748 7492009-11-30 Frank Warmerdam <[email protected]> 750 751 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 752 tools/ras2tiff.c: Fix resource leaks on error. 753 http://bugzilla.maptools.org/show_bug.cgi?id=2121 754 755 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 756 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 757 of as a custom(generic) field to avoid a potential reentrancy problem. 758 http://bugzilla.maptools.org/show_bug.cgi?id=2125 759 760 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 761 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 762 const, and display_sRGB static and const. 763 http://bugzilla.maptools.org/show_bug.cgi?id=2124 764 7652009-11-04 Bob Friesenhahn <[email protected]> 766 767 * libtiff 4.0.0alpha5 released. 768 7692009-11-03 Bob Friesenhahn <[email protected]> 770 771 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 772 version has undergone substantial testing with arbitrary sample 773 bit depths. Also eliminates GCC compilation warnings. 774 7752009-11-02 Bob Friesenhahn <[email protected]> 776 777 * port/libport.h: Add extern declarations for getopt standard 778 globals. 779 7802009-10-31 Bob Friesenhahn <[email protected]> 781 782 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 783 noticed in 64-bit build of libtiff with Visual Studio 2005. 784 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 785 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 786 787 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 788 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 789 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 790 http://bugzilla.maptools.org/show_bug.cgi?id=2068 791 7922009-10-29 Bob Friesenhahn <[email protected]> 793 794 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 795 pointer" warnings. 796 7972009-10-28 Bob Friesenhahn <[email protected]> 798 799 * html/tools.html: Add manual page links, and a summary 800 description of tiffcrop. 801 8022009-10-07 Bob Friesenhahn <[email protected]> 803 804 * configure.ac: x86_64 should use the same fill order as i386. 805 8062009-09-24 Bob Friesenhahn <[email protected]> 807 808 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 809 Nolde. Major updates to add significant functionality for reading 810 and writing tile based images with bit depths not a multiple of 8 811 which cannot be handled by tiffcp. 812 8132009-09-03 Bob Friesenhahn <[email protected]> 814 815 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 816 do_fancy_upsampling=FALSE in order to read raw data. Resolves 817 "Bug 2090 - OJPEG crash with libjpeg v7". 818 http://bugzilla.maptools.org/show_bug.cgi?id=2090 819 8202009-09-03 Frank Warmerdam <[email protected]> 821 822 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 823 interface when stoponerror is set. 824 http://bugzilla.maptools.org/show_bug.cgi?id=2071 825 8262009-08-30 Bob Friesenhahn <[email protected]> 827 828 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 829 fix build with gcc when using the "-Wformat 830 -Werror=format-security" flags. 831 8322009-08-29 Bob Friesenhahn <[email protected]> 833 834 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 835 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 836 utilities tests. 837 8382009-08-28 Bob Friesenhahn <[email protected]> 839 840 * tools/tiffinfo.c: tiffinfo should return error status to the 841 caller. Register a private error callback to accomplish that. 842 843 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 844 PNM formats so that we will be able to test more of the tools. 845 While adding these test images I notice that bmp2tiff and gif2tiff 846 only support ancient versions of their respective formats. 847 8482009-08-27 Bob Friesenhahn <[email protected]> 849 850 * libtiff 4.0.0alpha4 released. 851 852 * HOWTO-RELEASE: Improved release instructions. 853 8542009-08-24 Bob Friesenhahn <[email protected]> 855 856 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 857 fixes for "Bug 2023 - nroff errors in manual pages". 858 http://bugzilla.maptools.org/show_bug.cgi?id=2023 859 860 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 861 CVE-2009-2347 libtiff: integer overflows in various inter-color 862 space conversion tools". 863 http://bugzilla.maptools.org/show_bug.cgi?id=2079 864 865 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 866 Berkenbilt for "Bug 2024 - possible null pointer dereference with 867 one-line fix". 868 http://bugzilla.maptools.org/show_bug.cgi?id=2024 869 870 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 871 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 872 segfault after setting tdir_tag = IGNORE". 873 http://bugzilla.maptools.org/show_bug.cgi?id=1895 874 8752009-08-23 Bob Friesenhahn <[email protected]> 876 877 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 878 tiffcrop.sh into a collection of many specific tests. Re-wrote 879 all of the existing tests to be based on some simple shell 880 functions. Make distcheck works again. 881 882 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 883 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 884 tests under valgrind. 885 8862009-08-21 Bob Friesenhahn <[email protected]> 887 888 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 889 build. 890 891 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 892 actually activated since it needed to be enabled in this 893 Makefile.am. Also activated parallel-tests mode since it offers 894 useful features such as per-test .log files and a summary test 895 report .log file. 896 8972009-08-20 Bob Friesenhahn <[email protected]> 898 899 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 900 libtool 2.2.6. Enabled support for silent build rules 901 (--enable-silent-rules or 'make V=0') and colorized tests. 902 903 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 904 9052009-06-30 Frank Warmerdam <[email protected]> 906 907 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 908 909 * tools/tiffcp.c: add -c sgilog support. 910 911 * libtiff/tif_luv.c: correct return codes from encoderow to be 912 1 on success instead of zero. 913 http://bugzilla.maptools.org/show_bug.cgi?id=2069 914 915 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 916 #1085 for a better underflow fix that errors properly. 917 http://bugzilla.maptools.org/show_bug.cgi?id=2065 918 http://bugzilla.maptools.org/show_bug.cgi?id=1985 919 9202009-06-26 Frank Warmerdam <[email protected]> 921 922 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 923 fails on oddly sized 12bit jpeg compressed ycbcr images. 924 9252009-06-22 Frank Warmerdam <[email protected]> 926 927 * libtiff/tif_lzw.c: Fix buffer underflow bug. 928 http://bugzilla.maptools.org/show_bug.cgi?id=2065 929 9302009-06-21 Frank Warmerdam <[email protected]> 931 932 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 933 for dual mode 8/12 bit jpeg support. 934 9352009-06-03 Frank Warmerdam <[email protected]> 936 937 * libtiff/tif_write.c: do not override the planar configuration to be 938 contig for one sample files if planar configuration is already set. 939 http://bugzilla.maptools.org/show_bug.cgi?id=2057 940 9412009-06-02 Frank Warmerdam <[email protected]> 942 943 * libtiff/libtiff.def: Add TIFFUnsetField. 944 9452009-05-03 Frank Warmerdam <[email protected]> 946 947 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 948 error reports to use "%s" as format string. 949 http://trac.osgeo.org/gdal/ticket/2976 950 9512009-03-12 Frank Warmerdam <[email protected]> 952 953 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 954 for some codecs (#2020). 955 9562009-02-12 Frank Warmerdam <[email protected]> 957 958 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 959 http://bugzilla.maptools.org/show_bug.cgi?id=2005 960 9612009-02-09 Frank Warmerdam <[email protected]> 962 963 * libtiff/tif_dirread.c: Improve allocation safety when allocated 964 buffer for large tags. (#1998) Related to (#1993) 965 9662009-02-06 Frank Warmerdam <[email protected]> 967 968 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 969 test suite should pass. 970 9712009-02-05 Frank Warmerdam <[email protected]> 972 973 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 974 but at the 2GB boundary to avoid overflow on 32bit systems. 975 http://bugzilla.maptools.org/show_bug.cgi?id=1993 976 977 * libtiff/tif_dirread.c: Remove some assertions that blow due to 978 corrupt files rather than in response to library internal 979 inconsistencies. 980 http://bugzilla.maptools.org/show_bug.cgi?id=1995 981 http://bugzilla.maptools.org/show_bug.cgi?id=1991 982 983 * libtiff/tif_dirread.c: Fixed testing for failed result from 984 TIFFReadDirectoryFindFieldInfo(). 985 http://bugzilla.maptools.org/show_bug.cgi?id=1992 986 9872009-01-23 Frank Warmerdam <[email protected]> 988 989 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 990 http://bugzilla.maptools.org/show_bug.cgi?id=1911 991 992 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 993 994 http://bugzilla.maptools.org/show_bug.cgi?id=1924 995 996 * tools/tiffcrop.c: initialize xres/yres values. 997 998 * test/*.sh - default ${srcdir} to local directory. 999 1000 * test/common.sh - start verbose mode after common settings. 1001 1002 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 1003 avoid type mismatches on different platforms. 1004 http://bugzilla.maptools.org/show_bug.cgi?id=1889 1005 10062009-01-22 Frank Warmerdam <[email protected]> 1007 1008 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 1009 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 1010 1011 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 1012 defined, primarily to reduce prototype warnings on windows. 1013 1014 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 1015 about unused parameters, and uninitialized variables. 1016 10172009-01-21 Bob Friesenhahn <[email protected]> 1018 1019 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 1020 order to trace full execution detail while executing the test suite. 1021 10222009-01-20 Frank Warmerdam <[email protected]> 1023 1024 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 1025 10262009-01-20 Bob Friesenhahn <[email protected]> 1027 1028 * test/Makefile.am (CLEANFILES): Make sure that test output files 1029 are removed by 'make clean' 1030 1031 * Update autotools for 4.0.0 beta3 1032 1033 * 4.0.0 beta3 produced. 1034 10352009-01-12 Bob Friesenhahn <[email protected]> 1036 1037 * test/tiffcrop.sh: New test script for tiffcrop from Richard 1038 Nolde. 1039 1040 * tools/tiff2ps.c: Remove spurious message to stderr. 1041 10422009-01-11 Bob Friesenhahn <[email protected]> 1043 1044 * tools/tiff2ps.c: Incorporated significant functionality update 1045 from Richard Nolde. In particular, support for rotating the image 1046 by 90, 180, 270, and 'auto' has been added. 1047 1048 * man/tiffcrop.1: Incorporated documentation updates from Richard 1049 Nolde. 1050 1051 * tools/tiffcrop.c: Incorporated significant functionality update 1052 from Richard Nolde. 1053 10542008-12-31 Bob Friesenhahn <[email protected]> 1055 1056 * libtiff/tiffio.h: GCC will now validate format specifications 1057 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 1058 TIFFWarningExt() in order to reveal bugs. 1059 1060 * Many fixes throughout to work better as a 64-bit build. 1061 10622008-12-30 Bob Friesenhahn <[email protected]> 1063 1064 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 1065 tags now require 64-bit parameter rather than 32-bit. 1066 1067 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 1068 64-bit values. 1069 1070 * tools/thumbnail.c: Eliminate crash noticed while running test 1071 suite. 1072 10732008-12-29 Bob Friesenhahn <[email protected]> 1074 1075 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 1076 Initialize stack variables to avoid compiler warning. 1077 1078 * tools/tiffinfoce.c (main): Use toff_t for offset type when 1079 retrieving offset of EXIF IFD. 1080 1081 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 1082 TIFFClientOpen() callback and other external function definitions. 1083 1084 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 1085 type now. Fixes crash when dumping files containing an EXIF IFD. 1086 1087 * m4/libtool.m4: Update to libtool 2.2.6. 1088 10892008-12-21 Frank Warmerdam <[email protected]> 1090 1091 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 1092 1093 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 1094 strip for the last partial strip in a jpeg compressed file. 1095 http://bugzilla.maptools.org/show_bug.cgi?id=1981 1096 10972008-10-29 Frank Warmerdam <[email protected]> 1098 1099 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 1100 we take the shortcut to only update the strip/tile offsets in place. 1101 http://trac.osgeo.org/gdal/ticket/2621 1102 11032008-10-21 Andrey Kiselev <[email protected]> 1104 1105 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 1106 the older versions retained). 1107 11082008-10-09 Frank Warmerdam <[email protected]> 1109 1110 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 1111 IPP enabled version of libjpeg from Intel. 1112 http://bugzilla.maptools.org/show_bug.cgi?id=1951 1113 11142008-09-05 Andrey Kiselev <[email protected]> 1115 1116 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 1117 Required for libtiff 4.0. 1118 1119 * tools/tiffsplit.c: Use dynamically allocated array instead of static 1120 when constructing output file names. 1121 11222008-09-03 Andrey Kiselev <[email protected]> 1123 1124 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 1125 doing the filename/path construction. 1126 1127 * tools/tiff2pdf.c: More appropriate format string in 1128 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 1129 1130 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 1131 1132 http://bugzilla.maptools.org/show_bug.cgi?id=1929 1133 1134 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 1135 CVE-2008-2327 security issue. 1136 11372008-09-01 Frank Warmerdam <[email protected]> 1138 1139 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 1140 1141 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 1142 depending on whether the file is bigtiff or classic tiff. 1143 http://bugzilla.maptools.org/show_bug.cgi?id=1917 1144 11452008-08-12 Edward Lam <[email protected]> 1146 1147 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 1148 consistent (__int64) casting when testing if _lseeki64 has 1149 successfully seeked as requested. This is necessary for large 1150 file support to work since off_t is only 32-bit. 1151 11522008-07-29 Frank Warmerdam <[email protected]> 1153 1154 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 1155 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 1156 with control logic to return runtime errors (c/o Even Rouault) (#1927). 1157 11582008-06-17 Frank Warmerdam <[email protected]> 1159 1160 * tools/tiffcrop.c: Fix some portability problems. 1161 1162 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 1163 used in tif_jpeg.c. 1164 1165 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 1166 as TIFFOpen(). 1167 11682008-06-01 Frank Warmerdam <[email protected]> 1169 1170 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 1171 like Sparc/Solaris. 1172 http://bugzilla.maptools.org/show_bug.cgi?id=1892 1173 11742008-05-27 Frank Warmerdam <[email protected]> 1175 1176 * libtiff.def: Add TIFFFindField 1177 http://bugzilla.maptools.org/show_bug.cgi?id=1891 1178 11792008-05-26 Frank Warmerdam <[email protected]> 1180 1181 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 1182 1183 * li2008-04-15 Andrey Kiselev <[email protected]> 1184 1185btiff/tif_win32.c: Replace custom Win32 memory api with generic 1186 POSIX one. No apparent value to use of GlobalAlloc() in the modern 1187 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 1188 1189 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 1190 in windows version (care of Edward Lam). 1191 11922008-05-24 Frank Warmerdam <[email protected]> 1193 1194 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 1195 compression codec codes. 1196 1197 * tif_dirwrite.c: fix potential memory leak. 1198 1199 * tif_dirread.c: Fix unchecked malloc result. 1200 12012008-05-24 Bob Friesenhahn <[email protected]> 1202 1203 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 1204 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 1205 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 1206 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 1207 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 1208 suggestions from Lee Howard posted to the tiff list on 13 Sep 1209 2007. 1210 12112008-05-23 Frank Warmerdam <[email protected]> 1212 1213 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 1214 possible runtime problem reported by coverity. 1215 1216 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 1217 1218 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 1219 http://bugzilla.maptools.org/show_bug.cgi?id=1888 1220 1221 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 1222 1223 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 1224 1225 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 1226 Cleanup scanline allocation to avoid coverity warning. 1227 1228 * tools/thumbnail.c: Check for TIFFOpen() failure. 1229 12302008-05-18 Frank Warmerdam <[email protected]> 1231 1232 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 1233 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 1234 why this is needed. 1235 12362008-05-09 Bob Friesenhahn <[email protected]> 1237 1238 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 1239 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 1240 12412008-04-15 Andrey Kiselev <[email protected]> 1242 1243 * test/: Test suite updated. Everything is passed now. 1244 1245 * libtiff/tif_dirinfo.c: Fixed description of the 1246 TIFFTAG_NUMBEROFINKS tag. 1247 12482008-04-14 Andrey Kiselev <[email protected]> 1249 1250 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 1251 Get rid of some of "dereferencing type-punned" warnings by converting 1252 tdir_offset field of TIFFDirEntry structure into union. 1253 12542008-04-10 Andrey Kiselev <[email protected]> 1255 1256 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 1257 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 1258 from the public interface. Type of its 'count' parameter changed 1259 from uint32 to tmsize_t. 1260 1261 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 1262 of the tiff structure have the size_t type instead of uint32. 1263 12642008-04-09 Andrey Kiselev <[email protected]> 1265 1266 * tools/tiffdump.c: Added support for MSVS 6.0. 1267 1268 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 1269 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 1270 point values on MSVS 6.0 platform. 1271 12722008-03-14 Frank Warmerdam <[email protected]> 1273 1274 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 1275 TIFFReadDirEntryArray() since they are interfering with seemingly 1276 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 1277 12782008-02-09 Joris Van Damme <[email protected]> 1279 1280 * tif_dirread.c: Added handling for the case of number of values for 1281 PageNumber tag different from 2 (previously resulted in an assert 1282 indicating lack of handling and was forgotten about) 1283 12842008-02-01 Frank Warmerdam <[email protected]> 1285 1286 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 1287 the actual jpeg data stream if the first strip/tile has zero size. 1288 This is the case when GDAL creates a new file with zero sizes, closes 1289 and reopens it. 1290 12912008-01-07 Frank Warmerdam <[email protected]> 1292 1293 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 1294 12952008-01-01 Frank Warmerdam <[email protected]> 1296 1297 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 1298 1299 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 1300 targets. 1301 1302 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 1303 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 1304 (x64). 1305 1306 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 1307 and TIFFFieldWithName() now return TIFFField pointers instead of 1308 TIFFFieldInfo pointers. 1309 1310 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 1311 exist. This makes it compile again on Windows 1312 1313 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 1314 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 1315 1316 * test/rewrite_tag.c: New test for TIFFRewriteField(). 1317 13182007-12-31 Frank Warmerdam <[email protected]> 1319 1320 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 1321 rewrites one field "on disk" updating an existing directory 1322 entry. Lots of limitations still... 1323 1324 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 1325 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 1326 the strip offset/size values are dirty but nothing else about the 1327 directory is dirty. In flush handle "just stripmaps dirty" as a 1328 special case that just rewrites these values without otherwise 1329 modifying the directory on disk using TIFFRewriteField(). 1330 1331 We also modify logic so that in update mode the directory is not 1332 marked dirty on read, but only when something is changed. This 1333 means we need to keep track of updates to the stripmap stuff in 1334 TIFFAppendToStrip(). 1335 13362007-12-10 Frank Warmerdam <[email protected]> 1337 1338 * tif_jpeg.c: Improve ability to switch between encoding and decoding 1339 in the jpeg code (gdal bug #2033). 1340 13412007-11-23 Frank Warmerdam <[email protected]> 1342 1343 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 1344 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 1345 rawcp/rawcc buffer are for writing and thus may require flushing. 1346 Necessary to distinguish whether they need to be written to disk when 1347 in mixed read/write mode and doing a mixture of writing followed by 1348 reading. http://trac.osgeo.org/gdal/ticket/1758 1349 13502007-11-23 Andrey Kiselev <[email protected]> 1351 1352 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 1353 from Alexey Chupahin. 1354 13552007-11-02 Frank Warmerdam <[email protected]> 1356 1357 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 1358 establishing if an existing tile can be rewritten to the same location 1359 by comparing the current size to all the other blocks in the same 1360 directory. This is dangerous in many situations and can easily 1361 corrupt a file. (observed in esoteric GDAL situation that's hard to 1362 document). This change involves leaving the stripbytecount[] values 1363 unaltered till TIFFAppendToStrip(). Now we only write a block back 1364 to the same location it used to be at if the new data is the same 1365 size or smaller - otherwise we move it to the end of file. 1366 1367 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 1368 data when writing the directory just because we have BEENWRITING at 1369 some point in the past. This was causing odd junk to be written out 1370 in a tile of data when a single tile had an interleaving of reading 1371 and writing with reading last. (highlighted by gdal 1372 autotest/gcore/tif_write.py test 7. 1373 1374 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 1375 modifying callers buffer. 1376 http://trac.osgeo.org/gdal/ticket/1965 1377 1378 * tif_predict.c/h: more fixes related to last item, keeping a 1379 distinct pfunc for encode and decode cases as these were getting 1380 mixed up sometimes. 1381 http://trac.osgeo.org/gdal/ticket/1948 1382 13832007-11-01 Frank Warmerdam <[email protected]> 1384 1385 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 1386 predictor based encoding and decoding works in read-write update 1387 mode properly. 1388 http://trac.osgeo.org/gdal/ticket/1948 1389 13902007-10-24 Joris Van Damme <[email protected]> 1391 1392 * tif_dirread.c: Fixed problem with bogus file triggering 1393 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 1394 ChopUpSingleUncompressedStrip 1395 13962007-10-22 Joris Van Damme <[email protected]> 1397 1398 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 1399 at best, access violation at worst, when subsampled JPEG compressed imagery 1400 is decoded without the JPEG_COLORMODE feature 1401 14022007-10-11 Frank Warmerdam <[email protected]> 1403 1404 * html/index.html: Update "people responsible" section. 1405 14062007-10-05 Frank Warmerdam <[email protected]> 1407 1408 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 1409 as reported on the mailing list. 1410 14112007-10-01 Joris Van Damme <[email protected]> 1412 1413 * changed some more incorrect %lud printf flags to %lu 1414 14152007-09-29 Joris Van Damme <[email protected]> 1416 1417 * tif_dirread.c: Strip chopping interfered badly with uncompressed 1418 subsampled images because it tried to divide subsampled rowblocks, 1419 leading to all sorts of errors throughout the library for these 1420 images. Fixed by making strip chopping divide in row counts that 1421 are a multiple of vertical subsampling value. 1422 14232007-09-28 Joris Van Damme <[email protected]> 1424 1425 * tif_dirread.c: Logical cast working around compiler warning 1426 1427 * tif_read.c: Correction of some error flags and parameter lists 1428 14292007-09-27 Joris Van Damme <[email protected]> 1430 1431 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 1432 when dealing with large bitspersample values, shutting up purification 1433 tools that warn about truncation, though it remains incorrect and 1434 indicates a conceptual problem there. 1435 1436 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 1437 of first IFD) to proper place because it badly interfered with memory 1438 mapping, resulting in mapping flag even with dummy mapping functions 1439 that returned 0 whilst at the same time the mapping tif_size wasn't 1440 set, thus resulting in continuous incorrect beyond-eof errors. 1441 14422007-09-24 Joris Van Damme <[email protected]> 1443 1444 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 1445 inconsistent use of const in tiffFields and exifFields definition 1446 14472007-09-20 Frank Warmerdam <[email protected]> 1448 1449 * tif_dirwrite.c: Always write tile/strip offsets and sizes 1450 using LONG8 type when output format is BigTIFF. The 1451 TIFFWriteDirectoryTagLongLong8Array() function was restructured 1452 accordingly. 1453 1454 * tif_dirread.c: Improvements to error reporting text in 1455 TIFFFetchDirectory(). 1456 14572007-09-19 Bob Friesenhahn <[email protected]> 1458 1459 * test/images: Added a small collection of test images for use by 1460 test programs and scripts. 1461 * test/tiffinfo.sh: A trivial example test script. 1462 * test/common.sh: Added small script for setting the environment 1463 used by script-based tests. 1464 14652007-08-24 Frank Warmerdam <[email protected]> 1466 1467 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 1468 zero when writing directory contents to preserve the ability to 1469 rewrite directories in place, even in the middle of a directory 1470 chain. 1471 1472 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 1473 definitions that are missing. Existing definitions are silently 1474 ignored. 1475 1476 * tif_dirread.c: Add runtime error for fields for which no definition 1477 is found (in addition to an assert for developers) in 1478 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 1479 prudent. 1480 14812007-08-10 Joris Van Damme <[email protected]> 1482 1483 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 1484 from _TIFFRGBAImage structure to revert unwanted ABI change. 1485 14862007-08-10 Joris Van Damme <[email protected]> 1487 1488 * libtiff/tif_win32.c: use SetFilePointer instead of 1489 SetFilePointerEx, as per bug 1490 1491 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 1492 14932007-07-19 Andrey Kiselev <[email protected]> 1494 1495 * libtiff/tif_stream.cxx: Put all callback functions declarations 1496 inside extern "C" block. 1497 1498 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 1499 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 1500 formatter instead of "%lld" with MSVC compiler. 1501 1502 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 1503 _TIFFUInt64ToDouble() functions. 1504 15052007-07-18 Andrey Kiselev <[email protected]> 1506 1507 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 1508 integer constants. 1509 1510 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 1511 remove tif_config.h/tiffconf.h during cleaning. As per bug 1512 1513 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 1514 1515 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 1516 1517 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 1518 15192007-07-13 Andrey Kiselev <[email protected]> 1520 1521 * libtiff 4.0.0alpha released. 1522 15232007-07-12 Andrey Kiselev <[email protected]> 1524 1525 * tools/tiff2pdf.c: Added missed extern optind as per bug 1526 1527 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 1528 1529 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 1530 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 1531 extending scheme completed. 1532 15332007-07-11 Bob Friesenhahn <[email protected]> 1534 1535 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 1536 use standard C++ library size types and attempt to detect overflow 1537 cases. 1538 15392007-07-08 Andrey Kiselev <[email protected]> 1540 1541 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 1542 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 1543 tag extending scheme. Use the new scheme everywhere. 1544 1545 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 1546 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 1547 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 1548 TIFFFIeldInfo structure replaced with TIFFField structure. 1549 TIFFFieldInfo retained for the backward compatibility. 1550 15512007-07-05 Bob Friesenhahn <[email protected]> 1552 1553 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 1554 defined. 1555 15562007-07-04 Andrey Kiselev <[email protected]> 1557 1558 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 1559 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 1560 removed. 1561 1562 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 1563 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 1564 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 1565 These tags are not codec-specific and relate to image content, so 1566 process them as other normal tags. 1567 1568 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 1569 public tiffio.h to private tif_dir.h. 1570 1571 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 1572 outdated. 1573 15742007-07-03 Andrey Kiselev <[email protected]> 1575 1576 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 1577 tif_win3.c}: Obsoleted portability stuff removed. 1578 1579 * tools/tiff2ps.c: Added support 16-bit images as per bug 1580 1581 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 1582 1583 Patch from William Bader. 1584 1585 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 1586 significant upgrade of the whole utility as per bug 1587 1588 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 1589 1590 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 1591 PDF file using TIFFClientOpen() machinery as it is implemented 1592 by Leon Bottou. 1593 15942007-06-26 Bob Friesenhahn <[email protected]> 1595 1596 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 1597 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 1598 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 1599 allow returning -1 for errors. 1600 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 1601 16022007-06-25 Bob Friesenhahn <[email protected]> 1603 1604 * port/strtoull.c: New porting function in case strtoull() is not 1605 available on the target system. 1606 * configure.ac: Add configure support for determining sized types 1607 in a portable way and performing necessary substitutions in 1608 tif_config.h and tiffconf.h. Updated tiff.h to use the new 1609 definitions. 1610 16112007-04-27 Andrey Kiselev <[email protected]> 1612 1613 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 1614 1615 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 1616 16172007-04-07 Andrey Kiselev <[email protected]> 1618 1619 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 1620 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 1621 tif_predict.c, tif_zip.c}: Finally fix bug 1622 1623 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 1624 1625 by introducing _TIFFMergeFieldInfo() returning integer error status 1626 instead of void in case of problems with field merging (e.g., if the 1627 field with such a tag already registered). TIFFMergeFieldInfo() in 1628 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 1629 check returned value. 1630 16312007-04-07 Frank Warmerdam <[email protected]> 1632 1633 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 1634 blocks in TIFF_DownSample_Subsampled() (bug 1542). 1635 16362007-04-06 Frank Warmerdam <[email protected]> 1637 1638 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 1639 will convert from decompressor to compressor or compress to decompress 1640 if required by the force arguments. This works around a problem in 1641 where the JPEGFixupTestSubsampling() may cause a decompressor to 1642 be setup on a directory when later a compressor is required with the 1643 force flag set. Occurs with the addtiffo program for instance. 1644 16452007-04-06 Andrey Kiselev <[email protected]> 1646 1647 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 1648 functionality from Richard Nolde. As per bug 1649 1650 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 1651 16522007-03-28 Frank Warmerdam <[email protected]> 1653 1654 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 1655 16562007-03-17 Joris Van Damme <[email protected]> 1657 1658 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 1659 16602007-03-07 Joris Van Damme <[email protected]> 1661 1662 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 1663 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 1664 factor. This bug is mentioned in: 1665 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 1666 http://www.asmail.be/msg0054766825.html 1667 16682007-03-07 Joris Van Damme <[email protected]> 1669 1670 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 1671 1672 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 1673 unused arguments by standard C indication for the same 1674 16752007-02-27 Andrey Kiselev <[email protected]> 1676 1677 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 1678 counters in TIFFFetchData(). Should finally fix the issue 1679 1680 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 1681 16822007-02-24 Andrey Kiselev <[email protected]> 1683 1684 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 1685 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 1686 1687 * libtiff/tif_dirread.c: Added special function to handle 1688 SubjectDistance EXIF tag as per bug 1689 1690 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 1691 1692 * tools/tiff2pdf.c: Do not assume inches when the resolution units 1693 do not specified. As per bug 1694 1695 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 1696 1697 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 1698 it was set as infinite. As per bug 1699 1700 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 1701 1702 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 1703 by Richard Nolde. As per bug 1704 1705 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 1706 17072007-02-22 Andrey Kiselev <[email protected]> 1708 1709 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 1710 ExtraSamples == 999 produced by Corel Draw. As per bug 1711 1712 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 1713 1714 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 1715 changed from tsize_t to uint32 to be able to work with data arrays 1716 larger than 2GB. Fixes bug 1717 1718 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 1719 1720 Idea submitted by Matt Hancher. 1721 17222007-01-31 Andrey Kiselev <[email protected]> 1723 1724 * tools/tif2rgba.c: This utility does not work properly on big-endian 1725 architectures. It was fixed including the bug 1726 1727 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 1728 17292007-01-15 Mateusz Loskot <[email protected]> 1730 1731 * Submitted libtiff port for Windows CE platform 1732 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 1733 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 1734 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 1735 functons from tif_win32.c. 1736 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 1737 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 1738 standard header files for Windows CE build. 1739 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 1740 17412006-11-19 Frank Warmerdam <[email protected]> 1742 1743 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 1744 we move a strip. 1745 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 1746 17472006-10-13 Andrey Kiselev <[email protected]> 1748 1749 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 1750 in Gentoo bug (): 1751 1752 http://bugs.gentoo.org/show_bug.cgi?id=142383 1753 1754 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 1755 Though it is still far from the state of being working and useful. 1756 17572006-10-12 Andrey Kiselev <[email protected]> 1758 1759 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 1760 method. 1761 1762 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 1763 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 1764 1765 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 1766 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 1767 1768 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 1769 vulnerabilities, reported in Gentoo bug (): 1770 1771 http://bugs.gentoo.org/show_bug.cgi?id=142383 1772 17732006-09-28 Andrey Kiselev <[email protected]> 1774 1775 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 1776 vulnerabilities, as per Gentoo bug (): 1777 1778 http://bugs.gentoo.org/show_bug.cgi?id=142383 1779 17802006-09-27 Frank Warmerdam <[email protected]> 1781 1782 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 1783 encoding and decoding on the same read-write TIFF handle. The LZW 1784 code can now maintain encode and decode state at the same time. The 1785 ZIP code will switch back and forth as needed. 1786 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 1787 17882006-09-20 Frank Warmerdam <[email protected]> 1789 1790 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 1791 tif_config.vc.h for easier identification by folks using an IDE. 1792 17932006-07-25 Frank Warmerdam <[email protected]> 1794 1795 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 1796 17972006-07-19 Frank Warmerdam <[email protected]> 1798 1799 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 1800 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 1801 to bug report by Peng Gao with black strip at bottom of images. 1802 18032006-07-12 Frank Warmerdam <[email protected]> 1804 1805 * tif_dirwrite.c: make sure to use uint32 for wordcount in 1806 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 1807 It already seems to have been done for other field types. Needed 1808 for "tiffset" on files with geotiff ascii text. 1809 18102006-07-04 Bob Friesenhahn <[email protected]> 1811 1812 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 1813 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 1814 its use does not appear to be required, so use it only when it is 1815 available. 1816 18172006-06-24 Andrey Kiselev <[email protected]> 1818 1819 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 1820 1821 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 1822 function TIFFFetchDirectory() avoiding code duplication in 1823 TIFFReadDirectory() and TIFFReadCustomDirectory(). 1824 18252006-06-19 Frank Warmerdam <[email protected]> 1826 1827 * tools/tiff2pdf.c: Fix handling of -q values. 1828 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 1829 18302006-06-17 Frank Warmerdam <[email protected]> 1831 1832 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 1833 files. Modified TIFFReadDirectory() to not invoke 1834 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 1835 but one of them is zero. 1836 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 1837 18382006-06-08 Andrey Kiselev <[email protected]> 1839 1840 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 1841 checking code in the separate function TIFFCheckDirOffset(). 1842 1843 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 1844 1845 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 1846 1847 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 1848 1849 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 1850 1851 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 1852 1853 * tools/tiff2pdf.c: Fixed buffer overflow condition in 1854 t2p_write_pdf_string() as per bug 1855 1856 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 1857 18582006-06-07 Andrey Kiselev <[email protected]> 1859 1860 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 1861 support for JBIG compression scheme (34661 code) contributed by Lee 1862 Howard. As per bug 1863 1864 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 1865 1866 * configure, configure.ac: OJPEG support enabled by default. 1867 1868 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 1869 18702006-06-03 Bob Friesenhahn <[email protected]> 1871 1872 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 1873 TIFFPrintDirectory(). Joris Van Damme authored the fix. 1874 18752006-04-21 Andrey Kiselev <[email protected]> 1876 1877 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 1878 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 1879 1880 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 1881 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 1882 Added support for OpenVMS by Alexey Chupahin, [email protected]. 1883 18842006-04-20 Andrey Kiselev <[email protected]> 1885 1886 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 1887 Properly set the binary mode for stdin stream as per bug 1888 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 1889 1890 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 1891 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 1892 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 1893 tiffset.1}: Improvements in page formatting as per bug 1894 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 1895 1896 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 1897 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 1898 18992006-04-18 Frank Warmerdam <[email protected]> 1900 1901 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 1902 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 1903 19042006-04-12 Joris Van Damme <[email protected]> 1905 1906 * libtiff/tif_getimage.c: Added support for planarconfig separate 1907 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 1908 19092006-04-11 Joris Van Damme <[email protected]> 1910 1911 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 1912 - Conversion of unassociated alpha to associated alpha now done with 1913 more performant LUT, and calculation more correct 1914 - Conversion of 16bit data to 8bit data now done with 1915 more performant LUT, and calculation more correct 1916 - Bugfix of handling of 16bit RGB with unassociated alpha 1917 19182006-04-11 Joris Van Damme <[email protected]> 1919 1920 * libtiff/tif_getimage.c: 1921 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 1922 buffer for alpha strile and filled it, only to never read it back. 1923 Removed allocation and fill. 1924 - Minor rename of vars in gtTileSeparate and gtStripSeparate 1925 anticipating planned functionality extension 1926 19272006-04-08 Joris Van Damme <[email protected]> 1928 1929 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 1930 and pickTileSeparateCase to PickSeparateCase as both work on strips as 1931 well 1932 1933 * libtiff/tif_getimage.c: moved img->get selection from 1934 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 1935 logical hook for planned functionality extension 1936 19372006-04-08 Joris Van Damme <[email protected]> 1938 1939 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 1940 of inappropriate use of jpeg_abort instead of jpeg_destroy 1941 19422006-04-07 Joris Van Damme <[email protected]> 1943 1944 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 1945 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 1946 on subsampled images - this ought to get sorted when we feel brave 1947 enough to replace TIFFScanlineSize alltogether 1948 1949 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 1950 19512006-04-04 Joris Van Damme <[email protected]> 1952 1953 * libtiff/tiffio.h: added new type tstrile_t 1954 1955 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 1956 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 1957 toff_t* 1958 1959 * libtiff/tif_ojpeg.c: totally new implementation 1960 1961 * libtiff/tif_dirread.c: added several hacks to suit new support of 1962 OJPEG 1963 1964 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 1965 of OJPEG images in favor of tif_getimage.c native handling of 1966 YCbCr and desubsampling 1967 19682006-03-29 Frank Warmerdam <[email protected]> 1969 1970 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 1971 interpretation causes the "upsampled" flag to be recomputed. Fixes 1972 peculiar bug where photometric flag had to be set before jpegcolormode 1973 flag. 1974 19752006-03-25 Joris Van Damme <[email protected]> 1976 1977 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 1978 1979 * libtiff/tif_strip.c: temporarilly added two new versions of 1980 TIFFScanlineSize 1981 - TIFFNewScanlineSize: proposed new version, after all related 1982 issues and side-effects are sorted out 1983 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 1984 This needs further sorting out. 1985 19862006-03-25 Joris Van Damme <[email protected]> 1987 1988 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 1989 of last truncated strip data to TIFFWriteEncodedStrip 1990 19912006-03-25 Joris Van Damme <[email protected]> 1992 1993 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 1994 19952006-03-25 Joris Van Damme <[email protected]> 1996 1997 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 1998 1999 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 2000 2001 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 2002 prepare the path for new tif_ojpeg.c 2003 20042006-03-23 Andrey Kiselev <[email protected]> 2005 2006 * libtiff 3.8.2 released. 2007 2008 * tools/Makefile.am: Use runtime paths linker flags when rpath 2009 option enabled. 2010 20112006-03-21 Andrey Kiselev <[email protected]> 2012 2013 * libtiff/libtiff.def: Added missed exports as per bug 2014 http://bugzilla.remotesensing.org/attachment.cgi?id=337 2015 2016 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 2017 tools/Makefile.vc: Makefiles improvements as per bug 2018 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 2019 2020 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 2021 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 2022 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 2023 2024 * libtiff/tif_strip.c: Take subsampling in account when calculating 2025 TIFFScanlineSize(). 2026 2027 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 2028 20292006-03-17 Andrey Kiselev <[email protected]> 2030 2031 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 2032 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 2033 2034 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 2035 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 2036 20372006-03-16 Andrey Kiselev <[email protected]> 2038 2039 * libtiff/tiffiop.h: Added decalration for 2040 _TIFFSetDefaultCompressionState(). 2041 2042 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 2043 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 2044 codec cleanup methods. As per bug 2045 2046 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 2047 20482006-03-15 Andrey Kiselev <[email protected]> 2049 2050 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 2051 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 2052 2053 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 2054 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 2055 2056 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 2057 removed; move here the STRIP_SIZE_DEFAULT macro definition. 2058 2059 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 2060 macro definition. 2061 2062 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 2063 20642006-03-14 Andrey Kiselev <[email protected]> 2065 2066 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 2067 in TIFFReadDirectory, because it is always set at the start of 2068 function and we allow TIFFs without that tag set. 2069 20702005-03-13 Andrey Kiselev <[email protected]> 2071 2072 * libtiff 3.8.1 released. 2073 20742006-03-07 Andrey Kiselev <[email protected]> 2075 2076 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 2077 function as per bug 2078 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2079 2080 * libtiff/tif_dirread.c: More wise check for integer overflow 2081 condition as per bug 2082 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2083 2084 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 2085 Properly restore setfield/getfield methods in cleanup functions. As 2086 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2087 20882006-03-03 Andrey Kiselev <[email protected]> 2089 2090 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 2091 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 2092 2093 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 2094 TIFFPredictorCleanup() in codec cleanup methods. As per bug 2095 2096 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2097 2098 * libtiff/tif_dirread.c: Fixed integer overflow condition in 2099 TIFFFetchData() function. As per bug 2100 2101 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2102 21032006-03-01 Andrey Kiselev <[email protected]> 2104 2105 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 2106 TIFFSetField() method, not directly. As per bug 2107 2108 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 2109 2110 * tools/ppm2tiff.c: Added support for PBM files as per bug 2111 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 2112 21132006-02-27 Andrey Kiselev <[email protected]> 2114 2115 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 2116 to avoid crash as per bug 2117 2118 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 2119 21202006-02-26 Andrey Kiselev <[email protected]> 2121 2122 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 2123 t2p_sample_rgba_to_rgb() was used in place of each other, that was 2124 resulted in problems with RGBA images with associated alpha. 2125 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 2126 21272006-02-23 Andrey Kiselev <[email protected]> 2128 2129 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 2130 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 2131 2132 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 2133 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 2134 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 2135 2136 * tools/tiff2ps.c: Properly scale all the pages when converting 2137 multipage TIFF with /width/height/center options set. As per bug 2138 2139 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 2140 21412006-02-15 Andrey Kiselev <[email protected]> 2142 2143 * tools/tiff2pdf.c: Do not create output file until all option checks 2144 will be done. As per bug 2145 2146 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 2147 2148 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 2149 list of input files as per bug: 2150 2151 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 2152 21532006-02-09 Andrey Kiselev <[email protected]> 2154 2155 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 2156 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 2157 2158 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 2159 TIFFRGBAImage interface. 2160 2161 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 2162 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 2163 21642006-02-07 Frank Warmerdam <[email protected]> 2165 2166 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 2167 compressed TIFF files, per submission from Dan Cobra. 2168 21692006-02-07 Andrey Kiselev <[email protected]> 2170 2171 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 2172 cast values to avoid warnings. As per bug 2173 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2174 2175 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 2176 appropriate. As per bug 2177 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2178 2179 * libtiff/tif_aux.c: Fixed type of temporary variable in 2180 _TIFFCheckMalloc() as per bug 2181 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2182 21832006-02-06 Andrey Kiselev <[email protected]> 2184 2185 * libtiff/tif_aux.c: Return static array when fetching default 2186 YCbCrCoefficients (another problem, reported a the 2187 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 2188 21892006-02-03 Andrey Kiselev <[email protected]> 2190 2191 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 2192 YCbCrSubsampling and DotRange tags as per bugs 2193 2194 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 2195 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 2196 2197 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 2198 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 2199 2200 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 2201 22022006-01-23 Andrey Kiselev <[email protected]> 2203 2204 * libtool related stuff updated from the 2.1a branch. 2205 22062006-01-11 Frank Warmerdam <[email protected]> 2207 2208 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 2209 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 2210 properly as per bug: 2211 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 2212 22132006-01-09 Bob Friesenhahn <[email protected]> 2214 2215 * configure.ac: Fix with_default_strip_size comparison as reported 2216 by Norihiko Murase. 2217 22182006-01-08 Bob Friesenhahn <[email protected]> 2219 2220 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 2221 incorrectly, tests were not actually testing the uninstalled 2222 libtiff. Now they are. 2223 22242006-01-04 Andrey Kiselev <[email protected]> 2225 2226 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 2227 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 2228 should be uint32 value. 2229 22302006-01-02 Bob Friesenhahn <[email protected]> 2231 2232 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 2233 be used if build directory is not the same as source directory. 2234 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 2235 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 2236 and re-sorted tag names in alphabetical order. 2237 22382005-12-29 Andrey Kiselev <[email protected]> 2239 2240 * libtiff 3.8.0 released. 2241 22422005-12-28 Bob Friesenhahn <[email protected]> 2243 2244 * tools/bmp2tiff.c (main): Fixed warning regarding returning 2245 inconsistent types from a condition. 2246 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 2247 format. 2248 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 2249 22502005-12-28 Joris Van Damme <[email protected]> 2251 2252 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 2253 22542005-12-27 Andrey Kiselev <[email protected]> 2255 2256 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 2257 windows.h, to reduce the compile time. 2258 22592005-12-26 Bob Friesenhahn <[email protected]> 2260 2261 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 2262 22632005-12-26 Andrey Kiselev <[email protected]> 2264 2265 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 2266 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 2267 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 2268 private functions to retrieve FieldInfo arrays. 2269 22702005-12-24 Bob Friesenhahn <[email protected]> 2271 2272 * html/build.html: Added some additional instructions for when 2273 building using MSVC under Windows. Also fixed two HTML syntax 2274 errors and used HTML Tidy to tidy up the HTML syntax and 2275 formatting. 2276 22772005-12-24 Andrey Kiselev <[email protected]> 2278 2279 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 2280 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 2281 StoNits tags custom. 2282 22832005-12-23 Andrey Kiselev <[email protected]> 2284 2285 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 2286 WhitePoint tag custom. 2287 2288 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 2289 22902005-12-23 Joris Van Damme <[email protected]> 2291 2292 * libtiff/tiffio.h: fixed typo that potentially resulted in 2293 redefininition of USE_WIN32_FILEIO 2294 2295 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 2296 calls in core LibTiff. 2297 22982005-12-21 Andrey Kiselev <[email protected]> 2299 2300 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 2301 Photoshop and ICCProfile tags custom. 2302 23032005-12-21 Joris Van Damme <[email protected]> 2304 2305 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 2306 newer code to get context indicator in error handler and still 2307 remain compatible with older code: Done TIFFError calls everywhere 2308 except in tools 2309 23102005-12-20 Andrey Kiselev <[email protected]> 2311 2312 * tools/tiffcp.c: Added many error reporting messages; fixed integer 2313 overflow as per bug 2314 2315 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 2316 23172005-12-16 Frank Warmerdam <[email protected]> 2318 2319 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 2320 YCbCr images in jpeg compressed TIFF files. 2321 23222005-12-14 Andrey Kiselev <[email protected]> 2323 2324 * tools/tiffcp.c: Return non-zero status when reading fails (again). 2325 23262005-12-13 Andrey Kiselev <[email protected]> 2327 2328 * tools/tiffcp.c: Return non-zero status when reading fails. 2329 23302005-12-12 Andrey Kiselev <[email protected]> 2331 2332 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 2333 23342005-12-09 Andrey Kiselev <[email protected]> 2335 2336 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 2337 custom. 2338 2339 * tools/tiffinfo.c: Print EXIF directory contents if exist. 2340 2341 * libtiff/tiff.h: Few EXIF tag numbers added. 2342 2343 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 2344 tiffio.h}: Preliminary support to read custom directories. New 2345 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 2346 23472005-12-07 Andrey Kiselev <[email protected]> 2348 2349 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 2350 More work to implement custom directory read support. 2351 2352 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 2353 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 2354 tags custom. 2355 23562005-12-05 Andrey Kiselev <[email protected]> 2357 2358 * libtiff/tif_dirread.c: One more workaround for broken 2359 StripByteCounts tag. Handle the case when StripByteCounts array filled 2360 with completely wrong values. 2361 23622005-11-30 Andrey Kiselev <[email protected]> 2363 2364 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 2365 in the TIFFOpenW() function as per bug 2366 2367 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 2368 2369 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 2370 functions as per bug 2371 2372 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 2373 23742005-11-20 Frank Warmerdam <[email protected]> 2375 2376 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 2377 for MS MDI format. 2378 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 2379 2380 * .cvsignore: many files added, and a few update according 2381 to suggestion of Brad HArds on tiff mailing list. 2382 23832005-11-03 Frank Warmerdam <[email protected]> 2384 2385 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 2386 public. 2387 23882005-10-31 Andrey Kiselev <[email protected]> 2389 2390 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 2391 as per bug 2392 2393 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 2394 2395 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 2396 as per bug 2397 2398 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 2399 2400 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 2401 problem as per bug 2402 2403 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 2404 2405 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 2406 2407 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 2408 2409 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 2410 ResolutionUnit tags modifiable during write process. As per bug 2411 2412 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 2413 2414 * tools/tiffsplit.c: Copy fax related fields over splitted parts 2415 as per bug 2416 2417 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 2418 24192005-10-21 Frank Warmerdam <[email protected]> 2420 2421 * tif_dirread.c: Don't try and split single strips into "0" strips 2422 in ChopUpSingleUncompressedStrip. This happens in some degenerate 2423 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 2424 24252005-10-20 Joris Van Damme <[email protected]> 2426 2427 * tif_fax3.c: changed 'at scanline ...' style warning/errors 2428 with incorrect use of tif_row, to 'at line ... of 2429 strip/tile ...' style 2430 24312005-10-15 Frank Warmerdam <[email protected]> 2432 2433 * tif_write.c: fixed setting of planarconfig as per bug report 2434 on the mailing list from Joris. 2435 24362005-10-07 Andrey Kiselev <[email protected]> 2437 2438 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 2439 tif_dirread.c}: Make the default strip size configurable via the 2440 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 2441 24422005-09-30 Bob Friesenhahn <[email protected]> 2443 2444 * html/support.html: Fixed link to documentation on Greg Ward's 2445 LogLuv TIFF format. 2446 24472005-09-28 Andrey Kiselev <[email protected]> 2448 2449 * tools/tiffdump.c: Fixed crash when reading malformed tags. 2450 24512005-09-20 Andrey Kiselev <[email protected]> 2452 2453 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 2454 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 2455 24562005-09-12 Andrey Kiselev <[email protected]> 2457 2458 * libtiff 3.7.4 released. 2459 2460 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 2461 from Patrick Welche (all scripts moved in the 'config' and 'm4' 2462 directories). 2463 24642005-09-12 Frank Warmerdam <[email protected]> 2465 2466 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 2467 24682005-09-05 Frank Warmerdam <[email protected]> 2469 2470 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 2471 also set it to NULL to avoid double free when re-setting custom 2472 string fields as per: 2473 2474 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 2475 24762005-08-12 Frank Warmerdam <[email protected]> 2477 2478 * libtiff/tif_print.c: avoid signed/unsigned warning. 2479 2480 * libtiff/tif_dirread.c: removed unused variable. 2481 24822005-07-30 Frank Warmerdam <[email protected]> 2483 2484 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 2485 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 2486 pass on bigendian (macosx) system. 2487 24882005-07-28 Andrey Kiselev <[email protected]> 2489 2490 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 2491 CheckMalloc() function to _TIFFCheckMalloc() and make it available 2492 globally as an internal helper routine. 2493 24942005-07-27 Andrey Kiselev <[email protected]> 2495 2496 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 2497 the custom tags handling code. 2498 24992005-07-26 Andrey Kiselev <[email protected]> 2500 2501 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 2502 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 2503 function, use TIFFFetchNormalTag() instead as per bug 2504 2505 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 2506 2507 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 2508 instead. 2509 2510 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 2511 2512 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2513 25142005-07-25 Andrey Kiselev <[email protected]> 2515 2516 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 2517 2518 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 2519 25202005-07-21 Andrey Kiselev <[email protected]> 2521 2522 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 2523 the TIFFWriteCheck() function in case of single band images (as per 2524 TIFF spec). 2525 25262005-07-12 Andrey Kiselev <[email protected]> 2527 2528 * SConstruct, libtiff/SConstruct: Added the first very preliminary 2529 support for SCons software building tool (http://www.scons.org/). 2530 This is experimental infrastructure and it will exist along with the 2531 autotools mechanics. 2532 25332005-07-07 Andrey Kiselev <[email protected]> 2534 2535 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 2536 the NetBSD source tree (the old 4-clause BSD license changed to 2537 the new 3-clause one). 2538 2539 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 2540 replacement module. 2541 2542 * port/dummy.c: Make the dummy function static. 2543 25442005-07-06 Andrey Kiselev <[email protected]> 2545 2546 * tools/tiffcp.c: Fixed WhitePoint tag copying. 2547 2548 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 2549 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 2550 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 2551 25522005-07-04 Andrey Kiselev <[email protected]> 2553 2554 * libtiff 3.7.3 released. 2555 2556 * configure, configure.ac: Do not use empty -R option when linking 2557 with --enable-rpath. 2558 25592005-07-01 Andrey Kiselev <[email protected]> 2560 2561 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 2562 reading the first IFD when needed. As per bug 2563 2564 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 2565 2566 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 2567 effects. 2568 25692005-06-23 Andrey Kiselev <[email protected]> 2570 2571 * tools/tiff2pdf.c: Print two characters per loop in the 2572 t2p_write_pdf_trailer(). As per bug 2573 2574 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 2575 2576 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 2577 per bug 2578 2579 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 2580 2581 * acinclude.m4: Updated to latest OpenGL test macros versions. 2582 2583 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 2584 platform. As per bug 2585 2586 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 2587 25882005-06-14 Andrey Kiselev <[email protected]> 2589 2590 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 2591 and YClipPathUnits tags. 2592 25932005-06-07 Andrey Kiselev <[email protected]> 2594 2595 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 2596 use pixel sized shift in contigous case. 2597 25982005-06-06 Andrey Kiselev <[email protected]> 2599 2600 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 2601 Make overviews working for contiguos images. 2602 26032005-06-03 Andrey Kiselev <[email protected]> 2604 2605 * libtiff/tif_open.c: Replace runtime endianess check with the compile 2606 time one. 2607 2608 * libtiff/tif_predict.c: Floating point predictor now works on 2609 big-endian hosts. 2610 26112005-06-01 Andrey Kiselev <[email protected]> 2612 2613 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 2614 ASCII values. 2615 2616 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 2617 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 2618 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 2619 TargetPrinter tags custom. 2620 2621 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 2622 TIFF_CODERSETUP flag (to fix memry leaks). 2623 2624 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 2625 allocating. 2626 26272005-05-26 Andrey Kiselev <[email protected]> 2628 2629 * configure.ac, libtiff/Makefile.am: Added workaround for 2630 OpenBSD/MirOS soname problem as per bug 2631 2632 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 2633 2634 * libtiff/tif_dirwrite.c: Use tdir_count when calling 2635 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 2636 per bug 2637 2638 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 2639 26402005-05-25 Andrey Kiselev <[email protected]> 2641 2642 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 2643 the fscanf() function. As per bug 2644 2645 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 2646 2647 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 2648 uint16 array when fetching the BYTE and SBYTE filds, so we should 2649 consider result as pointer to uint16 array and not as array of chars. 2650 As per bug 2651 2652 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 2653 2654 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 2655 2656 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 2657 2658 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 2659 mode in CreateFile() call as per bug 2660 2661 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 2662 2663 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 2664 libtiffxx libraries as per bug 2665 2666 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 2667 2668 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 2669 GDAL. 2670 26712005-05-23 Frank Warmerdam <[email protected]> 2672 2673 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 2674 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 2675 in directory. 2676 26772005-05-22 Frank Warmerdam <[email protected]> 2678 2679 * libtiff/tif_dirread.c: Changed the code that computes 2680 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 2681 zero. This is a common case with GDAL indicating a "null" tile/strip. 2682 26832005-05-17 Andrey Kiselev <[email protected]> 2684 2685 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 2686 26872005-05-06 Frank Warmerdam <[email protected]> 2688 2689 * libtiff/tif_dirread.c: Applied similar change to 2690 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 2691 2692 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 2693 2694 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 2695 26962005-05-06 Andrey Kiselev <[email protected]> 2697 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 2698 added new option '-b' to use interpolation in output PDF files (Bruno 2699 Ledoux). 2700 27012005-05-05 Frank Warmerdam <[email protected]> 2702 2703 * libtiff/tif_dirread.c: Ensure that broken files with too many 2704 values in PerSampleShorts work ok instead of crashing. 2705 2706 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 2707 27082005-04-27 Andrey Kiselev <[email protected]> 2709 2710 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 2711 input file. 2712 27132005-04-15 Andrey Kiselev <[email protected]> 2714 2715 * libtiff/tif_predict.c: Added ability to encode floating point 2716 predictor, as per TIFF Technical Note 3. 2717 27182005-04-14 Andrey Kiselev <[email protected]> 2719 2720 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 2721 floating point predictor, as per TIFF Technical Note 3. 2722 27232005-04-13 Andrey Kiselev <[email protected]> 2724 2725 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 2726 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 2727 swap 24-bit floating point values. 2728 2729 * libtiff/tiff.h: Added predictor constants. 2730 27312005-04-08 Andrey Kiselev <[email protected]> 2732 2733 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 2734 values in _TIFFVSetField() function. Inspired by the bug 2735 2736 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 2737 2738 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 2739 as per bug 2740 2741 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 2742 27432005-03-30 Andrey Kiselev <[email protected]> 2744 2745 * libtiff/tif_open.c: Do not read header in case the output file 2746 should be truncated (Ron). 2747 2748 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 2749 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 2750 2751 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 2752 27532005-03-22 Andrey Kiselev <[email protected]> 2754 2755 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 2756 rpath option. 2757 27582005-03-21 Andrey Kiselev <[email protected]> 2759 2760 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 2761 tags. 2762 27632005-03-18 Andrey Kiselev <[email protected]> 2764 2765 * libtiff/dirinfo.c: Added DNG tags. 2766 2767 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 2768 handling code. 2769 2770 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 2771 added DNG 1.1.0.0 tags. 2772 2773 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 2774 bug 2775 2776 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 2777 2778 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 2779 27802005-03-17 Andrey Kiselev <[email protected]> 2781 2782 * nmake.opt: Build with Win32 CRT library by default. 2783 2784 * tools/tiff2ps.c: Fixed typo in page size handling code. 2785 2786 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 2787 by value. 2788 2789 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 2790 27912005-03-15 Andrey Kiselev <[email protected]> 2792 2793 * libtiff 3.7.2 released. 2794 27952005-03-09 Andrey Kiselev <[email protected]> 2796 2797 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 2798 floating point data; complain on unsupported bit depths. 2799 28002005-03-05 Andrey Kiselev <[email protected]> 2801 2802 * tif_stream.cxx: Use ios namespace instead of ios_base to support 2803 GCC 2.95. 2804 2805 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 2806 Lee Howard for HylaFax DCS tag 2807 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 2808 28092005-03-04 Andrey Kiselev <[email protected]> 2810 2811 * configure, configure.ac: Use -rpath option instead of -R as per bug 2812 2813 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 2814 2815 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 2816 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 2817 software. As per bug 2818 2819 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 2820 2821 * nmake.opt, html/build.html: Add more comments, change the config 2822 file organization a bit as per bug 2823 2824 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 2825 2826 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 2827 as per bug 2828 2829 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 2830 28312005-03-03 Andrey Kiselev <[email protected]> 2832 2833 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 2834 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 2835 2836 * tools/fax2ps.c: Replace insecure mktemp() function with the 2837 tmpfile() as per bug 2838 2839 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 2840 28412005-02-04 Andrey Kiselev <[email protected]> 2842 2843 * libtiff/tiff.h: Changed the int8 definition to be always signed char 2844 as per bug 2845 2846 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2847 2848 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 2849 block as per bug 2850 2851 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 2852 28532005-02-03 Bob Friesenhahn <[email protected]> 2854 2855 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 2856 display more correctly. Images display brighter than they should 2857 on a Sun workstation. 2858 28592005-02-03 Andrey Kiselev <[email protected]> 2860 2861 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 2862 suspicious values in the tags. As per bugs 2863 2864 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 2865 2866 and 2867 2868 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 2869 2870 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 2871 2872 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 2873 28742005-01-31 Bob Friesenhahn <[email protected]> 2875 2876 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 2877 (TIFFTAG_TILELENGTH): Corrected description. 2878 28792005-01-30 Andrey Kiselev <[email protected]> 2880 2881 * configure.ac: Fixes for --with-docdir option as per bug 2882 2883 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 2884 2885 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 2886 bug 2887 2888 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 2889 2890 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 2891 Michael Rinne and Edward Lam. 2892 28932005-01-15 Andrey Kiselev <[email protected]> 2894 2895 * configure.ac: Make the documentation directory location configurable 2896 via the --with-docdir option (as suggested by Jeremy C. Reed). 2897 2898 * libtiff/tif_color.c: Use double as the second argument of pow() 2899 function in TIFFCIELabToRGBInit(). As per bug 2900 2901 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 2902 2903 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 2904 integer as per bug 2905 2906 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 2907 2908 * libtiff/tif_getimage.c: Always fill the error message buffer in 2909 TIFFRGBAImageBegin() as per bug 2910 2911 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 2912 29132005-01-12 Andrey Kiselev <[email protected]> 2914 2915 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 2916 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 2917 tags as per bug 2918 2919 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 2920 2921 * libtiff/tif_win32.c: Fixed message formatting in functions 2922 Win32WarningHandler() and Win32ErrorHandler() as per bug 2923 2924 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 2925 2926 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 2927 per bug 2928 2929 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 2930 29312005-01-11 Andrey Kiselev <[email protected]> 2932 2933 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 2934 "C"' section as per bug 2935 2936 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2937 2938 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 2939 compiler to avoid double definition of BSD types as per bug 2940 2941 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2942 2943 * libtiff/Makefile.am: Place the C++ stream API in the separate 2944 library called libtiffxx to avoid unneeded dependencies. Probably 2945 there will be more C++ API in the future. As per bugs 2946 2947 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 2948 2949 and 2950 2951 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 2952 29532005-01-05 Andrey Kiselev <[email protected]> 2954 2955 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 2956 wrong tag counts (Dmitry V. Levin, Martin Pitt). 2957 2958 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 2959 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 2960 29612004-12-25 Andrey Kiselev <[email protected]> 2962 2963 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 2964 RGB-images as per bug 2965 2966 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 2967 2968 2969 * tools/tiffset.c: Convert character option to integer value as per 2970 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 2971 29722004-12-20 Andrey Kiselev <[email protected]> 2973 2974 * libtiff 3.7.1 released. 2975 2976 * html/tiffset.1.html: Add missed manual page as per bug 2977 2978 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 2979 2980 * libtiff/tiff.h: Revert back libtiff data type definitions as per 2981 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 2982 29832004-12-19 Andrey Kiselev <[email protected]> 2984 2985 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 2986 checking for tag count in TIFFReadDirectory() function. As per bug 2987 2988 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 2989 2990 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 2991 CheckMallock() function. 2992 2993 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 2994 RGB-images as per bug 2995 2996 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 2997 29982004-12-15 Frank Warmerdam <[email protected]> 2999 3000 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 3001 SunPro compiler. 3002 30032004-12-11 Bob Friesenhahn <[email protected]> 3004 3005 * autogen.sh: aclocal and autoheader should be executed after 3006 libtoolize. Also add '-I .' to aclocal invocation to check 3007 current directory for macros. 3008 30092004-12-10 Andrey Kiselev <[email protected]> 3010 3011 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 3012 as per bugs 3013 3014 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 3015 3016 and 3017 3018 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 3019 30202004-12-04 Andrey Kiselev <[email protected]> 3021 3022 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 3023 3024 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3025 3026 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 3027 mode as per bug 3028 3029 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3030 3031 * libtiff/tif_config.in.vc: Removed unneded definitions for 3032 read/open/close/lseek functions to fix the 3033 3034 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 3035 30362004-12-03 Andrey Kiselev <[email protected]> 3037 3038 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 3039 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 3040 must be removed in the future, as it was never used properly. As per 3041 bug 3042 3043 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 3044 30452004-11-30 Bob Friesenhahn <[email protected]> 3046 3047 * libtiff/tif_jpeg.c: Added a work-around in order to allow 3048 compilation with the heavily modified version of libjpeg delivered 3049 with Cygwin. 3050 30512004-11-29 Andrey Kiselev <[email protected]> 3052 3053 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 3054 counts. As per bug 3055 3056 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 3057 3058 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 3059 3060 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 3061 30622004-11-28 Andrey Kiselev <[email protected]> 3063 3064 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 3065 on Windows. 3066 3067 * nmake.opt: Add missed DLLNAME variable. 3068 30692004-11-26 Frank Warmerdam <[email protected]> 3070 3071 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 3072 30732004-11-24 Andrey Kiselev <[email protected]> 3074 3075 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 3076 per bug 3077 3078 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 3079 3080 * man/tiffset.1: Added manual page for tiffset tool written by Jay 3081 Berkenbilt. As per bug 3082 3083 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 3084 30852004-11-23 Frank Warmerdam <[email protected]> 3086 3087 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 3088 30892004-11-21 Frank Warmerdam <[email protected]> 3090 3091 * html/document.html: Updated Adobe web links as per email from Joris. 3092 30932004-11-21 Andrey Kiselev <[email protected]> 3094 3095 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 3096 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 3097 use C++ streams should #include <tiffio.hxx>. 3098 30992004-11-13 Andrey Kiselev <[email protected]> 3100 3101 * libtiff/tiff.h: Added Adobe DNG tags. 3102 3103 * libtiff/tif_win32.c: Typo fixed. 3104 3105 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 3106 be compliant with the latest standard. Appropriate additions in 3107 makefiles now completed. 3108 31092004-11-11 Andrey Kiselev <[email protected]> 3110 3111 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 3112 different tag types. As per bug 3113 3114 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 3115 31162004-11-10 Andrey Kiselev <[email protected]> 3117 3118 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 3119 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 3120 31212004-11-09 Andrey Kiselev <[email protected]> 3122 3123 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 3124 31252004-11-07 Andrey Kiselev <[email protected]> 3126 3127 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 3128 contributed by Edward Lam (see 3129 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 3130 Though no changes in any makefiles yet. 3131 31322004-11-05 Frank Warmerdam <[email protected]> 3133 3134 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 3135 is bad. This is the callers responsibility. 3136 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 3137 31382004-11-05 Andrey Kiselev <[email protected]> 3139 3140 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 3141 function to work with the double byte strings (used to represent 3142 filenames in some locales). As per bug 3143 3144 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 3145 3146 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 3147 Compression tags of type LONG from broken TIFFS as per bug 3148 3149 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 3150 3151 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 3152 the writecount should have uint32 type. As per bug 3153 3154 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 3155 3156 * libtiff/tif_write.c: Fixed wrong if() statement in 3157 TIFFAppendToStrip() function as per bug 3158 3159 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 3160 31612004-11-04 Andrey Kiselev <[email protected]> 3162 3163 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 3164 field. The caller should supply a count when setting this field. As 3165 per bug 3166 3167 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 3168 3169 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 3170 uint32 count. Use this type everywhere. 3171 31722004-11-03 Frank Warmerdam <[email protected]> 3173 3174 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 3175 31762004-11-02 Frank Warmerdam <[email protected]> 3177 3178 * tools/tiff2rgba.c: removed extra newlines in usage message. 3179 31802004-10-30 Andrey Kiselev <[email protected]> 3181 3182 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 3183 3184 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 3185 tags (Tristan Hill). 3186 31872004-10-30 Frank Warmerdam <[email protected]> 3188 3189 * libtiff/tiffiop.h: added fallback definition of assert() if we 3190 don't have assert.h. 3191 31922004-10-29 Andrey Kiselev <[email protected]> 3193 3194 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 3195 choosing when the incorrect Group4Options tag set. As per bug 3196 3197 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 3198 3199 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 3200 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 3201 TIFFWriteNormalTag(). 3202 32032004-10-28 Andrey Kiselev <[email protected]> 3204 3205 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 3206 tags (Peter Fales). 3207 3208 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 3209 32102004-10-28 Frank Warmerdam <[email protected]> 3211 3212 * tools/tiff2pdf.c: added casts to avoid warnings. 3213 3214 * libtiff/libtiff.def: Added several more entry points required 3215 to link fax2tiff.c against the DLL on windows. 3216 32172004-10-27 Andrey Kiselev <[email protected]> 3218 3219 * configure, configure.ac: Added --enable-rpath option to embed linker 3220 paths into library binary. 3221 32222004-10-26 Andrey Kiselev <[email protected]> 3223 3224 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 3225 3226 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 3227 (Vladimir Nadvornik, Dmitry V. Levin). 3228 32292004-10-16 Andrey Kiselev <[email protected]> 3230 3231 * libtiff 3.7.0 released. 3232 32332004-10-15 Bob Friesenhahn <[email protected]> 3234 3235 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 3236 in this file so its inclusion is removed. Including stdio.h 3237 sometimes incurs an INT32 typedef conflict between MinGW's 3238 basetsd.h and libjpeg's jmorecfg.h. 3239 32402004-10-15 Andrey Kiselev <[email protected]> 3241 3242 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 3243 32442004-10-13 Bob Friesenhahn <[email protected]> 3245 3246 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 3247 conflict noticed under MinGW. 3248 * ltmain.sh: Fix for MinGW compilation. 3249 32502004-10-13 Frank Warmerdam <[email protected]> 3251 3252 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 3253 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 3254 32552004-10-12 Andrey Kiselev <[email protected]> 3256 3257 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 3258 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 3259 properly (Dmitry V. Levin, Marcus Meissner). 3260 32612004-10-11 Andrey Kiselev <[email protected]> 3262 3263 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 3264 to TIFF_IFD. 3265 32662004-10-10 Andrey Kiselev <[email protected]> 3267 3268 * tools/bmp2tif.c: Check the space allocation results. 3269 32702004-10-09 Andrey Kiselev <[email protected]> 3271 3272 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 3273 of the TIFFDirectory structure with the 0 instead of -1 to avoid 3274 confusing integer overflows in TIFFTileRowSize() for striped images. 3275 3276 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 3277 by Ross A. Finlayson. 3278 3279 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 3280 3281 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 3282 32832004-10-08 Frank Warmerdam <[email protected]> 3284 3285 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 3286 of tif_fieldinfo. 3287 3288 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 3289 32902004-10-04 Bob Friesenhahn <[email protected]> 3291 3292 * contrib/iptcutil/README: Added the missing README which goes 3293 along with iptcutil. 3294 32952004-10-03 Andrey Kiselev <[email protected]> 3296 3297 * libtiff/tif_compress.c: Improved error reporting in 3298 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 3299 33002004-10-02 Andrey Kiselev <[email protected]> 3301 3302 * libtiff 3.7.0beta2 released. 3303 3304 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 3305 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 3306 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 3307 allocations and integer overflows (Dmitry V. Levin). 3308 3309 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 3310 33112004-10-01 Frank Warmerdam <[email protected]> 3312 3313 * libtiff/tif_open.c: added a more informative message if a BigTIFF 3314 file is opened. 3315 33162004-09-30 Frank Warmerdam <[email protected]> 3317 3318 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 3319 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 3320 in the Adobe XMP Specification. 3321 33222004-09-29 Andrey Kiselev <[email protected]> 3323 3324 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 3325 memset(). 3326 3327 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 3328 from Dmitry V. Levin to fix possible integer overflow problems. 3329 33302004-09-28 Andrey Kiselev <[email protected]> 3331 3332 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 3333 (Dmitry V. Levin). 3334 33352004-09-26 Andrey Kiselev <[email protected]> 3336 3337 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 3338 Optimize checking for the strip bounds. 3339 3340 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 3341 TIFFRasterScanlineSize() functions report zero in the case of integer 3342 overflow now. Properly handle this case in TIFFReadDirectory() 3343 (patches from Dmitry V. Levin). 3344 33452004-09-25 Andrey Kiselev <[email protected]> 3346 3347 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 3348 macro where appropriate. 3349 3350 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 3351 noted by Gennady Khokhorin. 3352 3353 * libtiff/tif_dirread.c: Always check the return values, returned 3354 by the _TIFFmalloc() (Dmitry V. Levin). 3355 3356 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 3357 functions (Dmitry V. Levin). 3358 3359 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 3360 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 3361 TIFFGrowStrips() (found by Dmitry V. Levin). 3362 33632004-09-24 Andrey Kiselev <[email protected]> 3364 3365 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 3366 to get the list of configured codecs. 3367 3368 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 3369 Dmitry V. Levin. 3370 33712004-09-23 Andrey Kiselev <[email protected]> 3372 3373 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 3374 possible integer overflow in CheckMalloc() function. 3375 33762004-09-22 Andrey Kiselev <[email protected]> 3377 3378 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 3379 of plain TIFFhowmany() where appropriate. 3380 33812004-09-21 Andrey Kiselev <[email protected]> 3382 3383 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 3384 33852004-09-19 Andrey Kiselev <[email protected]> 3386 3387 * libtiff 3.7.0beta released. 3388 3389 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 3390 overruns fixed, as noted by Chris Evans. 3391 33922004-09-14 Bob Friesenhahn <[email protected]> 3393 3394 * commit: Added a script to make it more convenient to commit 3395 updates. The CVS commit message is extracted from this ChangeLog 3396 file. 3397 33982004-09-14 Andrey Kiselev <[email protected]> 3399 3400 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 3401 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 3402 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 3403 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 3404 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 3405 tif_config.h.in, tiffiop.h}: 3406 Get rid of BSD data types (u_char, u_short, u_int, u_long). 3407 34082004-09-13 Bob Friesenhahn <[email protected]> 3409 3410 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 3411 specification. Reference libtiff bug tracking system to submit 3412 private tag additions. 3413 34142004-09-12 Bob Friesenhahn <[email protected]> 3415 3416 * tools/tiffgt.c: Include "tif_config.h". 3417 3418 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 3419 tiffgt. This results in the 'compile' script being added to the 3420 project. 3421 3422 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 3423 required to find OpenGL headers necessary to build tiffgt. Also 3424 ensure that the libtiff that we built is used rather than some other 3425 libtiff installed on the system. 3426 34272004-09-12 Andrey Kiselev <[email protected]> 3428 3429 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 3430 libraries. 3431 34322004-09-11 Bob Friesenhahn <[email protected]> 3433 3434 * configure.ac: Pass library configuration defines via 3435 tif_config.h rather than extending CPPFLAGS. Configure a 3436 libtiff/tiffconf.h in order to satisfy application requirements 3437 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 3438 this causes failure to build on systems which properly respect 3439 this request. 3440 3441 * libtiff/tiffconf.h.in: New file to act as the template for the 3442 configured tiffconf.h 3443 3444 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 3445 34462004-09-10 Frank Warmerdam <[email protected]> 3447 3448 * html/internals.html: Split off a discussion of adding new tags 3449 into addingtags.html. 3450 34512004-09-10 Andrey Kiselev <[email protected]> 3452 3453 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 3454 3455 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 3456 3457 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3458 3459 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 3460 3461 * libtiff/tif_dirread.c: Don't reject to read tags of the 3462 SamplesPerPixel size when the tag count is greater than number of 3463 samples as per bug 3464 3465 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 3466 3467 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 3468 defining int8/uint8/... etc. types. As per bug 3469 3470 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 3471 34722004-09-09 Frank Warmerdam <[email protected]> 3473 3474 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 3475 to avoid compile warnings about getopt() and a few other things. 3476 34772004-09-02 Andrey Kiselev <[email protected]> 3478 3479 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 3480 assigning magic in TIFFFetchFloat(). 3481 34822004-09-01 Andrey Kiselev <[email protected]> 3483 3484 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 3485 to avoid requirement for tiffiop.h inclusion in some applications. See 3486 here 3487 3488 http://www.asmail.be/msg0054799560.html 3489 3490 for details. 3491 3492 * tools/fax2tiff.c: Use the new functions in the code. 3493 34942004-08-25 Andrey Kiselev <[email protected]> 3495 3496 * tools/tiff2pdf.c: Initialize arrays properly. 3497 3498 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 3499 properly initialize array in PSDataBW(). 3500 35012004-08-24 Andrey Kiselev <[email protected]> 3502 3503 * tools/tiff2pdf.c: More fixes for bug 3504 3505 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3506 3507 from Ross Finlayson. 3508 35092004-08-23 Andrey Kiselev <[email protected]> 3510 3511 * tools/tiff2ps.c: Fixed problem with uninitialized values. 3512 3513 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 3514 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 3515 3516 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 3517 3518 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3519 35202004-08-20 Andrey Kiselev <[email protected]> 3521 3522 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 3523 that the input file has compression, photometric interpretation, 3524 etcetra, tags or if not than a more descriptive error is returned. 3525 3526 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 3527 code, responsible for tag data type checking. 3528 35292004-08-19 Andrey Kiselev <[email protected]> 3530 3531 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 3532 variable as per bug 3533 3534 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 3535 35362004-08-16 Andrey Kiselev <[email protected]> 3537 3538 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 3539 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 3540 35412004-08-01 Andrey Kiselev <[email protected]> 3542 3543 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 3544 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 3545 35462004-07-24 Andrey Kiselev <[email protected]> 3547 3548 * libtiff/tif_lzw.c: LZW compression code is merged back from the 3549 separate package. All libtiff tools are updated to not advertise an 3550 abcence of LZW support. 3551 35522004-07-12 Andrey Kiselev <[email protected]> 3553 3554 * libtiff/tiffio.h: Revert thandle_t back to void* type. 3555 35562004-07-11 Andrey Kiselev <[email protected]> 3557 3558 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 3559 messages, as suggested by Bernd Herd. 3560 35612004-07-03 Andrey Kiselev <[email protected]> 3562 3563 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 3564 when setting custom tags by value. Reported by Eric Fieleke. 3565 35662004-06-14 Andrey Kiselev <[email protected]> 3567 3568 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 3569 35702004-06-08 Andrey Kiselev <[email protected]> 3571 3572 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 3573 into TIFFs. 3574 35752004-06-07 Andrey Kiselev <[email protected]> 3576 3577 * libtiff 3.7.0alpha released. 3578 35792004-06-06 Andrey Kiselev <[email protected]> 3580 3581 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 3582 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 3583 ones :-). 3584 3585 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 3586 problems in 64-bit environment). 3587 35882004-06-05 Andrey Kiselev <[email protected]> 3589 3590 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 3591 Tags can be supplied by the mnemonic name or number. 3592 3593 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 3594 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 3595 35962004-05-27 Andrey Kiselev <[email protected]> 3597 3598 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 3599 markers as per bug 3600 3601 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 3602 36032004-05-24 Andrey Kiselev <[email protected]> 3604 3605 * tools/tiffsplit.c: Don't forget to copy Photometric 3606 Interpretation tag. 3607 36082004-05-20 Andrey Kiselev <[email protected]> 3609 3610 * libtiff/{tif_open.c, tiffio.h}: New function added: 3611 TIFFIsBigEndian(). Function returns nonzero if given was file written 3612 in big-endian order. 3613 3614 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 3615 files. Now output files will be written using the same byte order 3616 flag as in the input image. See 3617 3618 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 3619 3620 for details. 3621 36222004-05-19 Frank Warmerdam <[email protected]> 3623 3624 * libtiff/tif_print.c: added (untested) support for printing 3625 SSHORT, SLONG and SRATIONAL fields. 3626 3627 * tools/tiffcp.c: close output file on normal exit. 3628 36292004-05-17 Andrey Kiselev <[email protected]> 3630 3631 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 3632 if compression type mismatches. See 3633 3634 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 3635 36362004-04-30 Andrey Kiselev <[email protected]> 3637 3638 * libtiff/tif_strip.c: Never return 0 from the 3639 TIFFNumberOfStrips(). 3640 36412004-04-29 Andrey Kiselev <[email protected]> 3642 3643 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 3644 store single SampleFormat value for multisampled images. See 3645 3646 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 3647 36482004-04-25 Andrey Kiselev <[email protected]> 3649 3650 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 3651 int16 and int32 types to avoid complains on some compilers. Details at 3652 3653 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3654 36552004-04-20 Andrey Kiselev <[email protected]> 3656 3657 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 3658 3659 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 3660 36612004-04-14 Andrey Kiselev <[email protected]> 3662 3663 * libtiff/tif_write.c: Allow in-place updating of the compressed 3664 images (don't work properly with all codecs). For details see GDAL bug 3665 3666 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 3667 36682004-04-06 Andrey Kiselev <[email protected]> 3669 3670 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 3671 in the Intergarph JPEG compressed TIFF images as per bug: 3672 3673 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 3674 36752004-04-04 Frank Warmerdam <[email protected]> 3676 3677 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 3678 via bad2. 3679 36802004-03-26 Andrey Kiselev <[email protected]> 3681 3682 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 3683 JPEG compression of grayscale images. 3684 3685 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 3686 present in the input image. 3687 36882004-03-19 Andrey Kiselev <[email protected]> 3689 3690 * {many}: The first attempt to switch to autotools. 3691 36922004-03-03 Andrey Kiselev <[email protected]> 3693 3694 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 3695 TIFFClientOpen() when the appropriate client functions was not 3696 supplied by user. 3697 36982004-03-02 Frank Warmerdam <[email protected]> 3699 3700 * tools/ycbcr.c: fixed main() declaration as per: 3701 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 3702 37032004-02-26 Andrey Kiselev <[email protected]> 3704 3705 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 3706 images. Reported by Artem Mirolubov. 3707 3708 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 3709 tag type in TIFFFetchNormalTag() as per bug 3710 3711 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 3712 37132004-02-17 Frank Warmerdam <[email protected]> 3714 3715 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 3716 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 3717 37182004-02-05 Andrey Kiselev <[email protected]> 3719 3720 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 3721 bug 3722 3723 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 3724 3725 But we need more work on fax codec to support update mode. 3726 37272004-01-30 Frank Warmerdam <[email protected]> 3728 3729 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 3730 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 3731 Scott Reynolds. 3732 37332004-01-29 Andrey Kiselev <[email protected]> 3734 3735 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 3736 and TIFFTAG_INDEXED as per bug 3737 3738 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 3739 3740 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 3741 NULL before proceeding further as per bug 3742 3743 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 3744 3745 Check results, returned by the TIFFFdOpen() before returning and close 3746 file if TIFFFdOpen() failed as per bug 3747 3748 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3749 3750 * libtiff/tif_open.c: More fixes for 3751 3752 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3753 37542004-01-28 Andrey Kiselev <[email protected]> 3755 3756 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 3757 TIFFCleanup() from the TIFFClose() in order to fix the bug 3758 3759 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3760 3761 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 3762 InkNames tag as per bug 3763 3764 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 3765 3766 Memory leak fixed. 3767 37682004-01-21 Frank Warmerdam <[email protected]> 3769 3770 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 3771 are field_passcount=TRUE properly. Arguably anonymous custom tags 3772 should be declared as passcount=FALSE, but I don't want to change 3773 that without a careful review. 3774 37752004-01-20 Andrey Kiselev <[email protected]> 3776 3777 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 3778 stripped image in TIFFWriteBufferSetup(). As per bug 3779 3780 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 3781 37822004-01-11 Andrey Kiselev <[email protected]> 3783 3784 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 3785 patch from Gerben Koopmans. 3786 3787 * libtiff/tif_dirread.c: Check field_passcount value before setting 3788 the value of undefined type, patch from Gerben Koopmans. 3789 37902004-01-02 Andrey Kiselev <[email protected]> 3791 3792 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 3793 non-RGB images. 3794 37952003-12-31 Andrey Kiselev <[email protected]> 3796 3797 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 3798 pointer passed. Patch supplied by Larry Grill. 3799 3800 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 3801 suggested by Jeremy C. Reed. 3802 38032003-12-26 Andrey Kiselev <[email protected]> 3804 3805 * libtiff 3.6.1 released. 3806 38072003-12-24 Andrey Kiselev <[email protected]> 3808 3809 * config.guess, config.sub: Updated from the recent upstream. 3810 38112003-12-22 Andrey Kiselev <[email protected]> 3812 3813 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 3814 More cleanups in color conversion interface, added appropriate manual 3815 page. 3816 38172003-12-19 Andrey Kiselev <[email protected]> 3818 3819 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 3820 per bug 3821 3822 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 3823 3824 * tools/tiff2ps.c: Added support for alpha channel. Fixes 3825 3826 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 3827 3828 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 3829 Interface for Lab->RGB color conversion is finally cleaned up. 3830 Added support for ReferenceBlackWhite tag handling when converted from 3831 YCbCr color space. The latter closes 3832 3833 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 3834 38352003-12-07 Andrey Kiselev <[email protected]> 3836 3837 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 3838 3839 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 3840 library. 3841 38422003-12-06 Andrey Kiselev <[email protected]> 3843 3844 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 3845 file and properly use it for CIE Lab->RGB transform. 3846 38472003-12-04 Andrey Kiselev <[email protected]> 3848 3849 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 3850 conversion routines now in the tif_color.c module. New function 3851 TIFFYCbCrtoRGB() available in TIFF API. 3852 3853 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 3854 38552003-12-03 Andrey Kiselev <[email protected]> 3856 3857 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 3858 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 3859 module. 3860 3861 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 3862 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 3863 Finally resolved problems with orientation handling. TIFFRGBAImage 3864 interface now properly supports all possible orientations, i.e. images 3865 will be flipped both in horizontal and vertical directions if 3866 required. 'Known bugs' section now removed from the appropriate manual 3867 pages. Closed bug entry: 3868 3869 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 3870 38712003-12-02 Andrey Kiselev <[email protected]> 3872 3873 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 3874 function calls as per bug 3875 3876 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 3877 38782003-11-28 Ross Finlayson <[email protected]> 3879 3880 * tools/tiff2pdf.c: Some bugs fixed. 3881 38822003-11-27 Andrey Kiselev <[email protected]> 3883 3884 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 3885 reported by Antonio Scuri. 3886 3887 * man/tiff2pdf.1: Few improvements in page layout. 3888 3889 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 3890 Added support fpr tiff2pdf manual page. 3891 38922003-11-26 Ross Finlayson <[email protected]> 3893 3894 * /man/tiff2pdf.1: File added to repository. 3895 38962003-11-26 Andrey Kiselev <[email protected]> 3897 3898 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 3899 Added support fpr tiff2pdf utility. 3900 39012003-11-25 Ross Finlayson <[email protected]> 3902 3903 * /tools/tiff2pdf.c: File added to repository. 3904 39052003-11-22 Andrey Kiselev <[email protected]> 3906 3907 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 3908 39092003-11-21 Andrey Kiselev <[email protected]> 3910 3911 * /tools/raw2tiff.c: #include <getopt.h> removed. 3912 3913 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 3914 sgigt utility removed and replaced with the completely rewritten 3915 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 3916 there is a lot of things to improve. 3917 3918 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 3919 extract the fields from the OJPEG files. Patch supplied by Ross 3920 Finlayson. 3921 3922 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 3923 Added new function TIFFIsCODECConfigured(), suggested by Ross 3924 Finlayson. 3925 39262003-11-18 Andrey Kiselev <[email protected]> 3927 3928 * libtiff/tif_dirinfo.c: Implemented binary search in 3929 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 3930 3931 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 3932 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 3933 39342003-11-17 Frank Warmerdam <[email protected]> 3935 3936 * tif_dirread.c: do not mark all anonymously defined tags to be 3937 IGNOREd. 3938 39392003-11-17 Andrey Kiselev <[email protected]> 3940 3941 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 3942 TIFFDataWidth() function insted of tiffDataWidth array. 3943 39442003-11-16 Andrey Kiselev <[email protected]> 3945 3946 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 3947 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 3948 39492003-11-15 Frank Warmerdam <[email protected]> 3950 3951 * Makefile.in: fixed missing backslash for tif_color.c in list. 3952 39532003-11-13 Andrey Kiselev <[email protected]> 3954 3955 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 3956 New color space conversion code: CIE L*a*b* 1976 images now supported 3957 by the TIFFRGBAImage interface. All introduced routines go to new 3958 module tif_color.c. Eventually all color conversion functions should 3959 be moved there. 3960 39612003-11-12 Andrey Kiselev <[email protected]> 3962 3963 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 3964 with the reverse byte order (it is reported by the magic header 3965 field). Problem reported by Andreas Wiesmann. 3966 3967 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 3968 calculation function. Guessing mechanics now documented in manual page. 3969 39702003-11-11 Andrey Kiselev <[email protected]> 3971 3972 * tools/raw2tiff.c: Implemented image size guessing using 3973 correlation coefficient calculation between two neighbour lines. 3974 39752003-11-09 Frank Warmerdam <[email protected]> 3976 3977 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 3978 planarconfig_contig case in TIFFComputeTile(). 3979 3980 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 3981 39822003-11-09 Andrey Kiselev <[email protected]> 3983 3984 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 3985 39862003-11-07 Andrey Kiselev <[email protected]> 3987 3988 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 3989 Added TIFFRawStripSize() function as suggested by Chris Hanson. 3990 39912003-11-03 Andrey Kiselev <[email protected]> 3992 3993 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 3994 per bug 3995 3996 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 3997 39982003-10-29 Andrey Kiselev <[email protected]> 3999 4000 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 4001 4002 * html/build.html: Added note about GNU make requirement. 4003 40042003-10-25 Andrey Kiselev <[email protected]> 4005 4006 * Makefile.in: Fixes in using MAKEFLAGS as per bug 4007 4008 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 4009 4010 * port/install.sh.in: Option -p added to the mkdir command to create 4011 all directory tree structure before installing. 4012 40132003-10-18 Andrey Kiselev <[email protected]> 4014 4015 * /tools/tiff2ps.c: #include <strings.h> replaced with the 4016 #include <string.h>. 4017 40182003-10-16 Andrey Kiselev <[email protected]> 4019 4020 * Makefile.in: Add an absolute path to the test_pics.sh call. 4021 40222003-10-12 Andrey Kiselev <[email protected]> 4023 4024 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 4025 typedefs. 4026 40272003-10-09 Andrey Kiselev <[email protected]> 4028 4029 * configure, libtiff/{Makefile.in, mkversion.c}: 4030 Relative buildings fixed. 4031 4032 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 4033 rule. 4034 40352003-10-07 Andrey Kiselev <[email protected]> 4036 4037 * Makefile.in: Added missed v3.6.0.html. 4038 4039 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 4040 ORIENTATION_BOTLEFT. 4041 40422003-10-04 Andrey Kiselev <[email protected]> 4043 4044 * 3.6.0 final release. 4045 40462003-10-03 Andrey Kiselev <[email protected]> 4047 4048 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 4049 function TIFFReadRGBAImageOriented() implemented to retrieve raster 4050 array with user-specified origin position as suggested by Jason Frank. 4051 See 4052 4053 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 4054 4055 for details. 4056 4057 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 4058 instead of TIFFReadRGBAImage(). 4059 4060 * tools/tiff2ps.c: Fixed possible endless loop as per bug 4061 4062 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 4063 40642003-09-30 Andrey Kiselev <[email protected]> 4065 4066 * libtiff/tif_dirread.c: Check field counter against number of fields 4067 in order to fix 4068 4069 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 4070 4071 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 4072 4073 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 4074 40752003-09-25 Andrey Kiselev <[email protected]> 4076 4077 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 4078 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 4079 4080 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 4081 40822003-09-23 Andrey Kiselev <[email protected]> 4083 4084 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 4085 4086 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4087 40882003-08-21 Andrey Kiselev <[email protected]> 4089 4090 * tools/tiffmedian.c: int declaration replaced with the uint32 to 4091 support large images as per bug 4092 4093 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 4094 40952003-08-12 Andrey Kiselev <[email protected]> 4096 4097 * libtiff/Makefile.in: Fixed problem with building in different 4098 directory. 4099 4100 * tools/tiff2ps.c: Added missing #include <strings.h>. 4101 4102 * libtiff/tif_dirwrite.c: More fixes for custom tags code 4103 from Ashley Dreier. 4104 41052003-08-07 Andrey Kiselev <[email protected]> 4106 4107 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 4108 Patch submitted by Balatoni Denes (with corrections from Tom 4109 Kacvinsky). 4110 4111 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 4112 being used. Reported by Tom Kacvinsky. 4113 4114 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 4115 reported by Ashley Dreier. 4116 4117 * libtiff/tif_print.c: Fixed problem with float tags reading, support 4118 for printing RATIONAL and BYTE tags added. 4119 41202003-08-05 Andrey Kiselev <[email protected]> 4121 4122 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 4123 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 4124 problems with predictor initialization. Remove O_RDONLY check during 4125 state block allocation to be able open LZW compressed files in update 4126 mode. 4127 4128 Problem exist for libtiff version of the tif_lzw.c module. One from 4129 lzw-compression-kit hasn't such troubles. 4130 41312003-08-04 Frank Warmerdam <[email protected]> 4132 4133 * libtiff/tif_write.c: modified tif_write.c so that the various 4134 encoded write functions use tif_postdecode() to apply byte order 4135 swapping (swab) to the application passed data buffer if the same 4136 would be done when reading. This allows us to write pixel data with 4137 more than 8 bits per sample to existing files of a non-native byte 4138 order. One side effect of this change is the applications buffer 4139 itself is altered in this case by the act of writing. 4140 4141 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 4142 41432003-07-25 Frank Warmerdam <[email protected]> 4144 4145 * libtiff/tif_open.c: avoid signed/unsigned casting warning 4146 initializing typemask as per patch from J.A. Strother. 4147 4148 * tools/tiffcp.c: fixed signed/unsigned casting warning. 4149 4150 * libtiff/tif_print.c: dos2unix conversion. 4151 4152 * tools/tiffsplit.c: increased the maximum number of pages that 4153 can be split. Patch provided by Andrew J. Montalenti. 4154 41552003-07-11 Andrey Kiselev <[email protected]> 4156 4157 * tools/raw2tiff.c: Added option `-p' to explicitly select color 4158 space of input image data. Closes 4159 4160 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 4161 41622003-07-08 Frank Warmerdam <[email protected]> 4163 4164 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 4165 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 4166 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 4167 avoid casting warning at /W4. 4168 41692003-07-03 Andrey Kiselev <[email protected]> 4170 4171 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 4172 41732003-06-30 Andrey Kiselev <[email protected]> 4174 4175 * libtiff/tif_pixarlog.c: Unused variables removed. 4176 4177 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 4178 EstimateStripByteCounts() as per bug 4179 4180 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4181 4182 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 4183 64-bit architectures as per bug 4184 4185 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 4186 4187 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 4188 unknown data type. 4189 41902003-06-19 Frank Warmerdam <[email protected]> 4191 4192 * libtiff/tif_print.c: fixed some serious bugs when printing 4193 custom tags ... almost certain to crash. 4194 4195 * libtiff/tif_dirread.c: Don't ignore custom fields that are 4196 autodefined. Not sure how this got to be like this. 4197 41982003-06-18 Andrey Kiselev <[email protected]> 4199 4200 * 3.6.0 Beta2 released. 4201 4202 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 4203 comparing as per bug 4204 4205 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 4206 4207 `-z' option now can be used to set the number of reported different 4208 bytes. 4209 42102003-06-09 Andrey Kiselev <[email protected]> 4211 4212 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 4213 to -r option to get the entire image as one strip. See 4214 4215 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4216 4217 for details. 4218 42192003-06-04 Andrey Kiselev <[email protected]> 4220 4221 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 4222 values as per bug 4223 4224 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4225 42262003-05-27 Frank Warmerdam <[email protected]> 4227 4228 * libtiff/tif_jpeg.c: modified segment_height calculation to always 4229 be a full height tile for tiled images. Also changed error to just 4230 be a warning. 4231 42322003-05-25 Andrey Kiselev <[email protected]> 4233 4234 * tools/fax2tiff.c: Page numbering fixed, as per bug 4235 4236 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 4237 42382003-05-20 Andrey Kiselev <[email protected]> 4239 4240 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4241 configure, Makefile.in: Switched back to the old behaviour. Likely 4242 better solution should be found for OJPEG support. 4243 42442003-05-11 Andrey Kiselev <[email protected]> 4245 4246 * libtiff/mkversion.c: Fixed problem with wrong string size when 4247 reading RELEASE-DATE file. 4248 42492003-05-07 Andrey Kiselev <[email protected]> 4250 4251 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 4252 index was out of range. 4253 42542003-05-06 Andrey Kiselev <[email protected]> 4255 4256 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4257 configure, Makefile.in: Improved libtiff compilation with OJPEG 4258 support. Now no need for patching IJG JPEG library, hack requred by 4259 libtiff will be compiled and used in-place. Implemented with 4260 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 4261 4262 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 4263 TIFFVGetFieldDefaulted() function. 4264 42652003-05-05 Andrey Kiselev <[email protected]> 4266 4267 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 4268 comments. 4269 4270 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 4271 was not copied from source image. 4272 4273 * libtiff/getimage.c: Workaround for some images without correct 4274 info about alpha channel as per bug 4275 4276 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 4277 42782003-04-29 Andrey Kiselev <[email protected]> 4279 4280 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 4281 It basically allows one to use the /flateDecode filter for ZIP 4282 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 4283 4284 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 4285 4286 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 4287 as per bug 4288 4289 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 4290 42912003-04-17 Andrey Kiselev <[email protected]> 4292 4293 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 4294 due to problems with multidirectory images. Quality of error messages 4295 improved. 4296 42972003-04-16 Andrey Kiselev <[email protected]> 4298 4299 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 4300 encoded images. See bug entries 4301 4302 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 4303 4304 and 4305 4306 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4307 4308 * libtiff/tif_dirread.c: Additional check for StripByteCounts 4309 correctness. Fixes 4310 4311 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 4312 43132003-03-12 Andrey Kiselev <[email protected]> 4314 4315 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 4316 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 4317 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 4318 tiffmedian.c}: Added library version reporting facility to all tools. 4319 43202003-03-06 Frank Warmerdam <[email protected]> 4321 4322 * port/install.sh.in: Fixed problems with install producing paths 4323 like ///usr/local/lib on cygwin. 4324 43252003-02-27 Andrey Kiselev <[email protected]> 4326 4327 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 4328 raw input page. Patch supplied by Julien Gaulmin. See 4329 4330 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 4331 4332 for details. 4333 43342003-02-26 Frank Warmerdam <[email protected]> 4335 4336 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 4337 responsible for byte swapping complex image data. 4338 4339 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 4340 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 4341 43422003-02-07 Andrey Kiselev <[email protected]> 4343 4344 * tools/ppm2tiff.c: Fixed problem with too many arguments. 4345 43462003-02-04 Andrey Kiselev <[email protected]> 4347 4348 * tools/raw2tiff.c: Memory leak fixed. 4349 43502003-02-03 Andrey Kiselev <[email protected]> 4351 4352 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 4353 (thanks, Julien!). More switches for fax2tiff tool for better control 4354 of input and output. Details at 4355 4356 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 4357 43582003-02-03 Frank Warmerdam <[email protected]> 4359 4360 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 4361 library so that we can check if there is already any tile/strip data 4362 before deciding between creating a compressor or a decompressor. 4363 43642003-01-31 Frank Warmerdam <[email protected]> 4365 4366 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 4367 a pre-existing compressed image. That is, image writing to 4368 pre-existing compressed images is not allowed. 4369 4370 * libtiff/tif_open.c: Removed error if opening a compressed file 4371 in update mode. 4372 4373 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 4374 43752003-01-31 Andrey Kiselev <[email protected]> 4376 4377 * config.guess, config.sub: Updated to recent upstream versions. 4378 43792003-01-15 Frank Warmerdam <[email protected]> 4380 4381 * cut 3.6.0 Beta release. 4382 43832002-12-20 Andrey Kiselev <[email protected]> 4384 4385 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 4386 in wrong way as per bug 4387 4388 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 4389 43902002-12-17 Frank Warmerdam <[email protected]> 4391 4392 * libtiff/tif_dirread.c: Allow wrong sized arrays in 4393 TIFFFetchStripThing(). 4394 4395 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 4396 43972002-12-02 Frank Warmerdam <[email protected]> 4398 4399 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 4400 Was using realloc even first time. Fix by Igor Venevtsev. 4401 44022002-11-30 Frank Warmerdam <[email protected]> 4403 4404 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 4405 field value. 4406 4407 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 4408 tags in TIFFVGetField() ... added missing break. 4409 44102002-10-14 Frank Warmerdam <[email protected]> 4411 4412 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 4413 the scanline buffer long enough when writing rgb triplets. 4414 The scanline needs to be 3 X the number of dots or else it will 4415 contain an incomplete triplet and programs that try to separate 4416 the eps by redefining the colorimage operator will get messed up. 4417 Patch supplied by William Bader. 4418 4419 * Makefile.in: added tif_extension.c to file list as per 4420 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 4421 44222002-10-11 Andrey Kiselev <[email protected]> 4423 4424 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 4425 large files (>2GiB) supporting. New option in the config.site: 4426 LARGEFILE="yes". Should be enough for I/O of the large files. 4427 44282002-10-10 Frank Warmerdam <[email protected]> 4429 4430 * libtiff/html/v3.6.0.html: new release notes. 4431 4432 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 4433 link for Andrey. Pointer to v3.6.0.html. 4434 4435 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 4436 44372002-10-07 Andrey Kiselev <[email protected]> 4438 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 4439 (thanks, Sebastian!). New switches: 4440 -b # for a bottom margin of # inches 4441 -c center image 4442 -l # for a left margin of # inches 4443 -r rotate the image by 180 degrees 4444 New features merged with code for shrinking/overlapping. 4445 Previously added -c and -n switches (for overriding PS units) renamed 4446 in -x and -y respectively. 4447 4448 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 4449 4450 * html/man/*.html: Updated from actual manual pages. 4451 44522002-10-06 Frank Warmerdam <[email protected]> 4453 4454 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 4455 size on windows. Use #define boolean hack. 4456 4457 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 4458 4459 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 4460 USING_VISUALAGE is defined. 4461 4462 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4463 44642002-10-03 Frank Warmerdam <[email protected]> 4465 4466 * libtiff/tiff.h: added COMPRESSION_JP2000. 4467 44682002-10-02 Andrey Kiselev <[email protected]> 4469 4470 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 4471 by the TIFFFetchByteArray() function. Should finally resolve 4472 4473 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 4474 4475 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 4476 4477 * html/Makefile.in: New targets added: html and groffhtml for 4478 producing HTML representations of the manual pages automatically. 4479 html target uses man2html tool, groffhtml uses groff tool. 4480 44812002-09-29 Frank Warmerdam <[email protected]> 4482 4483 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 4484 from John H. DuBois III. 4485 44862002-09-15 Andrey Kiselev <[email protected]> 4487 4488 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 4489 manual page for raw2tiff(1) tool. 4490 44912002-09-12 Andrey Kiselev <[email protected]> 4492 4493 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 4494 the tiffio.h header file. 4495 4496 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 4497 manual page for TIFFDataWidth() function 4498 44992002-09-08 Frank Warmerdam <[email protected]> 4500 4501 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 4502 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 4503 4504 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 4505 since we are unable to properly include the amount to skip. 4506 4507 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 4508 45092002-09-02 Andrey Kiselev <[email protected]> 4510 4511 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 4512 in TIFFFetchByteArray(). Problem described at 4513 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 4514 45152002-08-22 Andrey Kiselev <[email protected]> 4516 4517 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 4518 in _TIFFSetupFieldInfo() function. 4519 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 4520 4521 * /libtiff/tif_lzw.c: Additional consistency checking added in 4522 LZWDecode() and LZWDecodeCompat(). 4523 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 4524 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4525 4526 * /libtiff/tif_lzw.c: 4527 Added check for valid code lengths in LZWDecode() and 4528 LZWDecodeCompat(). Fixes 4529 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 4530 45312002-08-16 Andrey Kiselev <[email protected]> 4532 4533 * /libtiff/{Makefile.vc, libtiff.def}: 4534 Missed declarations added. 4535 45362002-08-15 Frank Warmerdam <[email protected]> 4537 4538 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 4539 return code from the underlying pick function. 4540 4541 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 4542 4543 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 4544 with FIELD_CUSTOM as mentioned in bug 169. 4545 4546 * tif_close.c: added logic to free dynamically created anonymous 4547 field definitions to correct a small memory leak. 4548 4549 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 4550 45512002-08-10 Andrey Kiselev <[email protected]> 4552 4553 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 4554 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 4555 45562002-07-31 Frank Warmerdam <[email protected]> 4557 4558 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 4559 JPEGDecode() as per bugzilla bug (issue 1): 4560 4561 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 4562 4563 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 4564 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 4565 present in the tiff tags. 4566 4567 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 4568 4569 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 4570 TIFFWriteScanline() now set tif_row explicitly in case the codec has 4571 fooled with the value. 4572 4573 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 4574 45752002-06-22 Andrey Kiselev <[email protected]> 4576 4577 * /tools/tiff2ps.c: Added workaround for some software that may crash 4578 when last strip of image contains fewer number of scanlines than 4579 specified by the `/Height' variable. See 4580 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 4581 for explanation. 4582 45832002-06-21 Andrey Kiselev <[email protected]> 4584 4585 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 4586 splitting long images in several pages. See 4587 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 4588 Patch granted by John Williams <[email protected]>. 4589 45902002-06-11 Frank Warmerdam <[email protected]> 4591 4592 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 4593 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 4594 This one is described in: 4595 4596 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 4597 4598 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 4599 4600 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 4601 46022002-05-10 Andrey Kiselev <[email protected]> 4603 4604 * tools/tiff2ps: New commandline switches to override resolution 4605 units obtained from the input file. Closes 4606 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 4607 46082002-04-26 Andrey Kiselev <[email protected]> 4609 4610 * libtiff/libtiff.def: Added missed declaration. 4611 46122002-04-22 Andrey Kiselev <[email protected]> 4613 4614 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 4615 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 4616 46172002-04-20 Andrey Kiselev <[email protected]> 4618 4619 * libtiff/tif_open.c: Pointers to custom procedures 4620 in TIFFClientOpen() are checked to be not NULL-pointers. 4621 46222002-04-18 Andrey Kiselev <[email protected]> 4623 4624 * libtiff/libtiff.def: Added missed declarations. 4625 4626 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 4627 46282002-04-16 Andrey Kiselev <[email protected]> 4629 4630 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 4631 Should finally close 4632 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4633 46342002-04-10 Andrey Kiselev <[email protected]> 4635 4636 * tools/tiff2ps: Division by zero fixed. 4637 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 4638 46392002-04-09 Andrey Kiselev <[email protected]> 4640 4641 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 4642 TIFFCheckpointDirectory() routine added. 4643 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 4644 4645 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 4646 for the new function. 4647 46482002-04-08 Andrey Kiselev <[email protected]> 4649 4650 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 4651 additional members tif->tif_decodestatus and tif->tif_encodestatus 4652 for correct handling of unconfigured codecs (we should not try to read 4653 data or to define data size without correct codecs). 4654 4655 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 4656 changed. Now it has used tif->tif_decodestatus and 4657 tif->tif_encodestatus. 4658 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 4659 case of __cvs_8.tif test image). 4660 4661 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 4662 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 4663 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 4664 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 4665 46662002-04-04 Andrey Kiselev <[email protected]> 4667 4668 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 4669 replaced by warnings. Now libtiff should read corrupted LZW-compressed 4670 files by skipping bad strips. 4671 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4672 46732002-04-03 Frank Warmerdam <[email protected]> 4674 4675 * libtiff/tif_dirwrite.c: Removed some dead code. 4676 4677 * libtiff/*: Cleanup some warnings. 4678 4679 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 4680 for variable length FIELD_CUSTOM values. Was int * but should be 4681 u_short *. 4682 46832002-04-01 Andrey Kiselev <[email protected]> 4684 4685 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 4686 utility (at cpStripToTile routine). 4687 46882002-03-27 Frank Warmerdam <[email protected]> 4689 4690 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 4691 4692 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 4693 4694 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 4695 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 4696 4697 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 4698 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 4699 47002002-03-26 Dwight Kelly <[email protected]> 4701 4702 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 4703 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 4704 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 4705 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 4706 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 4707 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 4708 47092002-03-26 Andrey Kiselev <[email protected]> 4710 4711 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 4712 now also uses TIFFRGBAImageOK before reading. This is additional fix 4713 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 4714 47152002-03-25 Andrey Kiselev <[email protected]> 4716 4717 * libtiff/: tif_getimage.c: Additional check for supported 4718 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 4719 TIFFRGBAImageOK before reading. 4720 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 4721 47222002-03-15 Andrey Kiselev <[email protected]> 4723 4724 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 4725 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 4726 TIFFDataType sizes instead of working with tiffDataWidth array 4727 directly. Should prevent out-of-borders bugs in case of unknown or 4728 broken data types. EstimateStripByteCounts routine modified, so it 4729 won't work when tags with uknown sizes founded. 4730 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 4731 47322002-03-13 Andrey Kiselev <[email protected]> 4733 4734 * libtiff/tif_getimage.c: Added support for correct handling 4735 `Orientation' tag in gtTileContig. Should be added in other gt* 4736 functions as well, but I have not images for testing yet. Partially 4737 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4738 47392002-03-10 Andrey Kiselev <[email protected]> 4740 4741 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 4742 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 4743 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 4744 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 4745 47462002-03-08 Andrey Kiselev <[email protected]> 4747 4748 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 4749 be stripped when installing, utility binaries will do. Closes 4750 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 4751 47522002-02-28 Frank Warmerdam <[email protected]> 4753 4754 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 4755 4756 * man/libtiff.3t: added copyright tag info. 4757 47582002-02-11 Frank Warmerdam <[email protected]> 4759 4760 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 4761 4762 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 4763 4764 * man/Makefile.in: Patch DESTDIR handling 4765 4766 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 4767 4768 * configure: OpenBSD changes for Sparc64 and DSO version. 4769 4770 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 4771 47722002-02-05 Frank Warmerdam <[email protected]> 4773 4774 * config.site/configure: added support for OJPEG=yes option to enable 4775 OJPEG support from config.site. 4776 47772002-01-27 Frank Warmerdam <[email protected]> 4778 4779 * html/document.html: fixed links for TIFf 6 docs. 4780 47812002-01-18 Frank Warmerdam <[email protected]> 4782 4783 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 4784 4785 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 4786 decodestrip function returns anything not greater than zero as per 4787 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 4788 4789 * configure: Modify CheckForBigEndian so it can work in a cross 4790 compiled situation. 4791 47922002-01-16 Frank Warmerdam <[email protected]> 4793 4794 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 4795 4796 * tools/tiffset.c: fix bug in error reporting. 4797 4798 * tools/tiffcp.c: fix several warnings that show up with -Wall. 4799 48002002-01-04 Frank Warmerdam <[email protected]> 4801 4802 * libtiff/tif_jpeg.c: fixed computation of segment_width for 4803 tiles files to avoid error about it not matching the 4804 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 4805 size.") for ITIFF files. Apparently the problem was incorporated since 4806 3.5.5, presumably during the OJPEG/JPEG work recently. 4807 48082001-12-15 Frank Warmerdam <[email protected]> 4809 4810 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 4811 4812 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 4813 4814 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 4815 (defined in tiffconf.h - 1 by default) then the RGBA interface 4816 will assume that a fourth extra sample is ASSOCALPHA if the 4817 EXTRASAMPLE value isn't set for it. This changes the behaviour of 4818 the library, but makes it work better with RGBA files produced by 4819 lots of applications that don't mark the alpha values properly. 4820 4821 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 4822 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 4823 48242001-12-12 Frank Warmerdam <[email protected]> 4825 4826 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 4827 override those from tiff directory. This makes this work with 4828 ImageGear generated files. 4829 48302001-12-07 Frank Warmerdam <[email protected]> 4831 4832 * html/Makefile.in: added missing images per bug 92. 4833 4834 * port/Makefile.in: fixed clean target per bug 92. 4835 48362001-11-28 Frank Warmerdam <[email protected]> 4837 4838 * Reissue 3.5.7 release. 4839 4840 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 4841 YYYYMMDD so that it is increasing over time. 4842 4843 * Makefile.in: Ensure that tiffvers.h is regenerated in the 4844 make release target. 4845 4846 * Makefile.in: added libtiff/tiffvers.h to the release file list. 4847 48482001-11-23 Frank Warmerdam <[email protected]> 4849 4850 * added html/v3.5.7.html, updated html/index.html. 4851 4852 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 4853 48542001-11-15 Frank Warmerdam <[email protected]> 4855 4856 * configure: fixed test for -lm. 4857 48582001-11-02 Frank Warmerdam <[email protected]> 4859 4860 * Added PHOTOMETRIC_ITULAB as per bug 90. 4861 4862 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 4863 48642001-10-10 Frank Warmerdam <[email protected]> 4865 4866 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 4867 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 4868 in keeping with TIFF 6.0 standard in tiff.h 4869 4870 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 4871 48722001-09-26 Frank Warmerdam <[email protected]> 4873 4874 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 4875 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 4876 48772001-09-24 Frank Warmerdam <[email protected]> 4878 4879 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 4880 4881 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 4882 4883 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 4884 error about LZW not being available. 4885 4886 * libtiff/tif_dir.c: propagate failure to initialize compression 4887 back from TIFFSetField() as an error status, so applications can 4888 detect failure. 4889 4890 * libtiff/tif_dir.c: removed the auto replacement of 4891 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 4892 4893 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 4894 from CVS as they are all supposed to be auto-generated by configure. 4895 48962001-09-22 Frank Warmerdam <[email protected]> 4897 4898 * libtiff/tif_ojpeg.c: new update from Scott. 4899 49002001-09-09 Frank Warmerdam <[email protected]> 4901 4902 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 4903 always use the "safe" version, even if there is a very slight 4904 cost in performance. 4905 4906 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 4907 4908 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 4909 in two places. 4910 4911 * libtiff/tif_getimage.c: Fixed problem with reading strips or 4912 tiles that don't start on a tile boundary. Fix contributed by 4913 Josep Vallverdu (from HP), and further described in bug 47. 4914 4915 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 4916 4917 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 4918 4919 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 4920 49212001-09-06 Frank Warmerdam <[email protected]> 4922 4923 * libtiff/tif_packbits.c: fixed memory overrun error. 4924 4925 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 4926 49272001-08-31 Frank Warmerdam <[email protected]> 4928 4929 * libtiff/tif_getimage.c: relax handling of contig case where 4930 there are extra samples that are supposed to be ignored. This 4931 should now work for 8bit greyscale or palletted images. 4932 4933 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 4934 49352001-08-28 Frank Warmerdam <[email protected]> 4936 4937 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 4938 images with more than four samples per pixel. See: 4939 4940 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 4941 49422001-08-10 Frank Warmerdam <[email protected]> 4943 4944 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 4945 in TIFFReadRGBATile() to avoid issues in cases of overlapping 4946 buffers. See Bug 69 in Bugzilla. 4947 4948 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 4949 4950 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 4951 49522001-08-09 Frank Warmerdam <[email protected]> 4953 4954 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 4955 when checking for 64 bit architectures as per bugzilla bug 67. 4956 49572001-07-27 Frank Warmerdam <[email protected]> 4958 4959 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 4960 bug 66. 4961 49622001-07-20 Frank Warmerdam <[email protected]> 4963 4964 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 4965 has been included. 4966 49672001-07-19 Frank Warmerdam <[email protected]> 4968 4969 * libtiff/tif_open.c: Seek back to zero after failed read, 4970 before writing header. 4971 49722001-07-18 Frank Warmerdam <[email protected]> 4973 4974 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 4975 much better. Now depends on having patched libjpeg as per 4976 patch in contrib/ojpeg/*. 4977 49782001-07-17 Frank Warmerdam <[email protected]> 4979 4980 * */Makefile.in: added DESTDIR support. 4981 4982 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 4983 49842001-07-16 Frank Warmerdam <[email protected]> 4985 4986 * configure, libtiff/Makefile.in: applied OpenBSD patches 4987 as per: 4988 4989 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 4990 49912001-06-28 Frank Warmerdam <[email protected]> 4992 4993 * libtiff/tif_getimage.c: Fixed so that failure is properly 4994 reported by gtTileContig, gtStripContig, gtTileSeparate and 4995 gtStripSeparate. 4996 4997 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 4998 4999 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 5000 Updated bug section of tiffcmp.1 to note tiled file issues. 5001 5002 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 5003 50042001-06-22 Frank Warmerdam <[email protected]> 5005 5006 * configure: Changes for DSO generation on AIX provided by 5007 John Marquart <[email protected]>. 5008 5009 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 5010 on Darwin thanks to Robert Krajewski ([email protected]) and 5011 Keisuke Fujii ([email protected]). 5012 50132001-06-13 Frank Warmerdam <[email protected]> 5014 5015 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 5016 5017 * man/tiff2rgba.1: new 5018 50192001-05-22 Frank Warmerdam <[email protected]> 5020 5021 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 5022 50232001-05-13 Frank Warmerdam <[email protected]> 5024 5025 * libtiff/tools/thumbnail.c: changed default output compression 5026 to packbits from LZW since LZW isn't generally available. 5027 50282001-05-12 Frank Warmerdam <[email protected]> 5029 5030 * libtiff/tif_ojpeg.c: New. 5031 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 5032 to OJPEG support. 5033 5034 Scott Marovich <[email protected]> supplied OJPEG support. 5035 50362001-05-11 Frank Warmerdam <[email protected]> 5037 5038 * tiff.h: removed, it duplicates libtiff/tiff.h. 5039 50402001-05-08 Frank Warmerdam <[email protected]> 5041 5042 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 5043 ensure everything is in order. 5044 5045 * libtiff/libtiff.def: added TIFFCreateDirectory and 5046 TIFFDefaultStripSize as per: 5047 5048 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 5049 50502001-05-02 Frank Warmerdam <[email protected]> 5051 5052 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 5053 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 5054 force use of uint32 counts instead of short counts. 5055 5056 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 5057 case of writing TIFF_BYTE/TIFF_SBYTE fields. 5058 5059 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 5060 50612001-05-01 Frank Warmerdam <[email protected]> 5062 5063 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 5064 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 5065 50662001-04-05 Frank Warmerdam <[email protected]> 5067 5068 * tiffio.h: removed C++ style comment. 5069 5070 * configure: fixed up SCRIPT_SH/SHELL handling. 5071 5072 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 5073 5074 * config.guess: documented more variables as per bug 40. 5075 50762001-04-03 Frank Warmerdam <[email protected]> 5077 5078 * configure, *Makefile.in: Various changes to improve configuration 5079 for HP/UX specifically, and also in general. They include: 5080 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 5081 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 5082 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 5083 - Use -${MAKEFLAGS} in sub makes from makefiles. 5084 5085 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 5086 50872001-04-02 Frank Warmerdam <[email protected]> 5088 5089 * libtiff/tiff.h: Applied hac to try and resolve the problem 5090 with the inttypes.h include file on AIX. 5091 5092 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5093 5094 * VERSION: update to 3.5.7 beta in preparation for release. 5095 5096 * configure/config.site: modified to check if -lm is needed for 5097 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 5098 5099 * config.guess: updated wholesale to an FSF version apparently 5100 from 1998 (as opposed to 1994). This is mainly inspired by 5101 providing for MacOS X support. 5102 51032001-03-29 Frank Warmerdam <[email protected]> 5104 5105 * configure, Makefile.in, etc: added support for OPTIMIZER being 5106 set from config.site. 5107 51082001-03-28 Frank Warmerdam <[email protected]> 5109 5110 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 5111 5112 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 5113 sizes. It fixes two problems: 5114 5115 Without scaling (-S) the fax is now centered on the page size specified 5116 with -H and/or -W. Before, fax2ps was using an obscure and practially 5117 useless algorithm to allocate the image relative to Letter sized paper 5118 which sometime sled to useless whitespace on the paper, while at the 5119 same time cutting of the faxes printable area at the opposite border. 5120 5121 Second, scaling now preserves aspect ratio, which makes unusual faxes 5122 (in particular short ones) print properly. 5123 5124 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 5125 5126 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 5127 Bruce A. Mallett. See check message for detailed information 5128 on all the changes, including a faster encoder, fixes for level 5129 2 PostScript, and support for the imagemask operator. 5130 51312001-03-27 Frank Warmerdam <[email protected]> 5132 5133 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 5134 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 5135 5136 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5137 51382001-03-16 Frank Warmerdam <[email protected]> 5139 5140 * tif_dirinfo.c: moved definition of copyright tag in field list. 5141 Apparently they have to be in sorted order by tag id. 5142 51432001-03-13 Frank Warmerdam <[email protected]> 5144 5145 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 5146 images in RGBA interface. 5147 51482001-03-02 Frank Warmerdam <[email protected]> 5149 5150 * Added TIFFTAG_COPYRIGHT support. 5151 51522001-02-19 Frank Warmerdam <[email protected]> 5153 5154 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 5155 with support for extracting subimages with the ,n syntax, and also 5156 adding the -b bias removal flag. 5157 51582001-02-16 Frank Warmerdam <[email protected]> 5159 5160 * libtiff/libtiff.def: Brent Roman submitted new version adding 5161 serveral missing entry points. 5162 5163 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 5164 Some sort of weird VMS thing. 5165 5166 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 5167 5168 * tif_luv.c/tiff.h/tiffio.h: 5169 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 5170 ([email protected]). He writes: 5171 5172 1) I improved the gamut-mapping function in tif_luv.c for imaginary 5173 colors, because some images were being super-saturated on the input 5174 side and this resulted in some strange color shifts in the output. 5175 5176 2) I added a psuedotag in tiff.h to control random dithering during 5177 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 5178 on for 24-bit LogLuv output. Dithering improves the average color 5179 accuracy over the image. 5180 5181 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 5182 tiffio.h, to expose internal routines for converting between LogLuv and 5183 XYZ coordinates. This is helpful for writing more efficient, 5184 specialized conversion routines, especially for reading LogLuv files. 5185 5186 Changes applied with minor edits. 5187 51882001-01-23 Frank Warmerdam <[email protected]> 5189 5190 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 5191 whether we are encoding or decoding. This is to ensure graceful 5192 recovery if TIFFClientOpen() discovers an attempt to open a compressed 5193 file for "r+" access, and subsequently close it, as it resets the 5194 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 5195 compressor's concept of whether it is in encode or decode mode. 5196 51972001-01-08 Mike Welles <[email protected]> 5198 5199 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 5200 52012001-01-07 Frank Warmerdam <[email protected]> 5202 5203 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 5204 as per bug report by Patrick Connor. 5205 52062000-12-28 Frank Warmerdam <[email protected]> 5207 5208 * Added RELEASE-DATE file to release file list. 5209 5210 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 5211 52122000-12-22 Mike Welles <[email protected]> 5213 * added link to CVS mirror from index.html 5214 5215 * updated html/internals.html to note that LZW compression is 5216 not supported by default. 5217 52182000-12-22 Frank Warmerdam <[email protected]> 5219 5220 * updated html/libtiff.html to not point at Niles' old JPL web site 5221 for the man pages, point at www.libtiff.org. 5222 52232000-12-21 Frank Warmerdam <[email protected]> 5224 5225 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 5226 Leonard Rosenthol <[email protected]>. May interfere 5227 with correct building on older systems. If so, please let me know. 5228 52292000-12-19 Mike Welles <[email protected]> 5230 5231 * Took out LZW Encoding from tif_lzw.c 5232 5233 * Created HOWTO-RELEASE 5234 5235 * Created html/v3.5.6.html 5236 5237 * updated index.html 5238 52392000-12-01 Frank Warmerdam <[email protected]> 5240 5241 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 5242 Patches supplied by Frank Cringle <[email protected]> 5243 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 5244 52452000-11-24 Frank Warmerdam <[email protected]> 5246 5247 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 5248 target so that the private headers required by libgeotiff can be 5249 installed with the others. They are not installed by default. 5250 5251 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 5252 targets so libtiff.so will be built with an explicit dependency 5253 on libm.so. 5254 5255 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 5256 libtiff.so.3.5.5. 5257 5258 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 5259 file, or ALPHA version logic. Added stuff about DIST_POINT in 5260 place of DIST_TYPE and the alpha release number stuff. 5261 52622000-11-22 Frank Warmerdam <[email protected]> 5263 5264 * I have applied a patch from Steffen Moeller <[email protected]> to 5265 the configure script so that it now accepts the --prefix, and 5266 --exec-prefix directives. 5267 52682000-11-13 Frank Warmerdam <warmerda@cs46980-c> 5269 5270 * I have made a variety of modifications in an effort to ensure the 5271 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 5272 file which seems to be updated regularly. 5273 5274 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 5275 version include file. 5276 o renamed version.h to tiffvers.h because we now have to install it 5277 with the public libtiff include files. 5278 o include tiffvers.h in tiffio.h. 5279 o updated tif_version.c to use tiffvers.h. 5280 o Updated Makefile.in accordingly. 5281 5282 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 5283 I have updated the win32 detection rules in tiffcomp.h. 5284 52852000-10-20 Frank Warmerdam <warmerda@cs46980-c> 5286 5287 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 5288 the strip/tile width and height aren't multiples of the sampling size. 5289 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 5290 Some patches from Rick LaMont of Dot C Software. 5291 5292 * Modified tif_packbits.c encoder to avoid compressing more 5293 data than provided if rowsize doesn't factor into provided data 5294 (such as occurs for YCbCr). 5295 52962000-10-19 Frank Warmerdam <warmerda@cs46980-c> 5297 5298 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 5299 roundup if rows_per_strip not a multiple of vertical sample size. 5300 53012000-10-16 Frank Warmerdam <warmerda@cs46980-c> 5302 5303 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 5304 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5305 from [email protected]. 5306 5307 * Modified tif_packbits.c decoding to avoid overrunning the 5308 output buffer, and to issue a warning if data needs to be 5309 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5310 53112000-10-12 Frank Warmerdam <warmerda@cs46980-c> 5312 5313 * Modified tiff2bw to ensure portions add to 100%, and that 5314 white is properly recovered. 5315 5316 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 5317 Patch c/o Stanislav Brabec <[email protected]> 5318 53192000-09-30 Frank Warmerdam <warmerda@cs46980-c> 5320 5321 * Modified TIFFClientOpen() to emit an error on an attempt to 5322 open a comperessed file for update (O_RDWR/r+) access. This is 5323 because the compressor/decompressor code gets very confused when 5324 the mode is O_RDWR, assuming this means writing only. See 5325 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 5326 53272000-09-27 Frank Warmerdam <warmerda@cs46980-c> 5328 5329 * Added GNULDdso target an`d switched linux and freebsd to use it. 5330 53312000-09-26 Frank Warmerdam <warmerda@cs46980-c> 5332 5333 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 5334 of EXPAND1D() as per bug 11 (from Roman). 5335 53362000-09-25 Frank Warmerdam <warmerda@cs46980-c> 5337 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 5338 cygwin compatibility. 5339 5340 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 5341 be a proper fix to the buffer sizing problem. See 5342 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 5343 5344 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 5345 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 5346 Thanks to Nick Lamb <[email protected]> for reporting the 5347 bug and proving the patch. 5348 53492000-09-18 Frank Warmerdam <warmerda@cs46980-c> 5350 5351 * Fixed tif_jpeg.c so avoid destroying the decompressor before 5352 we are done access data thanks to bug report from: 5353 Michael Eckstein <[email protected]>. 5354 5355 * Reverted tif_flush change. 5356 53572000-09-14 Frank Warmerdam <warmerda@cs46980-c> 5358 5359 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 5360 error when TIFF_BEENWRITING is not set. This ensures that the 5361 directory contents can still be flushed by TIFFFlush(). 5362 53632000-08-14 Frank Warmerdam <[email protected]> 5364 5365 * tif_open.c: Don't set MMAP for O_RDWR files. 5366 5367 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 5368 so that files opened for update can be strip chopped too. 5369 5370 * tif_read.c: fixed up bug with files missing rowsperstrip and 5371 the strips per separation fix done a few weeks ago. 5372 53732000-07-17 Frank Warmerdam <warmerda@cs46980-c> 5374 5375 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 5376 SAMPLEFORMAT_COMPLEXINT. 5377 53782000-07-13 Mike Welles <[email protected]> 5379 5380 * index.html, bugs.html: added bugzilla info. 5381 53822000-07-12 Frank Warmerdam <[email protected]> 5383 5384 * tif_read.c: fix subtle bug with determining the number of 5385 rows for strips that are the last strip in a separation but 5386 not the last strip of all in TIFFReadEncodedStrip(). 5387 5388 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 5389 Peter Skarpetis <[email protected]> 5390 53912000-06-15 Frank Warmerdam <[email protected]> 5392 5393 * Modified tiffio.h logic with regard to including windows.h. It 5394 won't include it when building with __CYGWIN__. 5395 53962000-05-11 Frank Warmerdam <warmerda@cs46980-c> 5397 5398 * README: update to mention www.libtiff.org, don't list Sam's old 5399 email address. 5400 5401 * configure: Fixed DSO test for Linux as per patch from 5402 Jan Van Buggenhout <[email protected]>. 5403 54042000-04-21 Frank Warmerdam <[email protected]> 5405 5406 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 5407 one tile/strip images with an offset, and byte count of zero. These 5408 could be "unpopulated" images. 5409 54102000-04-18 Frank Warmerdam <[email protected]> 5411 5412 * contrib/addtiffo: Added "averaging" resampling option. 5413 5414 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 5415 5416Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 5417 5418 * tools/Makefile.in: Modified to install properly on SGI. 5419 54202000-04-12 Mike Welles <[email protected]> 5421 * configure: Fixed stupid mistake in libc6 test on Linux 5422 54232000-04-04 Mike Welles <[email protected]> 5424 * tif_win32.c: Applied patch to fix overreads and ovverwrites 5425 caught by BoundsChecker. From Arvan Pritchard 5426 <[email protected]> (untested). 5427 5428 * tif_getimage.c: Applied patch to silence VC6 warnings. From 5429 Arvan Pritchard <[email protected]> 5430 5431 * tif_lzw.c: Applied patch to silence VC6 warnings. From 5432 Arvan Pritchard <[email protected]> 5433 54342000-03-28 Frank Warmerdam <warmerda@cs46980-c> 5435 5436 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 5437 54382000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 5439 5440 * fax2ps: Fixed mixup of width and height in bounding box statement 5441 as per submission by Nalin Dahyabhai <[email protected]>. 5442 54432000-03-27 Mike Welles <[email protected]> 5444 5445 * fax2ps: Modified printruns to take uint32 instead of uint16. 5446 Patch courtesy of Bernt Herd <[email protected]> 5447 54482000-03-20 Mike Welles <[email protected]> 5449 5450 * configure: added test for libc6 for linux targets. Bug reported by 5451 Stanislav Brabec <[email protected]> 5452 5453 * Added 3.5 docs to html/Makefile.in. 5454 Thanks to Stanislav Brabec <[email protected]> 5455 5456 * configure: fixed bugs in sed scripts 5457 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 5458 fix submitted to Stanislav Brabec <[email protected]> 5459 5460 * tools/iptcutil was not in files list, and wasn't being 5461 added to tar archive. Updated Makefile.in. 5462 54632000-03-17 Frank Warmerdam <warmerda@cs46980-c> 5464 5465 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 5466 conversion for the run arrays. 5467 54682000-03-03 Frank Warmerdam <[email protected]> 5469 5470 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 5471 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 5472 54732000-03-02 Frank Warmerdam <[email protected]> 5474 5475 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 5476 5477 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 5478 to avoid overruns encountered with frle_bug.tif. 5479 5480Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 5481 5482 * Fixed tools/tiffcmp so that stopondiff testing works. 5483 Patch care of Joseph Orost <[email protected]>. 5484 54852000-01-28 <warmerda@CS46980-B> 5486 5487 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 5488 set to 1, and added default (off) setting in tiffconf.h. This 5489 should eventually be set by the configure script somehow. 5490 5491 The original work on all these 2-4GB changes was done by 5492 Peter Smith ([email protected]). 5493 5494 * Modified tif_win32.c to support 2-4GB seeks. 5495 5496 * tentatively changed toff_t to be unsigned instead of signed to 5497 facilitate support for 2-4GB files. 5498 5499 * Updated a variety of files to use toff_t. Fixed some mixups 5500 between toff_t and tsize_t. 5501 5502Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 5503 5504 * Largely reimplemented contrib/addtiffo to avoid temp files, 5505 updating the TIFF file in place. Fixed a few other bugs to. 5506 5507 * Set tif_rawdatasize to zero when freeing raw data buffer in 5508 TIFFWriteDirectory(). 5509 5510 * Enabled "REWRITE_HACK" in tif_write.c by default. 5511 5512 * Fix bug in tif_write.c when switching between reading one directory 5513 and writing to another. 5514 5515 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 5516 5517Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 5518 5519 * Added TIFFmemory(3t) functions to libtiff.def. 5520 5521Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 5522 5523 * Added libtiff/libtiff.def to TIFFILES distribution list. 5524 5525Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 5526 5527 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 5528 5529 * Altered descriptions in tools to reflect "by default" lzw not supported 5530 5531 * Updated index.html to note lzw compression kit. 5532 5533Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 5534 5535 * Added fax3sm_winnt.c to distribution list in Makefile.in. 5536 5537Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 5538 5539 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 5540 5541 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 5542 when LZW compression invoked. 5543 5544 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 5545 in tools to reflect removal of LZW compression 5546 5547Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 5548 5549 * Fixed bug that caused LZW (non) compression to segfault. Added 5550 warning about LZW compression removed being removed, and why. 5551 5552 * Added nostrip to install in tools/Makefile.in so that debugging 5553 symbols are kept. 5554 5555Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 5556 5557 * Added patch from Ivo Penzar <[email protected]>, 5558 supporting Adobe ZIP deflate. Untested. 5559 5560Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 5561 5562 * Made Packbits the default compression in tools/tiff2rgba.c instead 5563 of LZW. 5564 5565Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 5566 5567 * Added tif_luv to contrib/djgpp/Makefile.lib. 5568 5569Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 5570 5571 * Added zip creation to relase makefile target 5572 5573 * Added html for TIFFWriteTile.3t man page. 5574 5575Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 5576 5577 * Added some changes to tif_write.c to support rewriting existing 5578 fixed sized tiles and strips. Code mods disabled by default, only 5579 enabled if REWRITE_HACK is defined for now. 5580 5581Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 5582 5583 * Added TIFFWriteTile.3t man page. 5584 5585Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 5586 5587 * Added notes on use of makefile.vc in build.html, and fixed 5588 email subscription address. 5589 5590199-11-28 Mike Welles <[email protected]> 5591 5592 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 5593 5594 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 5595 from Bruce Carmeron <[email protected]> -- modifications of 5596 changes made by Frank (sun cc still complained on cast). 5597 5598 * Added tiffconf.h to install target per request from Bill 5599 Radcliffe <[email protected]>: "We need a way for ImageMagick to 5600 know features have been compiled into the TIFF library in order to 5601 handle things properly". 5602 5603Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 5604 5605 * fixed various VC++ warnings as suggested by Gilles Vollant 5606 <[email protected]>. 5607 5608Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 5609 5610 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 5611 not imply applications are responsible for image data swapping. 5612 56131999-11-22 Mike Welles <[email protected]> 5614 * HTML-ized the man pages, added to html/man 5615 5616 * Removed LZW Compression to comply with Unisys patent extortion. 5617 56181999-09-29 Mike Welles <[email protected]> 5619 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 5620 From Ivo Penzar <[email protected]. 5621 5622 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 5623 memory mapped files. <[email protected]> 5624 56251999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 5626 * Corrected alpha versioning. 5627 5628 * Removed distinction between alpha and release targets in Makefile.in. 5629 5630 * added release.stamp target, which tags cvs tree, and updates 5631 "RELEASE-DATE" 5632 5633 * added releasediff target, which diffs tree with source as of 5634 date in "RELEASE-DATE" 5635 5636 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 5637 away from alpha/non-alpha distinctions). 5638 5639 * updated html to reflect release 5640 56411999-09-23 <warmerda@CS46980-B> 5642 5643 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 5644 5645 * Added CYGWIN case in configure. 5646 5647Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 5648 5649 * Applied Francois Dagand's patch to handle fax decompression bug. 5650 (sizes >= 65536 were failing) 5651 5652Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 5653 5654 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 5655 by Christopher Lawton <[email protected]> 5656 5657Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 5658 5659 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 5660 Albert Chin-A-Young <[email protected]> 5661 5662 * Added TIFFReassignTagToIgnore() API on behalf of 5663 Bruce Cameron <[email protected]>. Man page still pending. 5664 5665Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 5666 5667 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 5668 files to provide for a rudimentary testsuite. 5669 5670 * Added contrib/tags back from old distribution ... fixed up a bit. 5671 56721999-08-16 <warmerda@CS46980-B> 5673 5674 * Added simple makefile.vc makefiles for building with MS VC++ 5675 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 5676 better solutions for some users. 5677 5678Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 5679 5680 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 5681 put it in tools since part of it is in C++. 5682 56831999-08-16 Michael L. Welles <[email protected]> 5684 5685 * Updated html/index.html with anon CVS instructions. 5686 5687Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 5688 5689 * pre-remove so link before softlink in LINUXdso action in 5690 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 5691 the first. 5692 5693 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 5694 colormaps owned by the TIFF handle itself when trying to fixup wrong 5695 (eight bit) colormaps. Corrected by maintaining a private copy of 5696 the colormap. 5697 5698 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 5699 tif_getimage.c. 5700 5701 * CVS Repository placed at remotesensing.org. ChangeLog added. 5702