12011-04-09 Bob Friesenhahn <[email protected]> 2 3 * configure.ac: Should use AC_CANONICAL_HOST since host specifies 4 the run-time target whereas target is used to specify the final 5 output target if the package is a build tool (like a compiler), 6 which libtiff is not. Resolves libtiff bug 2307 "Use 7 AC_CANONICAL_HOST macro". 8 92011-04-02 Bob Friesenhahn <[email protected]> 10 11 * configure.ac: Support configuring TIFF_INT64_FORMAT and 12 TIFF_UINT64_FORMAT appropriately for MinGW32. 13 14 * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32 15 printf conventions for 64-bit types because it uses the WIN32 CRT. 16 17 * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c, 18 tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32 19 printf conventions for 64-bit types because it uses the WIN32 CRT. 20 21 * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not 22 understood by WIN32 CRT. 23 24 * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC. 25 26 * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since 27 it is much more portable. Tmpfile is included in ISO/IEC 28 9899:1990 and the WIN32 CRT. 29 302011-03-26 Frank Warmerdam <[email protected]> 31 32 * tools/tiffset.c: add -d and -sd switches to allow operation on 33 a particular directory, not just the first (jef). 34 352011-03-21 Frank Warmerdam <[email protected]> 36 37 * libtiff/tif_thunder.c: Correct potential buffer overflow with 38 thunder encoded files with wrong bitspersample set. The libtiff 39 development team would like to thank Marin Barbella and TippingPoint's 40 Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004, 41 CVE-2011-1167). 42 http://bugzilla.maptools.org/show_bug.cgi?id=2300 43 442011-03-10 Frank Warmerdam <[email protected]> 45 46 * libtiff/tif_fax3.h: Fix to last change allowing zero length 47 runs at the start of a scanline - needed for legal cases. 48 492011-03-02 Frank Warmerdam <[email protected]> 50 51 * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 52 a move left. Without this, a malicious input file can generate an 53 indefinitely large series of runs without a0 ever reaching the right 54 margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192. 55 This is a modified version of a patch proposed by Drew Yao of Apple 56 Product Security. It adds an unexpected() report, and disallows the 57 equality case, since emitting a run without increasing a0 still allows 58 buffer overrun. 59 602011-02-23 Frank Warmerdam <[email protected]> 61 62 * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296) 63 64 * tools/tiff2rgba.c: close source file on error to make leak 65 detection easier. 66 67 * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails. 68 69 http://bugzilla.maptools.org/show_bug.cgi?id=2295 70 712011-02-22 Frank Warmerdam <[email protected]> 72 73 * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ 74 _SUPPORT) 75 762011-02-18 Frank Warmerdam <[email protected]> 77 78 * configure.ac, configure: Added support for --enable-chunky-strip-read 79 configure option to enable the experimental feature from a couple 80 months ago for reading big strips in chunks. 81 82 * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 83 tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c: 84 Implement optional support for deferring the load of strip/tile 85 offset and size tags for optimized scanning of directories. Enabled 86 with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD 87 #define in tif_config.h). 88 892011-02-11 Frank Warmerdam <[email protected]> 90 91 * libtiff/tif_print.c: remove unused variable. 92 932011-02-09 Frank Warmerdam <[email protected]> 94 95 * libtiff/tif_win32.c: avoid error/warning buffer overrun problem 96 with non-console (popup message) builds on win32. 97 98 http://bugzilla.maptools.org/show_bug.cgi?id=2293 99 1002011-01-24 Olivier Paquet <[email protected]> 101 102 * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c, 103 tif_print.c, tiff.h, tiffiop.h} : Added support for 104 TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different 105 values for each sample. Presents the min/max of all samples by default for 106 compatibility. TIFFSetField/TIFFGetField can be made to handle those tags 107 as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag. 108 http://www.asmail.be/msg0055458208.html 109 1102011-01-06 Frank Warmerdam <[email protected]> 111 112 * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 113 maintained. 114 115 * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 116 for CHUNKY_STRIP_READ_SUPPORT. 117 118 * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained 119 during JPEGPreDecode and JPEGDecode calls. 120 * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 121 as compression formats like JPEG keep 16 lines interleaved in a sense 122 and might need to touch quite a bit of data. 123 124 http://trac.osgeo.org/gdal/ticket/3894 125 1262011-01-03 Lee Howard <[email protected]> 127 128 * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images 129 caused by commit on 2010-12-14. Submitted by e-mail from 130 Even Rouault <[email protected]> 131 1322010-12-31 Olivier Paquet <[email protected]> 133 134 * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE. 135 http://bugzilla.maptools.org/show_bug.cgi?id=2266 136 1372010-12-23 Andrey Kiselev <[email protected]> 138 139 * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the 140 compression level parameter (preset) for Deflate and LZMA encoders, 141 e.g "-c lzma:p1" or "-c zip:p9". 142 143 * libtiff/tif_lzma.c: Properly set the LZMA2 compression level 144 (preset) in LZMAVSetField(). 145 1462010-12-18 Bob Friesenhahn <[email protected]> 147 148 * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to 149 Makefile. 150 1512010-12-14 Andrey Kiselev <[email protected]> 152 153 * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h, 154 tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new 155 TIFF compression scheme LZMA reserving a new value 34925 for 156 Compression tag. As per 157 bug http://bugzilla.maptools.org/show_bug.cgi?id=2221 158 1592010-12-14 Lee Howard <[email protected]> 160 161 * libtiff/tif_dirread.c: tolerate some cases where 162 FIELD_COLORMAP is missing 163 http://bugzilla.maptools.org/show_bug.cgi?id=2189 164 1652010-12-14 Lee Howard <[email protected]> 166 167 * libtiff/tif_read.c: change read_ahead to tmsize_t 168 http://bugzilla.maptools.org/show_bug.cgi?id=2222 169 1702010-12-14 Lee Howard <[email protected]> 171 172 * configure.ac, libtiff/Makefile.am: Build tif_win32.c on 173 Windows except on Cygwin 174 http://bugzilla.maptools.org/show_bug.cgi?id=2224 175 1762010-12-14 Lee Howard <[email protected]> 177 178 * tools/gif2tiff.c: fix buffer overrun 179 http://bugzilla.maptools.org/show_bug.cgi?id=2270 180 1812010-12-14 Lee Howard <[email protected]> 182 183 * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order 184 to improve compatibility with various viewers 185 submitted by e-mail from Dwight Kelly <[email protected]> 186 1872010-12-13 Lee Howard <[email protected]> 188 189 * tools/fax2ps.c: be consistent with page-numbering 190 http://bugzilla.maptools.org/show_bug.cgi?id=2225 191 1922010-12-13 Lee Howard <[email protected]> 193 194 * libtiff/tif_color.c: prevent crash in handling bad TIFFs 195 resolves CVE-2010-2595 196 http://bugzilla.maptools.org/show_bug.cgi?id=2208 197 1982010-12-13 Lee Howard <[email protected]> 199 200 * tools/tiffcrop.c: new release by Richard Nolde 201 http://bugzilla.maptools.org/show_bug.cgi?id=2004 202 2032010-12-12 Lee Howard <[email protected]> 204 205 * tools/tiff2pdf.c: fix colors for images with RGBA 206 interleaved data 207 http://bugzilla.maptools.org/show_bug.cgi?id=2250 208 2092010-12-12 Lee Howard <[email protected]> 210 211 * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files 212 http://bugzilla.maptools.org/show_bug.cgi?id=2164 213 2142010-12-11 Lee Howard <[email protected]> 215 216 * tools/tiff2pdf.c: remove invalid duplication for Lab 217 http://bugzilla.maptools.org/show_bug.cgi?id=2162 218 2192010-12-11 Lee Howard <[email protected]> 220 221 * libtiff/tif_jpeg.c: fix use of clumplines calculation 222 http://bugzilla.maptools.org/show_bug.cgi?id=2149 223 2242010-12-11 Lee Howard <[email protected]> 225 226 * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp() 227 http://bugzilla.maptools.org/show_bug.cgi?id=2118 228 2292010-12-11 Lee Howard <[email protected]> 230 231 * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c, 232 libtiff/tif_zip.c: fix build errors for VC6 233 http://bugzilla.maptools.org/show_bug.cgi?id=2105 234 2352010-12-11 Lee Howard <[email protected]> 236 237 * libtiff/tif_stream.cxx: warnings cleanup 238 http://bugzilla.maptools.org/show_bug.cgi?id=2091 239 * libtiff/tif_dirread.c: warnings cleanup 240 http://bugzilla.maptools.org/show_bug.cgi?id=2092 241 2422010-12-11 Lee Howard <[email protected]> 243 244 * tools/tiff2pdf.c: add fill-page option 245 http://bugzilla.maptools.org/show_bug.cgi?id=2051 246 2472010-12-11 Lee Howard <[email protected]> 248 249 * libtiff/tif_dirread.c: modify warnings 250 http://bugzilla.maptools.org/show_bug.cgi?id=2016 251 2522010-12-11 Lee Howard <[email protected]> 253 254 * libtiff/tif_ojpeg.c: fix buffer overflow on problem data 255 http://bugzilla.maptools.org/show_bug.cgi?id=1999 256 2572010-12-11 Lee Howard <[email protected]> 258 259 * tools/tiffinfoce.c: strip byte counts are uint64* now 260 2612010-12-11 Lee Howard <[email protected]> 262 263 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero 264 or missing byte-count tag 265 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count 266 per http://bugzilla.maptools.org/show_bug.cgi?id=1996 267 2682010-12-08 Lee Howard <[email protected]> 269 270 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed 271 TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994 272 2732010-12-06 Lee Howard <[email protected]> 274 275 * libtiff/tif_open.c: Fix mode check before opening a file. 276 http://bugzilla.maptools.org/show_bug.cgi?id=1906 277 2782010-11-27 Bob Friesenhahn <[email protected]> 279 280 * libtiff-4.pc.in: Added libtiff pkg-config .pc file support. 281 Patch by Vincent Torri. 282 2832010-10-21 Frank Warmerdam <[email protected]> 284 285 * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler. 286 287 * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf. 288 289 * libtiff/libtiff.def: export _TIFFCheckMalloc for tools. 290 2912010-09-25 Lee Howard <[email protected]> 292 293 * tools/tiff2ps.c: improvements and enhancements from Richard Nolde 294 with additional command line options for Document Title, 295 Document Creator, and Page Orientation 296 2972010-07-13 Bob Friesenhahn <[email protected]> 298 299 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 300 potentially unterminated buffer due to using an exceptionally long 301 file name. 302 3032010-07-08 Andrey Kiselev <[email protected]> 304 305 * tools/tiff2pdf.c: Fixed ID buffer filling in 306 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 307 3082010-07-07 Andrey Kiselev <[email protected]> 309 310 * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 311 to expected value as the warning message suggests. As per bug 312 http://bugzilla.maptools.org/show_bug.cgi?id=1963 313 3142010-07-06 Andrey Kiselev <[email protected]> 315 316 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 317 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 318 which should be set by value. 319 320 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 321 and _TIFFFieldWithName() if the tag is not found in the tag table. 322 This should be normal situation and returned NULL value should be 323 properly handled by the caller. 324 3252010-07-02 Andrey Kiselev <[email protected]> 326 327 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 328 integer type conversions. As per bug 329 http://bugzilla.maptools.org/show_bug.cgi?id=2207 330 331 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 332 WhitePoint tag as per bug 333 http://bugzilla.maptools.org/show_bug.cgi?id=2042 334 335 * libtiff/tif_getimage.c: Check the number of samples per pixel when 336 working with YCbCr image in PickContigCase(). As per bug 337 http://bugzilla.maptools.org/show_bug.cgi?id=2216 338 339 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 340 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 341 we don't need any post-processing. That helps to reset the hook if we 342 previously set this field to some other value and the hook was 343 initialized accordingly. As per bug 344 http://bugzilla.maptools.org/show_bug.cgi?id=2035 345 3462010-07-01 Andrey Kiselev <[email protected]> 347 348 * tools/tiffgt.c: Properly check the raster buffer allocations for 349 integer overflows. As per bug 350 http://bugzilla.maptools.org/show_bug.cgi?id=2108 351 352 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 353 upstream. 354 355 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 356 multiply_32() and multiply_64() functions into tif_aux.c file and 357 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 358 3592010-06-30 Andrey Kiselev <[email protected]> 360 361 * tools/tiff2pdf.c: Better generation of ID field in 362 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 363 364 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 365 converting JPEG encoded tiles. 366 367 * tools/tiff2pdf.c: Better handling of string fields, use static 368 string buffers instead of dynamically allocated, use strncpy() instead 369 of strcpy(), control the string lengths. 370 3712010-06-25 Andrey Kiselev <[email protected]> 372 373 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 374 referencing to uninitialized memory in some cases (e.g. when tile size 375 set bigger than the image size). 376 3772010-06-15 Bob Friesenhahn <[email protected]> 378 379 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 380 subsampled data since tiffcrop currently doesn't support it. Fix 381 JPEG support. 382 3832010-06-13 Frank Warmerdam <[email protected]> 384 385 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 386 387 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 388 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 389 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 390 size is larger. Also, there are a bunch of places that try to 391 memset() a malloc'd buffer before checking for malloc failure, which 392 would result in core dump if there actually were a failure. (#2211) 393 3942010-06-11 Bob Friesenhahn <[email protected]> 395 396 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 397 avoid compiler warnings if parameter types are not sign 398 consistent. 399 400 * libtiff 4.0.0alpha6 released. 401 402 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 403 European page size dimensions. Added an option to allow the user 404 to specify a custom page size on the command line. Fix the case 405 where a page size specified with a fractional part was being 406 coerced to an integer by retyping the variables that define the 407 paper size. 408 409 * html/index.html: Update for the 3.9.3 release. 410 411 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 412 YCbCr subsampled data since tiffcp currently doesn't support it. 413 http://bugzilla.maptools.org/show_bug.cgi?id=2097 414 415 * Update libtool to version 2.2.10. 416 4172010-06-10 Bob Friesenhahn <[email protected]> 418 419 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 420 multiplier is zero. 421 4222010-06-09 Bob Friesenhahn <[email protected]> 423 424 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 425 CVE-2010-1411 was not complete. 426 427 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 428 multiply two integers. Returns zero if there is an integer 429 overflow. 430 431 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 432 is reported when reading the input file. 433 4342010-06-08 Bob Friesenhahn <[email protected]> 435 436 * Update libtool to version 2.2.8. 437 438 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 439 buffer due to integer overflow in TIFFroundup() and several other 440 potential overflows. In conjunction with the fix to TIFFhowmany(), 441 fixes CVE-2010-1411. 442 443 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 444 result in an integer overflow. This causes TIFFroundup() to also 445 return zero if there would be an integer overflow. 446 447 * contrib: Add an emacs formatting mode footer to all source files 448 so that emacs can be effectively used. 449 4502010-06-03 Oliver Chen Feng <[email protected]> 451 452 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 453 file PAGENUMBER value in sequence for users who care the page 454 sequence, this will also prevent tiff2pdf from creating pdf file from 455 the merged tiff file with wrong page sequence. 456 4572010-05-08 Olivier Paquet <[email protected]> 458 459 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 460 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 461 * libtiff/tif_dirinfo.c: Use correct set_field_type for 462 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 463 http://bugzilla.maptools.org/show_bug.cgi?id=2192 464 4652010-05-07 Frank Warmerdam <[email protected]> 466 467 * libtiff/tif_jpeg.c: Ensure that quality is always set in 468 JPEGPreEncode(), not just when we want to output local tables. 469 Otherwise the quality used during compression may not be right and 470 might not match the tables in the tables tag. This bug only occurs 471 when seeking between directories in the midst of writing blocks. 472 http://trac.osgeo.org/gdal/ticket/3539 473 4742010-05-06 Andrey Kiselev <[email protected]> 475 476 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 477 Regenerated from the source. 478 4792010-05-05 Olivier Paquet <[email protected]> 480 481 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 482 had stopped working. Also made it always print 6 floats instead of 483 2*SamplesPerPixel. 484 http://bugzilla.maptools.org/show_bug.cgi?id=2191 485 http://bugzilla.maptools.org/show_bug.cgi?id=2186 486 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 487 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 488 4892010-05-05 Frank Warmerdam <[email protected]> 490 491 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 492 if the jpeg table was written. This is a fix for the last fix on 04-21. 493 4942010-04-21 Frank Warmerdam <[email protected]> 495 496 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 497 JPEGSetupEncode() is called if the tables already seem to be 498 established. This prevents spurious updates and rewriting of 499 directories with jpegtables when doing updates to existing images. 500 http://trac.osgeo.org/gdal/ticket/3539 501 5022010-04-20 Olivier Paquet <[email protected]> 503 504 * libtiff/tif_dirinfo.c: Use correct set_field_type for 505 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 506 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 507 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 508 http://bugzilla.maptools.org/show_bug.cgi?id=2139 509 5102010-04-10 Bob Friesenhahn <[email protected]> 511 512 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 513 when the tag count value is zero. Error handling is still a 514 regression since in 3.9.2, empty tags are skipped (with a warning) 515 rather than returning a hard error and refusing to read the file. 516 517 * tools/ppm2tiff.c (main): While case for parsing comment line 518 requires extra parenthesis to work as expected. Reported by 519 Thomas Sinclair. 520 5212010-04-02 Frank Warmerdam <[email protected]> 522 523 * libtiff/tif_read.c (primarily): Add support for 524 CHUNKY_STRIP_READ_SUPPORT where large strips are 525 read in chunks for applications using TIFFReadScanline(). 526 This is intended to make it more practical work with very 527 large compressed one-strip files. Feature is off by default. 528 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 529 http://trac.osgeo.org/gdal/ticket/3514 530 5312010-03-31 Frank Warmerdam <[email protected]> 532 533 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 534 directories so previously placed directories will be migrated to 535 the end of file if needed. 536 5372010-03-30 Frank Warmerdam <[email protected]> 538 539 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 540 to support operating on strips/tiles of more than 256MB. 541 http://trac.osgeo.org/gdal/ticket/3512 542 5432010-03-10 Bob Friesenhahn <[email protected]> 544 545 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 546 that it is clearly a memory allocation error message, and also 547 includes the size of the allocation request. 548 5492010-02-22 Lee Howard <[email protected]> 550 551 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 552 the JPEG TIFF as is is not required in order to prevent it from 553 being unused and filled with invalid data. (Leave it to be 554 generated by later activity.) 555 http://bugzilla.maptools.org/show_bug.cgi?id=2135 556 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 557 data rather than skipping them. This fixes the ability to view in 558 Acrobat Reader, Evince, and Ghostscript. 559 http://bugzilla.maptools.org/show_bug.cgi?id=2135 560 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 561 strips. 562 http://bugzilla.maptools.org/show_bug.cgi?id=2029 563 5642009-12-03 Frank Warmerdam <[email protected]> 565 566 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 567 Made so that when working with downsampled images a stub function 568 reporting an error is used for tif_decoderow. We cannot meaningfully 569 support reading scanlines in this situation. (#1936) 570 571 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 572 resetting of the upsampling values (gdal:#3259). 573 http://bugzilla.maptools.org/show_bug.cgi?id=1936 574 5752009-11-30 Frank Warmerdam <[email protected]> 576 577 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 578 tools/ras2tiff.c: Fix resource leaks on error. 579 http://bugzilla.maptools.org/show_bug.cgi?id=2121 580 581 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 582 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 583 of as a custom(generic) field to avoid a potential reentrancy problem. 584 http://bugzilla.maptools.org/show_bug.cgi?id=2125 585 586 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 587 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 588 const, and display_sRGB static and const. 589 http://bugzilla.maptools.org/show_bug.cgi?id=2124 590 5912009-11-04 Bob Friesenhahn <[email protected]> 592 593 * libtiff 4.0.0alpha5 released. 594 5952009-11-03 Bob Friesenhahn <[email protected]> 596 597 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 598 version has undergone substantial testing with arbitrary sample 599 bit depths. Also eliminates GCC compilation warnings. 600 6012009-11-02 Bob Friesenhahn <[email protected]> 602 603 * port/libport.h: Add extern declarations for getopt standard 604 globals. 605 6062009-10-31 Bob Friesenhahn <[email protected]> 607 608 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 609 noticed in 64-bit build of libtiff with Visual Studio 2005. 610 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 611 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 612 613 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 614 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 615 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 616 http://bugzilla.maptools.org/show_bug.cgi?id=2068 617 6182009-10-29 Bob Friesenhahn <[email protected]> 619 620 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 621 pointer" warnings. 622 6232009-10-28 Bob Friesenhahn <[email protected]> 624 625 * html/tools.html: Add manual page links, and a summary 626 description of tiffcrop. 627 6282009-10-07 Bob Friesenhahn <[email protected]> 629 630 * configure.ac: x86_64 should use the same fill order as i386. 631 6322009-09-24 Bob Friesenhahn <[email protected]> 633 634 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 635 Nolde. Major updates to add significant functionality for reading 636 and writing tile based images with bit depths not a multiple of 8 637 which cannot be handled by tiffcp. 638 6392009-09-03 Bob Friesenhahn <[email protected]> 640 641 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 642 do_fancy_upsampling=FALSE in order to read raw data. Resolves 643 "Bug 2090 - OJPEG crash with libjpeg v7". 644 http://bugzilla.maptools.org/show_bug.cgi?id=2090 645 6462009-09-03 Frank Warmerdam <[email protected]> 647 648 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 649 interface when stoponerror is set. 650 http://bugzilla.maptools.org/show_bug.cgi?id=2071 651 6522009-08-30 Bob Friesenhahn <[email protected]> 653 654 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 655 fix build with gcc when using the "-Wformat 656 -Werror=format-security" flags. 657 6582009-08-29 Bob Friesenhahn <[email protected]> 659 660 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 661 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 662 utilities tests. 663 6642009-08-28 Bob Friesenhahn <[email protected]> 665 666 * tools/tiffinfo.c: tiffinfo should return error status to the 667 caller. Register a private error callback to accomplish that. 668 669 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 670 PNM formats so that we will be able to test more of the tools. 671 While adding these test images I notice that bmp2tiff and gif2tiff 672 only support ancient versions of their respective formats. 673 6742009-08-27 Bob Friesenhahn <[email protected]> 675 676 * libtiff 4.0.0alpha4 released. 677 678 * HOWTO-RELEASE: Improved release instructions. 679 6802009-08-24 Bob Friesenhahn <[email protected]> 681 682 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 683 fixes for "Bug 2023 - nroff errors in manual pages". 684 http://bugzilla.maptools.org/show_bug.cgi?id=2023 685 686 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 687 CVE-2009-2347 libtiff: integer overflows in various inter-color 688 space conversion tools". 689 http://bugzilla.maptools.org/show_bug.cgi?id=2079 690 691 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 692 Berkenbilt for "Bug 2024 - possible null pointer dereference with 693 one-line fix". 694 http://bugzilla.maptools.org/show_bug.cgi?id=2024 695 696 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 697 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 698 segfault after setting tdir_tag = IGNORE". 699 http://bugzilla.maptools.org/show_bug.cgi?id=1895 700 7012009-08-23 Bob Friesenhahn <[email protected]> 702 703 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 704 tiffcrop.sh into a collection of many specific tests. Re-wrote 705 all of the existing tests to be based on some simple shell 706 functions. Make distcheck works again. 707 708 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 709 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 710 tests under valgrind. 711 7122009-08-21 Bob Friesenhahn <[email protected]> 713 714 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 715 build. 716 717 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 718 actually activated since it needed to be enabled in this 719 Makefile.am. Also activated parallel-tests mode since it offers 720 useful features such as per-test .log files and a summary test 721 report .log file. 722 7232009-08-20 Bob Friesenhahn <[email protected]> 724 725 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 726 libtool 2.2.6. Enabled support for silent build rules 727 (--enable-silent-rules or 'make V=0') and colorized tests. 728 729 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 730 7312009-06-30 Frank Warmerdam <[email protected]> 732 733 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 734 735 * tools/tiffcp.c: add -c sgilog support. 736 737 * libtiff/tif_luv.c: correct return codes from encoderow to be 738 1 on success instead of zero. 739 http://bugzilla.maptools.org/show_bug.cgi?id=2069 740 741 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 742 #1085 for a better underflow fix that errors properly. 743 http://bugzilla.maptools.org/show_bug.cgi?id=2065 744 http://bugzilla.maptools.org/show_bug.cgi?id=1985 745 7462009-06-26 Frank Warmerdam <[email protected]> 747 748 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 749 fails on oddly sized 12bit jpeg compressed ycbcr images. 750 7512009-06-22 Frank Warmerdam <[email protected]> 752 753 * libtiff/tif_lzw.c: Fix buffer underflow bug. 754 http://bugzilla.maptools.org/show_bug.cgi?id=2065 755 7562009-06-21 Frank Warmerdam <[email protected]> 757 758 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 759 for dual mode 8/12 bit jpeg support. 760 7612009-06-03 Frank Warmerdam <[email protected]> 762 763 * libtiff/tif_write.c: do not override the planar configuration to be 764 contig for one sample files if planar configuration is already set. 765 http://bugzilla.maptools.org/show_bug.cgi?id=2057 766 7672009-06-02 Frank Warmerdam <[email protected]> 768 769 * libtiff/libtiff.def: Add TIFFUnsetField. 770 7712009-05-03 Frank Warmerdam <[email protected]> 772 773 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 774 error reports to use "%s" as format string. 775 http://trac.osgeo.org/gdal/ticket/2976 776 7772009-03-12 Frank Warmerdam <[email protected]> 778 779 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 780 for some codecs (#2020). 781 7822009-02-12 Frank Warmerdam <[email protected]> 783 784 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 785 http://bugzilla.maptools.org/show_bug.cgi?id=2005 786 7872009-02-09 Frank Warmerdam <[email protected]> 788 789 * libtiff/tif_dirread.c: Improve allocation safety when allocated 790 buffer for large tags. (#1998) Related to (#1993) 791 7922009-02-06 Frank Warmerdam <[email protected]> 793 794 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 795 test suite should pass. 796 7972009-02-05 Frank Warmerdam <[email protected]> 798 799 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 800 but at the 2GB boundary to avoid overflow on 32bit systems. 801 http://bugzilla.maptools.org/show_bug.cgi?id=1993 802 803 * libtiff/tif_dirread.c: Remove some assertions that blow due to 804 corrupt files rather than in response to library internal 805 inconsistencies. 806 http://bugzilla.maptools.org/show_bug.cgi?id=1995 807 http://bugzilla.maptools.org/show_bug.cgi?id=1991 808 809 * libtiff/tif_dirread.c: Fixed testing for failed result from 810 TIFFReadDirectoryFindFieldInfo(). 811 http://bugzilla.maptools.org/show_bug.cgi?id=1992 812 8132009-01-23 Frank Warmerdam <[email protected]> 814 815 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 816 http://bugzilla.maptools.org/show_bug.cgi?id=1911 817 818 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 819 820 http://bugzilla.maptools.org/show_bug.cgi?id=1924 821 822 * tools/tiffcrop.c: initialize xres/yres values. 823 824 * test/*.sh - default ${srcdir} to local directory. 825 826 * test/common.sh - start verbose mode after common settings. 827 828 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 829 avoid type mismatches on different platforms. 830 http://bugzilla.maptools.org/show_bug.cgi?id=1889 831 8322009-01-22 Frank Warmerdam <[email protected]> 833 834 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 835 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 836 837 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 838 defined, primarily to reduce prototype warnings on windows. 839 840 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 841 about unused parameters, and uninitialized variables. 842 8432009-01-21 Bob Friesenhahn <[email protected]> 844 845 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 846 order to trace full execution detail while executing the test suite. 847 8482009-01-20 Frank Warmerdam <[email protected]> 849 850 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 851 8522009-01-20 Bob Friesenhahn <[email protected]> 853 854 * test/Makefile.am (CLEANFILES): Make sure that test output files 855 are removed by 'make clean' 856 857 * Update autotools for 4.0.0 beta3 858 859 * 4.0.0 beta3 produced. 860 8612009-01-12 Bob Friesenhahn <[email protected]> 862 863 * test/tiffcrop.sh: New test script for tiffcrop from Richard 864 Nolde. 865 866 * tools/tiff2ps.c: Remove spurious message to stderr. 867 8682009-01-11 Bob Friesenhahn <[email protected]> 869 870 * tools/tiff2ps.c: Incorporated significant functionality update 871 from Richard Nolde. In particular, support for rotating the image 872 by 90, 180, 270, and 'auto' has been added. 873 874 * man/tiffcrop.1: Incorporated documentation updates from Richard 875 Nolde. 876 877 * tools/tiffcrop.c: Incorporated significant functionality update 878 from Richard Nolde. 879 8802008-12-31 Bob Friesenhahn <[email protected]> 881 882 * libtiff/tiffio.h: GCC will now validate format specifications 883 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 884 TIFFWarningExt() in order to reveal bugs. 885 886 * Many fixes throughout to work better as a 64-bit build. 887 8882008-12-30 Bob Friesenhahn <[email protected]> 889 890 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 891 tags now require 64-bit parameter rather than 32-bit. 892 893 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 894 64-bit values. 895 896 * tools/thumbnail.c: Eliminate crash noticed while running test 897 suite. 898 8992008-12-29 Bob Friesenhahn <[email protected]> 900 901 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 902 Initialize stack variables to avoid compiler warning. 903 904 * tools/tiffinfoce.c (main): Use toff_t for offset type when 905 retrieving offset of EXIF IFD. 906 907 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 908 TIFFClientOpen() callback and other external function definitions. 909 910 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 911 type now. Fixes crash when dumping files containing an EXIF IFD. 912 913 * m4/libtool.m4: Update to libtool 2.2.6. 914 9152008-12-21 Frank Warmerdam <[email protected]> 916 917 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 918 919 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 920 strip for the last partial strip in a jpeg compressed file. 921 http://bugzilla.maptools.org/show_bug.cgi?id=1981 922 9232008-10-29 Frank Warmerdam <[email protected]> 924 925 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 926 we take the shortcut to only update the strip/tile offsets in place. 927 http://trac.osgeo.org/gdal/ticket/2621 928 9292008-10-21 Andrey Kiselev <[email protected]> 930 931 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 932 the older versions retained). 933 9342008-10-09 Frank Warmerdam <[email protected]> 935 936 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 937 IPP enabled version of libjpeg from Intel. 938 http://bugzilla.maptools.org/show_bug.cgi?id=1951 939 9402008-09-05 Andrey Kiselev <[email protected]> 941 942 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 943 Required for libtiff 4.0. 944 945 * tools/tiffsplit.c: Use dynamically allocated array instead of static 946 when constructing output file names. 947 9482008-09-03 Andrey Kiselev <[email protected]> 949 950 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 951 doing the filename/path construction. 952 953 * tools/tiff2pdf.c: More appropriate format string in 954 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 955 956 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 957 958 http://bugzilla.maptools.org/show_bug.cgi?id=1929 959 960 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 961 CVE-2008-2327 security issue. 962 9632008-09-01 Frank Warmerdam <[email protected]> 964 965 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 966 967 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 968 depending on whether the file is bigtiff or classic tiff. 969 http://bugzilla.maptools.org/show_bug.cgi?id=1917 970 9712008-08-12 Edward Lam <[email protected]> 972 973 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 974 consistent (__int64) casting when testing if _lseeki64 has 975 successfully seeked as requested. This is necessary for large 976 file support to work since off_t is only 32-bit. 977 9782008-07-29 Frank Warmerdam <[email protected]> 979 980 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 981 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 982 with control logic to return runtime errors (c/o Even Rouault) (#1927). 983 9842008-06-17 Frank Warmerdam <[email protected]> 985 986 * tools/tiffcrop.c: Fix some portability problems. 987 988 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 989 used in tif_jpeg.c. 990 991 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 992 as TIFFOpen(). 993 9942008-06-01 Frank Warmerdam <[email protected]> 995 996 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 997 like Sparc/Solaris. 998 http://bugzilla.maptools.org/show_bug.cgi?id=1892 999 10002008-05-27 Frank Warmerdam <[email protected]> 1001 1002 * libtiff.def: Add TIFFFindField 1003 http://bugzilla.maptools.org/show_bug.cgi?id=1891 1004 10052008-05-26 Frank Warmerdam <[email protected]> 1006 1007 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 1008 1009 * li2008-04-15 Andrey Kiselev <[email protected]> 1010 1011btiff/tif_win32.c: Replace custom Win32 memory api with generic 1012 POSIX one. No apparent value to use of GlobalAlloc() in the modern 1013 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 1014 1015 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 1016 in windows version (care of Edward Lam). 1017 10182008-05-24 Frank Warmerdam <[email protected]> 1019 1020 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 1021 compression codec codes. 1022 1023 * tif_dirwrite.c: fix potential memory leak. 1024 1025 * tif_dirread.c: Fix unchecked malloc result. 1026 10272008-05-24 Bob Friesenhahn <[email protected]> 1028 1029 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 1030 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 1031 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 1032 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 1033 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 1034 suggestions from Lee Howard posted to the tiff list on 13 Sep 1035 2007. 1036 10372008-05-23 Frank Warmerdam <[email protected]> 1038 1039 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 1040 possible runtime problem reported by coverity. 1041 1042 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 1043 1044 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 1045 http://bugzilla.maptools.org/show_bug.cgi?id=1888 1046 1047 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 1048 1049 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 1050 1051 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 1052 Cleanup scanline allocation to avoid coverity warning. 1053 1054 * tools/thumbnail.c: Check for TIFFOpen() failure. 1055 10562008-05-18 Frank Warmerdam <[email protected]> 1057 1058 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 1059 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 1060 why this is needed. 1061 10622008-05-09 Bob Friesenhahn <[email protected]> 1063 1064 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 1065 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 1066 10672008-04-15 Andrey Kiselev <[email protected]> 1068 1069 * test/: Test suite updated. Everything is passed now. 1070 1071 * libtiff/tif_dirinfo.c: Fixed description of the 1072 TIFFTAG_NUMBEROFINKS tag. 1073 10742008-04-14 Andrey Kiselev <[email protected]> 1075 1076 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 1077 Get rid of some of "dereferencing type-punned" warnings by converting 1078 tdir_offset field of TIFFDirEntry structure into union. 1079 10802008-04-10 Andrey Kiselev <[email protected]> 1081 1082 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 1083 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 1084 from the public interface. Type of its 'count' parameter changed 1085 from uint32 to tmsize_t. 1086 1087 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 1088 of the tiff structure have the size_t type instead of uint32. 1089 10902008-04-09 Andrey Kiselev <[email protected]> 1091 1092 * tools/tiffdump.c: Added support for MSVS 6.0. 1093 1094 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 1095 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 1096 point values on MSVS 6.0 platform. 1097 10982008-03-14 Frank Warmerdam <[email protected]> 1099 1100 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 1101 TIFFReadDirEntryArray() since they are interfering with seemingly 1102 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 1103 11042008-02-09 Joris Van Damme <[email protected]> 1105 1106 * tif_dirread.c: Added handling for the case of number of values for 1107 PageNumber tag different from 2 (previously resulted in an assert 1108 indicating lack of handling and was forgotten about) 1109 11102008-02-01 Frank Warmerdam <[email protected]> 1111 1112 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 1113 the actual jpeg data stream if the first strip/tile has zero size. 1114 This is the case when GDAL creates a new file with zero sizes, closes 1115 and reopens it. 1116 11172008-01-07 Frank Warmerdam <[email protected]> 1118 1119 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 1120 11212008-01-01 Frank Warmerdam <[email protected]> 1122 1123 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 1124 1125 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 1126 targets. 1127 1128 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 1129 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 1130 (x64). 1131 1132 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 1133 and TIFFFieldWithName() now return TIFFField pointers instead of 1134 TIFFFieldInfo pointers. 1135 1136 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 1137 exist. This makes it compile again on Windows 1138 1139 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 1140 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 1141 1142 * test/rewrite_tag.c: New test for TIFFRewriteField(). 1143 11442007-12-31 Frank Warmerdam <[email protected]> 1145 1146 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 1147 rewrites one field "on disk" updating an existing directory 1148 entry. Lots of limitations still... 1149 1150 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 1151 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 1152 the strip offset/size values are dirty but nothing else about the 1153 directory is dirty. In flush handle "just stripmaps dirty" as a 1154 special case that just rewrites these values without otherwise 1155 modifying the directory on disk using TIFFRewriteField(). 1156 1157 We also modify logic so that in update mode the directory is not 1158 marked dirty on read, but only when something is changed. This 1159 means we need to keep track of updates to the stripmap stuff in 1160 TIFFAppendToStrip(). 1161 11622007-12-10 Frank Warmerdam <[email protected]> 1163 1164 * tif_jpeg.c: Improve ability to switch between encoding and decoding 1165 in the jpeg code (gdal bug #2033). 1166 11672007-11-23 Frank Warmerdam <[email protected]> 1168 1169 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 1170 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 1171 rawcp/rawcc buffer are for writing and thus may require flushing. 1172 Necessary to distinguish whether they need to be written to disk when 1173 in mixed read/write mode and doing a mixture of writing followed by 1174 reading. http://trac.osgeo.org/gdal/ticket/1758 1175 11762007-11-23 Andrey Kiselev <[email protected]> 1177 1178 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 1179 from Alexey Chupahin. 1180 11812007-11-02 Frank Warmerdam <[email protected]> 1182 1183 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 1184 establishing if an existing tile can be rewritten to the same location 1185 by comparing the current size to all the other blocks in the same 1186 directory. This is dangerous in many situations and can easily 1187 corrupt a file. (observed in esoteric GDAL situation that's hard to 1188 document). This change involves leaving the stripbytecount[] values 1189 unaltered till TIFFAppendToStrip(). Now we only write a block back 1190 to the same location it used to be at if the new data is the same 1191 size or smaller - otherwise we move it to the end of file. 1192 1193 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 1194 data when writing the directory just because we have BEENWRITING at 1195 some point in the past. This was causing odd junk to be written out 1196 in a tile of data when a single tile had an interleaving of reading 1197 and writing with reading last. (highlighted by gdal 1198 autotest/gcore/tif_write.py test 7. 1199 1200 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 1201 modifying callers buffer. 1202 http://trac.osgeo.org/gdal/ticket/1965 1203 1204 * tif_predict.c/h: more fixes related to last item, keeping a 1205 distinct pfunc for encode and decode cases as these were getting 1206 mixed up sometimes. 1207 http://trac.osgeo.org/gdal/ticket/1948 1208 12092007-11-01 Frank Warmerdam <[email protected]> 1210 1211 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 1212 predictor based encoding and decoding works in read-write update 1213 mode properly. 1214 http://trac.osgeo.org/gdal/ticket/1948 1215 12162007-10-24 Joris Van Damme <[email protected]> 1217 1218 * tif_dirread.c: Fixed problem with bogus file triggering 1219 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 1220 ChopUpSingleUncompressedStrip 1221 12222007-10-22 Joris Van Damme <[email protected]> 1223 1224 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 1225 at best, access violation at worst, when subsampled JPEG compressed imagery 1226 is decoded without the JPEG_COLORMODE feature 1227 12282007-10-11 Frank Warmerdam <[email protected]> 1229 1230 * html/index.html: Update "people responsible" section. 1231 12322007-10-05 Frank Warmerdam <[email protected]> 1233 1234 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 1235 as reported on the mailing list. 1236 12372007-10-01 Joris Van Damme <[email protected]> 1238 1239 * changed some more incorrect %lud printf flags to %lu 1240 12412007-09-29 Joris Van Damme <[email protected]> 1242 1243 * tif_dirread.c: Strip chopping interfered badly with uncompressed 1244 subsampled images because it tried to divide subsampled rowblocks, 1245 leading to all sorts of errors throughout the library for these 1246 images. Fixed by making strip chopping divide in row counts that 1247 are a multiple of vertical subsampling value. 1248 12492007-09-28 Joris Van Damme <[email protected]> 1250 1251 * tif_dirread.c: Logical cast working around compiler warning 1252 1253 * tif_read.c: Correction of some error flags and parameter lists 1254 12552007-09-27 Joris Van Damme <[email protected]> 1256 1257 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 1258 when dealing with large bitspersample values, shutting up purification 1259 tools that warn about truncation, though it remains incorrect and 1260 indicates a conceptual problem there. 1261 1262 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 1263 of first IFD) to proper place because it badly interfered with memory 1264 mapping, resulting in mapping flag even with dummy mapping functions 1265 that returned 0 whilst at the same time the mapping tif_size wasn't 1266 set, thus resulting in continuous incorrect beyond-eof errors. 1267 12682007-09-24 Joris Van Damme <[email protected]> 1269 1270 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 1271 inconsistent use of const in tiffFields and exifFields definition 1272 12732007-09-20 Frank Warmerdam <[email protected]> 1274 1275 * tif_dirwrite.c: Always write tile/strip offsets and sizes 1276 using LONG8 type when output format is BigTIFF. The 1277 TIFFWriteDirectoryTagLongLong8Array() function was restructured 1278 accordingly. 1279 1280 * tif_dirread.c: Improvements to error reporting text in 1281 TIFFFetchDirectory(). 1282 12832007-09-19 Bob Friesenhahn <[email protected]> 1284 1285 * test/images: Added a small collection of test images for use by 1286 test programs and scripts. 1287 * test/tiffinfo.sh: A trivial example test script. 1288 * test/common.sh: Added small script for setting the environment 1289 used by script-based tests. 1290 12912007-08-24 Frank Warmerdam <[email protected]> 1292 1293 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 1294 zero when writing directory contents to preserve the ability to 1295 rewrite directories in place, even in the middle of a directory 1296 chain. 1297 1298 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 1299 definitions that are missing. Existing definitions are silently 1300 ignored. 1301 1302 * tif_dirread.c: Add runtime error for fields for which no definition 1303 is found (in addition to an assert for developers) in 1304 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 1305 prudent. 1306 13072007-08-10 Joris Van Damme <[email protected]> 1308 1309 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 1310 from _TIFFRGBAImage structure to revert unwanted ABI change. 1311 13122007-08-10 Joris Van Damme <[email protected]> 1313 1314 * libtiff/tif_win32.c: use SetFilePointer instead of 1315 SetFilePointerEx, as per bug 1316 1317 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 1318 13192007-07-19 Andrey Kiselev <[email protected]> 1320 1321 * libtiff/tif_stream.cxx: Put all callback functions declarations 1322 inside extern "C" block. 1323 1324 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 1325 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 1326 formatter instead of "%lld" with MSVC compiler. 1327 1328 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 1329 _TIFFUInt64ToDouble() functions. 1330 13312007-07-18 Andrey Kiselev <[email protected]> 1332 1333 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 1334 integer constants. 1335 1336 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 1337 remove tif_config.h/tiffconf.h during cleaning. As per bug 1338 1339 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 1340 1341 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 1342 1343 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 1344 13452007-07-13 Andrey Kiselev <[email protected]> 1346 1347 * libtiff 4.0.0alpha released. 1348 13492007-07-12 Andrey Kiselev <[email protected]> 1350 1351 * tools/tiff2pdf.c: Added missed extern optind as per bug 1352 1353 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 1354 1355 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 1356 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 1357 extending scheme completed. 1358 13592007-07-11 Bob Friesenhahn <[email protected]> 1360 1361 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 1362 use standard C++ library size types and attempt to detect overflow 1363 cases. 1364 13652007-07-08 Andrey Kiselev <[email protected]> 1366 1367 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 1368 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 1369 tag extending scheme. Use the new scheme everywhere. 1370 1371 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 1372 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 1373 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 1374 TIFFFIeldInfo structure replaced with TIFFField structure. 1375 TIFFFieldInfo retained for the backward compatibility. 1376 13772007-07-05 Bob Friesenhahn <[email protected]> 1378 1379 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 1380 defined. 1381 13822007-07-04 Andrey Kiselev <[email protected]> 1383 1384 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 1385 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 1386 removed. 1387 1388 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 1389 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 1390 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 1391 These tags are not codec-specific and relate to image content, so 1392 process them as other normal tags. 1393 1394 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 1395 public tiffio.h to private tif_dir.h. 1396 1397 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 1398 outdated. 1399 14002007-07-03 Andrey Kiselev <[email protected]> 1401 1402 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 1403 tif_win3.c}: Obsoleted portability stuff removed. 1404 1405 * tools/tiff2ps.c: Added support 16-bit images as per bug 1406 1407 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 1408 1409 Patch from William Bader. 1410 1411 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 1412 significant upgrade of the whole utility as per bug 1413 1414 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 1415 1416 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 1417 PDF file using TIFFClientOpen() machinery as it is implemented 1418 by Leon Bottou. 1419 14202007-06-26 Bob Friesenhahn <[email protected]> 1421 1422 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 1423 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 1424 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 1425 allow returning -1 for errors. 1426 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 1427 14282007-06-25 Bob Friesenhahn <[email protected]> 1429 1430 * port/strtoull.c: New porting function in case strtoull() is not 1431 available on the target system. 1432 * configure.ac: Add configure support for determining sized types 1433 in a portable way and performing necessary substitutions in 1434 tif_config.h and tiffconf.h. Updated tiff.h to use the new 1435 definitions. 1436 14372007-04-27 Andrey Kiselev <[email protected]> 1438 1439 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 1440 1441 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 1442 14432007-04-07 Andrey Kiselev <[email protected]> 1444 1445 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 1446 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 1447 tif_predict.c, tif_zip.c}: Finally fix bug 1448 1449 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 1450 1451 by introducing _TIFFMergeFieldInfo() returning integer error status 1452 instead of void in case of problems with field merging (e.g., if the 1453 field with such a tag already registered). TIFFMergeFieldInfo() in 1454 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 1455 check returned value. 1456 14572007-04-07 Frank Warmerdam <[email protected]> 1458 1459 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 1460 blocks in TIFF_DownSample_Subsampled() (bug 1542). 1461 14622007-04-06 Frank Warmerdam <[email protected]> 1463 1464 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 1465 will convert from decompressor to compressor or compress to decompress 1466 if required by the force arguments. This works around a problem in 1467 where the JPEGFixupTestSubsampling() may cause a decompressor to 1468 be setup on a directory when later a compressor is required with the 1469 force flag set. Occurs with the addtiffo program for instance. 1470 14712007-04-06 Andrey Kiselev <[email protected]> 1472 1473 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 1474 functionality from Richard Nolde. As per bug 1475 1476 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 1477 14782007-03-28 Frank Warmerdam <[email protected]> 1479 1480 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 1481 14822007-03-17 Joris Van Damme <[email protected]> 1483 1484 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 1485 14862007-03-07 Joris Van Damme <[email protected]> 1487 1488 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 1489 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 1490 factor. This bug is mentioned in: 1491 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 1492 http://www.asmail.be/msg0054766825.html 1493 14942007-03-07 Joris Van Damme <[email protected]> 1495 1496 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 1497 1498 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 1499 unused arguments by standard C indication for the same 1500 15012007-02-27 Andrey Kiselev <[email protected]> 1502 1503 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 1504 counters in TIFFFetchData(). Should finally fix the issue 1505 1506 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 1507 15082007-02-24 Andrey Kiselev <[email protected]> 1509 1510 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 1511 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 1512 1513 * libtiff/tif_dirread.c: Added special function to handle 1514 SubjectDistance EXIF tag as per bug 1515 1516 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 1517 1518 * tools/tiff2pdf.c: Do not assume inches when the resolution units 1519 do not specified. As per bug 1520 1521 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 1522 1523 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 1524 it was set as infinite. As per bug 1525 1526 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 1527 1528 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 1529 by Richard Nolde. As per bug 1530 1531 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 1532 15332007-02-22 Andrey Kiselev <[email protected]> 1534 1535 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 1536 ExtraSamples == 999 produced by Corel Draw. As per bug 1537 1538 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 1539 1540 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 1541 changed from tsize_t to uint32 to be able to work with data arrays 1542 larger than 2GB. Fixes bug 1543 1544 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 1545 1546 Idea submitted by Matt Hancher. 1547 15482007-01-31 Andrey Kiselev <[email protected]> 1549 1550 * tools/tif2rgba.c: This utility does not work properly on big-endian 1551 architectures. It was fixed including the bug 1552 1553 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 1554 15552007-01-15 Mateusz Loskot <[email protected]> 1556 1557 * Submitted libtiff port for Windows CE platform 1558 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 1559 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 1560 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 1561 functons from tif_win32.c. 1562 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 1563 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 1564 standard header files for Windows CE build. 1565 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 1566 15672006-11-19 Frank Warmerdam <[email protected]> 1568 1569 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 1570 we move a strip. 1571 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 1572 15732006-10-13 Andrey Kiselev <[email protected]> 1574 1575 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 1576 in Gentoo bug (): 1577 1578 http://bugs.gentoo.org/show_bug.cgi?id=142383 1579 1580 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 1581 Though it is still far from the state of being working and useful. 1582 15832006-10-12 Andrey Kiselev <[email protected]> 1584 1585 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 1586 method. 1587 1588 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 1589 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 1590 1591 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 1592 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 1593 1594 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 1595 vulnerabilities, reported in Gentoo bug (): 1596 1597 http://bugs.gentoo.org/show_bug.cgi?id=142383 1598 15992006-09-28 Andrey Kiselev <[email protected]> 1600 1601 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 1602 vulnerabilities, as per Gentoo bug (): 1603 1604 http://bugs.gentoo.org/show_bug.cgi?id=142383 1605 16062006-09-27 Frank Warmerdam <[email protected]> 1607 1608 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 1609 encoding and decoding on the same read-write TIFF handle. The LZW 1610 code can now maintain encode and decode state at the same time. The 1611 ZIP code will switch back and forth as needed. 1612 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 1613 16142006-09-20 Frank Warmerdam <[email protected]> 1615 1616 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 1617 tif_config.vc.h for easier identification by folks using an IDE. 1618 16192006-07-25 Frank Warmerdam <[email protected]> 1620 1621 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 1622 16232006-07-19 Frank Warmerdam <[email protected]> 1624 1625 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 1626 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 1627 to bug report by Peng Gao with black strip at bottom of images. 1628 16292006-07-12 Frank Warmerdam <[email protected]> 1630 1631 * tif_dirwrite.c: make sure to use uint32 for wordcount in 1632 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 1633 It already seems to have been done for other field types. Needed 1634 for "tiffset" on files with geotiff ascii text. 1635 16362006-07-04 Bob Friesenhahn <[email protected]> 1637 1638 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 1639 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 1640 its use does not appear to be required, so use it only when it is 1641 available. 1642 16432006-06-24 Andrey Kiselev <[email protected]> 1644 1645 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 1646 1647 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 1648 function TIFFFetchDirectory() avoiding code duplication in 1649 TIFFReadDirectory() and TIFFReadCustomDirectory(). 1650 16512006-06-19 Frank Warmerdam <[email protected]> 1652 1653 * tools/tiff2pdf.c: Fix handling of -q values. 1654 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 1655 16562006-06-17 Frank Warmerdam <[email protected]> 1657 1658 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 1659 files. Modified TIFFReadDirectory() to not invoke 1660 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 1661 but one of them is zero. 1662 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 1663 16642006-06-08 Andrey Kiselev <[email protected]> 1665 1666 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 1667 checking code in the separate function TIFFCheckDirOffset(). 1668 1669 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 1670 1671 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 1672 1673 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 1674 1675 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 1676 1677 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 1678 1679 * tools/tiff2pdf.c: Fixed buffer overflow condition in 1680 t2p_write_pdf_string() as per bug 1681 1682 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 1683 16842006-06-07 Andrey Kiselev <[email protected]> 1685 1686 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 1687 support for JBIG compression scheme (34661 code) contributed by Lee 1688 Howard. As per bug 1689 1690 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 1691 1692 * configure, configure.ac: OJPEG support enabled by default. 1693 1694 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 1695 16962006-06-03 Bob Friesenhahn <[email protected]> 1697 1698 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 1699 TIFFPrintDirectory(). Joris Van Damme authored the fix. 1700 17012006-04-21 Andrey Kiselev <[email protected]> 1702 1703 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 1704 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 1705 1706 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 1707 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 1708 Added support for OpenVMS by Alexey Chupahin, [email protected]. 1709 17102006-04-20 Andrey Kiselev <[email protected]> 1711 1712 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 1713 Properly set the binary mode for stdin stream as per bug 1714 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 1715 1716 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 1717 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 1718 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 1719 tiffset.1}: Improvements in page formatting as per bug 1720 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 1721 1722 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 1723 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 1724 17252006-04-18 Frank Warmerdam <[email protected]> 1726 1727 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 1728 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 1729 17302006-04-12 Joris Van Damme <[email protected]> 1731 1732 * libtiff/tif_getimage.c: Added support for planarconfig separate 1733 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 1734 17352006-04-11 Joris Van Damme <[email protected]> 1736 1737 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 1738 - Conversion of unassociated alpha to associated alpha now done with 1739 more performant LUT, and calculation more correct 1740 - Conversion of 16bit data to 8bit data now done with 1741 more performant LUT, and calculation more correct 1742 - Bugfix of handling of 16bit RGB with unassociated alpha 1743 17442006-04-11 Joris Van Damme <[email protected]> 1745 1746 * libtiff/tif_getimage.c: 1747 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 1748 buffer for alpha strile and filled it, only to never read it back. 1749 Removed allocation and fill. 1750 - Minor rename of vars in gtTileSeparate and gtStripSeparate 1751 anticipating planned functionality extension 1752 17532006-04-08 Joris Van Damme <[email protected]> 1754 1755 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 1756 and pickTileSeparateCase to PickSeparateCase as both work on strips as 1757 well 1758 1759 * libtiff/tif_getimage.c: moved img->get selection from 1760 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 1761 logical hook for planned functionality extension 1762 17632006-04-08 Joris Van Damme <[email protected]> 1764 1765 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 1766 of inappropriate use of jpeg_abort instead of jpeg_destroy 1767 17682006-04-07 Joris Van Damme <[email protected]> 1769 1770 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 1771 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 1772 on subsampled images - this ought to get sorted when we feel brave 1773 enough to replace TIFFScanlineSize alltogether 1774 1775 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 1776 17772006-04-04 Joris Van Damme <[email protected]> 1778 1779 * libtiff/tiffio.h: added new type tstrile_t 1780 1781 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 1782 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 1783 toff_t* 1784 1785 * libtiff/tif_ojpeg.c: totally new implementation 1786 1787 * libtiff/tif_dirread.c: added several hacks to suit new support of 1788 OJPEG 1789 1790 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 1791 of OJPEG images in favor of tif_getimage.c native handling of 1792 YCbCr and desubsampling 1793 17942006-03-29 Frank Warmerdam <[email protected]> 1795 1796 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 1797 interpretation causes the "upsampled" flag to be recomputed. Fixes 1798 peculiar bug where photometric flag had to be set before jpegcolormode 1799 flag. 1800 18012006-03-25 Joris Van Damme <[email protected]> 1802 1803 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 1804 1805 * libtiff/tif_strip.c: temporarilly added two new versions of 1806 TIFFScanlineSize 1807 - TIFFNewScanlineSize: proposed new version, after all related 1808 issues and side-effects are sorted out 1809 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 1810 This needs further sorting out. 1811 18122006-03-25 Joris Van Damme <[email protected]> 1813 1814 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 1815 of last truncated strip data to TIFFWriteEncodedStrip 1816 18172006-03-25 Joris Van Damme <[email protected]> 1818 1819 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 1820 18212006-03-25 Joris Van Damme <[email protected]> 1822 1823 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 1824 1825 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 1826 1827 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 1828 prepare the path for new tif_ojpeg.c 1829 18302006-03-23 Andrey Kiselev <[email protected]> 1831 1832 * libtiff 3.8.2 released. 1833 1834 * tools/Makefile.am: Use runtime paths linker flags when rpath 1835 option enabled. 1836 18372006-03-21 Andrey Kiselev <[email protected]> 1838 1839 * libtiff/libtiff.def: Added missed exports as per bug 1840 http://bugzilla.remotesensing.org/attachment.cgi?id=337 1841 1842 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 1843 tools/Makefile.vc: Makefiles improvements as per bug 1844 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 1845 1846 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 1847 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 1848 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 1849 1850 * libtiff/tif_strip.c: Take subsampling in account when calculating 1851 TIFFScanlineSize(). 1852 1853 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 1854 18552006-03-17 Andrey Kiselev <[email protected]> 1856 1857 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 1858 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 1859 1860 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 1861 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 1862 18632006-03-16 Andrey Kiselev <[email protected]> 1864 1865 * libtiff/tiffiop.h: Added decalration for 1866 _TIFFSetDefaultCompressionState(). 1867 1868 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 1869 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 1870 codec cleanup methods. As per bug 1871 1872 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 1873 18742006-03-15 Andrey Kiselev <[email protected]> 1875 1876 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 1877 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 1878 1879 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 1880 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 1881 1882 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 1883 removed; move here the STRIP_SIZE_DEFAULT macro definition. 1884 1885 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 1886 macro definition. 1887 1888 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 1889 18902006-03-14 Andrey Kiselev <[email protected]> 1891 1892 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 1893 in TIFFReadDirectory, because it is always set at the start of 1894 function and we allow TIFFs without that tag set. 1895 18962005-03-13 Andrey Kiselev <[email protected]> 1897 1898 * libtiff 3.8.1 released. 1899 19002006-03-07 Andrey Kiselev <[email protected]> 1901 1902 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 1903 function as per bug 1904 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1905 1906 * libtiff/tif_dirread.c: More wise check for integer overflow 1907 condition as per bug 1908 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1909 1910 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 1911 Properly restore setfield/getfield methods in cleanup functions. As 1912 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1913 19142006-03-03 Andrey Kiselev <[email protected]> 1915 1916 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 1917 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 1918 1919 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 1920 TIFFPredictorCleanup() in codec cleanup methods. As per bug 1921 1922 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1923 1924 * libtiff/tif_dirread.c: Fixed integer overflow condition in 1925 TIFFFetchData() function. As per bug 1926 1927 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1928 19292006-03-01 Andrey Kiselev <[email protected]> 1930 1931 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 1932 TIFFSetField() method, not directly. As per bug 1933 1934 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 1935 1936 * tools/ppm2tiff.c: Added support for PBM files as per bug 1937 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 1938 19392006-02-27 Andrey Kiselev <[email protected]> 1940 1941 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 1942 to avoid crash as per bug 1943 1944 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 1945 19462006-02-26 Andrey Kiselev <[email protected]> 1947 1948 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 1949 t2p_sample_rgba_to_rgb() was used in place of each other, that was 1950 resulted in problems with RGBA images with associated alpha. 1951 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 1952 19532006-02-23 Andrey Kiselev <[email protected]> 1954 1955 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 1956 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 1957 1958 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 1959 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 1960 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 1961 1962 * tools/tiff2ps.c: Properly scale all the pages when converting 1963 multipage TIFF with /width/height/center options set. As per bug 1964 1965 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 1966 19672006-02-15 Andrey Kiselev <[email protected]> 1968 1969 * tools/tiff2pdf.c: Do not create output file until all option checks 1970 will be done. As per bug 1971 1972 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 1973 1974 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 1975 list of input files as per bug: 1976 1977 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 1978 19792006-02-09 Andrey Kiselev <[email protected]> 1980 1981 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 1982 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 1983 1984 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 1985 TIFFRGBAImage interface. 1986 1987 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 1988 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 1989 19902006-02-07 Frank Warmerdam <[email protected]> 1991 1992 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 1993 compressed TIFF files, per submission from Dan Cobra. 1994 19952006-02-07 Andrey Kiselev <[email protected]> 1996 1997 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 1998 cast values to avoid warnings. As per bug 1999 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2000 2001 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 2002 appropriate. As per bug 2003 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2004 2005 * libtiff/tif_aux.c: Fixed type of temporary variable in 2006 _TIFFCheckMalloc() as per bug 2007 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2008 20092006-02-06 Andrey Kiselev <[email protected]> 2010 2011 * libtiff/tif_aux.c: Return static array when fetching default 2012 YCbCrCoefficients (another problem, reported a the 2013 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 2014 20152006-02-03 Andrey Kiselev <[email protected]> 2016 2017 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 2018 YCbCrSubsampling and DotRange tags as per bugs 2019 2020 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 2021 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 2022 2023 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 2024 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 2025 2026 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 2027 20282006-01-23 Andrey Kiselev <[email protected]> 2029 2030 * libtool related stuff updated from the 2.1a branch. 2031 20322006-01-11 Frank Warmerdam <[email protected]> 2033 2034 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 2035 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 2036 properly as per bug: 2037 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 2038 20392006-01-09 Bob Friesenhahn <[email protected]> 2040 2041 * configure.ac: Fix with_default_strip_size comparison as reported 2042 by Norihiko Murase. 2043 20442006-01-08 Bob Friesenhahn <[email protected]> 2045 2046 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 2047 incorrectly, tests were not actually testing the uninstalled 2048 libtiff. Now they are. 2049 20502006-01-04 Andrey Kiselev <[email protected]> 2051 2052 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 2053 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 2054 should be uint32 value. 2055 20562006-01-02 Bob Friesenhahn <[email protected]> 2057 2058 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 2059 be used if build directory is not the same as source directory. 2060 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 2061 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 2062 and re-sorted tag names in alphabetical order. 2063 20642005-12-29 Andrey Kiselev <[email protected]> 2065 2066 * libtiff 3.8.0 released. 2067 20682005-12-28 Bob Friesenhahn <[email protected]> 2069 2070 * tools/bmp2tiff.c (main): Fixed warning regarding returning 2071 inconsistent types from a condition. 2072 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 2073 format. 2074 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 2075 20762005-12-28 Joris Van Damme <[email protected]> 2077 2078 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 2079 20802005-12-27 Andrey Kiselev <[email protected]> 2081 2082 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 2083 windows.h, to reduce the compile time. 2084 20852005-12-26 Bob Friesenhahn <[email protected]> 2086 2087 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 2088 20892005-12-26 Andrey Kiselev <[email protected]> 2090 2091 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 2092 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 2093 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 2094 private functions to retrieve FieldInfo arrays. 2095 20962005-12-24 Bob Friesenhahn <[email protected]> 2097 2098 * html/build.html: Added some additional instructions for when 2099 building using MSVC under Windows. Also fixed two HTML syntax 2100 errors and used HTML Tidy to tidy up the HTML syntax and 2101 formatting. 2102 21032005-12-24 Andrey Kiselev <[email protected]> 2104 2105 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 2106 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 2107 StoNits tags custom. 2108 21092005-12-23 Andrey Kiselev <[email protected]> 2110 2111 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 2112 WhitePoint tag custom. 2113 2114 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 2115 21162005-12-23 Joris Van Damme <[email protected]> 2117 2118 * libtiff/tiffio.h: fixed typo that potentially resulted in 2119 redefininition of USE_WIN32_FILEIO 2120 2121 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 2122 calls in core LibTiff. 2123 21242005-12-21 Andrey Kiselev <[email protected]> 2125 2126 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 2127 Photoshop and ICCProfile tags custom. 2128 21292005-12-21 Joris Van Damme <[email protected]> 2130 2131 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 2132 newer code to get context indicator in error handler and still 2133 remain compatible with older code: Done TIFFError calls everywhere 2134 except in tools 2135 21362005-12-20 Andrey Kiselev <[email protected]> 2137 2138 * tools/tiffcp.c: Added many error reporting messages; fixed integer 2139 overflow as per bug 2140 2141 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 2142 21432005-12-16 Frank Warmerdam <[email protected]> 2144 2145 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 2146 YCbCr images in jpeg compressed TIFF files. 2147 21482005-12-14 Andrey Kiselev <[email protected]> 2149 2150 * tools/tiffcp.c: Return non-zero status when reading fails (again). 2151 21522005-12-13 Andrey Kiselev <[email protected]> 2153 2154 * tools/tiffcp.c: Return non-zero status when reading fails. 2155 21562005-12-12 Andrey Kiselev <[email protected]> 2157 2158 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 2159 21602005-12-09 Andrey Kiselev <[email protected]> 2161 2162 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 2163 custom. 2164 2165 * tools/tiffinfo.c: Print EXIF directory contents if exist. 2166 2167 * libtiff/tiff.h: Few EXIF tag numbers added. 2168 2169 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 2170 tiffio.h}: Preliminary support to read custom directories. New 2171 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 2172 21732005-12-07 Andrey Kiselev <[email protected]> 2174 2175 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 2176 More work to implement custom directory read support. 2177 2178 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 2179 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 2180 tags custom. 2181 21822005-12-05 Andrey Kiselev <[email protected]> 2183 2184 * libtiff/tif_dirread.c: One more workaround for broken 2185 StripByteCounts tag. Handle the case when StripByteCounts array filled 2186 with completely wrong values. 2187 21882005-11-30 Andrey Kiselev <[email protected]> 2189 2190 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 2191 in the TIFFOpenW() function as per bug 2192 2193 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 2194 2195 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 2196 functions as per bug 2197 2198 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 2199 22002005-11-20 Frank Warmerdam <[email protected]> 2201 2202 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 2203 for MS MDI format. 2204 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 2205 2206 * .cvsignore: many files added, and a few update according 2207 to suggestion of Brad HArds on tiff mailing list. 2208 22092005-11-03 Frank Warmerdam <[email protected]> 2210 2211 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 2212 public. 2213 22142005-10-31 Andrey Kiselev <[email protected]> 2215 2216 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 2217 as per bug 2218 2219 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 2220 2221 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 2222 as per bug 2223 2224 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 2225 2226 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 2227 problem as per bug 2228 2229 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 2230 2231 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 2232 2233 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 2234 2235 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 2236 ResolutionUnit tags modifiable during write process. As per bug 2237 2238 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 2239 2240 * tools/tiffsplit.c: Copy fax related fields over splitted parts 2241 as per bug 2242 2243 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 2244 22452005-10-21 Frank Warmerdam <[email protected]> 2246 2247 * tif_dirread.c: Don't try and split single strips into "0" strips 2248 in ChopUpSingleUncompressedStrip. This happens in some degenerate 2249 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 2250 22512005-10-20 Joris Van Damme <[email protected]> 2252 2253 * tif_fax3.c: changed 'at scanline ...' style warning/errors 2254 with incorrect use of tif_row, to 'at line ... of 2255 strip/tile ...' style 2256 22572005-10-15 Frank Warmerdam <[email protected]> 2258 2259 * tif_write.c: fixed setting of planarconfig as per bug report 2260 on the mailing list from Joris. 2261 22622005-10-07 Andrey Kiselev <[email protected]> 2263 2264 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 2265 tif_dirread.c}: Make the default strip size configurable via the 2266 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 2267 22682005-09-30 Bob Friesenhahn <[email protected]> 2269 2270 * html/support.html: Fixed link to documentation on Greg Ward's 2271 LogLuv TIFF format. 2272 22732005-09-28 Andrey Kiselev <[email protected]> 2274 2275 * tools/tiffdump.c: Fixed crash when reading malformed tags. 2276 22772005-09-20 Andrey Kiselev <[email protected]> 2278 2279 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 2280 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 2281 22822005-09-12 Andrey Kiselev <[email protected]> 2283 2284 * libtiff 3.7.4 released. 2285 2286 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 2287 from Patrick Welche (all scripts moved in the 'config' and 'm4' 2288 directories). 2289 22902005-09-12 Frank Warmerdam <[email protected]> 2291 2292 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 2293 22942005-09-05 Frank Warmerdam <[email protected]> 2295 2296 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 2297 also set it to NULL to avoid double free when re-setting custom 2298 string fields as per: 2299 2300 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 2301 23022005-08-12 Frank Warmerdam <[email protected]> 2303 2304 * libtiff/tif_print.c: avoid signed/unsigned warning. 2305 2306 * libtiff/tif_dirread.c: removed unused variable. 2307 23082005-07-30 Frank Warmerdam <[email protected]> 2309 2310 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 2311 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 2312 pass on bigendian (macosx) system. 2313 23142005-07-28 Andrey Kiselev <[email protected]> 2315 2316 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 2317 CheckMalloc() function to _TIFFCheckMalloc() and make it available 2318 globally as an internal helper routine. 2319 23202005-07-27 Andrey Kiselev <[email protected]> 2321 2322 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 2323 the custom tags handling code. 2324 23252005-07-26 Andrey Kiselev <[email protected]> 2326 2327 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 2328 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 2329 function, use TIFFFetchNormalTag() instead as per bug 2330 2331 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 2332 2333 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 2334 instead. 2335 2336 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 2337 2338 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2339 23402005-07-25 Andrey Kiselev <[email protected]> 2341 2342 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 2343 2344 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 2345 23462005-07-21 Andrey Kiselev <[email protected]> 2347 2348 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 2349 the TIFFWriteCheck() function in case of single band images (as per 2350 TIFF spec). 2351 23522005-07-12 Andrey Kiselev <[email protected]> 2353 2354 * SConstruct, libtiff/SConstruct: Added the first very preliminary 2355 support for SCons software building tool (http://www.scons.org/). 2356 This is experimental infrastructure and it will exist along with the 2357 autotools mechanics. 2358 23592005-07-07 Andrey Kiselev <[email protected]> 2360 2361 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 2362 the NetBSD source tree (the old 4-clause BSD license changed to 2363 the new 3-clause one). 2364 2365 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 2366 replacement module. 2367 2368 * port/dummy.c: Make the dummy function static. 2369 23702005-07-06 Andrey Kiselev <[email protected]> 2371 2372 * tools/tiffcp.c: Fixed WhitePoint tag copying. 2373 2374 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 2375 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 2376 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 2377 23782005-07-04 Andrey Kiselev <[email protected]> 2379 2380 * libtiff 3.7.3 released. 2381 2382 * configure, configure.ac: Do not use empty -R option when linking 2383 with --enable-rpath. 2384 23852005-07-01 Andrey Kiselev <[email protected]> 2386 2387 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 2388 reading the first IFD when needed. As per bug 2389 2390 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 2391 2392 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 2393 effects. 2394 23952005-06-23 Andrey Kiselev <[email protected]> 2396 2397 * tools/tiff2pdf.c: Print two characters per loop in the 2398 t2p_write_pdf_trailer(). As per bug 2399 2400 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 2401 2402 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 2403 per bug 2404 2405 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 2406 2407 * acinclude.m4: Updated to latest OpenGL test macros versions. 2408 2409 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 2410 platform. As per bug 2411 2412 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 2413 24142005-06-14 Andrey Kiselev <[email protected]> 2415 2416 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 2417 and YClipPathUnits tags. 2418 24192005-06-07 Andrey Kiselev <[email protected]> 2420 2421 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 2422 use pixel sized shift in contigous case. 2423 24242005-06-06 Andrey Kiselev <[email protected]> 2425 2426 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 2427 Make overviews working for contiguos images. 2428 24292005-06-03 Andrey Kiselev <[email protected]> 2430 2431 * libtiff/tif_open.c: Replace runtime endianess check with the compile 2432 time one. 2433 2434 * libtiff/tif_predict.c: Floating point predictor now works on 2435 big-endian hosts. 2436 24372005-06-01 Andrey Kiselev <[email protected]> 2438 2439 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 2440 ASCII values. 2441 2442 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 2443 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 2444 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 2445 TargetPrinter tags custom. 2446 2447 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 2448 TIFF_CODERSETUP flag (to fix memry leaks). 2449 2450 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 2451 allocating. 2452 24532005-05-26 Andrey Kiselev <[email protected]> 2454 2455 * configure.ac, libtiff/Makefile.am: Added workaround for 2456 OpenBSD/MirOS soname problem as per bug 2457 2458 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 2459 2460 * libtiff/tif_dirwrite.c: Use tdir_count when calling 2461 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 2462 per bug 2463 2464 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 2465 24662005-05-25 Andrey Kiselev <[email protected]> 2467 2468 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 2469 the fscanf() function. As per bug 2470 2471 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 2472 2473 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 2474 uint16 array when fetching the BYTE and SBYTE filds, so we should 2475 consider result as pointer to uint16 array and not as array of chars. 2476 As per bug 2477 2478 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 2479 2480 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 2481 2482 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 2483 2484 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 2485 mode in CreateFile() call as per bug 2486 2487 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 2488 2489 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 2490 libtiffxx libraries as per bug 2491 2492 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 2493 2494 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 2495 GDAL. 2496 24972005-05-23 Frank Warmerdam <[email protected]> 2498 2499 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 2500 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 2501 in directory. 2502 25032005-05-22 Frank Warmerdam <[email protected]> 2504 2505 * libtiff/tif_dirread.c: Changed the code that computes 2506 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 2507 zero. This is a common case with GDAL indicating a "null" tile/strip. 2508 25092005-05-17 Andrey Kiselev <[email protected]> 2510 2511 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 2512 25132005-05-06 Frank Warmerdam <[email protected]> 2514 2515 * libtiff/tif_dirread.c: Applied similar change to 2516 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 2517 2518 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 2519 2520 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 2521 25222005-05-06 Andrey Kiselev <[email protected]> 2523 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 2524 added new option '-b' to use interpolation in output PDF files (Bruno 2525 Ledoux). 2526 25272005-05-05 Frank Warmerdam <[email protected]> 2528 2529 * libtiff/tif_dirread.c: Ensure that broken files with too many 2530 values in PerSampleShorts work ok instead of crashing. 2531 2532 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 2533 25342005-04-27 Andrey Kiselev <[email protected]> 2535 2536 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 2537 input file. 2538 25392005-04-15 Andrey Kiselev <[email protected]> 2540 2541 * libtiff/tif_predict.c: Added ability to encode floating point 2542 predictor, as per TIFF Technical Note 3. 2543 25442005-04-14 Andrey Kiselev <[email protected]> 2545 2546 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 2547 floating point predictor, as per TIFF Technical Note 3. 2548 25492005-04-13 Andrey Kiselev <[email protected]> 2550 2551 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 2552 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 2553 swap 24-bit floating point values. 2554 2555 * libtiff/tiff.h: Added predictor constants. 2556 25572005-04-08 Andrey Kiselev <[email protected]> 2558 2559 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 2560 values in _TIFFVSetField() function. Inspired by the bug 2561 2562 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 2563 2564 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 2565 as per bug 2566 2567 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 2568 25692005-03-30 Andrey Kiselev <[email protected]> 2570 2571 * libtiff/tif_open.c: Do not read header in case the output file 2572 should be truncated (Ron). 2573 2574 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 2575 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 2576 2577 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 2578 25792005-03-22 Andrey Kiselev <[email protected]> 2580 2581 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 2582 rpath option. 2583 25842005-03-21 Andrey Kiselev <[email protected]> 2585 2586 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 2587 tags. 2588 25892005-03-18 Andrey Kiselev <[email protected]> 2590 2591 * libtiff/dirinfo.c: Added DNG tags. 2592 2593 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 2594 handling code. 2595 2596 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 2597 added DNG 1.1.0.0 tags. 2598 2599 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 2600 bug 2601 2602 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 2603 2604 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 2605 26062005-03-17 Andrey Kiselev <[email protected]> 2607 2608 * nmake.opt: Build with Win32 CRT library by default. 2609 2610 * tools/tiff2ps.c: Fixed typo in page size handling code. 2611 2612 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 2613 by value. 2614 2615 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 2616 26172005-03-15 Andrey Kiselev <[email protected]> 2618 2619 * libtiff 3.7.2 released. 2620 26212005-03-09 Andrey Kiselev <[email protected]> 2622 2623 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 2624 floating point data; complain on unsupported bit depths. 2625 26262005-03-05 Andrey Kiselev <[email protected]> 2627 2628 * tif_stream.cxx: Use ios namespace instead of ios_base to support 2629 GCC 2.95. 2630 2631 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 2632 Lee Howard for HylaFax DCS tag 2633 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 2634 26352005-03-04 Andrey Kiselev <[email protected]> 2636 2637 * configure, configure.ac: Use -rpath option instead of -R as per bug 2638 2639 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 2640 2641 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 2642 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 2643 software. As per bug 2644 2645 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 2646 2647 * nmake.opt, html/build.html: Add more comments, change the config 2648 file organization a bit as per bug 2649 2650 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 2651 2652 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 2653 as per bug 2654 2655 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 2656 26572005-03-03 Andrey Kiselev <[email protected]> 2658 2659 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 2660 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 2661 2662 * tools/fax2ps.c: Replace insecure mktemp() function with the 2663 tmpfile() as per bug 2664 2665 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 2666 26672005-02-04 Andrey Kiselev <[email protected]> 2668 2669 * libtiff/tiff.h: Changed the int8 definition to be always signed char 2670 as per bug 2671 2672 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2673 2674 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 2675 block as per bug 2676 2677 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 2678 26792005-02-03 Bob Friesenhahn <[email protected]> 2680 2681 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 2682 display more correctly. Images display brighter than they should 2683 on a Sun workstation. 2684 26852005-02-03 Andrey Kiselev <[email protected]> 2686 2687 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 2688 suspicious values in the tags. As per bugs 2689 2690 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 2691 2692 and 2693 2694 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 2695 2696 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 2697 2698 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 2699 27002005-01-31 Bob Friesenhahn <[email protected]> 2701 2702 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 2703 (TIFFTAG_TILELENGTH): Corrected description. 2704 27052005-01-30 Andrey Kiselev <[email protected]> 2706 2707 * configure.ac: Fixes for --with-docdir option as per bug 2708 2709 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 2710 2711 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 2712 bug 2713 2714 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 2715 2716 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 2717 Michael Rinne and Edward Lam. 2718 27192005-01-15 Andrey Kiselev <[email protected]> 2720 2721 * configure.ac: Make the documentation directory location configurable 2722 via the --with-docdir option (as suggested by Jeremy C. Reed). 2723 2724 * libtiff/tif_color.c: Use double as the second argument of pow() 2725 function in TIFFCIELabToRGBInit(). As per bug 2726 2727 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 2728 2729 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 2730 integer as per bug 2731 2732 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 2733 2734 * libtiff/tif_getimage.c: Always fill the error message buffer in 2735 TIFFRGBAImageBegin() as per bug 2736 2737 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 2738 27392005-01-12 Andrey Kiselev <[email protected]> 2740 2741 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 2742 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 2743 tags as per bug 2744 2745 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 2746 2747 * libtiff/tif_win32.c: Fixed message formatting in functions 2748 Win32WarningHandler() and Win32ErrorHandler() as per bug 2749 2750 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 2751 2752 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 2753 per bug 2754 2755 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 2756 27572005-01-11 Andrey Kiselev <[email protected]> 2758 2759 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 2760 "C"' section as per bug 2761 2762 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2763 2764 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 2765 compiler to avoid double definition of BSD types as per bug 2766 2767 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2768 2769 * libtiff/Makefile.am: Place the C++ stream API in the separate 2770 library called libtiffxx to avoid unneeded dependencies. Probably 2771 there will be more C++ API in the future. As per bugs 2772 2773 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 2774 2775 and 2776 2777 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 2778 27792005-01-05 Andrey Kiselev <[email protected]> 2780 2781 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 2782 wrong tag counts (Dmitry V. Levin, Martin Pitt). 2783 2784 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 2785 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 2786 27872004-12-25 Andrey Kiselev <[email protected]> 2788 2789 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 2790 RGB-images as per bug 2791 2792 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 2793 2794 2795 * tools/tiffset.c: Convert character option to integer value as per 2796 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 2797 27982004-12-20 Andrey Kiselev <[email protected]> 2799 2800 * libtiff 3.7.1 released. 2801 2802 * html/tiffset.1.html: Add missed manual page as per bug 2803 2804 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 2805 2806 * libtiff/tiff.h: Revert back libtiff data type definitions as per 2807 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 2808 28092004-12-19 Andrey Kiselev <[email protected]> 2810 2811 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 2812 checking for tag count in TIFFReadDirectory() function. As per bug 2813 2814 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 2815 2816 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 2817 CheckMallock() function. 2818 2819 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 2820 RGB-images as per bug 2821 2822 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 2823 28242004-12-15 Frank Warmerdam <[email protected]> 2825 2826 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 2827 SunPro compiler. 2828 28292004-12-11 Bob Friesenhahn <[email protected]> 2830 2831 * autogen.sh: aclocal and autoheader should be executed after 2832 libtoolize. Also add '-I .' to aclocal invocation to check 2833 current directory for macros. 2834 28352004-12-10 Andrey Kiselev <[email protected]> 2836 2837 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 2838 as per bugs 2839 2840 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 2841 2842 and 2843 2844 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 2845 28462004-12-04 Andrey Kiselev <[email protected]> 2847 2848 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 2849 2850 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 2851 2852 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 2853 mode as per bug 2854 2855 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 2856 2857 * libtiff/tif_config.in.vc: Removed unneded definitions for 2858 read/open/close/lseek functions to fix the 2859 2860 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 2861 28622004-12-03 Andrey Kiselev <[email protected]> 2863 2864 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 2865 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 2866 must be removed in the future, as it was never used properly. As per 2867 bug 2868 2869 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 2870 28712004-11-30 Bob Friesenhahn <[email protected]> 2872 2873 * libtiff/tif_jpeg.c: Added a work-around in order to allow 2874 compilation with the heavily modified version of libjpeg delivered 2875 with Cygwin. 2876 28772004-11-29 Andrey Kiselev <[email protected]> 2878 2879 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 2880 counts. As per bug 2881 2882 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 2883 2884 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 2885 2886 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 2887 28882004-11-28 Andrey Kiselev <[email protected]> 2889 2890 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 2891 on Windows. 2892 2893 * nmake.opt: Add missed DLLNAME variable. 2894 28952004-11-26 Frank Warmerdam <[email protected]> 2896 2897 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 2898 28992004-11-24 Andrey Kiselev <[email protected]> 2900 2901 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 2902 per bug 2903 2904 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 2905 2906 * man/tiffset.1: Added manual page for tiffset tool written by Jay 2907 Berkenbilt. As per bug 2908 2909 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 2910 29112004-11-23 Frank Warmerdam <[email protected]> 2912 2913 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 2914 29152004-11-21 Frank Warmerdam <[email protected]> 2916 2917 * html/document.html: Updated Adobe web links as per email from Joris. 2918 29192004-11-21 Andrey Kiselev <[email protected]> 2920 2921 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 2922 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 2923 use C++ streams should #include <tiffio.hxx>. 2924 29252004-11-13 Andrey Kiselev <[email protected]> 2926 2927 * libtiff/tiff.h: Added Adobe DNG tags. 2928 2929 * libtiff/tif_win32.c: Typo fixed. 2930 2931 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 2932 be compliant with the latest standard. Appropriate additions in 2933 makefiles now completed. 2934 29352004-11-11 Andrey Kiselev <[email protected]> 2936 2937 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 2938 different tag types. As per bug 2939 2940 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 2941 29422004-11-10 Andrey Kiselev <[email protected]> 2943 2944 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 2945 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 2946 29472004-11-09 Andrey Kiselev <[email protected]> 2948 2949 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 2950 29512004-11-07 Andrey Kiselev <[email protected]> 2952 2953 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 2954 contributed by Edward Lam (see 2955 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 2956 Though no changes in any makefiles yet. 2957 29582004-11-05 Frank Warmerdam <[email protected]> 2959 2960 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 2961 is bad. This is the callers responsibility. 2962 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 2963 29642004-11-05 Andrey Kiselev <[email protected]> 2965 2966 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 2967 function to work with the double byte strings (used to represent 2968 filenames in some locales). As per bug 2969 2970 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 2971 2972 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 2973 Compression tags of type LONG from broken TIFFS as per bug 2974 2975 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 2976 2977 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 2978 the writecount should have uint32 type. As per bug 2979 2980 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 2981 2982 * libtiff/tif_write.c: Fixed wrong if() statement in 2983 TIFFAppendToStrip() function as per bug 2984 2985 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 2986 29872004-11-04 Andrey Kiselev <[email protected]> 2988 2989 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 2990 field. The caller should supply a count when setting this field. As 2991 per bug 2992 2993 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 2994 2995 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 2996 uint32 count. Use this type everywhere. 2997 29982004-11-03 Frank Warmerdam <[email protected]> 2999 3000 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 3001 30022004-11-02 Frank Warmerdam <[email protected]> 3003 3004 * tools/tiff2rgba.c: removed extra newlines in usage message. 3005 30062004-10-30 Andrey Kiselev <[email protected]> 3007 3008 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 3009 3010 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 3011 tags (Tristan Hill). 3012 30132004-10-30 Frank Warmerdam <[email protected]> 3014 3015 * libtiff/tiffiop.h: added fallback definition of assert() if we 3016 don't have assert.h. 3017 30182004-10-29 Andrey Kiselev <[email protected]> 3019 3020 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 3021 choosing when the incorrect Group4Options tag set. As per bug 3022 3023 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 3024 3025 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 3026 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 3027 TIFFWriteNormalTag(). 3028 30292004-10-28 Andrey Kiselev <[email protected]> 3030 3031 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 3032 tags (Peter Fales). 3033 3034 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 3035 30362004-10-28 Frank Warmerdam <[email protected]> 3037 3038 * tools/tiff2pdf.c: added casts to avoid warnings. 3039 3040 * libtiff/libtiff.def: Added several more entry points required 3041 to link fax2tiff.c against the DLL on windows. 3042 30432004-10-27 Andrey Kiselev <[email protected]> 3044 3045 * configure, configure.ac: Added --enable-rpath option to embed linker 3046 paths into library binary. 3047 30482004-10-26 Andrey Kiselev <[email protected]> 3049 3050 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 3051 3052 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 3053 (Vladimir Nadvornik, Dmitry V. Levin). 3054 30552004-10-16 Andrey Kiselev <[email protected]> 3056 3057 * libtiff 3.7.0 released. 3058 30592004-10-15 Bob Friesenhahn <[email protected]> 3060 3061 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 3062 in this file so its inclusion is removed. Including stdio.h 3063 sometimes incurs an INT32 typedef conflict between MinGW's 3064 basetsd.h and libjpeg's jmorecfg.h. 3065 30662004-10-15 Andrey Kiselev <[email protected]> 3067 3068 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 3069 30702004-10-13 Bob Friesenhahn <[email protected]> 3071 3072 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 3073 conflict noticed under MinGW. 3074 * ltmain.sh: Fix for MinGW compilation. 3075 30762004-10-13 Frank Warmerdam <[email protected]> 3077 3078 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 3079 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 3080 30812004-10-12 Andrey Kiselev <[email protected]> 3082 3083 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 3084 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 3085 properly (Dmitry V. Levin, Marcus Meissner). 3086 30872004-10-11 Andrey Kiselev <[email protected]> 3088 3089 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 3090 to TIFF_IFD. 3091 30922004-10-10 Andrey Kiselev <[email protected]> 3093 3094 * tools/bmp2tif.c: Check the space allocation results. 3095 30962004-10-09 Andrey Kiselev <[email protected]> 3097 3098 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 3099 of the TIFFDirectory structure with the 0 instead of -1 to avoid 3100 confusing integer overflows in TIFFTileRowSize() for striped images. 3101 3102 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 3103 by Ross A. Finlayson. 3104 3105 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 3106 3107 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 3108 31092004-10-08 Frank Warmerdam <[email protected]> 3110 3111 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 3112 of tif_fieldinfo. 3113 3114 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 3115 31162004-10-04 Bob Friesenhahn <[email protected]> 3117 3118 * contrib/iptcutil/README: Added the missing README which goes 3119 along with iptcutil. 3120 31212004-10-03 Andrey Kiselev <[email protected]> 3122 3123 * libtiff/tif_compress.c: Improved error reporting in 3124 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 3125 31262004-10-02 Andrey Kiselev <[email protected]> 3127 3128 * libtiff 3.7.0beta2 released. 3129 3130 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 3131 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 3132 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 3133 allocations and integer overflows (Dmitry V. Levin). 3134 3135 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 3136 31372004-10-01 Frank Warmerdam <[email protected]> 3138 3139 * libtiff/tif_open.c: added a more informative message if a BigTIFF 3140 file is opened. 3141 31422004-09-30 Frank Warmerdam <[email protected]> 3143 3144 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 3145 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 3146 in the Adobe XMP Specification. 3147 31482004-09-29 Andrey Kiselev <[email protected]> 3149 3150 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 3151 memset(). 3152 3153 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 3154 from Dmitry V. Levin to fix possible integer overflow problems. 3155 31562004-09-28 Andrey Kiselev <[email protected]> 3157 3158 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 3159 (Dmitry V. Levin). 3160 31612004-09-26 Andrey Kiselev <[email protected]> 3162 3163 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 3164 Optimize checking for the strip bounds. 3165 3166 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 3167 TIFFRasterScanlineSize() functions report zero in the case of integer 3168 overflow now. Properly handle this case in TIFFReadDirectory() 3169 (patches from Dmitry V. Levin). 3170 31712004-09-25 Andrey Kiselev <[email protected]> 3172 3173 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 3174 macro where appropriate. 3175 3176 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 3177 noted by Gennady Khokhorin. 3178 3179 * libtiff/tif_dirread.c: Always check the return values, returned 3180 by the _TIFFmalloc() (Dmitry V. Levin). 3181 3182 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 3183 functions (Dmitry V. Levin). 3184 3185 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 3186 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 3187 TIFFGrowStrips() (found by Dmitry V. Levin). 3188 31892004-09-24 Andrey Kiselev <[email protected]> 3190 3191 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 3192 to get the list of configured codecs. 3193 3194 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 3195 Dmitry V. Levin. 3196 31972004-09-23 Andrey Kiselev <[email protected]> 3198 3199 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 3200 possible integer overflow in CheckMalloc() function. 3201 32022004-09-22 Andrey Kiselev <[email protected]> 3203 3204 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 3205 of plain TIFFhowmany() where appropriate. 3206 32072004-09-21 Andrey Kiselev <[email protected]> 3208 3209 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 3210 32112004-09-19 Andrey Kiselev <[email protected]> 3212 3213 * libtiff 3.7.0beta released. 3214 3215 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 3216 overruns fixed, as noted by Chris Evans. 3217 32182004-09-14 Bob Friesenhahn <[email protected]> 3219 3220 * commit: Added a script to make it more convenient to commit 3221 updates. The CVS commit message is extracted from this ChangeLog 3222 file. 3223 32242004-09-14 Andrey Kiselev <[email protected]> 3225 3226 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 3227 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 3228 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 3229 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 3230 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 3231 tif_config.h.in, tiffiop.h}: 3232 Get rid of BSD data types (u_char, u_short, u_int, u_long). 3233 32342004-09-13 Bob Friesenhahn <[email protected]> 3235 3236 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 3237 specification. Reference libtiff bug tracking system to submit 3238 private tag additions. 3239 32402004-09-12 Bob Friesenhahn <[email protected]> 3241 3242 * tools/tiffgt.c: Include "tif_config.h". 3243 3244 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 3245 tiffgt. This results in the 'compile' script being added to the 3246 project. 3247 3248 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 3249 required to find OpenGL headers necessary to build tiffgt. Also 3250 ensure that the libtiff that we built is used rather than some other 3251 libtiff installed on the system. 3252 32532004-09-12 Andrey Kiselev <[email protected]> 3254 3255 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 3256 libraries. 3257 32582004-09-11 Bob Friesenhahn <[email protected]> 3259 3260 * configure.ac: Pass library configuration defines via 3261 tif_config.h rather than extending CPPFLAGS. Configure a 3262 libtiff/tiffconf.h in order to satisfy application requirements 3263 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 3264 this causes failure to build on systems which properly respect 3265 this request. 3266 3267 * libtiff/tiffconf.h.in: New file to act as the template for the 3268 configured tiffconf.h 3269 3270 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 3271 32722004-09-10 Frank Warmerdam <[email protected]> 3273 3274 * html/internals.html: Split off a discussion of adding new tags 3275 into addingtags.html. 3276 32772004-09-10 Andrey Kiselev <[email protected]> 3278 3279 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 3280 3281 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 3282 3283 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3284 3285 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 3286 3287 * libtiff/tif_dirread.c: Don't reject to read tags of the 3288 SamplesPerPixel size when the tag count is greater than number of 3289 samples as per bug 3290 3291 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 3292 3293 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 3294 defining int8/uint8/... etc. types. As per bug 3295 3296 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 3297 32982004-09-09 Frank Warmerdam <[email protected]> 3299 3300 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 3301 to avoid compile warnings about getopt() and a few other things. 3302 33032004-09-02 Andrey Kiselev <[email protected]> 3304 3305 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 3306 assigning magic in TIFFFetchFloat(). 3307 33082004-09-01 Andrey Kiselev <[email protected]> 3309 3310 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 3311 to avoid requirement for tiffiop.h inclusion in some applications. See 3312 here 3313 3314 http://www.asmail.be/msg0054799560.html 3315 3316 for details. 3317 3318 * tools/fax2tiff.c: Use the new functions in the code. 3319 33202004-08-25 Andrey Kiselev <[email protected]> 3321 3322 * tools/tiff2pdf.c: Initialize arrays properly. 3323 3324 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 3325 properly initialize array in PSDataBW(). 3326 33272004-08-24 Andrey Kiselev <[email protected]> 3328 3329 * tools/tiff2pdf.c: More fixes for bug 3330 3331 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3332 3333 from Ross Finlayson. 3334 33352004-08-23 Andrey Kiselev <[email protected]> 3336 3337 * tools/tiff2ps.c: Fixed problem with uninitialized values. 3338 3339 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 3340 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 3341 3342 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 3343 3344 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3345 33462004-08-20 Andrey Kiselev <[email protected]> 3347 3348 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 3349 that the input file has compression, photometric interpretation, 3350 etcetra, tags or if not than a more descriptive error is returned. 3351 3352 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 3353 code, responsible for tag data type checking. 3354 33552004-08-19 Andrey Kiselev <[email protected]> 3356 3357 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 3358 variable as per bug 3359 3360 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 3361 33622004-08-16 Andrey Kiselev <[email protected]> 3363 3364 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 3365 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 3366 33672004-08-01 Andrey Kiselev <[email protected]> 3368 3369 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 3370 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 3371 33722004-07-24 Andrey Kiselev <[email protected]> 3373 3374 * libtiff/tif_lzw.c: LZW compression code is merged back from the 3375 separate package. All libtiff tools are updated to not advertise an 3376 abcence of LZW support. 3377 33782004-07-12 Andrey Kiselev <[email protected]> 3379 3380 * libtiff/tiffio.h: Revert thandle_t back to void* type. 3381 33822004-07-11 Andrey Kiselev <[email protected]> 3383 3384 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 3385 messages, as suggested by Bernd Herd. 3386 33872004-07-03 Andrey Kiselev <[email protected]> 3388 3389 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 3390 when setting custom tags by value. Reported by Eric Fieleke. 3391 33922004-06-14 Andrey Kiselev <[email protected]> 3393 3394 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 3395 33962004-06-08 Andrey Kiselev <[email protected]> 3397 3398 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 3399 into TIFFs. 3400 34012004-06-07 Andrey Kiselev <[email protected]> 3402 3403 * libtiff 3.7.0alpha released. 3404 34052004-06-06 Andrey Kiselev <[email protected]> 3406 3407 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 3408 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 3409 ones :-). 3410 3411 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 3412 problems in 64-bit environment). 3413 34142004-06-05 Andrey Kiselev <[email protected]> 3415 3416 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 3417 Tags can be supplied by the mnemonic name or number. 3418 3419 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 3420 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 3421 34222004-05-27 Andrey Kiselev <[email protected]> 3423 3424 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 3425 markers as per bug 3426 3427 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 3428 34292004-05-24 Andrey Kiselev <[email protected]> 3430 3431 * tools/tiffsplit.c: Don't forget to copy Photometric 3432 Interpretation tag. 3433 34342004-05-20 Andrey Kiselev <[email protected]> 3435 3436 * libtiff/{tif_open.c, tiffio.h}: New function added: 3437 TIFFIsBigEndian(). Function returns nonzero if given was file written 3438 in big-endian order. 3439 3440 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 3441 files. Now output files will be written using the same byte order 3442 flag as in the input image. See 3443 3444 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 3445 3446 for details. 3447 34482004-05-19 Frank Warmerdam <[email protected]> 3449 3450 * libtiff/tif_print.c: added (untested) support for printing 3451 SSHORT, SLONG and SRATIONAL fields. 3452 3453 * tools/tiffcp.c: close output file on normal exit. 3454 34552004-05-17 Andrey Kiselev <[email protected]> 3456 3457 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 3458 if compression type mismatches. See 3459 3460 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 3461 34622004-04-30 Andrey Kiselev <[email protected]> 3463 3464 * libtiff/tif_strip.c: Never return 0 from the 3465 TIFFNumberOfStrips(). 3466 34672004-04-29 Andrey Kiselev <[email protected]> 3468 3469 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 3470 store single SampleFormat value for multisampled images. See 3471 3472 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 3473 34742004-04-25 Andrey Kiselev <[email protected]> 3475 3476 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 3477 int16 and int32 types to avoid complains on some compilers. Details at 3478 3479 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3480 34812004-04-20 Andrey Kiselev <[email protected]> 3482 3483 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 3484 3485 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 3486 34872004-04-14 Andrey Kiselev <[email protected]> 3488 3489 * libtiff/tif_write.c: Allow in-place updating of the compressed 3490 images (don't work properly with all codecs). For details see GDAL bug 3491 3492 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 3493 34942004-04-06 Andrey Kiselev <[email protected]> 3495 3496 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 3497 in the Intergarph JPEG compressed TIFF images as per bug: 3498 3499 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 3500 35012004-04-04 Frank Warmerdam <[email protected]> 3502 3503 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 3504 via bad2. 3505 35062004-03-26 Andrey Kiselev <[email protected]> 3507 3508 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 3509 JPEG compression of grayscale images. 3510 3511 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 3512 present in the input image. 3513 35142004-03-19 Andrey Kiselev <[email protected]> 3515 3516 * {many}: The first attempt to switch to autotools. 3517 35182004-03-03 Andrey Kiselev <[email protected]> 3519 3520 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 3521 TIFFClientOpen() when the appropriate client functions was not 3522 supplied by user. 3523 35242004-03-02 Frank Warmerdam <[email protected]> 3525 3526 * tools/ycbcr.c: fixed main() declaration as per: 3527 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 3528 35292004-02-26 Andrey Kiselev <[email protected]> 3530 3531 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 3532 images. Reported by Artem Mirolubov. 3533 3534 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 3535 tag type in TIFFFetchNormalTag() as per bug 3536 3537 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 3538 35392004-02-17 Frank Warmerdam <[email protected]> 3540 3541 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 3542 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 3543 35442004-02-05 Andrey Kiselev <[email protected]> 3545 3546 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 3547 bug 3548 3549 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 3550 3551 But we need more work on fax codec to support update mode. 3552 35532004-01-30 Frank Warmerdam <[email protected]> 3554 3555 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 3556 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 3557 Scott Reynolds. 3558 35592004-01-29 Andrey Kiselev <[email protected]> 3560 3561 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 3562 and TIFFTAG_INDEXED as per bug 3563 3564 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 3565 3566 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 3567 NULL before proceeding further as per bug 3568 3569 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 3570 3571 Check results, returned by the TIFFFdOpen() before returning and close 3572 file if TIFFFdOpen() failed as per bug 3573 3574 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3575 3576 * libtiff/tif_open.c: More fixes for 3577 3578 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3579 35802004-01-28 Andrey Kiselev <[email protected]> 3581 3582 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 3583 TIFFCleanup() from the TIFFClose() in order to fix the bug 3584 3585 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3586 3587 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 3588 InkNames tag as per bug 3589 3590 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 3591 3592 Memory leak fixed. 3593 35942004-01-21 Frank Warmerdam <[email protected]> 3595 3596 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 3597 are field_passcount=TRUE properly. Arguably anonymous custom tags 3598 should be declared as passcount=FALSE, but I don't want to change 3599 that without a careful review. 3600 36012004-01-20 Andrey Kiselev <[email protected]> 3602 3603 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 3604 stripped image in TIFFWriteBufferSetup(). As per bug 3605 3606 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 3607 36082004-01-11 Andrey Kiselev <[email protected]> 3609 3610 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 3611 patch from Gerben Koopmans. 3612 3613 * libtiff/tif_dirread.c: Check field_passcount value before setting 3614 the value of undefined type, patch from Gerben Koopmans. 3615 36162004-01-02 Andrey Kiselev <[email protected]> 3617 3618 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 3619 non-RGB images. 3620 36212003-12-31 Andrey Kiselev <[email protected]> 3622 3623 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 3624 pointer passed. Patch supplied by Larry Grill. 3625 3626 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 3627 suggested by Jeremy C. Reed. 3628 36292003-12-26 Andrey Kiselev <[email protected]> 3630 3631 * libtiff 3.6.1 released. 3632 36332003-12-24 Andrey Kiselev <[email protected]> 3634 3635 * config.guess, config.sub: Updated from the recent upstream. 3636 36372003-12-22 Andrey Kiselev <[email protected]> 3638 3639 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 3640 More cleanups in color conversion interface, added appropriate manual 3641 page. 3642 36432003-12-19 Andrey Kiselev <[email protected]> 3644 3645 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 3646 per bug 3647 3648 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 3649 3650 * tools/tiff2ps.c: Added support for alpha channel. Fixes 3651 3652 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 3653 3654 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 3655 Interface for Lab->RGB color conversion is finally cleaned up. 3656 Added support for ReferenceBlackWhite tag handling when converted from 3657 YCbCr color space. The latter closes 3658 3659 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 3660 36612003-12-07 Andrey Kiselev <[email protected]> 3662 3663 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 3664 3665 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 3666 library. 3667 36682003-12-06 Andrey Kiselev <[email protected]> 3669 3670 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 3671 file and properly use it for CIE Lab->RGB transform. 3672 36732003-12-04 Andrey Kiselev <[email protected]> 3674 3675 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 3676 conversion routines now in the tif_color.c module. New function 3677 TIFFYCbCrtoRGB() available in TIFF API. 3678 3679 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 3680 36812003-12-03 Andrey Kiselev <[email protected]> 3682 3683 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 3684 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 3685 module. 3686 3687 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 3688 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 3689 Finally resolved problems with orientation handling. TIFFRGBAImage 3690 interface now properly supports all possible orientations, i.e. images 3691 will be flipped both in horizontal and vertical directions if 3692 required. 'Known bugs' section now removed from the appropriate manual 3693 pages. Closed bug entry: 3694 3695 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 3696 36972003-12-02 Andrey Kiselev <[email protected]> 3698 3699 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 3700 function calls as per bug 3701 3702 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 3703 37042003-11-28 Ross Finlayson <[email protected]> 3705 3706 * tools/tiff2pdf.c: Some bugs fixed. 3707 37082003-11-27 Andrey Kiselev <[email protected]> 3709 3710 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 3711 reported by Antonio Scuri. 3712 3713 * man/tiff2pdf.1: Few improvements in page layout. 3714 3715 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 3716 Added support fpr tiff2pdf manual page. 3717 37182003-11-26 Ross Finlayson <[email protected]> 3719 3720 * /man/tiff2pdf.1: File added to repository. 3721 37222003-11-26 Andrey Kiselev <[email protected]> 3723 3724 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 3725 Added support fpr tiff2pdf utility. 3726 37272003-11-25 Ross Finlayson <[email protected]> 3728 3729 * /tools/tiff2pdf.c: File added to repository. 3730 37312003-11-22 Andrey Kiselev <[email protected]> 3732 3733 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 3734 37352003-11-21 Andrey Kiselev <[email protected]> 3736 3737 * /tools/raw2tiff.c: #include <getopt.h> removed. 3738 3739 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 3740 sgigt utility removed and replaced with the completely rewritten 3741 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 3742 there is a lot of things to improve. 3743 3744 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 3745 extract the fields from the OJPEG files. Patch supplied by Ross 3746 Finlayson. 3747 3748 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 3749 Added new function TIFFIsCODECConfigured(), suggested by Ross 3750 Finlayson. 3751 37522003-11-18 Andrey Kiselev <[email protected]> 3753 3754 * libtiff/tif_dirinfo.c: Implemented binary search in 3755 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 3756 3757 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 3758 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 3759 37602003-11-17 Frank Warmerdam <[email protected]> 3761 3762 * tif_dirread.c: do not mark all anonymously defined tags to be 3763 IGNOREd. 3764 37652003-11-17 Andrey Kiselev <[email protected]> 3766 3767 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 3768 TIFFDataWidth() function insted of tiffDataWidth array. 3769 37702003-11-16 Andrey Kiselev <[email protected]> 3771 3772 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 3773 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 3774 37752003-11-15 Frank Warmerdam <[email protected]> 3776 3777 * Makefile.in: fixed missing backslash for tif_color.c in list. 3778 37792003-11-13 Andrey Kiselev <[email protected]> 3780 3781 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 3782 New color space conversion code: CIE L*a*b* 1976 images now supported 3783 by the TIFFRGBAImage interface. All introduced routines go to new 3784 module tif_color.c. Eventually all color conversion functions should 3785 be moved there. 3786 37872003-11-12 Andrey Kiselev <[email protected]> 3788 3789 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 3790 with the reverse byte order (it is reported by the magic header 3791 field). Problem reported by Andreas Wiesmann. 3792 3793 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 3794 calculation function. Guessing mechanics now documented in manual page. 3795 37962003-11-11 Andrey Kiselev <[email protected]> 3797 3798 * tools/raw2tiff.c: Implemented image size guessing using 3799 correlation coefficient calculation between two neighbour lines. 3800 38012003-11-09 Frank Warmerdam <[email protected]> 3802 3803 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 3804 planarconfig_contig case in TIFFComputeTile(). 3805 3806 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 3807 38082003-11-09 Andrey Kiselev <[email protected]> 3809 3810 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 3811 38122003-11-07 Andrey Kiselev <[email protected]> 3813 3814 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 3815 Added TIFFRawStripSize() function as suggested by Chris Hanson. 3816 38172003-11-03 Andrey Kiselev <[email protected]> 3818 3819 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 3820 per bug 3821 3822 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 3823 38242003-10-29 Andrey Kiselev <[email protected]> 3825 3826 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 3827 3828 * html/build.html: Added note about GNU make requirement. 3829 38302003-10-25 Andrey Kiselev <[email protected]> 3831 3832 * Makefile.in: Fixes in using MAKEFLAGS as per bug 3833 3834 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 3835 3836 * port/install.sh.in: Option -p added to the mkdir command to create 3837 all directory tree structure before installing. 3838 38392003-10-18 Andrey Kiselev <[email protected]> 3840 3841 * /tools/tiff2ps.c: #include <strings.h> replaced with the 3842 #include <string.h>. 3843 38442003-10-16 Andrey Kiselev <[email protected]> 3845 3846 * Makefile.in: Add an absolute path to the test_pics.sh call. 3847 38482003-10-12 Andrey Kiselev <[email protected]> 3849 3850 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 3851 typedefs. 3852 38532003-10-09 Andrey Kiselev <[email protected]> 3854 3855 * configure, libtiff/{Makefile.in, mkversion.c}: 3856 Relative buildings fixed. 3857 3858 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 3859 rule. 3860 38612003-10-07 Andrey Kiselev <[email protected]> 3862 3863 * Makefile.in: Added missed v3.6.0.html. 3864 3865 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 3866 ORIENTATION_BOTLEFT. 3867 38682003-10-04 Andrey Kiselev <[email protected]> 3869 3870 * 3.6.0 final release. 3871 38722003-10-03 Andrey Kiselev <[email protected]> 3873 3874 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 3875 function TIFFReadRGBAImageOriented() implemented to retrieve raster 3876 array with user-specified origin position as suggested by Jason Frank. 3877 See 3878 3879 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 3880 3881 for details. 3882 3883 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 3884 instead of TIFFReadRGBAImage(). 3885 3886 * tools/tiff2ps.c: Fixed possible endless loop as per bug 3887 3888 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 3889 38902003-09-30 Andrey Kiselev <[email protected]> 3891 3892 * libtiff/tif_dirread.c: Check field counter against number of fields 3893 in order to fix 3894 3895 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 3896 3897 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 3898 3899 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 3900 39012003-09-25 Andrey Kiselev <[email protected]> 3902 3903 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 3904 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 3905 3906 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 3907 39082003-09-23 Andrey Kiselev <[email protected]> 3909 3910 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 3911 3912 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 3913 39142003-08-21 Andrey Kiselev <[email protected]> 3915 3916 * tools/tiffmedian.c: int declaration replaced with the uint32 to 3917 support large images as per bug 3918 3919 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 3920 39212003-08-12 Andrey Kiselev <[email protected]> 3922 3923 * libtiff/Makefile.in: Fixed problem with building in different 3924 directory. 3925 3926 * tools/tiff2ps.c: Added missing #include <strings.h>. 3927 3928 * libtiff/tif_dirwrite.c: More fixes for custom tags code 3929 from Ashley Dreier. 3930 39312003-08-07 Andrey Kiselev <[email protected]> 3932 3933 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 3934 Patch submitted by Balatoni Denes (with corrections from Tom 3935 Kacvinsky). 3936 3937 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 3938 being used. Reported by Tom Kacvinsky. 3939 3940 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 3941 reported by Ashley Dreier. 3942 3943 * libtiff/tif_print.c: Fixed problem with float tags reading, support 3944 for printing RATIONAL and BYTE tags added. 3945 39462003-08-05 Andrey Kiselev <[email protected]> 3947 3948 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 3949 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 3950 problems with predictor initialization. Remove O_RDONLY check during 3951 state block allocation to be able open LZW compressed files in update 3952 mode. 3953 3954 Problem exist for libtiff version of the tif_lzw.c module. One from 3955 lzw-compression-kit hasn't such troubles. 3956 39572003-08-04 Frank Warmerdam <[email protected]> 3958 3959 * libtiff/tif_write.c: modified tif_write.c so that the various 3960 encoded write functions use tif_postdecode() to apply byte order 3961 swapping (swab) to the application passed data buffer if the same 3962 would be done when reading. This allows us to write pixel data with 3963 more than 8 bits per sample to existing files of a non-native byte 3964 order. One side effect of this change is the applications buffer 3965 itself is altered in this case by the act of writing. 3966 3967 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 3968 39692003-07-25 Frank Warmerdam <[email protected]> 3970 3971 * libtiff/tif_open.c: avoid signed/unsigned casting warning 3972 initializing typemask as per patch from J.A. Strother. 3973 3974 * tools/tiffcp.c: fixed signed/unsigned casting warning. 3975 3976 * libtiff/tif_print.c: dos2unix conversion. 3977 3978 * tools/tiffsplit.c: increased the maximum number of pages that 3979 can be split. Patch provided by Andrew J. Montalenti. 3980 39812003-07-11 Andrey Kiselev <[email protected]> 3982 3983 * tools/raw2tiff.c: Added option `-p' to explicitly select color 3984 space of input image data. Closes 3985 3986 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 3987 39882003-07-08 Frank Warmerdam <[email protected]> 3989 3990 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 3991 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 3992 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 3993 avoid casting warning at /W4. 3994 39952003-07-03 Andrey Kiselev <[email protected]> 3996 3997 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 3998 39992003-06-30 Andrey Kiselev <[email protected]> 4000 4001 * libtiff/tif_pixarlog.c: Unused variables removed. 4002 4003 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 4004 EstimateStripByteCounts() as per bug 4005 4006 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4007 4008 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 4009 64-bit architectures as per bug 4010 4011 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 4012 4013 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 4014 unknown data type. 4015 40162003-06-19 Frank Warmerdam <[email protected]> 4017 4018 * libtiff/tif_print.c: fixed some serious bugs when printing 4019 custom tags ... almost certain to crash. 4020 4021 * libtiff/tif_dirread.c: Don't ignore custom fields that are 4022 autodefined. Not sure how this got to be like this. 4023 40242003-06-18 Andrey Kiselev <[email protected]> 4025 4026 * 3.6.0 Beta2 released. 4027 4028 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 4029 comparing as per bug 4030 4031 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 4032 4033 `-z' option now can be used to set the number of reported different 4034 bytes. 4035 40362003-06-09 Andrey Kiselev <[email protected]> 4037 4038 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 4039 to -r option to get the entire image as one strip. See 4040 4041 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4042 4043 for details. 4044 40452003-06-04 Andrey Kiselev <[email protected]> 4046 4047 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 4048 values as per bug 4049 4050 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4051 40522003-05-27 Frank Warmerdam <[email protected]> 4053 4054 * libtiff/tif_jpeg.c: modified segment_height calculation to always 4055 be a full height tile for tiled images. Also changed error to just 4056 be a warning. 4057 40582003-05-25 Andrey Kiselev <[email protected]> 4059 4060 * tools/fax2tiff.c: Page numbering fixed, as per bug 4061 4062 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 4063 40642003-05-20 Andrey Kiselev <[email protected]> 4065 4066 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4067 configure, Makefile.in: Switched back to the old behaviour. Likely 4068 better solution should be found for OJPEG support. 4069 40702003-05-11 Andrey Kiselev <[email protected]> 4071 4072 * libtiff/mkversion.c: Fixed problem with wrong string size when 4073 reading RELEASE-DATE file. 4074 40752003-05-07 Andrey Kiselev <[email protected]> 4076 4077 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 4078 index was out of range. 4079 40802003-05-06 Andrey Kiselev <[email protected]> 4081 4082 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4083 configure, Makefile.in: Improved libtiff compilation with OJPEG 4084 support. Now no need for patching IJG JPEG library, hack requred by 4085 libtiff will be compiled and used in-place. Implemented with 4086 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 4087 4088 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 4089 TIFFVGetFieldDefaulted() function. 4090 40912003-05-05 Andrey Kiselev <[email protected]> 4092 4093 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 4094 comments. 4095 4096 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 4097 was not copied from source image. 4098 4099 * libtiff/getimage.c: Workaround for some images without correct 4100 info about alpha channel as per bug 4101 4102 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 4103 41042003-04-29 Andrey Kiselev <[email protected]> 4105 4106 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 4107 It basically allows one to use the /flateDecode filter for ZIP 4108 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 4109 4110 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 4111 4112 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 4113 as per bug 4114 4115 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 4116 41172003-04-17 Andrey Kiselev <[email protected]> 4118 4119 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 4120 due to problems with multidirectory images. Quality of error messages 4121 improved. 4122 41232003-04-16 Andrey Kiselev <[email protected]> 4124 4125 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 4126 encoded images. See bug entries 4127 4128 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 4129 4130 and 4131 4132 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4133 4134 * libtiff/tif_dirread.c: Additional check for StripByteCounts 4135 correctness. Fixes 4136 4137 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 4138 41392003-03-12 Andrey Kiselev <[email protected]> 4140 4141 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 4142 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 4143 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 4144 tiffmedian.c}: Added library version reporting facility to all tools. 4145 41462003-03-06 Frank Warmerdam <[email protected]> 4147 4148 * port/install.sh.in: Fixed problems with install producing paths 4149 like ///usr/local/lib on cygwin. 4150 41512003-02-27 Andrey Kiselev <[email protected]> 4152 4153 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 4154 raw input page. Patch supplied by Julien Gaulmin. See 4155 4156 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 4157 4158 for details. 4159 41602003-02-26 Frank Warmerdam <[email protected]> 4161 4162 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 4163 responsible for byte swapping complex image data. 4164 4165 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 4166 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 4167 41682003-02-07 Andrey Kiselev <[email protected]> 4169 4170 * tools/ppm2tiff.c: Fixed problem with too many arguments. 4171 41722003-02-04 Andrey Kiselev <[email protected]> 4173 4174 * tools/raw2tiff.c: Memory leak fixed. 4175 41762003-02-03 Andrey Kiselev <[email protected]> 4177 4178 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 4179 (thanks, Julien!). More switches for fax2tiff tool for better control 4180 of input and output. Details at 4181 4182 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 4183 41842003-02-03 Frank Warmerdam <[email protected]> 4185 4186 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 4187 library so that we can check if there is already any tile/strip data 4188 before deciding between creating a compressor or a decompressor. 4189 41902003-01-31 Frank Warmerdam <[email protected]> 4191 4192 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 4193 a pre-existing compressed image. That is, image writing to 4194 pre-existing compressed images is not allowed. 4195 4196 * libtiff/tif_open.c: Removed error if opening a compressed file 4197 in update mode. 4198 4199 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 4200 42012003-01-31 Andrey Kiselev <[email protected]> 4202 4203 * config.guess, config.sub: Updated to recent upstream versions. 4204 42052003-01-15 Frank Warmerdam <[email protected]> 4206 4207 * cut 3.6.0 Beta release. 4208 42092002-12-20 Andrey Kiselev <[email protected]> 4210 4211 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 4212 in wrong way as per bug 4213 4214 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 4215 42162002-12-17 Frank Warmerdam <[email protected]> 4217 4218 * libtiff/tif_dirread.c: Allow wrong sized arrays in 4219 TIFFFetchStripThing(). 4220 4221 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 4222 42232002-12-02 Frank Warmerdam <[email protected]> 4224 4225 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 4226 Was using realloc even first time. Fix by Igor Venevtsev. 4227 42282002-11-30 Frank Warmerdam <[email protected]> 4229 4230 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 4231 field value. 4232 4233 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 4234 tags in TIFFVGetField() ... added missing break. 4235 42362002-10-14 Frank Warmerdam <[email protected]> 4237 4238 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 4239 the scanline buffer long enough when writing rgb triplets. 4240 The scanline needs to be 3 X the number of dots or else it will 4241 contain an incomplete triplet and programs that try to separate 4242 the eps by redefining the colorimage operator will get messed up. 4243 Patch supplied by William Bader. 4244 4245 * Makefile.in: added tif_extension.c to file list as per 4246 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 4247 42482002-10-11 Andrey Kiselev <[email protected]> 4249 4250 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 4251 large files (>2GiB) supporting. New option in the config.site: 4252 LARGEFILE="yes". Should be enough for I/O of the large files. 4253 42542002-10-10 Frank Warmerdam <[email protected]> 4255 4256 * libtiff/html/v3.6.0.html: new release notes. 4257 4258 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 4259 link for Andrey. Pointer to v3.6.0.html. 4260 4261 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 4262 42632002-10-07 Andrey Kiselev <[email protected]> 4264 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 4265 (thanks, Sebastian!). New switches: 4266 -b # for a bottom margin of # inches 4267 -c center image 4268 -l # for a left margin of # inches 4269 -r rotate the image by 180 degrees 4270 New features merged with code for shrinking/overlapping. 4271 Previously added -c and -n switches (for overriding PS units) renamed 4272 in -x and -y respectively. 4273 4274 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 4275 4276 * html/man/*.html: Updated from actual manual pages. 4277 42782002-10-06 Frank Warmerdam <[email protected]> 4279 4280 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 4281 size on windows. Use #define boolean hack. 4282 4283 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 4284 4285 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 4286 USING_VISUALAGE is defined. 4287 4288 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4289 42902002-10-03 Frank Warmerdam <[email protected]> 4291 4292 * libtiff/tiff.h: added COMPRESSION_JP2000. 4293 42942002-10-02 Andrey Kiselev <[email protected]> 4295 4296 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 4297 by the TIFFFetchByteArray() function. Should finally resolve 4298 4299 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 4300 4301 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 4302 4303 * html/Makefile.in: New targets added: html and groffhtml for 4304 producing HTML representations of the manual pages automatically. 4305 html target uses man2html tool, groffhtml uses groff tool. 4306 43072002-09-29 Frank Warmerdam <[email protected]> 4308 4309 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 4310 from John H. DuBois III. 4311 43122002-09-15 Andrey Kiselev <[email protected]> 4313 4314 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 4315 manual page for raw2tiff(1) tool. 4316 43172002-09-12 Andrey Kiselev <[email protected]> 4318 4319 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 4320 the tiffio.h header file. 4321 4322 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 4323 manual page for TIFFDataWidth() function 4324 43252002-09-08 Frank Warmerdam <[email protected]> 4326 4327 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 4328 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 4329 4330 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 4331 since we are unable to properly include the amount to skip. 4332 4333 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 4334 43352002-09-02 Andrey Kiselev <[email protected]> 4336 4337 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 4338 in TIFFFetchByteArray(). Problem described at 4339 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 4340 43412002-08-22 Andrey Kiselev <[email protected]> 4342 4343 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 4344 in _TIFFSetupFieldInfo() function. 4345 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 4346 4347 * /libtiff/tif_lzw.c: Additional consistency checking added in 4348 LZWDecode() and LZWDecodeCompat(). 4349 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 4350 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4351 4352 * /libtiff/tif_lzw.c: 4353 Added check for valid code lengths in LZWDecode() and 4354 LZWDecodeCompat(). Fixes 4355 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 4356 43572002-08-16 Andrey Kiselev <[email protected]> 4358 4359 * /libtiff/{Makefile.vc, libtiff.def}: 4360 Missed declarations added. 4361 43622002-08-15 Frank Warmerdam <[email protected]> 4363 4364 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 4365 return code from the underlying pick function. 4366 4367 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 4368 4369 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 4370 with FIELD_CUSTOM as mentioned in bug 169. 4371 4372 * tif_close.c: added logic to free dynamically created anonymous 4373 field definitions to correct a small memory leak. 4374 4375 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 4376 43772002-08-10 Andrey Kiselev <[email protected]> 4378 4379 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 4380 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 4381 43822002-07-31 Frank Warmerdam <[email protected]> 4383 4384 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 4385 JPEGDecode() as per bugzilla bug (issue 1): 4386 4387 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 4388 4389 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 4390 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 4391 present in the tiff tags. 4392 4393 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 4394 4395 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 4396 TIFFWriteScanline() now set tif_row explicitly in case the codec has 4397 fooled with the value. 4398 4399 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 4400 44012002-06-22 Andrey Kiselev <[email protected]> 4402 4403 * /tools/tiff2ps.c: Added workaround for some software that may crash 4404 when last strip of image contains fewer number of scanlines than 4405 specified by the `/Height' variable. See 4406 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 4407 for explanation. 4408 44092002-06-21 Andrey Kiselev <[email protected]> 4410 4411 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 4412 splitting long images in several pages. See 4413 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 4414 Patch granted by John Williams <[email protected]>. 4415 44162002-06-11 Frank Warmerdam <[email protected]> 4417 4418 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 4419 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 4420 This one is described in: 4421 4422 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 4423 4424 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 4425 4426 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 4427 44282002-05-10 Andrey Kiselev <[email protected]> 4429 4430 * tools/tiff2ps: New commandline switches to override resolution 4431 units obtained from the input file. Closes 4432 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 4433 44342002-04-26 Andrey Kiselev <[email protected]> 4435 4436 * libtiff/libtiff.def: Added missed declaration. 4437 44382002-04-22 Andrey Kiselev <[email protected]> 4439 4440 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 4441 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 4442 44432002-04-20 Andrey Kiselev <[email protected]> 4444 4445 * libtiff/tif_open.c: Pointers to custom procedures 4446 in TIFFClientOpen() are checked to be not NULL-pointers. 4447 44482002-04-18 Andrey Kiselev <[email protected]> 4449 4450 * libtiff/libtiff.def: Added missed declarations. 4451 4452 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 4453 44542002-04-16 Andrey Kiselev <[email protected]> 4455 4456 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 4457 Should finally close 4458 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4459 44602002-04-10 Andrey Kiselev <[email protected]> 4461 4462 * tools/tiff2ps: Division by zero fixed. 4463 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 4464 44652002-04-09 Andrey Kiselev <[email protected]> 4466 4467 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 4468 TIFFCheckpointDirectory() routine added. 4469 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 4470 4471 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 4472 for the new function. 4473 44742002-04-08 Andrey Kiselev <[email protected]> 4475 4476 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 4477 additional members tif->tif_decodestatus and tif->tif_encodestatus 4478 for correct handling of unconfigured codecs (we should not try to read 4479 data or to define data size without correct codecs). 4480 4481 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 4482 changed. Now it has used tif->tif_decodestatus and 4483 tif->tif_encodestatus. 4484 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 4485 case of __cvs_8.tif test image). 4486 4487 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 4488 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 4489 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 4490 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 4491 44922002-04-04 Andrey Kiselev <[email protected]> 4493 4494 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 4495 replaced by warnings. Now libtiff should read corrupted LZW-compressed 4496 files by skipping bad strips. 4497 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4498 44992002-04-03 Frank Warmerdam <[email protected]> 4500 4501 * libtiff/tif_dirwrite.c: Removed some dead code. 4502 4503 * libtiff/*: Cleanup some warnings. 4504 4505 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 4506 for variable length FIELD_CUSTOM values. Was int * but should be 4507 u_short *. 4508 45092002-04-01 Andrey Kiselev <[email protected]> 4510 4511 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 4512 utility (at cpStripToTile routine). 4513 45142002-03-27 Frank Warmerdam <[email protected]> 4515 4516 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 4517 4518 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 4519 4520 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 4521 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 4522 4523 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 4524 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 4525 45262002-03-26 Dwight Kelly <[email protected]> 4527 4528 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 4529 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 4530 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 4531 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 4532 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 4533 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 4534 45352002-03-26 Andrey Kiselev <[email protected]> 4536 4537 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 4538 now also uses TIFFRGBAImageOK before reading. This is additional fix 4539 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 4540 45412002-03-25 Andrey Kiselev <[email protected]> 4542 4543 * libtiff/: tif_getimage.c: Additional check for supported 4544 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 4545 TIFFRGBAImageOK before reading. 4546 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 4547 45482002-03-15 Andrey Kiselev <[email protected]> 4549 4550 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 4551 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 4552 TIFFDataType sizes instead of working with tiffDataWidth array 4553 directly. Should prevent out-of-borders bugs in case of unknown or 4554 broken data types. EstimateStripByteCounts routine modified, so it 4555 won't work when tags with uknown sizes founded. 4556 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 4557 45582002-03-13 Andrey Kiselev <[email protected]> 4559 4560 * libtiff/tif_getimage.c: Added support for correct handling 4561 `Orientation' tag in gtTileContig. Should be added in other gt* 4562 functions as well, but I have not images for testing yet. Partially 4563 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4564 45652002-03-10 Andrey Kiselev <[email protected]> 4566 4567 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 4568 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 4569 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 4570 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 4571 45722002-03-08 Andrey Kiselev <[email protected]> 4573 4574 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 4575 be stripped when installing, utility binaries will do. Closes 4576 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 4577 45782002-02-28 Frank Warmerdam <[email protected]> 4579 4580 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 4581 4582 * man/libtiff.3t: added copyright tag info. 4583 45842002-02-11 Frank Warmerdam <[email protected]> 4585 4586 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 4587 4588 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 4589 4590 * man/Makefile.in: Patch DESTDIR handling 4591 4592 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 4593 4594 * configure: OpenBSD changes for Sparc64 and DSO version. 4595 4596 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 4597 45982002-02-05 Frank Warmerdam <[email protected]> 4599 4600 * config.site/configure: added support for OJPEG=yes option to enable 4601 OJPEG support from config.site. 4602 46032002-01-27 Frank Warmerdam <[email protected]> 4604 4605 * html/document.html: fixed links for TIFf 6 docs. 4606 46072002-01-18 Frank Warmerdam <[email protected]> 4608 4609 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 4610 4611 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 4612 decodestrip function returns anything not greater than zero as per 4613 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 4614 4615 * configure: Modify CheckForBigEndian so it can work in a cross 4616 compiled situation. 4617 46182002-01-16 Frank Warmerdam <[email protected]> 4619 4620 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 4621 4622 * tools/tiffset.c: fix bug in error reporting. 4623 4624 * tools/tiffcp.c: fix several warnings that show up with -Wall. 4625 46262002-01-04 Frank Warmerdam <[email protected]> 4627 4628 * libtiff/tif_jpeg.c: fixed computation of segment_width for 4629 tiles files to avoid error about it not matching the 4630 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 4631 size.") for ITIFF files. Apparently the problem was incorporated since 4632 3.5.5, presumably during the OJPEG/JPEG work recently. 4633 46342001-12-15 Frank Warmerdam <[email protected]> 4635 4636 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 4637 4638 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 4639 4640 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 4641 (defined in tiffconf.h - 1 by default) then the RGBA interface 4642 will assume that a fourth extra sample is ASSOCALPHA if the 4643 EXTRASAMPLE value isn't set for it. This changes the behaviour of 4644 the library, but makes it work better with RGBA files produced by 4645 lots of applications that don't mark the alpha values properly. 4646 4647 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 4648 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 4649 46502001-12-12 Frank Warmerdam <[email protected]> 4651 4652 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 4653 override those from tiff directory. This makes this work with 4654 ImageGear generated files. 4655 46562001-12-07 Frank Warmerdam <[email protected]> 4657 4658 * html/Makefile.in: added missing images per bug 92. 4659 4660 * port/Makefile.in: fixed clean target per bug 92. 4661 46622001-11-28 Frank Warmerdam <[email protected]> 4663 4664 * Reissue 3.5.7 release. 4665 4666 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 4667 YYYYMMDD so that it is increasing over time. 4668 4669 * Makefile.in: Ensure that tiffvers.h is regenerated in the 4670 make release target. 4671 4672 * Makefile.in: added libtiff/tiffvers.h to the release file list. 4673 46742001-11-23 Frank Warmerdam <[email protected]> 4675 4676 * added html/v3.5.7.html, updated html/index.html. 4677 4678 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 4679 46802001-11-15 Frank Warmerdam <[email protected]> 4681 4682 * configure: fixed test for -lm. 4683 46842001-11-02 Frank Warmerdam <[email protected]> 4685 4686 * Added PHOTOMETRIC_ITULAB as per bug 90. 4687 4688 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 4689 46902001-10-10 Frank Warmerdam <[email protected]> 4691 4692 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 4693 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 4694 in keeping with TIFF 6.0 standard in tiff.h 4695 4696 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 4697 46982001-09-26 Frank Warmerdam <[email protected]> 4699 4700 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 4701 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 4702 47032001-09-24 Frank Warmerdam <[email protected]> 4704 4705 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 4706 4707 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 4708 4709 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 4710 error about LZW not being available. 4711 4712 * libtiff/tif_dir.c: propagate failure to initialize compression 4713 back from TIFFSetField() as an error status, so applications can 4714 detect failure. 4715 4716 * libtiff/tif_dir.c: removed the auto replacement of 4717 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 4718 4719 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 4720 from CVS as they are all supposed to be auto-generated by configure. 4721 47222001-09-22 Frank Warmerdam <[email protected]> 4723 4724 * libtiff/tif_ojpeg.c: new update from Scott. 4725 47262001-09-09 Frank Warmerdam <[email protected]> 4727 4728 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 4729 always use the "safe" version, even if there is a very slight 4730 cost in performance. 4731 4732 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 4733 4734 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 4735 in two places. 4736 4737 * libtiff/tif_getimage.c: Fixed problem with reading strips or 4738 tiles that don't start on a tile boundary. Fix contributed by 4739 Josep Vallverdu (from HP), and further described in bug 47. 4740 4741 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 4742 4743 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 4744 4745 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 4746 47472001-09-06 Frank Warmerdam <[email protected]> 4748 4749 * libtiff/tif_packbits.c: fixed memory overrun error. 4750 4751 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 4752 47532001-08-31 Frank Warmerdam <[email protected]> 4754 4755 * libtiff/tif_getimage.c: relax handling of contig case where 4756 there are extra samples that are supposed to be ignored. This 4757 should now work for 8bit greyscale or palletted images. 4758 4759 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 4760 47612001-08-28 Frank Warmerdam <[email protected]> 4762 4763 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 4764 images with more than four samples per pixel. See: 4765 4766 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 4767 47682001-08-10 Frank Warmerdam <[email protected]> 4769 4770 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 4771 in TIFFReadRGBATile() to avoid issues in cases of overlapping 4772 buffers. See Bug 69 in Bugzilla. 4773 4774 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 4775 4776 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 4777 47782001-08-09 Frank Warmerdam <[email protected]> 4779 4780 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 4781 when checking for 64 bit architectures as per bugzilla bug 67. 4782 47832001-07-27 Frank Warmerdam <[email protected]> 4784 4785 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 4786 bug 66. 4787 47882001-07-20 Frank Warmerdam <[email protected]> 4789 4790 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 4791 has been included. 4792 47932001-07-19 Frank Warmerdam <[email protected]> 4794 4795 * libtiff/tif_open.c: Seek back to zero after failed read, 4796 before writing header. 4797 47982001-07-18 Frank Warmerdam <[email protected]> 4799 4800 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 4801 much better. Now depends on having patched libjpeg as per 4802 patch in contrib/ojpeg/*. 4803 48042001-07-17 Frank Warmerdam <[email protected]> 4805 4806 * */Makefile.in: added DESTDIR support. 4807 4808 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 4809 48102001-07-16 Frank Warmerdam <[email protected]> 4811 4812 * configure, libtiff/Makefile.in: applied OpenBSD patches 4813 as per: 4814 4815 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 4816 48172001-06-28 Frank Warmerdam <[email protected]> 4818 4819 * libtiff/tif_getimage.c: Fixed so that failure is properly 4820 reported by gtTileContig, gtStripContig, gtTileSeparate and 4821 gtStripSeparate. 4822 4823 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 4824 4825 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 4826 Updated bug section of tiffcmp.1 to note tiled file issues. 4827 4828 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 4829 48302001-06-22 Frank Warmerdam <[email protected]> 4831 4832 * configure: Changes for DSO generation on AIX provided by 4833 John Marquart <[email protected]>. 4834 4835 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 4836 on Darwin thanks to Robert Krajewski ([email protected]) and 4837 Keisuke Fujii ([email protected]). 4838 48392001-06-13 Frank Warmerdam <[email protected]> 4840 4841 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 4842 4843 * man/tiff2rgba.1: new 4844 48452001-05-22 Frank Warmerdam <[email protected]> 4846 4847 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 4848 48492001-05-13 Frank Warmerdam <[email protected]> 4850 4851 * libtiff/tools/thumbnail.c: changed default output compression 4852 to packbits from LZW since LZW isn't generally available. 4853 48542001-05-12 Frank Warmerdam <[email protected]> 4855 4856 * libtiff/tif_ojpeg.c: New. 4857 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 4858 to OJPEG support. 4859 4860 Scott Marovich <[email protected]> supplied OJPEG support. 4861 48622001-05-11 Frank Warmerdam <[email protected]> 4863 4864 * tiff.h: removed, it duplicates libtiff/tiff.h. 4865 48662001-05-08 Frank Warmerdam <[email protected]> 4867 4868 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 4869 ensure everything is in order. 4870 4871 * libtiff/libtiff.def: added TIFFCreateDirectory and 4872 TIFFDefaultStripSize as per: 4873 4874 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 4875 48762001-05-02 Frank Warmerdam <[email protected]> 4877 4878 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 4879 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 4880 force use of uint32 counts instead of short counts. 4881 4882 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 4883 case of writing TIFF_BYTE/TIFF_SBYTE fields. 4884 4885 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 4886 48872001-05-01 Frank Warmerdam <[email protected]> 4888 4889 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 4890 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 4891 48922001-04-05 Frank Warmerdam <[email protected]> 4893 4894 * tiffio.h: removed C++ style comment. 4895 4896 * configure: fixed up SCRIPT_SH/SHELL handling. 4897 4898 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 4899 4900 * config.guess: documented more variables as per bug 40. 4901 49022001-04-03 Frank Warmerdam <[email protected]> 4903 4904 * configure, *Makefile.in: Various changes to improve configuration 4905 for HP/UX specifically, and also in general. They include: 4906 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 4907 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 4908 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 4909 - Use -${MAKEFLAGS} in sub makes from makefiles. 4910 4911 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 4912 49132001-04-02 Frank Warmerdam <[email protected]> 4914 4915 * libtiff/tiff.h: Applied hac to try and resolve the problem 4916 with the inttypes.h include file on AIX. 4917 4918 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4919 4920 * VERSION: update to 3.5.7 beta in preparation for release. 4921 4922 * configure/config.site: modified to check if -lm is needed for 4923 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 4924 4925 * config.guess: updated wholesale to an FSF version apparently 4926 from 1998 (as opposed to 1994). This is mainly inspired by 4927 providing for MacOS X support. 4928 49292001-03-29 Frank Warmerdam <[email protected]> 4930 4931 * configure, Makefile.in, etc: added support for OPTIMIZER being 4932 set from config.site. 4933 49342001-03-28 Frank Warmerdam <[email protected]> 4935 4936 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 4937 4938 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 4939 sizes. It fixes two problems: 4940 4941 Without scaling (-S) the fax is now centered on the page size specified 4942 with -H and/or -W. Before, fax2ps was using an obscure and practially 4943 useless algorithm to allocate the image relative to Letter sized paper 4944 which sometime sled to useless whitespace on the paper, while at the 4945 same time cutting of the faxes printable area at the opposite border. 4946 4947 Second, scaling now preserves aspect ratio, which makes unusual faxes 4948 (in particular short ones) print properly. 4949 4950 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 4951 4952 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 4953 Bruce A. Mallett. See check message for detailed information 4954 on all the changes, including a faster encoder, fixes for level 4955 2 PostScript, and support for the imagemask operator. 4956 49572001-03-27 Frank Warmerdam <[email protected]> 4958 4959 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 4960 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 4961 4962 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4963 49642001-03-16 Frank Warmerdam <[email protected]> 4965 4966 * tif_dirinfo.c: moved definition of copyright tag in field list. 4967 Apparently they have to be in sorted order by tag id. 4968 49692001-03-13 Frank Warmerdam <[email protected]> 4970 4971 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 4972 images in RGBA interface. 4973 49742001-03-02 Frank Warmerdam <[email protected]> 4975 4976 * Added TIFFTAG_COPYRIGHT support. 4977 49782001-02-19 Frank Warmerdam <[email protected]> 4979 4980 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 4981 with support for extracting subimages with the ,n syntax, and also 4982 adding the -b bias removal flag. 4983 49842001-02-16 Frank Warmerdam <[email protected]> 4985 4986 * libtiff/libtiff.def: Brent Roman submitted new version adding 4987 serveral missing entry points. 4988 4989 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 4990 Some sort of weird VMS thing. 4991 4992 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 4993 4994 * tif_luv.c/tiff.h/tiffio.h: 4995 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 4996 ([email protected]). He writes: 4997 4998 1) I improved the gamut-mapping function in tif_luv.c for imaginary 4999 colors, because some images were being super-saturated on the input 5000 side and this resulted in some strange color shifts in the output. 5001 5002 2) I added a psuedotag in tiff.h to control random dithering during 5003 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 5004 on for 24-bit LogLuv output. Dithering improves the average color 5005 accuracy over the image. 5006 5007 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 5008 tiffio.h, to expose internal routines for converting between LogLuv and 5009 XYZ coordinates. This is helpful for writing more efficient, 5010 specialized conversion routines, especially for reading LogLuv files. 5011 5012 Changes applied with minor edits. 5013 50142001-01-23 Frank Warmerdam <[email protected]> 5015 5016 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 5017 whether we are encoding or decoding. This is to ensure graceful 5018 recovery if TIFFClientOpen() discovers an attempt to open a compressed 5019 file for "r+" access, and subsequently close it, as it resets the 5020 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 5021 compressor's concept of whether it is in encode or decode mode. 5022 50232001-01-08 Mike Welles <[email protected]> 5024 5025 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 5026 50272001-01-07 Frank Warmerdam <[email protected]> 5028 5029 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 5030 as per bug report by Patrick Connor. 5031 50322000-12-28 Frank Warmerdam <[email protected]> 5033 5034 * Added RELEASE-DATE file to release file list. 5035 5036 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 5037 50382000-12-22 Mike Welles <[email protected]> 5039 * added link to CVS mirror from index.html 5040 5041 * updated html/internals.html to note that LZW compression is 5042 not supported by default. 5043 50442000-12-22 Frank Warmerdam <[email protected]> 5045 5046 * updated html/libtiff.html to not point at Niles' old JPL web site 5047 for the man pages, point at www.libtiff.org. 5048 50492000-12-21 Frank Warmerdam <[email protected]> 5050 5051 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 5052 Leonard Rosenthol <[email protected]>. May interfere 5053 with correct building on older systems. If so, please let me know. 5054 50552000-12-19 Mike Welles <[email protected]> 5056 5057 * Took out LZW Encoding from tif_lzw.c 5058 5059 * Created HOWTO-RELEASE 5060 5061 * Created html/v3.5.6.html 5062 5063 * updated index.html 5064 50652000-12-01 Frank Warmerdam <[email protected]> 5066 5067 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 5068 Patches supplied by Frank Cringle <[email protected]> 5069 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 5070 50712000-11-24 Frank Warmerdam <[email protected]> 5072 5073 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 5074 target so that the private headers required by libgeotiff can be 5075 installed with the others. They are not installed by default. 5076 5077 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 5078 targets so libtiff.so will be built with an explicit dependency 5079 on libm.so. 5080 5081 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 5082 libtiff.so.3.5.5. 5083 5084 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 5085 file, or ALPHA version logic. Added stuff about DIST_POINT in 5086 place of DIST_TYPE and the alpha release number stuff. 5087 50882000-11-22 Frank Warmerdam <[email protected]> 5089 5090 * I have applied a patch from Steffen Moeller <[email protected]> to 5091 the configure script so that it now accepts the --prefix, and 5092 --exec-prefix directives. 5093 50942000-11-13 Frank Warmerdam <warmerda@cs46980-c> 5095 5096 * I have made a variety of modifications in an effort to ensure the 5097 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 5098 file which seems to be updated regularly. 5099 5100 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 5101 version include file. 5102 o renamed version.h to tiffvers.h because we now have to install it 5103 with the public libtiff include files. 5104 o include tiffvers.h in tiffio.h. 5105 o updated tif_version.c to use tiffvers.h. 5106 o Updated Makefile.in accordingly. 5107 5108 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 5109 I have updated the win32 detection rules in tiffcomp.h. 5110 51112000-10-20 Frank Warmerdam <warmerda@cs46980-c> 5112 5113 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 5114 the strip/tile width and height aren't multiples of the sampling size. 5115 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 5116 Some patches from Rick LaMont of Dot C Software. 5117 5118 * Modified tif_packbits.c encoder to avoid compressing more 5119 data than provided if rowsize doesn't factor into provided data 5120 (such as occurs for YCbCr). 5121 51222000-10-19 Frank Warmerdam <warmerda@cs46980-c> 5123 5124 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 5125 roundup if rows_per_strip not a multiple of vertical sample size. 5126 51272000-10-16 Frank Warmerdam <warmerda@cs46980-c> 5128 5129 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 5130 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5131 from [email protected]. 5132 5133 * Modified tif_packbits.c decoding to avoid overrunning the 5134 output buffer, and to issue a warning if data needs to be 5135 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5136 51372000-10-12 Frank Warmerdam <warmerda@cs46980-c> 5138 5139 * Modified tiff2bw to ensure portions add to 100%, and that 5140 white is properly recovered. 5141 5142 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 5143 Patch c/o Stanislav Brabec <[email protected]> 5144 51452000-09-30 Frank Warmerdam <warmerda@cs46980-c> 5146 5147 * Modified TIFFClientOpen() to emit an error on an attempt to 5148 open a comperessed file for update (O_RDWR/r+) access. This is 5149 because the compressor/decompressor code gets very confused when 5150 the mode is O_RDWR, assuming this means writing only. See 5151 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 5152 51532000-09-27 Frank Warmerdam <warmerda@cs46980-c> 5154 5155 * Added GNULDdso target an`d switched linux and freebsd to use it. 5156 51572000-09-26 Frank Warmerdam <warmerda@cs46980-c> 5158 5159 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 5160 of EXPAND1D() as per bug 11 (from Roman). 5161 51622000-09-25 Frank Warmerdam <warmerda@cs46980-c> 5163 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 5164 cygwin compatibility. 5165 5166 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 5167 be a proper fix to the buffer sizing problem. See 5168 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 5169 5170 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 5171 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 5172 Thanks to Nick Lamb <[email protected]> for reporting the 5173 bug and proving the patch. 5174 51752000-09-18 Frank Warmerdam <warmerda@cs46980-c> 5176 5177 * Fixed tif_jpeg.c so avoid destroying the decompressor before 5178 we are done access data thanks to bug report from: 5179 Michael Eckstein <[email protected]>. 5180 5181 * Reverted tif_flush change. 5182 51832000-09-14 Frank Warmerdam <warmerda@cs46980-c> 5184 5185 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 5186 error when TIFF_BEENWRITING is not set. This ensures that the 5187 directory contents can still be flushed by TIFFFlush(). 5188 51892000-08-14 Frank Warmerdam <[email protected]> 5190 5191 * tif_open.c: Don't set MMAP for O_RDWR files. 5192 5193 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 5194 so that files opened for update can be strip chopped too. 5195 5196 * tif_read.c: fixed up bug with files missing rowsperstrip and 5197 the strips per separation fix done a few weeks ago. 5198 51992000-07-17 Frank Warmerdam <warmerda@cs46980-c> 5200 5201 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 5202 SAMPLEFORMAT_COMPLEXINT. 5203 52042000-07-13 Mike Welles <[email protected]> 5205 5206 * index.html, bugs.html: added bugzilla info. 5207 52082000-07-12 Frank Warmerdam <[email protected]> 5209 5210 * tif_read.c: fix subtle bug with determining the number of 5211 rows for strips that are the last strip in a separation but 5212 not the last strip of all in TIFFReadEncodedStrip(). 5213 5214 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 5215 Peter Skarpetis <[email protected]> 5216 52172000-06-15 Frank Warmerdam <[email protected]> 5218 5219 * Modified tiffio.h logic with regard to including windows.h. It 5220 won't include it when building with __CYGWIN__. 5221 52222000-05-11 Frank Warmerdam <warmerda@cs46980-c> 5223 5224 * README: update to mention www.libtiff.org, don't list Sam's old 5225 email address. 5226 5227 * configure: Fixed DSO test for Linux as per patch from 5228 Jan Van Buggenhout <[email protected]>. 5229 52302000-04-21 Frank Warmerdam <[email protected]> 5231 5232 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 5233 one tile/strip images with an offset, and byte count of zero. These 5234 could be "unpopulated" images. 5235 52362000-04-18 Frank Warmerdam <[email protected]> 5237 5238 * contrib/addtiffo: Added "averaging" resampling option. 5239 5240 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 5241 5242Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 5243 5244 * tools/Makefile.in: Modified to install properly on SGI. 5245 52462000-04-12 Mike Welles <[email protected]> 5247 * configure: Fixed stupid mistake in libc6 test on Linux 5248 52492000-04-04 Mike Welles <[email protected]> 5250 * tif_win32.c: Applied patch to fix overreads and ovverwrites 5251 caught by BoundsChecker. From Arvan Pritchard 5252 <[email protected]> (untested). 5253 5254 * tif_getimage.c: Applied patch to silence VC6 warnings. From 5255 Arvan Pritchard <[email protected]> 5256 5257 * tif_lzw.c: Applied patch to silence VC6 warnings. From 5258 Arvan Pritchard <[email protected]> 5259 52602000-03-28 Frank Warmerdam <warmerda@cs46980-c> 5261 5262 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 5263 52642000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 5265 5266 * fax2ps: Fixed mixup of width and height in bounding box statement 5267 as per submission by Nalin Dahyabhai <[email protected]>. 5268 52692000-03-27 Mike Welles <[email protected]> 5270 5271 * fax2ps: Modified printruns to take uint32 instead of uint16. 5272 Patch courtesy of Bernt Herd <[email protected]> 5273 52742000-03-20 Mike Welles <[email protected]> 5275 5276 * configure: added test for libc6 for linux targets. Bug reported by 5277 Stanislav Brabec <[email protected]> 5278 5279 * Added 3.5 docs to html/Makefile.in. 5280 Thanks to Stanislav Brabec <[email protected]> 5281 5282 * configure: fixed bugs in sed scripts 5283 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 5284 fix submitted to Stanislav Brabec <[email protected]> 5285 5286 * tools/iptcutil was not in files list, and wasn't being 5287 added to tar archive. Updated Makefile.in. 5288 52892000-03-17 Frank Warmerdam <warmerda@cs46980-c> 5290 5291 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 5292 conversion for the run arrays. 5293 52942000-03-03 Frank Warmerdam <[email protected]> 5295 5296 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 5297 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 5298 52992000-03-02 Frank Warmerdam <[email protected]> 5300 5301 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 5302 5303 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 5304 to avoid overruns encountered with frle_bug.tif. 5305 5306Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 5307 5308 * Fixed tools/tiffcmp so that stopondiff testing works. 5309 Patch care of Joseph Orost <[email protected]>. 5310 53112000-01-28 <warmerda@CS46980-B> 5312 5313 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 5314 set to 1, and added default (off) setting in tiffconf.h. This 5315 should eventually be set by the configure script somehow. 5316 5317 The original work on all these 2-4GB changes was done by 5318 Peter Smith ([email protected]). 5319 5320 * Modified tif_win32.c to support 2-4GB seeks. 5321 5322 * tentatively changed toff_t to be unsigned instead of signed to 5323 facilitate support for 2-4GB files. 5324 5325 * Updated a variety of files to use toff_t. Fixed some mixups 5326 between toff_t and tsize_t. 5327 5328Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 5329 5330 * Largely reimplemented contrib/addtiffo to avoid temp files, 5331 updating the TIFF file in place. Fixed a few other bugs to. 5332 5333 * Set tif_rawdatasize to zero when freeing raw data buffer in 5334 TIFFWriteDirectory(). 5335 5336 * Enabled "REWRITE_HACK" in tif_write.c by default. 5337 5338 * Fix bug in tif_write.c when switching between reading one directory 5339 and writing to another. 5340 5341 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 5342 5343Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 5344 5345 * Added TIFFmemory(3t) functions to libtiff.def. 5346 5347Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 5348 5349 * Added libtiff/libtiff.def to TIFFILES distribution list. 5350 5351Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 5352 5353 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 5354 5355 * Altered descriptions in tools to reflect "by default" lzw not supported 5356 5357 * Updated index.html to note lzw compression kit. 5358 5359Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 5360 5361 * Added fax3sm_winnt.c to distribution list in Makefile.in. 5362 5363Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 5364 5365 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 5366 5367 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 5368 when LZW compression invoked. 5369 5370 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 5371 in tools to reflect removal of LZW compression 5372 5373Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 5374 5375 * Fixed bug that caused LZW (non) compression to segfault. Added 5376 warning about LZW compression removed being removed, and why. 5377 5378 * Added nostrip to install in tools/Makefile.in so that debugging 5379 symbols are kept. 5380 5381Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 5382 5383 * Added patch from Ivo Penzar <[email protected]>, 5384 supporting Adobe ZIP deflate. Untested. 5385 5386Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 5387 5388 * Made Packbits the default compression in tools/tiff2rgba.c instead 5389 of LZW. 5390 5391Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 5392 5393 * Added tif_luv to contrib/djgpp/Makefile.lib. 5394 5395Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 5396 5397 * Added zip creation to relase makefile target 5398 5399 * Added html for TIFFWriteTile.3t man page. 5400 5401Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 5402 5403 * Added some changes to tif_write.c to support rewriting existing 5404 fixed sized tiles and strips. Code mods disabled by default, only 5405 enabled if REWRITE_HACK is defined for now. 5406 5407Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 5408 5409 * Added TIFFWriteTile.3t man page. 5410 5411Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 5412 5413 * Added notes on use of makefile.vc in build.html, and fixed 5414 email subscription address. 5415 5416199-11-28 Mike Welles <[email protected]> 5417 5418 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 5419 5420 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 5421 from Bruce Carmeron <[email protected]> -- modifications of 5422 changes made by Frank (sun cc still complained on cast). 5423 5424 * Added tiffconf.h to install target per request from Bill 5425 Radcliffe <[email protected]>: "We need a way for ImageMagick to 5426 know features have been compiled into the TIFF library in order to 5427 handle things properly". 5428 5429Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 5430 5431 * fixed various VC++ warnings as suggested by Gilles Vollant 5432 <[email protected]>. 5433 5434Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 5435 5436 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 5437 not imply applications are responsible for image data swapping. 5438 54391999-11-22 Mike Welles <[email protected]> 5440 * HTML-ized the man pages, added to html/man 5441 5442 * Removed LZW Compression to comply with Unisys patent extortion. 5443 54441999-09-29 Mike Welles <[email protected]> 5445 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 5446 From Ivo Penzar <[email protected]. 5447 5448 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 5449 memory mapped files. <[email protected]> 5450 54511999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 5452 * Corrected alpha versioning. 5453 5454 * Removed distinction between alpha and release targets in Makefile.in. 5455 5456 * added release.stamp target, which tags cvs tree, and updates 5457 "RELEASE-DATE" 5458 5459 * added releasediff target, which diffs tree with source as of 5460 date in "RELEASE-DATE" 5461 5462 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 5463 away from alpha/non-alpha distinctions). 5464 5465 * updated html to reflect release 5466 54671999-09-23 <warmerda@CS46980-B> 5468 5469 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 5470 5471 * Added CYGWIN case in configure. 5472 5473Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 5474 5475 * Applied Francois Dagand's patch to handle fax decompression bug. 5476 (sizes >= 65536 were failing) 5477 5478Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 5479 5480 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 5481 by Christopher Lawton <[email protected]> 5482 5483Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 5484 5485 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 5486 Albert Chin-A-Young <[email protected]> 5487 5488 * Added TIFFReassignTagToIgnore() API on behalf of 5489 Bruce Cameron <[email protected]>. Man page still pending. 5490 5491Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 5492 5493 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 5494 files to provide for a rudimentary testsuite. 5495 5496 * Added contrib/tags back from old distribution ... fixed up a bit. 5497 54981999-08-16 <warmerda@CS46980-B> 5499 5500 * Added simple makefile.vc makefiles for building with MS VC++ 5501 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 5502 better solutions for some users. 5503 5504Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 5505 5506 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 5507 put it in tools since part of it is in C++. 5508 55091999-08-16 Michael L. Welles <[email protected]> 5510 5511 * Updated html/index.html with anon CVS instructions. 5512 5513Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 5514 5515 * pre-remove so link before softlink in LINUXdso action in 5516 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 5517 the first. 5518 5519 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 5520 colormaps owned by the TIFF handle itself when trying to fixup wrong 5521 (eight bit) colormaps. Corrected by maintaining a private copy of 5522 the colormap. 5523 5524 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 5525 tif_getimage.c. 5526 5527 * CVS Repository placed at remotesensing.org. ChangeLog added. 5528