12011-04-20 Frank Warmerdam <[email protected]> 2 3 * libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete 4 TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API. 5 http://bugzilla.maptools.org/show_bug.cgi?id=2315 6 7 * libtiff/libtiff.def: add some missing (64bit) APIs. 8 http://bugzilla.maptools.org/show_bug.cgi?id=2316 9 102011-04-09 Bob Friesenhahn <[email protected]> 11 12 * libtiff 4.0.0beta7 released. 13 142011-04-09 Bob Friesenhahn <[email protected]> 15 16 * configure.ac: Should use AC_CANONICAL_HOST since host specifies 17 the run-time target whereas target is used to specify the final 18 output target if the package is a build tool (like a compiler), 19 which libtiff is not. Resolves libtiff bug 2307 "Use 20 AC_CANONICAL_HOST macro". 21 222011-04-02 Bob Friesenhahn <[email protected]> 23 24 * configure.ac: Support configuring TIFF_INT64_FORMAT and 25 TIFF_UINT64_FORMAT appropriately for MinGW32. 26 27 * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32 28 printf conventions for 64-bit types because it uses the WIN32 CRT. 29 30 * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c, 31 tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32 32 printf conventions for 64-bit types because it uses the WIN32 CRT. 33 34 * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not 35 understood by WIN32 CRT. 36 37 * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC. 38 39 * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since 40 it is much more portable. Tmpfile is included in ISO/IEC 41 9899:1990 and the WIN32 CRT. 42 432011-03-26 Frank Warmerdam <[email protected]> 44 45 * tools/tiffset.c: add -d and -sd switches to allow operation on 46 a particular directory, not just the first (jef). 47 482011-03-21 Frank Warmerdam <[email protected]> 49 50 * libtiff/tif_thunder.c: Correct potential buffer overflow with 51 thunder encoded files with wrong bitspersample set. The libtiff 52 development team would like to thank Marin Barbella and TippingPoint's 53 Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004, 54 CVE-2011-1167). 55 http://bugzilla.maptools.org/show_bug.cgi?id=2300 56 572011-03-10 Frank Warmerdam <[email protected]> 58 59 * libtiff/tif_fax3.h: Fix to last change allowing zero length 60 runs at the start of a scanline - needed for legal cases. 61 622011-03-02 Frank Warmerdam <[email protected]> 63 64 * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 65 a move left. Without this, a malicious input file can generate an 66 indefinitely large series of runs without a0 ever reaching the right 67 margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192. 68 This is a modified version of a patch proposed by Drew Yao of Apple 69 Product Security. It adds an unexpected() report, and disallows the 70 equality case, since emitting a run without increasing a0 still allows 71 buffer overrun. 72 732011-02-23 Frank Warmerdam <[email protected]> 74 75 * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296) 76 77 * tools/tiff2rgba.c: close source file on error to make leak 78 detection easier. 79 80 * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails. 81 82 http://bugzilla.maptools.org/show_bug.cgi?id=2295 83 842011-02-22 Frank Warmerdam <[email protected]> 85 86 * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ 87 _SUPPORT) 88 892011-02-18 Frank Warmerdam <[email protected]> 90 91 * configure.ac, configure: Added support for --enable-chunky-strip-read 92 configure option to enable the experimental feature from a couple 93 months ago for reading big strips in chunks. 94 95 * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 96 tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c: 97 Implement optional support for deferring the load of strip/tile 98 offset and size tags for optimized scanning of directories. Enabled 99 with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD 100 #define in tif_config.h). 101 1022011-02-11 Frank Warmerdam <[email protected]> 103 104 * libtiff/tif_print.c: remove unused variable. 105 1062011-02-09 Frank Warmerdam <[email protected]> 107 108 * libtiff/tif_win32.c: avoid error/warning buffer overrun problem 109 with non-console (popup message) builds on win32. 110 111 http://bugzilla.maptools.org/show_bug.cgi?id=2293 112 1132011-01-24 Olivier Paquet <[email protected]> 114 115 * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c, 116 tif_print.c, tiff.h, tiffiop.h} : Added support for 117 TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different 118 values for each sample. Presents the min/max of all samples by default for 119 compatibility. TIFFSetField/TIFFGetField can be made to handle those tags 120 as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag. 121 http://www.asmail.be/msg0055458208.html 122 1232011-01-06 Frank Warmerdam <[email protected]> 124 125 * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 126 maintained. 127 128 * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 129 for CHUNKY_STRIP_READ_SUPPORT. 130 131 * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained 132 during JPEGPreDecode and JPEGDecode calls. 133 * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 134 as compression formats like JPEG keep 16 lines interleaved in a sense 135 and might need to touch quite a bit of data. 136 137 http://trac.osgeo.org/gdal/ticket/3894 138 1392011-01-03 Lee Howard <[email protected]> 140 141 * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images 142 caused by commit on 2010-12-14. Submitted by e-mail from 143 Even Rouault <[email protected]> 144 1452010-12-31 Olivier Paquet <[email protected]> 146 147 * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE. 148 http://bugzilla.maptools.org/show_bug.cgi?id=2266 149 1502010-12-23 Andrey Kiselev <[email protected]> 151 152 * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the 153 compression level parameter (preset) for Deflate and LZMA encoders, 154 e.g "-c lzma:p1" or "-c zip:p9". 155 156 * libtiff/tif_lzma.c: Properly set the LZMA2 compression level 157 (preset) in LZMAVSetField(). 158 1592010-12-18 Bob Friesenhahn <[email protected]> 160 161 * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to 162 Makefile. 163 1642010-12-14 Andrey Kiselev <[email protected]> 165 166 * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h, 167 tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new 168 TIFF compression scheme LZMA reserving a new value 34925 for 169 Compression tag. As per 170 bug http://bugzilla.maptools.org/show_bug.cgi?id=2221 171 1722010-12-14 Lee Howard <[email protected]> 173 174 * libtiff/tif_dirread.c: tolerate some cases where 175 FIELD_COLORMAP is missing 176 http://bugzilla.maptools.org/show_bug.cgi?id=2189 177 1782010-12-14 Lee Howard <[email protected]> 179 180 * libtiff/tif_read.c: change read_ahead to tmsize_t 181 http://bugzilla.maptools.org/show_bug.cgi?id=2222 182 1832010-12-14 Lee Howard <[email protected]> 184 185 * configure.ac, libtiff/Makefile.am: Build tif_win32.c on 186 Windows except on Cygwin 187 http://bugzilla.maptools.org/show_bug.cgi?id=2224 188 1892010-12-14 Lee Howard <[email protected]> 190 191 * tools/gif2tiff.c: fix buffer overrun 192 http://bugzilla.maptools.org/show_bug.cgi?id=2270 193 1942010-12-14 Lee Howard <[email protected]> 195 196 * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order 197 to improve compatibility with various viewers 198 submitted by e-mail from Dwight Kelly <[email protected]> 199 2002010-12-13 Lee Howard <[email protected]> 201 202 * tools/fax2ps.c: be consistent with page-numbering 203 http://bugzilla.maptools.org/show_bug.cgi?id=2225 204 2052010-12-13 Lee Howard <[email protected]> 206 207 * libtiff/tif_color.c: prevent crash in handling bad TIFFs 208 resolves CVE-2010-2595 209 http://bugzilla.maptools.org/show_bug.cgi?id=2208 210 2112010-12-13 Lee Howard <[email protected]> 212 213 * tools/tiffcrop.c: new release by Richard Nolde 214 http://bugzilla.maptools.org/show_bug.cgi?id=2004 215 2162010-12-12 Lee Howard <[email protected]> 217 218 * tools/tiff2pdf.c: fix colors for images with RGBA 219 interleaved data 220 http://bugzilla.maptools.org/show_bug.cgi?id=2250 221 2222010-12-12 Lee Howard <[email protected]> 223 224 * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files 225 http://bugzilla.maptools.org/show_bug.cgi?id=2164 226 2272010-12-11 Lee Howard <[email protected]> 228 229 * tools/tiff2pdf.c: remove invalid duplication for Lab 230 http://bugzilla.maptools.org/show_bug.cgi?id=2162 231 2322010-12-11 Lee Howard <[email protected]> 233 234 * libtiff/tif_jpeg.c: fix use of clumplines calculation 235 http://bugzilla.maptools.org/show_bug.cgi?id=2149 236 2372010-12-11 Lee Howard <[email protected]> 238 239 * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp() 240 http://bugzilla.maptools.org/show_bug.cgi?id=2118 241 2422010-12-11 Lee Howard <[email protected]> 243 244 * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c, 245 libtiff/tif_zip.c: fix build errors for VC6 246 http://bugzilla.maptools.org/show_bug.cgi?id=2105 247 2482010-12-11 Lee Howard <[email protected]> 249 250 * libtiff/tif_stream.cxx: warnings cleanup 251 http://bugzilla.maptools.org/show_bug.cgi?id=2091 252 * libtiff/tif_dirread.c: warnings cleanup 253 http://bugzilla.maptools.org/show_bug.cgi?id=2092 254 2552010-12-11 Lee Howard <[email protected]> 256 257 * tools/tiff2pdf.c: add fill-page option 258 http://bugzilla.maptools.org/show_bug.cgi?id=2051 259 2602010-12-11 Lee Howard <[email protected]> 261 262 * libtiff/tif_dirread.c: modify warnings 263 http://bugzilla.maptools.org/show_bug.cgi?id=2016 264 2652010-12-11 Lee Howard <[email protected]> 266 267 * libtiff/tif_ojpeg.c: fix buffer overflow on problem data 268 http://bugzilla.maptools.org/show_bug.cgi?id=1999 269 2702010-12-11 Lee Howard <[email protected]> 271 272 * tools/tiffinfoce.c: strip byte counts are uint64* now 273 2742010-12-11 Lee Howard <[email protected]> 275 276 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero 277 or missing byte-count tag 278 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count 279 per http://bugzilla.maptools.org/show_bug.cgi?id=1996 280 2812010-12-08 Lee Howard <[email protected]> 282 283 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed 284 TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994 285 2862010-12-06 Lee Howard <[email protected]> 287 288 * libtiff/tif_open.c: Fix mode check before opening a file. 289 http://bugzilla.maptools.org/show_bug.cgi?id=1906 290 2912010-11-27 Bob Friesenhahn <[email protected]> 292 293 * libtiff-4.pc.in: Added libtiff pkg-config .pc file support. 294 Patch by Vincent Torri. 295 2962010-10-21 Frank Warmerdam <[email protected]> 297 298 * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler. 299 300 * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf. 301 302 * libtiff/libtiff.def: export _TIFFCheckMalloc for tools. 303 3042010-09-25 Lee Howard <[email protected]> 305 306 * tools/tiff2ps.c: improvements and enhancements from Richard Nolde 307 with additional command line options for Document Title, 308 Document Creator, and Page Orientation 309 3102010-07-13 Bob Friesenhahn <[email protected]> 311 312 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 313 potentially unterminated buffer due to using an exceptionally long 314 file name. 315 3162010-07-08 Andrey Kiselev <[email protected]> 317 318 * tools/tiff2pdf.c: Fixed ID buffer filling in 319 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 320 3212010-07-07 Andrey Kiselev <[email protected]> 322 323 * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 324 to expected value as the warning message suggests. As per bug 325 http://bugzilla.maptools.org/show_bug.cgi?id=1963 326 3272010-07-06 Andrey Kiselev <[email protected]> 328 329 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 330 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 331 which should be set by value. 332 333 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 334 and _TIFFFieldWithName() if the tag is not found in the tag table. 335 This should be normal situation and returned NULL value should be 336 properly handled by the caller. 337 3382010-07-02 Andrey Kiselev <[email protected]> 339 340 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 341 integer type conversions. As per bug 342 http://bugzilla.maptools.org/show_bug.cgi?id=2207 343 344 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 345 WhitePoint tag as per bug 346 http://bugzilla.maptools.org/show_bug.cgi?id=2042 347 348 * libtiff/tif_getimage.c: Check the number of samples per pixel when 349 working with YCbCr image in PickContigCase(). As per bug 350 http://bugzilla.maptools.org/show_bug.cgi?id=2216 351 352 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 353 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 354 we don't need any post-processing. That helps to reset the hook if we 355 previously set this field to some other value and the hook was 356 initialized accordingly. As per bug 357 http://bugzilla.maptools.org/show_bug.cgi?id=2035 358 3592010-07-01 Andrey Kiselev <[email protected]> 360 361 * tools/tiffgt.c: Properly check the raster buffer allocations for 362 integer overflows. As per bug 363 http://bugzilla.maptools.org/show_bug.cgi?id=2108 364 365 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 366 upstream. 367 368 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 369 multiply_32() and multiply_64() functions into tif_aux.c file and 370 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 371 3722010-06-30 Andrey Kiselev <[email protected]> 373 374 * tools/tiff2pdf.c: Better generation of ID field in 375 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 376 377 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 378 converting JPEG encoded tiles. 379 380 * tools/tiff2pdf.c: Better handling of string fields, use static 381 string buffers instead of dynamically allocated, use strncpy() instead 382 of strcpy(), control the string lengths. 383 3842010-06-25 Andrey Kiselev <[email protected]> 385 386 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 387 referencing to uninitialized memory in some cases (e.g. when tile size 388 set bigger than the image size). 389 3902010-06-15 Bob Friesenhahn <[email protected]> 391 392 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 393 subsampled data since tiffcrop currently doesn't support it. Fix 394 JPEG support. 395 3962010-06-13 Frank Warmerdam <[email protected]> 397 398 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 399 400 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 401 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 402 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 403 size is larger. Also, there are a bunch of places that try to 404 memset() a malloc'd buffer before checking for malloc failure, which 405 would result in core dump if there actually were a failure. (#2211) 406 4072010-06-11 Bob Friesenhahn <[email protected]> 408 409 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 410 avoid compiler warnings if parameter types are not sign 411 consistent. 412 413 * libtiff 4.0.0alpha6 released. 414 415 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 416 European page size dimensions. Added an option to allow the user 417 to specify a custom page size on the command line. Fix the case 418 where a page size specified with a fractional part was being 419 coerced to an integer by retyping the variables that define the 420 paper size. 421 422 * html/index.html: Update for the 3.9.3 release. 423 424 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 425 YCbCr subsampled data since tiffcp currently doesn't support it. 426 http://bugzilla.maptools.org/show_bug.cgi?id=2097 427 428 * Update libtool to version 2.2.10. 429 4302010-06-10 Bob Friesenhahn <[email protected]> 431 432 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 433 multiplier is zero. 434 4352010-06-09 Bob Friesenhahn <[email protected]> 436 437 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 438 CVE-2010-1411 was not complete. 439 440 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 441 multiply two integers. Returns zero if there is an integer 442 overflow. 443 444 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 445 is reported when reading the input file. 446 4472010-06-08 Bob Friesenhahn <[email protected]> 448 449 * Update libtool to version 2.2.8. 450 451 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 452 buffer due to integer overflow in TIFFroundup() and several other 453 potential overflows. In conjunction with the fix to TIFFhowmany(), 454 fixes CVE-2010-1411. 455 456 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 457 result in an integer overflow. This causes TIFFroundup() to also 458 return zero if there would be an integer overflow. 459 460 * contrib: Add an emacs formatting mode footer to all source files 461 so that emacs can be effectively used. 462 4632010-06-03 Oliver Chen Feng <[email protected]> 464 465 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 466 file PAGENUMBER value in sequence for users who care the page 467 sequence, this will also prevent tiff2pdf from creating pdf file from 468 the merged tiff file with wrong page sequence. 469 4702010-05-08 Olivier Paquet <[email protected]> 471 472 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 473 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 474 * libtiff/tif_dirinfo.c: Use correct set_field_type for 475 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 476 http://bugzilla.maptools.org/show_bug.cgi?id=2192 477 4782010-05-07 Frank Warmerdam <[email protected]> 479 480 * libtiff/tif_jpeg.c: Ensure that quality is always set in 481 JPEGPreEncode(), not just when we want to output local tables. 482 Otherwise the quality used during compression may not be right and 483 might not match the tables in the tables tag. This bug only occurs 484 when seeking between directories in the midst of writing blocks. 485 http://trac.osgeo.org/gdal/ticket/3539 486 4872010-05-06 Andrey Kiselev <[email protected]> 488 489 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 490 Regenerated from the source. 491 4922010-05-05 Olivier Paquet <[email protected]> 493 494 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 495 had stopped working. Also made it always print 6 floats instead of 496 2*SamplesPerPixel. 497 http://bugzilla.maptools.org/show_bug.cgi?id=2191 498 http://bugzilla.maptools.org/show_bug.cgi?id=2186 499 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 500 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 501 5022010-05-05 Frank Warmerdam <[email protected]> 503 504 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 505 if the jpeg table was written. This is a fix for the last fix on 04-21. 506 5072010-04-21 Frank Warmerdam <[email protected]> 508 509 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 510 JPEGSetupEncode() is called if the tables already seem to be 511 established. This prevents spurious updates and rewriting of 512 directories with jpegtables when doing updates to existing images. 513 http://trac.osgeo.org/gdal/ticket/3539 514 5152010-04-20 Olivier Paquet <[email protected]> 516 517 * libtiff/tif_dirinfo.c: Use correct set_field_type for 518 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 519 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 520 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 521 http://bugzilla.maptools.org/show_bug.cgi?id=2139 522 5232010-04-10 Bob Friesenhahn <[email protected]> 524 525 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 526 when the tag count value is zero. Error handling is still a 527 regression since in 3.9.2, empty tags are skipped (with a warning) 528 rather than returning a hard error and refusing to read the file. 529 530 * tools/ppm2tiff.c (main): While case for parsing comment line 531 requires extra parenthesis to work as expected. Reported by 532 Thomas Sinclair. 533 5342010-04-02 Frank Warmerdam <[email protected]> 535 536 * libtiff/tif_read.c (primarily): Add support for 537 CHUNKY_STRIP_READ_SUPPORT where large strips are 538 read in chunks for applications using TIFFReadScanline(). 539 This is intended to make it more practical work with very 540 large compressed one-strip files. Feature is off by default. 541 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 542 http://trac.osgeo.org/gdal/ticket/3514 543 5442010-03-31 Frank Warmerdam <[email protected]> 545 546 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 547 directories so previously placed directories will be migrated to 548 the end of file if needed. 549 5502010-03-30 Frank Warmerdam <[email protected]> 551 552 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 553 to support operating on strips/tiles of more than 256MB. 554 http://trac.osgeo.org/gdal/ticket/3512 555 5562010-03-10 Bob Friesenhahn <[email protected]> 557 558 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 559 that it is clearly a memory allocation error message, and also 560 includes the size of the allocation request. 561 5622010-02-22 Lee Howard <[email protected]> 563 564 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 565 the JPEG TIFF as is is not required in order to prevent it from 566 being unused and filled with invalid data. (Leave it to be 567 generated by later activity.) 568 http://bugzilla.maptools.org/show_bug.cgi?id=2135 569 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 570 data rather than skipping them. This fixes the ability to view in 571 Acrobat Reader, Evince, and Ghostscript. 572 http://bugzilla.maptools.org/show_bug.cgi?id=2135 573 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 574 strips. 575 http://bugzilla.maptools.org/show_bug.cgi?id=2029 576 5772009-12-03 Frank Warmerdam <[email protected]> 578 579 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 580 Made so that when working with downsampled images a stub function 581 reporting an error is used for tif_decoderow. We cannot meaningfully 582 support reading scanlines in this situation. (#1936) 583 584 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 585 resetting of the upsampling values (gdal:#3259). 586 http://bugzilla.maptools.org/show_bug.cgi?id=1936 587 5882009-11-30 Frank Warmerdam <[email protected]> 589 590 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 591 tools/ras2tiff.c: Fix resource leaks on error. 592 http://bugzilla.maptools.org/show_bug.cgi?id=2121 593 594 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 595 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 596 of as a custom(generic) field to avoid a potential reentrancy problem. 597 http://bugzilla.maptools.org/show_bug.cgi?id=2125 598 599 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 600 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 601 const, and display_sRGB static and const. 602 http://bugzilla.maptools.org/show_bug.cgi?id=2124 603 6042009-11-04 Bob Friesenhahn <[email protected]> 605 606 * libtiff 4.0.0alpha5 released. 607 6082009-11-03 Bob Friesenhahn <[email protected]> 609 610 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 611 version has undergone substantial testing with arbitrary sample 612 bit depths. Also eliminates GCC compilation warnings. 613 6142009-11-02 Bob Friesenhahn <[email protected]> 615 616 * port/libport.h: Add extern declarations for getopt standard 617 globals. 618 6192009-10-31 Bob Friesenhahn <[email protected]> 620 621 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 622 noticed in 64-bit build of libtiff with Visual Studio 2005. 623 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 624 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 625 626 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 627 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 628 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 629 http://bugzilla.maptools.org/show_bug.cgi?id=2068 630 6312009-10-29 Bob Friesenhahn <[email protected]> 632 633 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 634 pointer" warnings. 635 6362009-10-28 Bob Friesenhahn <[email protected]> 637 638 * html/tools.html: Add manual page links, and a summary 639 description of tiffcrop. 640 6412009-10-07 Bob Friesenhahn <[email protected]> 642 643 * configure.ac: x86_64 should use the same fill order as i386. 644 6452009-09-24 Bob Friesenhahn <[email protected]> 646 647 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 648 Nolde. Major updates to add significant functionality for reading 649 and writing tile based images with bit depths not a multiple of 8 650 which cannot be handled by tiffcp. 651 6522009-09-03 Bob Friesenhahn <[email protected]> 653 654 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 655 do_fancy_upsampling=FALSE in order to read raw data. Resolves 656 "Bug 2090 - OJPEG crash with libjpeg v7". 657 http://bugzilla.maptools.org/show_bug.cgi?id=2090 658 6592009-09-03 Frank Warmerdam <[email protected]> 660 661 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 662 interface when stoponerror is set. 663 http://bugzilla.maptools.org/show_bug.cgi?id=2071 664 6652009-08-30 Bob Friesenhahn <[email protected]> 666 667 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 668 fix build with gcc when using the "-Wformat 669 -Werror=format-security" flags. 670 6712009-08-29 Bob Friesenhahn <[email protected]> 672 673 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 674 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 675 utilities tests. 676 6772009-08-28 Bob Friesenhahn <[email protected]> 678 679 * tools/tiffinfo.c: tiffinfo should return error status to the 680 caller. Register a private error callback to accomplish that. 681 682 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 683 PNM formats so that we will be able to test more of the tools. 684 While adding these test images I notice that bmp2tiff and gif2tiff 685 only support ancient versions of their respective formats. 686 6872009-08-27 Bob Friesenhahn <[email protected]> 688 689 * libtiff 4.0.0alpha4 released. 690 691 * HOWTO-RELEASE: Improved release instructions. 692 6932009-08-24 Bob Friesenhahn <[email protected]> 694 695 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 696 fixes for "Bug 2023 - nroff errors in manual pages". 697 http://bugzilla.maptools.org/show_bug.cgi?id=2023 698 699 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 700 CVE-2009-2347 libtiff: integer overflows in various inter-color 701 space conversion tools". 702 http://bugzilla.maptools.org/show_bug.cgi?id=2079 703 704 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 705 Berkenbilt for "Bug 2024 - possible null pointer dereference with 706 one-line fix". 707 http://bugzilla.maptools.org/show_bug.cgi?id=2024 708 709 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 710 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 711 segfault after setting tdir_tag = IGNORE". 712 http://bugzilla.maptools.org/show_bug.cgi?id=1895 713 7142009-08-23 Bob Friesenhahn <[email protected]> 715 716 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 717 tiffcrop.sh into a collection of many specific tests. Re-wrote 718 all of the existing tests to be based on some simple shell 719 functions. Make distcheck works again. 720 721 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 722 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 723 tests under valgrind. 724 7252009-08-21 Bob Friesenhahn <[email protected]> 726 727 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 728 build. 729 730 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 731 actually activated since it needed to be enabled in this 732 Makefile.am. Also activated parallel-tests mode since it offers 733 useful features such as per-test .log files and a summary test 734 report .log file. 735 7362009-08-20 Bob Friesenhahn <[email protected]> 737 738 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 739 libtool 2.2.6. Enabled support for silent build rules 740 (--enable-silent-rules or 'make V=0') and colorized tests. 741 742 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 743 7442009-06-30 Frank Warmerdam <[email protected]> 745 746 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 747 748 * tools/tiffcp.c: add -c sgilog support. 749 750 * libtiff/tif_luv.c: correct return codes from encoderow to be 751 1 on success instead of zero. 752 http://bugzilla.maptools.org/show_bug.cgi?id=2069 753 754 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 755 #1085 for a better underflow fix that errors properly. 756 http://bugzilla.maptools.org/show_bug.cgi?id=2065 757 http://bugzilla.maptools.org/show_bug.cgi?id=1985 758 7592009-06-26 Frank Warmerdam <[email protected]> 760 761 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 762 fails on oddly sized 12bit jpeg compressed ycbcr images. 763 7642009-06-22 Frank Warmerdam <[email protected]> 765 766 * libtiff/tif_lzw.c: Fix buffer underflow bug. 767 http://bugzilla.maptools.org/show_bug.cgi?id=2065 768 7692009-06-21 Frank Warmerdam <[email protected]> 770 771 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 772 for dual mode 8/12 bit jpeg support. 773 7742009-06-03 Frank Warmerdam <[email protected]> 775 776 * libtiff/tif_write.c: do not override the planar configuration to be 777 contig for one sample files if planar configuration is already set. 778 http://bugzilla.maptools.org/show_bug.cgi?id=2057 779 7802009-06-02 Frank Warmerdam <[email protected]> 781 782 * libtiff/libtiff.def: Add TIFFUnsetField. 783 7842009-05-03 Frank Warmerdam <[email protected]> 785 786 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 787 error reports to use "%s" as format string. 788 http://trac.osgeo.org/gdal/ticket/2976 789 7902009-03-12 Frank Warmerdam <[email protected]> 791 792 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 793 for some codecs (#2020). 794 7952009-02-12 Frank Warmerdam <[email protected]> 796 797 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 798 http://bugzilla.maptools.org/show_bug.cgi?id=2005 799 8002009-02-09 Frank Warmerdam <[email protected]> 801 802 * libtiff/tif_dirread.c: Improve allocation safety when allocated 803 buffer for large tags. (#1998) Related to (#1993) 804 8052009-02-06 Frank Warmerdam <[email protected]> 806 807 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 808 test suite should pass. 809 8102009-02-05 Frank Warmerdam <[email protected]> 811 812 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 813 but at the 2GB boundary to avoid overflow on 32bit systems. 814 http://bugzilla.maptools.org/show_bug.cgi?id=1993 815 816 * libtiff/tif_dirread.c: Remove some assertions that blow due to 817 corrupt files rather than in response to library internal 818 inconsistencies. 819 http://bugzilla.maptools.org/show_bug.cgi?id=1995 820 http://bugzilla.maptools.org/show_bug.cgi?id=1991 821 822 * libtiff/tif_dirread.c: Fixed testing for failed result from 823 TIFFReadDirectoryFindFieldInfo(). 824 http://bugzilla.maptools.org/show_bug.cgi?id=1992 825 8262009-01-23 Frank Warmerdam <[email protected]> 827 828 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 829 http://bugzilla.maptools.org/show_bug.cgi?id=1911 830 831 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 832 833 http://bugzilla.maptools.org/show_bug.cgi?id=1924 834 835 * tools/tiffcrop.c: initialize xres/yres values. 836 837 * test/*.sh - default ${srcdir} to local directory. 838 839 * test/common.sh - start verbose mode after common settings. 840 841 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 842 avoid type mismatches on different platforms. 843 http://bugzilla.maptools.org/show_bug.cgi?id=1889 844 8452009-01-22 Frank Warmerdam <[email protected]> 846 847 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 848 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 849 850 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 851 defined, primarily to reduce prototype warnings on windows. 852 853 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 854 about unused parameters, and uninitialized variables. 855 8562009-01-21 Bob Friesenhahn <[email protected]> 857 858 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 859 order to trace full execution detail while executing the test suite. 860 8612009-01-20 Frank Warmerdam <[email protected]> 862 863 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 864 8652009-01-20 Bob Friesenhahn <[email protected]> 866 867 * test/Makefile.am (CLEANFILES): Make sure that test output files 868 are removed by 'make clean' 869 870 * Update autotools for 4.0.0 beta3 871 872 * 4.0.0 beta3 produced. 873 8742009-01-12 Bob Friesenhahn <[email protected]> 875 876 * test/tiffcrop.sh: New test script for tiffcrop from Richard 877 Nolde. 878 879 * tools/tiff2ps.c: Remove spurious message to stderr. 880 8812009-01-11 Bob Friesenhahn <[email protected]> 882 883 * tools/tiff2ps.c: Incorporated significant functionality update 884 from Richard Nolde. In particular, support for rotating the image 885 by 90, 180, 270, and 'auto' has been added. 886 887 * man/tiffcrop.1: Incorporated documentation updates from Richard 888 Nolde. 889 890 * tools/tiffcrop.c: Incorporated significant functionality update 891 from Richard Nolde. 892 8932008-12-31 Bob Friesenhahn <[email protected]> 894 895 * libtiff/tiffio.h: GCC will now validate format specifications 896 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 897 TIFFWarningExt() in order to reveal bugs. 898 899 * Many fixes throughout to work better as a 64-bit build. 900 9012008-12-30 Bob Friesenhahn <[email protected]> 902 903 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 904 tags now require 64-bit parameter rather than 32-bit. 905 906 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 907 64-bit values. 908 909 * tools/thumbnail.c: Eliminate crash noticed while running test 910 suite. 911 9122008-12-29 Bob Friesenhahn <[email protected]> 913 914 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 915 Initialize stack variables to avoid compiler warning. 916 917 * tools/tiffinfoce.c (main): Use toff_t for offset type when 918 retrieving offset of EXIF IFD. 919 920 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 921 TIFFClientOpen() callback and other external function definitions. 922 923 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 924 type now. Fixes crash when dumping files containing an EXIF IFD. 925 926 * m4/libtool.m4: Update to libtool 2.2.6. 927 9282008-12-21 Frank Warmerdam <[email protected]> 929 930 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 931 932 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 933 strip for the last partial strip in a jpeg compressed file. 934 http://bugzilla.maptools.org/show_bug.cgi?id=1981 935 9362008-10-29 Frank Warmerdam <[email protected]> 937 938 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 939 we take the shortcut to only update the strip/tile offsets in place. 940 http://trac.osgeo.org/gdal/ticket/2621 941 9422008-10-21 Andrey Kiselev <[email protected]> 943 944 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 945 the older versions retained). 946 9472008-10-09 Frank Warmerdam <[email protected]> 948 949 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 950 IPP enabled version of libjpeg from Intel. 951 http://bugzilla.maptools.org/show_bug.cgi?id=1951 952 9532008-09-05 Andrey Kiselev <[email protected]> 954 955 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 956 Required for libtiff 4.0. 957 958 * tools/tiffsplit.c: Use dynamically allocated array instead of static 959 when constructing output file names. 960 9612008-09-03 Andrey Kiselev <[email protected]> 962 963 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 964 doing the filename/path construction. 965 966 * tools/tiff2pdf.c: More appropriate format string in 967 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 968 969 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 970 971 http://bugzilla.maptools.org/show_bug.cgi?id=1929 972 973 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 974 CVE-2008-2327 security issue. 975 9762008-09-01 Frank Warmerdam <[email protected]> 977 978 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 979 980 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 981 depending on whether the file is bigtiff or classic tiff. 982 http://bugzilla.maptools.org/show_bug.cgi?id=1917 983 9842008-08-12 Edward Lam <[email protected]> 985 986 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 987 consistent (__int64) casting when testing if _lseeki64 has 988 successfully seeked as requested. This is necessary for large 989 file support to work since off_t is only 32-bit. 990 9912008-07-29 Frank Warmerdam <[email protected]> 992 993 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 994 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 995 with control logic to return runtime errors (c/o Even Rouault) (#1927). 996 9972008-06-17 Frank Warmerdam <[email protected]> 998 999 * tools/tiffcrop.c: Fix some portability problems. 1000 1001 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 1002 used in tif_jpeg.c. 1003 1004 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 1005 as TIFFOpen(). 1006 10072008-06-01 Frank Warmerdam <[email protected]> 1008 1009 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 1010 like Sparc/Solaris. 1011 http://bugzilla.maptools.org/show_bug.cgi?id=1892 1012 10132008-05-27 Frank Warmerdam <[email protected]> 1014 1015 * libtiff.def: Add TIFFFindField 1016 http://bugzilla.maptools.org/show_bug.cgi?id=1891 1017 10182008-05-26 Frank Warmerdam <[email protected]> 1019 1020 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 1021 1022 * li2008-04-15 Andrey Kiselev <[email protected]> 1023 1024btiff/tif_win32.c: Replace custom Win32 memory api with generic 1025 POSIX one. No apparent value to use of GlobalAlloc() in the modern 1026 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 1027 1028 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 1029 in windows version (care of Edward Lam). 1030 10312008-05-24 Frank Warmerdam <[email protected]> 1032 1033 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 1034 compression codec codes. 1035 1036 * tif_dirwrite.c: fix potential memory leak. 1037 1038 * tif_dirread.c: Fix unchecked malloc result. 1039 10402008-05-24 Bob Friesenhahn <[email protected]> 1041 1042 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 1043 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 1044 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 1045 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 1046 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 1047 suggestions from Lee Howard posted to the tiff list on 13 Sep 1048 2007. 1049 10502008-05-23 Frank Warmerdam <[email protected]> 1051 1052 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 1053 possible runtime problem reported by coverity. 1054 1055 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 1056 1057 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 1058 http://bugzilla.maptools.org/show_bug.cgi?id=1888 1059 1060 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 1061 1062 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 1063 1064 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 1065 Cleanup scanline allocation to avoid coverity warning. 1066 1067 * tools/thumbnail.c: Check for TIFFOpen() failure. 1068 10692008-05-18 Frank Warmerdam <[email protected]> 1070 1071 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 1072 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 1073 why this is needed. 1074 10752008-05-09 Bob Friesenhahn <[email protected]> 1076 1077 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 1078 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 1079 10802008-04-15 Andrey Kiselev <[email protected]> 1081 1082 * test/: Test suite updated. Everything is passed now. 1083 1084 * libtiff/tif_dirinfo.c: Fixed description of the 1085 TIFFTAG_NUMBEROFINKS tag. 1086 10872008-04-14 Andrey Kiselev <[email protected]> 1088 1089 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 1090 Get rid of some of "dereferencing type-punned" warnings by converting 1091 tdir_offset field of TIFFDirEntry structure into union. 1092 10932008-04-10 Andrey Kiselev <[email protected]> 1094 1095 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 1096 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 1097 from the public interface. Type of its 'count' parameter changed 1098 from uint32 to tmsize_t. 1099 1100 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 1101 of the tiff structure have the size_t type instead of uint32. 1102 11032008-04-09 Andrey Kiselev <[email protected]> 1104 1105 * tools/tiffdump.c: Added support for MSVS 6.0. 1106 1107 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 1108 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 1109 point values on MSVS 6.0 platform. 1110 11112008-03-14 Frank Warmerdam <[email protected]> 1112 1113 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 1114 TIFFReadDirEntryArray() since they are interfering with seemingly 1115 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 1116 11172008-02-09 Joris Van Damme <[email protected]> 1118 1119 * tif_dirread.c: Added handling for the case of number of values for 1120 PageNumber tag different from 2 (previously resulted in an assert 1121 indicating lack of handling and was forgotten about) 1122 11232008-02-01 Frank Warmerdam <[email protected]> 1124 1125 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 1126 the actual jpeg data stream if the first strip/tile has zero size. 1127 This is the case when GDAL creates a new file with zero sizes, closes 1128 and reopens it. 1129 11302008-01-07 Frank Warmerdam <[email protected]> 1131 1132 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 1133 11342008-01-01 Frank Warmerdam <[email protected]> 1135 1136 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 1137 1138 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 1139 targets. 1140 1141 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 1142 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 1143 (x64). 1144 1145 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 1146 and TIFFFieldWithName() now return TIFFField pointers instead of 1147 TIFFFieldInfo pointers. 1148 1149 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 1150 exist. This makes it compile again on Windows 1151 1152 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 1153 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 1154 1155 * test/rewrite_tag.c: New test for TIFFRewriteField(). 1156 11572007-12-31 Frank Warmerdam <[email protected]> 1158 1159 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 1160 rewrites one field "on disk" updating an existing directory 1161 entry. Lots of limitations still... 1162 1163 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 1164 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 1165 the strip offset/size values are dirty but nothing else about the 1166 directory is dirty. In flush handle "just stripmaps dirty" as a 1167 special case that just rewrites these values without otherwise 1168 modifying the directory on disk using TIFFRewriteField(). 1169 1170 We also modify logic so that in update mode the directory is not 1171 marked dirty on read, but only when something is changed. This 1172 means we need to keep track of updates to the stripmap stuff in 1173 TIFFAppendToStrip(). 1174 11752007-12-10 Frank Warmerdam <[email protected]> 1176 1177 * tif_jpeg.c: Improve ability to switch between encoding and decoding 1178 in the jpeg code (gdal bug #2033). 1179 11802007-11-23 Frank Warmerdam <[email protected]> 1181 1182 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 1183 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 1184 rawcp/rawcc buffer are for writing and thus may require flushing. 1185 Necessary to distinguish whether they need to be written to disk when 1186 in mixed read/write mode and doing a mixture of writing followed by 1187 reading. http://trac.osgeo.org/gdal/ticket/1758 1188 11892007-11-23 Andrey Kiselev <[email protected]> 1190 1191 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 1192 from Alexey Chupahin. 1193 11942007-11-02 Frank Warmerdam <[email protected]> 1195 1196 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 1197 establishing if an existing tile can be rewritten to the same location 1198 by comparing the current size to all the other blocks in the same 1199 directory. This is dangerous in many situations and can easily 1200 corrupt a file. (observed in esoteric GDAL situation that's hard to 1201 document). This change involves leaving the stripbytecount[] values 1202 unaltered till TIFFAppendToStrip(). Now we only write a block back 1203 to the same location it used to be at if the new data is the same 1204 size or smaller - otherwise we move it to the end of file. 1205 1206 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 1207 data when writing the directory just because we have BEENWRITING at 1208 some point in the past. This was causing odd junk to be written out 1209 in a tile of data when a single tile had an interleaving of reading 1210 and writing with reading last. (highlighted by gdal 1211 autotest/gcore/tif_write.py test 7. 1212 1213 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 1214 modifying callers buffer. 1215 http://trac.osgeo.org/gdal/ticket/1965 1216 1217 * tif_predict.c/h: more fixes related to last item, keeping a 1218 distinct pfunc for encode and decode cases as these were getting 1219 mixed up sometimes. 1220 http://trac.osgeo.org/gdal/ticket/1948 1221 12222007-11-01 Frank Warmerdam <[email protected]> 1223 1224 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 1225 predictor based encoding and decoding works in read-write update 1226 mode properly. 1227 http://trac.osgeo.org/gdal/ticket/1948 1228 12292007-10-24 Joris Van Damme <[email protected]> 1230 1231 * tif_dirread.c: Fixed problem with bogus file triggering 1232 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 1233 ChopUpSingleUncompressedStrip 1234 12352007-10-22 Joris Van Damme <[email protected]> 1236 1237 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 1238 at best, access violation at worst, when subsampled JPEG compressed imagery 1239 is decoded without the JPEG_COLORMODE feature 1240 12412007-10-11 Frank Warmerdam <[email protected]> 1242 1243 * html/index.html: Update "people responsible" section. 1244 12452007-10-05 Frank Warmerdam <[email protected]> 1246 1247 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 1248 as reported on the mailing list. 1249 12502007-10-01 Joris Van Damme <[email protected]> 1251 1252 * changed some more incorrect %lud printf flags to %lu 1253 12542007-09-29 Joris Van Damme <[email protected]> 1255 1256 * tif_dirread.c: Strip chopping interfered badly with uncompressed 1257 subsampled images because it tried to divide subsampled rowblocks, 1258 leading to all sorts of errors throughout the library for these 1259 images. Fixed by making strip chopping divide in row counts that 1260 are a multiple of vertical subsampling value. 1261 12622007-09-28 Joris Van Damme <[email protected]> 1263 1264 * tif_dirread.c: Logical cast working around compiler warning 1265 1266 * tif_read.c: Correction of some error flags and parameter lists 1267 12682007-09-27 Joris Van Damme <[email protected]> 1269 1270 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 1271 when dealing with large bitspersample values, shutting up purification 1272 tools that warn about truncation, though it remains incorrect and 1273 indicates a conceptual problem there. 1274 1275 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 1276 of first IFD) to proper place because it badly interfered with memory 1277 mapping, resulting in mapping flag even with dummy mapping functions 1278 that returned 0 whilst at the same time the mapping tif_size wasn't 1279 set, thus resulting in continuous incorrect beyond-eof errors. 1280 12812007-09-24 Joris Van Damme <[email protected]> 1282 1283 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 1284 inconsistent use of const in tiffFields and exifFields definition 1285 12862007-09-20 Frank Warmerdam <[email protected]> 1287 1288 * tif_dirwrite.c: Always write tile/strip offsets and sizes 1289 using LONG8 type when output format is BigTIFF. The 1290 TIFFWriteDirectoryTagLongLong8Array() function was restructured 1291 accordingly. 1292 1293 * tif_dirread.c: Improvements to error reporting text in 1294 TIFFFetchDirectory(). 1295 12962007-09-19 Bob Friesenhahn <[email protected]> 1297 1298 * test/images: Added a small collection of test images for use by 1299 test programs and scripts. 1300 * test/tiffinfo.sh: A trivial example test script. 1301 * test/common.sh: Added small script for setting the environment 1302 used by script-based tests. 1303 13042007-08-24 Frank Warmerdam <[email protected]> 1305 1306 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 1307 zero when writing directory contents to preserve the ability to 1308 rewrite directories in place, even in the middle of a directory 1309 chain. 1310 1311 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 1312 definitions that are missing. Existing definitions are silently 1313 ignored. 1314 1315 * tif_dirread.c: Add runtime error for fields for which no definition 1316 is found (in addition to an assert for developers) in 1317 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 1318 prudent. 1319 13202007-08-10 Joris Van Damme <[email protected]> 1321 1322 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 1323 from _TIFFRGBAImage structure to revert unwanted ABI change. 1324 13252007-08-10 Joris Van Damme <[email protected]> 1326 1327 * libtiff/tif_win32.c: use SetFilePointer instead of 1328 SetFilePointerEx, as per bug 1329 1330 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 1331 13322007-07-19 Andrey Kiselev <[email protected]> 1333 1334 * libtiff/tif_stream.cxx: Put all callback functions declarations 1335 inside extern "C" block. 1336 1337 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 1338 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 1339 formatter instead of "%lld" with MSVC compiler. 1340 1341 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 1342 _TIFFUInt64ToDouble() functions. 1343 13442007-07-18 Andrey Kiselev <[email protected]> 1345 1346 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 1347 integer constants. 1348 1349 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 1350 remove tif_config.h/tiffconf.h during cleaning. As per bug 1351 1352 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 1353 1354 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 1355 1356 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 1357 13582007-07-13 Andrey Kiselev <[email protected]> 1359 1360 * libtiff 4.0.0alpha released. 1361 13622007-07-12 Andrey Kiselev <[email protected]> 1363 1364 * tools/tiff2pdf.c: Added missed extern optind as per bug 1365 1366 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 1367 1368 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 1369 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 1370 extending scheme completed. 1371 13722007-07-11 Bob Friesenhahn <[email protected]> 1373 1374 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 1375 use standard C++ library size types and attempt to detect overflow 1376 cases. 1377 13782007-07-08 Andrey Kiselev <[email protected]> 1379 1380 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 1381 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 1382 tag extending scheme. Use the new scheme everywhere. 1383 1384 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 1385 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 1386 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 1387 TIFFFIeldInfo structure replaced with TIFFField structure. 1388 TIFFFieldInfo retained for the backward compatibility. 1389 13902007-07-05 Bob Friesenhahn <[email protected]> 1391 1392 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 1393 defined. 1394 13952007-07-04 Andrey Kiselev <[email protected]> 1396 1397 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 1398 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 1399 removed. 1400 1401 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 1402 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 1403 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 1404 These tags are not codec-specific and relate to image content, so 1405 process them as other normal tags. 1406 1407 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 1408 public tiffio.h to private tif_dir.h. 1409 1410 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 1411 outdated. 1412 14132007-07-03 Andrey Kiselev <[email protected]> 1414 1415 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 1416 tif_win3.c}: Obsoleted portability stuff removed. 1417 1418 * tools/tiff2ps.c: Added support 16-bit images as per bug 1419 1420 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 1421 1422 Patch from William Bader. 1423 1424 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 1425 significant upgrade of the whole utility as per bug 1426 1427 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 1428 1429 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 1430 PDF file using TIFFClientOpen() machinery as it is implemented 1431 by Leon Bottou. 1432 14332007-06-26 Bob Friesenhahn <[email protected]> 1434 1435 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 1436 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 1437 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 1438 allow returning -1 for errors. 1439 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 1440 14412007-06-25 Bob Friesenhahn <[email protected]> 1442 1443 * port/strtoull.c: New porting function in case strtoull() is not 1444 available on the target system. 1445 * configure.ac: Add configure support for determining sized types 1446 in a portable way and performing necessary substitutions in 1447 tif_config.h and tiffconf.h. Updated tiff.h to use the new 1448 definitions. 1449 14502007-04-27 Andrey Kiselev <[email protected]> 1451 1452 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 1453 1454 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 1455 14562007-04-07 Andrey Kiselev <[email protected]> 1457 1458 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 1459 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 1460 tif_predict.c, tif_zip.c}: Finally fix bug 1461 1462 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 1463 1464 by introducing _TIFFMergeFieldInfo() returning integer error status 1465 instead of void in case of problems with field merging (e.g., if the 1466 field with such a tag already registered). TIFFMergeFieldInfo() in 1467 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 1468 check returned value. 1469 14702007-04-07 Frank Warmerdam <[email protected]> 1471 1472 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 1473 blocks in TIFF_DownSample_Subsampled() (bug 1542). 1474 14752007-04-06 Frank Warmerdam <[email protected]> 1476 1477 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 1478 will convert from decompressor to compressor or compress to decompress 1479 if required by the force arguments. This works around a problem in 1480 where the JPEGFixupTestSubsampling() may cause a decompressor to 1481 be setup on a directory when later a compressor is required with the 1482 force flag set. Occurs with the addtiffo program for instance. 1483 14842007-04-06 Andrey Kiselev <[email protected]> 1485 1486 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 1487 functionality from Richard Nolde. As per bug 1488 1489 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 1490 14912007-03-28 Frank Warmerdam <[email protected]> 1492 1493 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 1494 14952007-03-17 Joris Van Damme <[email protected]> 1496 1497 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 1498 14992007-03-07 Joris Van Damme <[email protected]> 1500 1501 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 1502 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 1503 factor. This bug is mentioned in: 1504 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 1505 http://www.asmail.be/msg0054766825.html 1506 15072007-03-07 Joris Van Damme <[email protected]> 1508 1509 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 1510 1511 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 1512 unused arguments by standard C indication for the same 1513 15142007-02-27 Andrey Kiselev <[email protected]> 1515 1516 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 1517 counters in TIFFFetchData(). Should finally fix the issue 1518 1519 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 1520 15212007-02-24 Andrey Kiselev <[email protected]> 1522 1523 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 1524 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 1525 1526 * libtiff/tif_dirread.c: Added special function to handle 1527 SubjectDistance EXIF tag as per bug 1528 1529 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 1530 1531 * tools/tiff2pdf.c: Do not assume inches when the resolution units 1532 do not specified. As per bug 1533 1534 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 1535 1536 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 1537 it was set as infinite. As per bug 1538 1539 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 1540 1541 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 1542 by Richard Nolde. As per bug 1543 1544 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 1545 15462007-02-22 Andrey Kiselev <[email protected]> 1547 1548 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 1549 ExtraSamples == 999 produced by Corel Draw. As per bug 1550 1551 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 1552 1553 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 1554 changed from tsize_t to uint32 to be able to work with data arrays 1555 larger than 2GB. Fixes bug 1556 1557 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 1558 1559 Idea submitted by Matt Hancher. 1560 15612007-01-31 Andrey Kiselev <[email protected]> 1562 1563 * tools/tif2rgba.c: This utility does not work properly on big-endian 1564 architectures. It was fixed including the bug 1565 1566 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 1567 15682007-01-15 Mateusz Loskot <[email protected]> 1569 1570 * Submitted libtiff port for Windows CE platform 1571 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 1572 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 1573 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 1574 functons from tif_win32.c. 1575 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 1576 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 1577 standard header files for Windows CE build. 1578 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 1579 15802006-11-19 Frank Warmerdam <[email protected]> 1581 1582 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 1583 we move a strip. 1584 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 1585 15862006-10-13 Andrey Kiselev <[email protected]> 1587 1588 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 1589 in Gentoo bug (): 1590 1591 http://bugs.gentoo.org/show_bug.cgi?id=142383 1592 1593 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 1594 Though it is still far from the state of being working and useful. 1595 15962006-10-12 Andrey Kiselev <[email protected]> 1597 1598 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 1599 method. 1600 1601 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 1602 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 1603 1604 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 1605 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 1606 1607 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 1608 vulnerabilities, reported in Gentoo bug (): 1609 1610 http://bugs.gentoo.org/show_bug.cgi?id=142383 1611 16122006-09-28 Andrey Kiselev <[email protected]> 1613 1614 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 1615 vulnerabilities, as per Gentoo bug (): 1616 1617 http://bugs.gentoo.org/show_bug.cgi?id=142383 1618 16192006-09-27 Frank Warmerdam <[email protected]> 1620 1621 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 1622 encoding and decoding on the same read-write TIFF handle. The LZW 1623 code can now maintain encode and decode state at the same time. The 1624 ZIP code will switch back and forth as needed. 1625 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 1626 16272006-09-20 Frank Warmerdam <[email protected]> 1628 1629 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 1630 tif_config.vc.h for easier identification by folks using an IDE. 1631 16322006-07-25 Frank Warmerdam <[email protected]> 1633 1634 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 1635 16362006-07-19 Frank Warmerdam <[email protected]> 1637 1638 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 1639 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 1640 to bug report by Peng Gao with black strip at bottom of images. 1641 16422006-07-12 Frank Warmerdam <[email protected]> 1643 1644 * tif_dirwrite.c: make sure to use uint32 for wordcount in 1645 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 1646 It already seems to have been done for other field types. Needed 1647 for "tiffset" on files with geotiff ascii text. 1648 16492006-07-04 Bob Friesenhahn <[email protected]> 1650 1651 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 1652 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 1653 its use does not appear to be required, so use it only when it is 1654 available. 1655 16562006-06-24 Andrey Kiselev <[email protected]> 1657 1658 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 1659 1660 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 1661 function TIFFFetchDirectory() avoiding code duplication in 1662 TIFFReadDirectory() and TIFFReadCustomDirectory(). 1663 16642006-06-19 Frank Warmerdam <[email protected]> 1665 1666 * tools/tiff2pdf.c: Fix handling of -q values. 1667 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 1668 16692006-06-17 Frank Warmerdam <[email protected]> 1670 1671 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 1672 files. Modified TIFFReadDirectory() to not invoke 1673 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 1674 but one of them is zero. 1675 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 1676 16772006-06-08 Andrey Kiselev <[email protected]> 1678 1679 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 1680 checking code in the separate function TIFFCheckDirOffset(). 1681 1682 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 1683 1684 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 1685 1686 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 1687 1688 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 1689 1690 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 1691 1692 * tools/tiff2pdf.c: Fixed buffer overflow condition in 1693 t2p_write_pdf_string() as per bug 1694 1695 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 1696 16972006-06-07 Andrey Kiselev <[email protected]> 1698 1699 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 1700 support for JBIG compression scheme (34661 code) contributed by Lee 1701 Howard. As per bug 1702 1703 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 1704 1705 * configure, configure.ac: OJPEG support enabled by default. 1706 1707 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 1708 17092006-06-03 Bob Friesenhahn <[email protected]> 1710 1711 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 1712 TIFFPrintDirectory(). Joris Van Damme authored the fix. 1713 17142006-04-21 Andrey Kiselev <[email protected]> 1715 1716 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 1717 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 1718 1719 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 1720 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 1721 Added support for OpenVMS by Alexey Chupahin, [email protected]. 1722 17232006-04-20 Andrey Kiselev <[email protected]> 1724 1725 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 1726 Properly set the binary mode for stdin stream as per bug 1727 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 1728 1729 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 1730 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 1731 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 1732 tiffset.1}: Improvements in page formatting as per bug 1733 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 1734 1735 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 1736 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 1737 17382006-04-18 Frank Warmerdam <[email protected]> 1739 1740 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 1741 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 1742 17432006-04-12 Joris Van Damme <[email protected]> 1744 1745 * libtiff/tif_getimage.c: Added support for planarconfig separate 1746 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 1747 17482006-04-11 Joris Van Damme <[email protected]> 1749 1750 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 1751 - Conversion of unassociated alpha to associated alpha now done with 1752 more performant LUT, and calculation more correct 1753 - Conversion of 16bit data to 8bit data now done with 1754 more performant LUT, and calculation more correct 1755 - Bugfix of handling of 16bit RGB with unassociated alpha 1756 17572006-04-11 Joris Van Damme <[email protected]> 1758 1759 * libtiff/tif_getimage.c: 1760 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 1761 buffer for alpha strile and filled it, only to never read it back. 1762 Removed allocation and fill. 1763 - Minor rename of vars in gtTileSeparate and gtStripSeparate 1764 anticipating planned functionality extension 1765 17662006-04-08 Joris Van Damme <[email protected]> 1767 1768 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 1769 and pickTileSeparateCase to PickSeparateCase as both work on strips as 1770 well 1771 1772 * libtiff/tif_getimage.c: moved img->get selection from 1773 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 1774 logical hook for planned functionality extension 1775 17762006-04-08 Joris Van Damme <[email protected]> 1777 1778 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 1779 of inappropriate use of jpeg_abort instead of jpeg_destroy 1780 17812006-04-07 Joris Van Damme <[email protected]> 1782 1783 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 1784 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 1785 on subsampled images - this ought to get sorted when we feel brave 1786 enough to replace TIFFScanlineSize alltogether 1787 1788 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 1789 17902006-04-04 Joris Van Damme <[email protected]> 1791 1792 * libtiff/tiffio.h: added new type tstrile_t 1793 1794 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 1795 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 1796 toff_t* 1797 1798 * libtiff/tif_ojpeg.c: totally new implementation 1799 1800 * libtiff/tif_dirread.c: added several hacks to suit new support of 1801 OJPEG 1802 1803 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 1804 of OJPEG images in favor of tif_getimage.c native handling of 1805 YCbCr and desubsampling 1806 18072006-03-29 Frank Warmerdam <[email protected]> 1808 1809 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 1810 interpretation causes the "upsampled" flag to be recomputed. Fixes 1811 peculiar bug where photometric flag had to be set before jpegcolormode 1812 flag. 1813 18142006-03-25 Joris Van Damme <[email protected]> 1815 1816 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 1817 1818 * libtiff/tif_strip.c: temporarilly added two new versions of 1819 TIFFScanlineSize 1820 - TIFFNewScanlineSize: proposed new version, after all related 1821 issues and side-effects are sorted out 1822 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 1823 This needs further sorting out. 1824 18252006-03-25 Joris Van Damme <[email protected]> 1826 1827 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 1828 of last truncated strip data to TIFFWriteEncodedStrip 1829 18302006-03-25 Joris Van Damme <[email protected]> 1831 1832 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 1833 18342006-03-25 Joris Van Damme <[email protected]> 1835 1836 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 1837 1838 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 1839 1840 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 1841 prepare the path for new tif_ojpeg.c 1842 18432006-03-23 Andrey Kiselev <[email protected]> 1844 1845 * libtiff 3.8.2 released. 1846 1847 * tools/Makefile.am: Use runtime paths linker flags when rpath 1848 option enabled. 1849 18502006-03-21 Andrey Kiselev <[email protected]> 1851 1852 * libtiff/libtiff.def: Added missed exports as per bug 1853 http://bugzilla.remotesensing.org/attachment.cgi?id=337 1854 1855 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 1856 tools/Makefile.vc: Makefiles improvements as per bug 1857 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 1858 1859 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 1860 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 1861 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 1862 1863 * libtiff/tif_strip.c: Take subsampling in account when calculating 1864 TIFFScanlineSize(). 1865 1866 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 1867 18682006-03-17 Andrey Kiselev <[email protected]> 1869 1870 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 1871 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 1872 1873 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 1874 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 1875 18762006-03-16 Andrey Kiselev <[email protected]> 1877 1878 * libtiff/tiffiop.h: Added decalration for 1879 _TIFFSetDefaultCompressionState(). 1880 1881 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 1882 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 1883 codec cleanup methods. As per bug 1884 1885 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 1886 18872006-03-15 Andrey Kiselev <[email protected]> 1888 1889 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 1890 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 1891 1892 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 1893 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 1894 1895 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 1896 removed; move here the STRIP_SIZE_DEFAULT macro definition. 1897 1898 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 1899 macro definition. 1900 1901 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 1902 19032006-03-14 Andrey Kiselev <[email protected]> 1904 1905 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 1906 in TIFFReadDirectory, because it is always set at the start of 1907 function and we allow TIFFs without that tag set. 1908 19092005-03-13 Andrey Kiselev <[email protected]> 1910 1911 * libtiff 3.8.1 released. 1912 19132006-03-07 Andrey Kiselev <[email protected]> 1914 1915 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 1916 function as per bug 1917 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1918 1919 * libtiff/tif_dirread.c: More wise check for integer overflow 1920 condition as per bug 1921 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1922 1923 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 1924 Properly restore setfield/getfield methods in cleanup functions. As 1925 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1926 19272006-03-03 Andrey Kiselev <[email protected]> 1928 1929 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 1930 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 1931 1932 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 1933 TIFFPredictorCleanup() in codec cleanup methods. As per bug 1934 1935 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1936 1937 * libtiff/tif_dirread.c: Fixed integer overflow condition in 1938 TIFFFetchData() function. As per bug 1939 1940 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1941 19422006-03-01 Andrey Kiselev <[email protected]> 1943 1944 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 1945 TIFFSetField() method, not directly. As per bug 1946 1947 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 1948 1949 * tools/ppm2tiff.c: Added support for PBM files as per bug 1950 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 1951 19522006-02-27 Andrey Kiselev <[email protected]> 1953 1954 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 1955 to avoid crash as per bug 1956 1957 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 1958 19592006-02-26 Andrey Kiselev <[email protected]> 1960 1961 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 1962 t2p_sample_rgba_to_rgb() was used in place of each other, that was 1963 resulted in problems with RGBA images with associated alpha. 1964 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 1965 19662006-02-23 Andrey Kiselev <[email protected]> 1967 1968 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 1969 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 1970 1971 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 1972 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 1973 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 1974 1975 * tools/tiff2ps.c: Properly scale all the pages when converting 1976 multipage TIFF with /width/height/center options set. As per bug 1977 1978 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 1979 19802006-02-15 Andrey Kiselev <[email protected]> 1981 1982 * tools/tiff2pdf.c: Do not create output file until all option checks 1983 will be done. As per bug 1984 1985 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 1986 1987 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 1988 list of input files as per bug: 1989 1990 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 1991 19922006-02-09 Andrey Kiselev <[email protected]> 1993 1994 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 1995 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 1996 1997 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 1998 TIFFRGBAImage interface. 1999 2000 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 2001 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 2002 20032006-02-07 Frank Warmerdam <[email protected]> 2004 2005 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 2006 compressed TIFF files, per submission from Dan Cobra. 2007 20082006-02-07 Andrey Kiselev <[email protected]> 2009 2010 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 2011 cast values to avoid warnings. As per bug 2012 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2013 2014 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 2015 appropriate. As per bug 2016 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2017 2018 * libtiff/tif_aux.c: Fixed type of temporary variable in 2019 _TIFFCheckMalloc() as per bug 2020 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2021 20222006-02-06 Andrey Kiselev <[email protected]> 2023 2024 * libtiff/tif_aux.c: Return static array when fetching default 2025 YCbCrCoefficients (another problem, reported a the 2026 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 2027 20282006-02-03 Andrey Kiselev <[email protected]> 2029 2030 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 2031 YCbCrSubsampling and DotRange tags as per bugs 2032 2033 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 2034 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 2035 2036 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 2037 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 2038 2039 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 2040 20412006-01-23 Andrey Kiselev <[email protected]> 2042 2043 * libtool related stuff updated from the 2.1a branch. 2044 20452006-01-11 Frank Warmerdam <[email protected]> 2046 2047 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 2048 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 2049 properly as per bug: 2050 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 2051 20522006-01-09 Bob Friesenhahn <[email protected]> 2053 2054 * configure.ac: Fix with_default_strip_size comparison as reported 2055 by Norihiko Murase. 2056 20572006-01-08 Bob Friesenhahn <[email protected]> 2058 2059 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 2060 incorrectly, tests were not actually testing the uninstalled 2061 libtiff. Now they are. 2062 20632006-01-04 Andrey Kiselev <[email protected]> 2064 2065 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 2066 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 2067 should be uint32 value. 2068 20692006-01-02 Bob Friesenhahn <[email protected]> 2070 2071 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 2072 be used if build directory is not the same as source directory. 2073 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 2074 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 2075 and re-sorted tag names in alphabetical order. 2076 20772005-12-29 Andrey Kiselev <[email protected]> 2078 2079 * libtiff 3.8.0 released. 2080 20812005-12-28 Bob Friesenhahn <[email protected]> 2082 2083 * tools/bmp2tiff.c (main): Fixed warning regarding returning 2084 inconsistent types from a condition. 2085 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 2086 format. 2087 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 2088 20892005-12-28 Joris Van Damme <[email protected]> 2090 2091 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 2092 20932005-12-27 Andrey Kiselev <[email protected]> 2094 2095 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 2096 windows.h, to reduce the compile time. 2097 20982005-12-26 Bob Friesenhahn <[email protected]> 2099 2100 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 2101 21022005-12-26 Andrey Kiselev <[email protected]> 2103 2104 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 2105 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 2106 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 2107 private functions to retrieve FieldInfo arrays. 2108 21092005-12-24 Bob Friesenhahn <[email protected]> 2110 2111 * html/build.html: Added some additional instructions for when 2112 building using MSVC under Windows. Also fixed two HTML syntax 2113 errors and used HTML Tidy to tidy up the HTML syntax and 2114 formatting. 2115 21162005-12-24 Andrey Kiselev <[email protected]> 2117 2118 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 2119 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 2120 StoNits tags custom. 2121 21222005-12-23 Andrey Kiselev <[email protected]> 2123 2124 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 2125 WhitePoint tag custom. 2126 2127 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 2128 21292005-12-23 Joris Van Damme <[email protected]> 2130 2131 * libtiff/tiffio.h: fixed typo that potentially resulted in 2132 redefininition of USE_WIN32_FILEIO 2133 2134 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 2135 calls in core LibTiff. 2136 21372005-12-21 Andrey Kiselev <[email protected]> 2138 2139 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 2140 Photoshop and ICCProfile tags custom. 2141 21422005-12-21 Joris Van Damme <[email protected]> 2143 2144 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 2145 newer code to get context indicator in error handler and still 2146 remain compatible with older code: Done TIFFError calls everywhere 2147 except in tools 2148 21492005-12-20 Andrey Kiselev <[email protected]> 2150 2151 * tools/tiffcp.c: Added many error reporting messages; fixed integer 2152 overflow as per bug 2153 2154 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 2155 21562005-12-16 Frank Warmerdam <[email protected]> 2157 2158 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 2159 YCbCr images in jpeg compressed TIFF files. 2160 21612005-12-14 Andrey Kiselev <[email protected]> 2162 2163 * tools/tiffcp.c: Return non-zero status when reading fails (again). 2164 21652005-12-13 Andrey Kiselev <[email protected]> 2166 2167 * tools/tiffcp.c: Return non-zero status when reading fails. 2168 21692005-12-12 Andrey Kiselev <[email protected]> 2170 2171 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 2172 21732005-12-09 Andrey Kiselev <[email protected]> 2174 2175 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 2176 custom. 2177 2178 * tools/tiffinfo.c: Print EXIF directory contents if exist. 2179 2180 * libtiff/tiff.h: Few EXIF tag numbers added. 2181 2182 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 2183 tiffio.h}: Preliminary support to read custom directories. New 2184 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 2185 21862005-12-07 Andrey Kiselev <[email protected]> 2187 2188 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 2189 More work to implement custom directory read support. 2190 2191 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 2192 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 2193 tags custom. 2194 21952005-12-05 Andrey Kiselev <[email protected]> 2196 2197 * libtiff/tif_dirread.c: One more workaround for broken 2198 StripByteCounts tag. Handle the case when StripByteCounts array filled 2199 with completely wrong values. 2200 22012005-11-30 Andrey Kiselev <[email protected]> 2202 2203 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 2204 in the TIFFOpenW() function as per bug 2205 2206 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 2207 2208 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 2209 functions as per bug 2210 2211 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 2212 22132005-11-20 Frank Warmerdam <[email protected]> 2214 2215 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 2216 for MS MDI format. 2217 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 2218 2219 * .cvsignore: many files added, and a few update according 2220 to suggestion of Brad HArds on tiff mailing list. 2221 22222005-11-03 Frank Warmerdam <[email protected]> 2223 2224 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 2225 public. 2226 22272005-10-31 Andrey Kiselev <[email protected]> 2228 2229 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 2230 as per bug 2231 2232 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 2233 2234 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 2235 as per bug 2236 2237 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 2238 2239 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 2240 problem as per bug 2241 2242 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 2243 2244 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 2245 2246 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 2247 2248 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 2249 ResolutionUnit tags modifiable during write process. As per bug 2250 2251 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 2252 2253 * tools/tiffsplit.c: Copy fax related fields over splitted parts 2254 as per bug 2255 2256 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 2257 22582005-10-21 Frank Warmerdam <[email protected]> 2259 2260 * tif_dirread.c: Don't try and split single strips into "0" strips 2261 in ChopUpSingleUncompressedStrip. This happens in some degenerate 2262 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 2263 22642005-10-20 Joris Van Damme <[email protected]> 2265 2266 * tif_fax3.c: changed 'at scanline ...' style warning/errors 2267 with incorrect use of tif_row, to 'at line ... of 2268 strip/tile ...' style 2269 22702005-10-15 Frank Warmerdam <[email protected]> 2271 2272 * tif_write.c: fixed setting of planarconfig as per bug report 2273 on the mailing list from Joris. 2274 22752005-10-07 Andrey Kiselev <[email protected]> 2276 2277 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 2278 tif_dirread.c}: Make the default strip size configurable via the 2279 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 2280 22812005-09-30 Bob Friesenhahn <[email protected]> 2282 2283 * html/support.html: Fixed link to documentation on Greg Ward's 2284 LogLuv TIFF format. 2285 22862005-09-28 Andrey Kiselev <[email protected]> 2287 2288 * tools/tiffdump.c: Fixed crash when reading malformed tags. 2289 22902005-09-20 Andrey Kiselev <[email protected]> 2291 2292 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 2293 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 2294 22952005-09-12 Andrey Kiselev <[email protected]> 2296 2297 * libtiff 3.7.4 released. 2298 2299 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 2300 from Patrick Welche (all scripts moved in the 'config' and 'm4' 2301 directories). 2302 23032005-09-12 Frank Warmerdam <[email protected]> 2304 2305 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 2306 23072005-09-05 Frank Warmerdam <[email protected]> 2308 2309 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 2310 also set it to NULL to avoid double free when re-setting custom 2311 string fields as per: 2312 2313 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 2314 23152005-08-12 Frank Warmerdam <[email protected]> 2316 2317 * libtiff/tif_print.c: avoid signed/unsigned warning. 2318 2319 * libtiff/tif_dirread.c: removed unused variable. 2320 23212005-07-30 Frank Warmerdam <[email protected]> 2322 2323 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 2324 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 2325 pass on bigendian (macosx) system. 2326 23272005-07-28 Andrey Kiselev <[email protected]> 2328 2329 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 2330 CheckMalloc() function to _TIFFCheckMalloc() and make it available 2331 globally as an internal helper routine. 2332 23332005-07-27 Andrey Kiselev <[email protected]> 2334 2335 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 2336 the custom tags handling code. 2337 23382005-07-26 Andrey Kiselev <[email protected]> 2339 2340 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 2341 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 2342 function, use TIFFFetchNormalTag() instead as per bug 2343 2344 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 2345 2346 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 2347 instead. 2348 2349 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 2350 2351 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2352 23532005-07-25 Andrey Kiselev <[email protected]> 2354 2355 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 2356 2357 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 2358 23592005-07-21 Andrey Kiselev <[email protected]> 2360 2361 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 2362 the TIFFWriteCheck() function in case of single band images (as per 2363 TIFF spec). 2364 23652005-07-12 Andrey Kiselev <[email protected]> 2366 2367 * SConstruct, libtiff/SConstruct: Added the first very preliminary 2368 support for SCons software building tool (http://www.scons.org/). 2369 This is experimental infrastructure and it will exist along with the 2370 autotools mechanics. 2371 23722005-07-07 Andrey Kiselev <[email protected]> 2373 2374 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 2375 the NetBSD source tree (the old 4-clause BSD license changed to 2376 the new 3-clause one). 2377 2378 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 2379 replacement module. 2380 2381 * port/dummy.c: Make the dummy function static. 2382 23832005-07-06 Andrey Kiselev <[email protected]> 2384 2385 * tools/tiffcp.c: Fixed WhitePoint tag copying. 2386 2387 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 2388 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 2389 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 2390 23912005-07-04 Andrey Kiselev <[email protected]> 2392 2393 * libtiff 3.7.3 released. 2394 2395 * configure, configure.ac: Do not use empty -R option when linking 2396 with --enable-rpath. 2397 23982005-07-01 Andrey Kiselev <[email protected]> 2399 2400 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 2401 reading the first IFD when needed. As per bug 2402 2403 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 2404 2405 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 2406 effects. 2407 24082005-06-23 Andrey Kiselev <[email protected]> 2409 2410 * tools/tiff2pdf.c: Print two characters per loop in the 2411 t2p_write_pdf_trailer(). As per bug 2412 2413 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 2414 2415 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 2416 per bug 2417 2418 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 2419 2420 * acinclude.m4: Updated to latest OpenGL test macros versions. 2421 2422 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 2423 platform. As per bug 2424 2425 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 2426 24272005-06-14 Andrey Kiselev <[email protected]> 2428 2429 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 2430 and YClipPathUnits tags. 2431 24322005-06-07 Andrey Kiselev <[email protected]> 2433 2434 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 2435 use pixel sized shift in contigous case. 2436 24372005-06-06 Andrey Kiselev <[email protected]> 2438 2439 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 2440 Make overviews working for contiguos images. 2441 24422005-06-03 Andrey Kiselev <[email protected]> 2443 2444 * libtiff/tif_open.c: Replace runtime endianess check with the compile 2445 time one. 2446 2447 * libtiff/tif_predict.c: Floating point predictor now works on 2448 big-endian hosts. 2449 24502005-06-01 Andrey Kiselev <[email protected]> 2451 2452 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 2453 ASCII values. 2454 2455 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 2456 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 2457 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 2458 TargetPrinter tags custom. 2459 2460 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 2461 TIFF_CODERSETUP flag (to fix memry leaks). 2462 2463 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 2464 allocating. 2465 24662005-05-26 Andrey Kiselev <[email protected]> 2467 2468 * configure.ac, libtiff/Makefile.am: Added workaround for 2469 OpenBSD/MirOS soname problem as per bug 2470 2471 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 2472 2473 * libtiff/tif_dirwrite.c: Use tdir_count when calling 2474 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 2475 per bug 2476 2477 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 2478 24792005-05-25 Andrey Kiselev <[email protected]> 2480 2481 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 2482 the fscanf() function. As per bug 2483 2484 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 2485 2486 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 2487 uint16 array when fetching the BYTE and SBYTE filds, so we should 2488 consider result as pointer to uint16 array and not as array of chars. 2489 As per bug 2490 2491 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 2492 2493 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 2494 2495 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 2496 2497 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 2498 mode in CreateFile() call as per bug 2499 2500 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 2501 2502 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 2503 libtiffxx libraries as per bug 2504 2505 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 2506 2507 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 2508 GDAL. 2509 25102005-05-23 Frank Warmerdam <[email protected]> 2511 2512 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 2513 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 2514 in directory. 2515 25162005-05-22 Frank Warmerdam <[email protected]> 2517 2518 * libtiff/tif_dirread.c: Changed the code that computes 2519 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 2520 zero. This is a common case with GDAL indicating a "null" tile/strip. 2521 25222005-05-17 Andrey Kiselev <[email protected]> 2523 2524 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 2525 25262005-05-06 Frank Warmerdam <[email protected]> 2527 2528 * libtiff/tif_dirread.c: Applied similar change to 2529 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 2530 2531 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 2532 2533 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 2534 25352005-05-06 Andrey Kiselev <[email protected]> 2536 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 2537 added new option '-b' to use interpolation in output PDF files (Bruno 2538 Ledoux). 2539 25402005-05-05 Frank Warmerdam <[email protected]> 2541 2542 * libtiff/tif_dirread.c: Ensure that broken files with too many 2543 values in PerSampleShorts work ok instead of crashing. 2544 2545 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 2546 25472005-04-27 Andrey Kiselev <[email protected]> 2548 2549 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 2550 input file. 2551 25522005-04-15 Andrey Kiselev <[email protected]> 2553 2554 * libtiff/tif_predict.c: Added ability to encode floating point 2555 predictor, as per TIFF Technical Note 3. 2556 25572005-04-14 Andrey Kiselev <[email protected]> 2558 2559 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 2560 floating point predictor, as per TIFF Technical Note 3. 2561 25622005-04-13 Andrey Kiselev <[email protected]> 2563 2564 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 2565 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 2566 swap 24-bit floating point values. 2567 2568 * libtiff/tiff.h: Added predictor constants. 2569 25702005-04-08 Andrey Kiselev <[email protected]> 2571 2572 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 2573 values in _TIFFVSetField() function. Inspired by the bug 2574 2575 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 2576 2577 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 2578 as per bug 2579 2580 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 2581 25822005-03-30 Andrey Kiselev <[email protected]> 2583 2584 * libtiff/tif_open.c: Do not read header in case the output file 2585 should be truncated (Ron). 2586 2587 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 2588 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 2589 2590 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 2591 25922005-03-22 Andrey Kiselev <[email protected]> 2593 2594 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 2595 rpath option. 2596 25972005-03-21 Andrey Kiselev <[email protected]> 2598 2599 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 2600 tags. 2601 26022005-03-18 Andrey Kiselev <[email protected]> 2603 2604 * libtiff/dirinfo.c: Added DNG tags. 2605 2606 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 2607 handling code. 2608 2609 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 2610 added DNG 1.1.0.0 tags. 2611 2612 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 2613 bug 2614 2615 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 2616 2617 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 2618 26192005-03-17 Andrey Kiselev <[email protected]> 2620 2621 * nmake.opt: Build with Win32 CRT library by default. 2622 2623 * tools/tiff2ps.c: Fixed typo in page size handling code. 2624 2625 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 2626 by value. 2627 2628 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 2629 26302005-03-15 Andrey Kiselev <[email protected]> 2631 2632 * libtiff 3.7.2 released. 2633 26342005-03-09 Andrey Kiselev <[email protected]> 2635 2636 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 2637 floating point data; complain on unsupported bit depths. 2638 26392005-03-05 Andrey Kiselev <[email protected]> 2640 2641 * tif_stream.cxx: Use ios namespace instead of ios_base to support 2642 GCC 2.95. 2643 2644 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 2645 Lee Howard for HylaFax DCS tag 2646 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 2647 26482005-03-04 Andrey Kiselev <[email protected]> 2649 2650 * configure, configure.ac: Use -rpath option instead of -R as per bug 2651 2652 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 2653 2654 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 2655 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 2656 software. As per bug 2657 2658 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 2659 2660 * nmake.opt, html/build.html: Add more comments, change the config 2661 file organization a bit as per bug 2662 2663 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 2664 2665 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 2666 as per bug 2667 2668 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 2669 26702005-03-03 Andrey Kiselev <[email protected]> 2671 2672 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 2673 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 2674 2675 * tools/fax2ps.c: Replace insecure mktemp() function with the 2676 tmpfile() as per bug 2677 2678 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 2679 26802005-02-04 Andrey Kiselev <[email protected]> 2681 2682 * libtiff/tiff.h: Changed the int8 definition to be always signed char 2683 as per bug 2684 2685 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2686 2687 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 2688 block as per bug 2689 2690 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 2691 26922005-02-03 Bob Friesenhahn <[email protected]> 2693 2694 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 2695 display more correctly. Images display brighter than they should 2696 on a Sun workstation. 2697 26982005-02-03 Andrey Kiselev <[email protected]> 2699 2700 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 2701 suspicious values in the tags. As per bugs 2702 2703 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 2704 2705 and 2706 2707 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 2708 2709 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 2710 2711 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 2712 27132005-01-31 Bob Friesenhahn <[email protected]> 2714 2715 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 2716 (TIFFTAG_TILELENGTH): Corrected description. 2717 27182005-01-30 Andrey Kiselev <[email protected]> 2719 2720 * configure.ac: Fixes for --with-docdir option as per bug 2721 2722 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 2723 2724 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 2725 bug 2726 2727 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 2728 2729 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 2730 Michael Rinne and Edward Lam. 2731 27322005-01-15 Andrey Kiselev <[email protected]> 2733 2734 * configure.ac: Make the documentation directory location configurable 2735 via the --with-docdir option (as suggested by Jeremy C. Reed). 2736 2737 * libtiff/tif_color.c: Use double as the second argument of pow() 2738 function in TIFFCIELabToRGBInit(). As per bug 2739 2740 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 2741 2742 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 2743 integer as per bug 2744 2745 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 2746 2747 * libtiff/tif_getimage.c: Always fill the error message buffer in 2748 TIFFRGBAImageBegin() as per bug 2749 2750 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 2751 27522005-01-12 Andrey Kiselev <[email protected]> 2753 2754 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 2755 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 2756 tags as per bug 2757 2758 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 2759 2760 * libtiff/tif_win32.c: Fixed message formatting in functions 2761 Win32WarningHandler() and Win32ErrorHandler() as per bug 2762 2763 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 2764 2765 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 2766 per bug 2767 2768 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 2769 27702005-01-11 Andrey Kiselev <[email protected]> 2771 2772 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 2773 "C"' section as per bug 2774 2775 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2776 2777 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 2778 compiler to avoid double definition of BSD types as per bug 2779 2780 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2781 2782 * libtiff/Makefile.am: Place the C++ stream API in the separate 2783 library called libtiffxx to avoid unneeded dependencies. Probably 2784 there will be more C++ API in the future. As per bugs 2785 2786 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 2787 2788 and 2789 2790 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 2791 27922005-01-05 Andrey Kiselev <[email protected]> 2793 2794 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 2795 wrong tag counts (Dmitry V. Levin, Martin Pitt). 2796 2797 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 2798 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 2799 28002004-12-25 Andrey Kiselev <[email protected]> 2801 2802 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 2803 RGB-images as per bug 2804 2805 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 2806 2807 2808 * tools/tiffset.c: Convert character option to integer value as per 2809 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 2810 28112004-12-20 Andrey Kiselev <[email protected]> 2812 2813 * libtiff 3.7.1 released. 2814 2815 * html/tiffset.1.html: Add missed manual page as per bug 2816 2817 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 2818 2819 * libtiff/tiff.h: Revert back libtiff data type definitions as per 2820 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 2821 28222004-12-19 Andrey Kiselev <[email protected]> 2823 2824 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 2825 checking for tag count in TIFFReadDirectory() function. As per bug 2826 2827 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 2828 2829 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 2830 CheckMallock() function. 2831 2832 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 2833 RGB-images as per bug 2834 2835 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 2836 28372004-12-15 Frank Warmerdam <[email protected]> 2838 2839 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 2840 SunPro compiler. 2841 28422004-12-11 Bob Friesenhahn <[email protected]> 2843 2844 * autogen.sh: aclocal and autoheader should be executed after 2845 libtoolize. Also add '-I .' to aclocal invocation to check 2846 current directory for macros. 2847 28482004-12-10 Andrey Kiselev <[email protected]> 2849 2850 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 2851 as per bugs 2852 2853 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 2854 2855 and 2856 2857 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 2858 28592004-12-04 Andrey Kiselev <[email protected]> 2860 2861 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 2862 2863 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 2864 2865 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 2866 mode as per bug 2867 2868 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 2869 2870 * libtiff/tif_config.in.vc: Removed unneded definitions for 2871 read/open/close/lseek functions to fix the 2872 2873 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 2874 28752004-12-03 Andrey Kiselev <[email protected]> 2876 2877 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 2878 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 2879 must be removed in the future, as it was never used properly. As per 2880 bug 2881 2882 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 2883 28842004-11-30 Bob Friesenhahn <[email protected]> 2885 2886 * libtiff/tif_jpeg.c: Added a work-around in order to allow 2887 compilation with the heavily modified version of libjpeg delivered 2888 with Cygwin. 2889 28902004-11-29 Andrey Kiselev <[email protected]> 2891 2892 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 2893 counts. As per bug 2894 2895 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 2896 2897 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 2898 2899 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 2900 29012004-11-28 Andrey Kiselev <[email protected]> 2902 2903 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 2904 on Windows. 2905 2906 * nmake.opt: Add missed DLLNAME variable. 2907 29082004-11-26 Frank Warmerdam <[email protected]> 2909 2910 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 2911 29122004-11-24 Andrey Kiselev <[email protected]> 2913 2914 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 2915 per bug 2916 2917 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 2918 2919 * man/tiffset.1: Added manual page for tiffset tool written by Jay 2920 Berkenbilt. As per bug 2921 2922 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 2923 29242004-11-23 Frank Warmerdam <[email protected]> 2925 2926 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 2927 29282004-11-21 Frank Warmerdam <[email protected]> 2929 2930 * html/document.html: Updated Adobe web links as per email from Joris. 2931 29322004-11-21 Andrey Kiselev <[email protected]> 2933 2934 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 2935 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 2936 use C++ streams should #include <tiffio.hxx>. 2937 29382004-11-13 Andrey Kiselev <[email protected]> 2939 2940 * libtiff/tiff.h: Added Adobe DNG tags. 2941 2942 * libtiff/tif_win32.c: Typo fixed. 2943 2944 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 2945 be compliant with the latest standard. Appropriate additions in 2946 makefiles now completed. 2947 29482004-11-11 Andrey Kiselev <[email protected]> 2949 2950 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 2951 different tag types. As per bug 2952 2953 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 2954 29552004-11-10 Andrey Kiselev <[email protected]> 2956 2957 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 2958 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 2959 29602004-11-09 Andrey Kiselev <[email protected]> 2961 2962 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 2963 29642004-11-07 Andrey Kiselev <[email protected]> 2965 2966 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 2967 contributed by Edward Lam (see 2968 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 2969 Though no changes in any makefiles yet. 2970 29712004-11-05 Frank Warmerdam <[email protected]> 2972 2973 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 2974 is bad. This is the callers responsibility. 2975 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 2976 29772004-11-05 Andrey Kiselev <[email protected]> 2978 2979 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 2980 function to work with the double byte strings (used to represent 2981 filenames in some locales). As per bug 2982 2983 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 2984 2985 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 2986 Compression tags of type LONG from broken TIFFS as per bug 2987 2988 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 2989 2990 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 2991 the writecount should have uint32 type. As per bug 2992 2993 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 2994 2995 * libtiff/tif_write.c: Fixed wrong if() statement in 2996 TIFFAppendToStrip() function as per bug 2997 2998 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 2999 30002004-11-04 Andrey Kiselev <[email protected]> 3001 3002 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 3003 field. The caller should supply a count when setting this field. As 3004 per bug 3005 3006 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 3007 3008 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 3009 uint32 count. Use this type everywhere. 3010 30112004-11-03 Frank Warmerdam <[email protected]> 3012 3013 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 3014 30152004-11-02 Frank Warmerdam <[email protected]> 3016 3017 * tools/tiff2rgba.c: removed extra newlines in usage message. 3018 30192004-10-30 Andrey Kiselev <[email protected]> 3020 3021 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 3022 3023 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 3024 tags (Tristan Hill). 3025 30262004-10-30 Frank Warmerdam <[email protected]> 3027 3028 * libtiff/tiffiop.h: added fallback definition of assert() if we 3029 don't have assert.h. 3030 30312004-10-29 Andrey Kiselev <[email protected]> 3032 3033 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 3034 choosing when the incorrect Group4Options tag set. As per bug 3035 3036 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 3037 3038 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 3039 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 3040 TIFFWriteNormalTag(). 3041 30422004-10-28 Andrey Kiselev <[email protected]> 3043 3044 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 3045 tags (Peter Fales). 3046 3047 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 3048 30492004-10-28 Frank Warmerdam <[email protected]> 3050 3051 * tools/tiff2pdf.c: added casts to avoid warnings. 3052 3053 * libtiff/libtiff.def: Added several more entry points required 3054 to link fax2tiff.c against the DLL on windows. 3055 30562004-10-27 Andrey Kiselev <[email protected]> 3057 3058 * configure, configure.ac: Added --enable-rpath option to embed linker 3059 paths into library binary. 3060 30612004-10-26 Andrey Kiselev <[email protected]> 3062 3063 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 3064 3065 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 3066 (Vladimir Nadvornik, Dmitry V. Levin). 3067 30682004-10-16 Andrey Kiselev <[email protected]> 3069 3070 * libtiff 3.7.0 released. 3071 30722004-10-15 Bob Friesenhahn <[email protected]> 3073 3074 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 3075 in this file so its inclusion is removed. Including stdio.h 3076 sometimes incurs an INT32 typedef conflict between MinGW's 3077 basetsd.h and libjpeg's jmorecfg.h. 3078 30792004-10-15 Andrey Kiselev <[email protected]> 3080 3081 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 3082 30832004-10-13 Bob Friesenhahn <[email protected]> 3084 3085 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 3086 conflict noticed under MinGW. 3087 * ltmain.sh: Fix for MinGW compilation. 3088 30892004-10-13 Frank Warmerdam <[email protected]> 3090 3091 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 3092 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 3093 30942004-10-12 Andrey Kiselev <[email protected]> 3095 3096 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 3097 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 3098 properly (Dmitry V. Levin, Marcus Meissner). 3099 31002004-10-11 Andrey Kiselev <[email protected]> 3101 3102 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 3103 to TIFF_IFD. 3104 31052004-10-10 Andrey Kiselev <[email protected]> 3106 3107 * tools/bmp2tif.c: Check the space allocation results. 3108 31092004-10-09 Andrey Kiselev <[email protected]> 3110 3111 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 3112 of the TIFFDirectory structure with the 0 instead of -1 to avoid 3113 confusing integer overflows in TIFFTileRowSize() for striped images. 3114 3115 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 3116 by Ross A. Finlayson. 3117 3118 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 3119 3120 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 3121 31222004-10-08 Frank Warmerdam <[email protected]> 3123 3124 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 3125 of tif_fieldinfo. 3126 3127 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 3128 31292004-10-04 Bob Friesenhahn <[email protected]> 3130 3131 * contrib/iptcutil/README: Added the missing README which goes 3132 along with iptcutil. 3133 31342004-10-03 Andrey Kiselev <[email protected]> 3135 3136 * libtiff/tif_compress.c: Improved error reporting in 3137 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 3138 31392004-10-02 Andrey Kiselev <[email protected]> 3140 3141 * libtiff 3.7.0beta2 released. 3142 3143 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 3144 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 3145 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 3146 allocations and integer overflows (Dmitry V. Levin). 3147 3148 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 3149 31502004-10-01 Frank Warmerdam <[email protected]> 3151 3152 * libtiff/tif_open.c: added a more informative message if a BigTIFF 3153 file is opened. 3154 31552004-09-30 Frank Warmerdam <[email protected]> 3156 3157 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 3158 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 3159 in the Adobe XMP Specification. 3160 31612004-09-29 Andrey Kiselev <[email protected]> 3162 3163 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 3164 memset(). 3165 3166 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 3167 from Dmitry V. Levin to fix possible integer overflow problems. 3168 31692004-09-28 Andrey Kiselev <[email protected]> 3170 3171 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 3172 (Dmitry V. Levin). 3173 31742004-09-26 Andrey Kiselev <[email protected]> 3175 3176 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 3177 Optimize checking for the strip bounds. 3178 3179 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 3180 TIFFRasterScanlineSize() functions report zero in the case of integer 3181 overflow now. Properly handle this case in TIFFReadDirectory() 3182 (patches from Dmitry V. Levin). 3183 31842004-09-25 Andrey Kiselev <[email protected]> 3185 3186 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 3187 macro where appropriate. 3188 3189 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 3190 noted by Gennady Khokhorin. 3191 3192 * libtiff/tif_dirread.c: Always check the return values, returned 3193 by the _TIFFmalloc() (Dmitry V. Levin). 3194 3195 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 3196 functions (Dmitry V. Levin). 3197 3198 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 3199 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 3200 TIFFGrowStrips() (found by Dmitry V. Levin). 3201 32022004-09-24 Andrey Kiselev <[email protected]> 3203 3204 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 3205 to get the list of configured codecs. 3206 3207 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 3208 Dmitry V. Levin. 3209 32102004-09-23 Andrey Kiselev <[email protected]> 3211 3212 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 3213 possible integer overflow in CheckMalloc() function. 3214 32152004-09-22 Andrey Kiselev <[email protected]> 3216 3217 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 3218 of plain TIFFhowmany() where appropriate. 3219 32202004-09-21 Andrey Kiselev <[email protected]> 3221 3222 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 3223 32242004-09-19 Andrey Kiselev <[email protected]> 3225 3226 * libtiff 3.7.0beta released. 3227 3228 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 3229 overruns fixed, as noted by Chris Evans. 3230 32312004-09-14 Bob Friesenhahn <[email protected]> 3232 3233 * commit: Added a script to make it more convenient to commit 3234 updates. The CVS commit message is extracted from this ChangeLog 3235 file. 3236 32372004-09-14 Andrey Kiselev <[email protected]> 3238 3239 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 3240 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 3241 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 3242 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 3243 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 3244 tif_config.h.in, tiffiop.h}: 3245 Get rid of BSD data types (u_char, u_short, u_int, u_long). 3246 32472004-09-13 Bob Friesenhahn <[email protected]> 3248 3249 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 3250 specification. Reference libtiff bug tracking system to submit 3251 private tag additions. 3252 32532004-09-12 Bob Friesenhahn <[email protected]> 3254 3255 * tools/tiffgt.c: Include "tif_config.h". 3256 3257 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 3258 tiffgt. This results in the 'compile' script being added to the 3259 project. 3260 3261 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 3262 required to find OpenGL headers necessary to build tiffgt. Also 3263 ensure that the libtiff that we built is used rather than some other 3264 libtiff installed on the system. 3265 32662004-09-12 Andrey Kiselev <[email protected]> 3267 3268 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 3269 libraries. 3270 32712004-09-11 Bob Friesenhahn <[email protected]> 3272 3273 * configure.ac: Pass library configuration defines via 3274 tif_config.h rather than extending CPPFLAGS. Configure a 3275 libtiff/tiffconf.h in order to satisfy application requirements 3276 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 3277 this causes failure to build on systems which properly respect 3278 this request. 3279 3280 * libtiff/tiffconf.h.in: New file to act as the template for the 3281 configured tiffconf.h 3282 3283 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 3284 32852004-09-10 Frank Warmerdam <[email protected]> 3286 3287 * html/internals.html: Split off a discussion of adding new tags 3288 into addingtags.html. 3289 32902004-09-10 Andrey Kiselev <[email protected]> 3291 3292 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 3293 3294 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 3295 3296 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3297 3298 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 3299 3300 * libtiff/tif_dirread.c: Don't reject to read tags of the 3301 SamplesPerPixel size when the tag count is greater than number of 3302 samples as per bug 3303 3304 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 3305 3306 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 3307 defining int8/uint8/... etc. types. As per bug 3308 3309 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 3310 33112004-09-09 Frank Warmerdam <[email protected]> 3312 3313 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 3314 to avoid compile warnings about getopt() and a few other things. 3315 33162004-09-02 Andrey Kiselev <[email protected]> 3317 3318 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 3319 assigning magic in TIFFFetchFloat(). 3320 33212004-09-01 Andrey Kiselev <[email protected]> 3322 3323 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 3324 to avoid requirement for tiffiop.h inclusion in some applications. See 3325 here 3326 3327 http://www.asmail.be/msg0054799560.html 3328 3329 for details. 3330 3331 * tools/fax2tiff.c: Use the new functions in the code. 3332 33332004-08-25 Andrey Kiselev <[email protected]> 3334 3335 * tools/tiff2pdf.c: Initialize arrays properly. 3336 3337 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 3338 properly initialize array in PSDataBW(). 3339 33402004-08-24 Andrey Kiselev <[email protected]> 3341 3342 * tools/tiff2pdf.c: More fixes for bug 3343 3344 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3345 3346 from Ross Finlayson. 3347 33482004-08-23 Andrey Kiselev <[email protected]> 3349 3350 * tools/tiff2ps.c: Fixed problem with uninitialized values. 3351 3352 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 3353 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 3354 3355 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 3356 3357 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3358 33592004-08-20 Andrey Kiselev <[email protected]> 3360 3361 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 3362 that the input file has compression, photometric interpretation, 3363 etcetra, tags or if not than a more descriptive error is returned. 3364 3365 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 3366 code, responsible for tag data type checking. 3367 33682004-08-19 Andrey Kiselev <[email protected]> 3369 3370 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 3371 variable as per bug 3372 3373 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 3374 33752004-08-16 Andrey Kiselev <[email protected]> 3376 3377 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 3378 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 3379 33802004-08-01 Andrey Kiselev <[email protected]> 3381 3382 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 3383 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 3384 33852004-07-24 Andrey Kiselev <[email protected]> 3386 3387 * libtiff/tif_lzw.c: LZW compression code is merged back from the 3388 separate package. All libtiff tools are updated to not advertise an 3389 abcence of LZW support. 3390 33912004-07-12 Andrey Kiselev <[email protected]> 3392 3393 * libtiff/tiffio.h: Revert thandle_t back to void* type. 3394 33952004-07-11 Andrey Kiselev <[email protected]> 3396 3397 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 3398 messages, as suggested by Bernd Herd. 3399 34002004-07-03 Andrey Kiselev <[email protected]> 3401 3402 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 3403 when setting custom tags by value. Reported by Eric Fieleke. 3404 34052004-06-14 Andrey Kiselev <[email protected]> 3406 3407 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 3408 34092004-06-08 Andrey Kiselev <[email protected]> 3410 3411 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 3412 into TIFFs. 3413 34142004-06-07 Andrey Kiselev <[email protected]> 3415 3416 * libtiff 3.7.0alpha released. 3417 34182004-06-06 Andrey Kiselev <[email protected]> 3419 3420 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 3421 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 3422 ones :-). 3423 3424 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 3425 problems in 64-bit environment). 3426 34272004-06-05 Andrey Kiselev <[email protected]> 3428 3429 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 3430 Tags can be supplied by the mnemonic name or number. 3431 3432 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 3433 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 3434 34352004-05-27 Andrey Kiselev <[email protected]> 3436 3437 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 3438 markers as per bug 3439 3440 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 3441 34422004-05-24 Andrey Kiselev <[email protected]> 3443 3444 * tools/tiffsplit.c: Don't forget to copy Photometric 3445 Interpretation tag. 3446 34472004-05-20 Andrey Kiselev <[email protected]> 3448 3449 * libtiff/{tif_open.c, tiffio.h}: New function added: 3450 TIFFIsBigEndian(). Function returns nonzero if given was file written 3451 in big-endian order. 3452 3453 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 3454 files. Now output files will be written using the same byte order 3455 flag as in the input image. See 3456 3457 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 3458 3459 for details. 3460 34612004-05-19 Frank Warmerdam <[email protected]> 3462 3463 * libtiff/tif_print.c: added (untested) support for printing 3464 SSHORT, SLONG and SRATIONAL fields. 3465 3466 * tools/tiffcp.c: close output file on normal exit. 3467 34682004-05-17 Andrey Kiselev <[email protected]> 3469 3470 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 3471 if compression type mismatches. See 3472 3473 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 3474 34752004-04-30 Andrey Kiselev <[email protected]> 3476 3477 * libtiff/tif_strip.c: Never return 0 from the 3478 TIFFNumberOfStrips(). 3479 34802004-04-29 Andrey Kiselev <[email protected]> 3481 3482 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 3483 store single SampleFormat value for multisampled images. See 3484 3485 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 3486 34872004-04-25 Andrey Kiselev <[email protected]> 3488 3489 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 3490 int16 and int32 types to avoid complains on some compilers. Details at 3491 3492 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3493 34942004-04-20 Andrey Kiselev <[email protected]> 3495 3496 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 3497 3498 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 3499 35002004-04-14 Andrey Kiselev <[email protected]> 3501 3502 * libtiff/tif_write.c: Allow in-place updating of the compressed 3503 images (don't work properly with all codecs). For details see GDAL bug 3504 3505 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 3506 35072004-04-06 Andrey Kiselev <[email protected]> 3508 3509 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 3510 in the Intergarph JPEG compressed TIFF images as per bug: 3511 3512 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 3513 35142004-04-04 Frank Warmerdam <[email protected]> 3515 3516 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 3517 via bad2. 3518 35192004-03-26 Andrey Kiselev <[email protected]> 3520 3521 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 3522 JPEG compression of grayscale images. 3523 3524 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 3525 present in the input image. 3526 35272004-03-19 Andrey Kiselev <[email protected]> 3528 3529 * {many}: The first attempt to switch to autotools. 3530 35312004-03-03 Andrey Kiselev <[email protected]> 3532 3533 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 3534 TIFFClientOpen() when the appropriate client functions was not 3535 supplied by user. 3536 35372004-03-02 Frank Warmerdam <[email protected]> 3538 3539 * tools/ycbcr.c: fixed main() declaration as per: 3540 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 3541 35422004-02-26 Andrey Kiselev <[email protected]> 3543 3544 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 3545 images. Reported by Artem Mirolubov. 3546 3547 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 3548 tag type in TIFFFetchNormalTag() as per bug 3549 3550 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 3551 35522004-02-17 Frank Warmerdam <[email protected]> 3553 3554 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 3555 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 3556 35572004-02-05 Andrey Kiselev <[email protected]> 3558 3559 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 3560 bug 3561 3562 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 3563 3564 But we need more work on fax codec to support update mode. 3565 35662004-01-30 Frank Warmerdam <[email protected]> 3567 3568 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 3569 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 3570 Scott Reynolds. 3571 35722004-01-29 Andrey Kiselev <[email protected]> 3573 3574 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 3575 and TIFFTAG_INDEXED as per bug 3576 3577 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 3578 3579 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 3580 NULL before proceeding further as per bug 3581 3582 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 3583 3584 Check results, returned by the TIFFFdOpen() before returning and close 3585 file if TIFFFdOpen() failed as per bug 3586 3587 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3588 3589 * libtiff/tif_open.c: More fixes for 3590 3591 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3592 35932004-01-28 Andrey Kiselev <[email protected]> 3594 3595 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 3596 TIFFCleanup() from the TIFFClose() in order to fix the bug 3597 3598 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3599 3600 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 3601 InkNames tag as per bug 3602 3603 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 3604 3605 Memory leak fixed. 3606 36072004-01-21 Frank Warmerdam <[email protected]> 3608 3609 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 3610 are field_passcount=TRUE properly. Arguably anonymous custom tags 3611 should be declared as passcount=FALSE, but I don't want to change 3612 that without a careful review. 3613 36142004-01-20 Andrey Kiselev <[email protected]> 3615 3616 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 3617 stripped image in TIFFWriteBufferSetup(). As per bug 3618 3619 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 3620 36212004-01-11 Andrey Kiselev <[email protected]> 3622 3623 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 3624 patch from Gerben Koopmans. 3625 3626 * libtiff/tif_dirread.c: Check field_passcount value before setting 3627 the value of undefined type, patch from Gerben Koopmans. 3628 36292004-01-02 Andrey Kiselev <[email protected]> 3630 3631 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 3632 non-RGB images. 3633 36342003-12-31 Andrey Kiselev <[email protected]> 3635 3636 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 3637 pointer passed. Patch supplied by Larry Grill. 3638 3639 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 3640 suggested by Jeremy C. Reed. 3641 36422003-12-26 Andrey Kiselev <[email protected]> 3643 3644 * libtiff 3.6.1 released. 3645 36462003-12-24 Andrey Kiselev <[email protected]> 3647 3648 * config.guess, config.sub: Updated from the recent upstream. 3649 36502003-12-22 Andrey Kiselev <[email protected]> 3651 3652 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 3653 More cleanups in color conversion interface, added appropriate manual 3654 page. 3655 36562003-12-19 Andrey Kiselev <[email protected]> 3657 3658 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 3659 per bug 3660 3661 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 3662 3663 * tools/tiff2ps.c: Added support for alpha channel. Fixes 3664 3665 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 3666 3667 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 3668 Interface for Lab->RGB color conversion is finally cleaned up. 3669 Added support for ReferenceBlackWhite tag handling when converted from 3670 YCbCr color space. The latter closes 3671 3672 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 3673 36742003-12-07 Andrey Kiselev <[email protected]> 3675 3676 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 3677 3678 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 3679 library. 3680 36812003-12-06 Andrey Kiselev <[email protected]> 3682 3683 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 3684 file and properly use it for CIE Lab->RGB transform. 3685 36862003-12-04 Andrey Kiselev <[email protected]> 3687 3688 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 3689 conversion routines now in the tif_color.c module. New function 3690 TIFFYCbCrtoRGB() available in TIFF API. 3691 3692 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 3693 36942003-12-03 Andrey Kiselev <[email protected]> 3695 3696 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 3697 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 3698 module. 3699 3700 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 3701 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 3702 Finally resolved problems with orientation handling. TIFFRGBAImage 3703 interface now properly supports all possible orientations, i.e. images 3704 will be flipped both in horizontal and vertical directions if 3705 required. 'Known bugs' section now removed from the appropriate manual 3706 pages. Closed bug entry: 3707 3708 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 3709 37102003-12-02 Andrey Kiselev <[email protected]> 3711 3712 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 3713 function calls as per bug 3714 3715 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 3716 37172003-11-28 Ross Finlayson <[email protected]> 3718 3719 * tools/tiff2pdf.c: Some bugs fixed. 3720 37212003-11-27 Andrey Kiselev <[email protected]> 3722 3723 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 3724 reported by Antonio Scuri. 3725 3726 * man/tiff2pdf.1: Few improvements in page layout. 3727 3728 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 3729 Added support fpr tiff2pdf manual page. 3730 37312003-11-26 Ross Finlayson <[email protected]> 3732 3733 * /man/tiff2pdf.1: File added to repository. 3734 37352003-11-26 Andrey Kiselev <[email protected]> 3736 3737 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 3738 Added support fpr tiff2pdf utility. 3739 37402003-11-25 Ross Finlayson <[email protected]> 3741 3742 * /tools/tiff2pdf.c: File added to repository. 3743 37442003-11-22 Andrey Kiselev <[email protected]> 3745 3746 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 3747 37482003-11-21 Andrey Kiselev <[email protected]> 3749 3750 * /tools/raw2tiff.c: #include <getopt.h> removed. 3751 3752 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 3753 sgigt utility removed and replaced with the completely rewritten 3754 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 3755 there is a lot of things to improve. 3756 3757 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 3758 extract the fields from the OJPEG files. Patch supplied by Ross 3759 Finlayson. 3760 3761 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 3762 Added new function TIFFIsCODECConfigured(), suggested by Ross 3763 Finlayson. 3764 37652003-11-18 Andrey Kiselev <[email protected]> 3766 3767 * libtiff/tif_dirinfo.c: Implemented binary search in 3768 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 3769 3770 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 3771 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 3772 37732003-11-17 Frank Warmerdam <[email protected]> 3774 3775 * tif_dirread.c: do not mark all anonymously defined tags to be 3776 IGNOREd. 3777 37782003-11-17 Andrey Kiselev <[email protected]> 3779 3780 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 3781 TIFFDataWidth() function insted of tiffDataWidth array. 3782 37832003-11-16 Andrey Kiselev <[email protected]> 3784 3785 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 3786 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 3787 37882003-11-15 Frank Warmerdam <[email protected]> 3789 3790 * Makefile.in: fixed missing backslash for tif_color.c in list. 3791 37922003-11-13 Andrey Kiselev <[email protected]> 3793 3794 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 3795 New color space conversion code: CIE L*a*b* 1976 images now supported 3796 by the TIFFRGBAImage interface. All introduced routines go to new 3797 module tif_color.c. Eventually all color conversion functions should 3798 be moved there. 3799 38002003-11-12 Andrey Kiselev <[email protected]> 3801 3802 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 3803 with the reverse byte order (it is reported by the magic header 3804 field). Problem reported by Andreas Wiesmann. 3805 3806 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 3807 calculation function. Guessing mechanics now documented in manual page. 3808 38092003-11-11 Andrey Kiselev <[email protected]> 3810 3811 * tools/raw2tiff.c: Implemented image size guessing using 3812 correlation coefficient calculation between two neighbour lines. 3813 38142003-11-09 Frank Warmerdam <[email protected]> 3815 3816 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 3817 planarconfig_contig case in TIFFComputeTile(). 3818 3819 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 3820 38212003-11-09 Andrey Kiselev <[email protected]> 3822 3823 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 3824 38252003-11-07 Andrey Kiselev <[email protected]> 3826 3827 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 3828 Added TIFFRawStripSize() function as suggested by Chris Hanson. 3829 38302003-11-03 Andrey Kiselev <[email protected]> 3831 3832 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 3833 per bug 3834 3835 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 3836 38372003-10-29 Andrey Kiselev <[email protected]> 3838 3839 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 3840 3841 * html/build.html: Added note about GNU make requirement. 3842 38432003-10-25 Andrey Kiselev <[email protected]> 3844 3845 * Makefile.in: Fixes in using MAKEFLAGS as per bug 3846 3847 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 3848 3849 * port/install.sh.in: Option -p added to the mkdir command to create 3850 all directory tree structure before installing. 3851 38522003-10-18 Andrey Kiselev <[email protected]> 3853 3854 * /tools/tiff2ps.c: #include <strings.h> replaced with the 3855 #include <string.h>. 3856 38572003-10-16 Andrey Kiselev <[email protected]> 3858 3859 * Makefile.in: Add an absolute path to the test_pics.sh call. 3860 38612003-10-12 Andrey Kiselev <[email protected]> 3862 3863 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 3864 typedefs. 3865 38662003-10-09 Andrey Kiselev <[email protected]> 3867 3868 * configure, libtiff/{Makefile.in, mkversion.c}: 3869 Relative buildings fixed. 3870 3871 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 3872 rule. 3873 38742003-10-07 Andrey Kiselev <[email protected]> 3875 3876 * Makefile.in: Added missed v3.6.0.html. 3877 3878 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 3879 ORIENTATION_BOTLEFT. 3880 38812003-10-04 Andrey Kiselev <[email protected]> 3882 3883 * 3.6.0 final release. 3884 38852003-10-03 Andrey Kiselev <[email protected]> 3886 3887 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 3888 function TIFFReadRGBAImageOriented() implemented to retrieve raster 3889 array with user-specified origin position as suggested by Jason Frank. 3890 See 3891 3892 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 3893 3894 for details. 3895 3896 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 3897 instead of TIFFReadRGBAImage(). 3898 3899 * tools/tiff2ps.c: Fixed possible endless loop as per bug 3900 3901 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 3902 39032003-09-30 Andrey Kiselev <[email protected]> 3904 3905 * libtiff/tif_dirread.c: Check field counter against number of fields 3906 in order to fix 3907 3908 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 3909 3910 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 3911 3912 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 3913 39142003-09-25 Andrey Kiselev <[email protected]> 3915 3916 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 3917 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 3918 3919 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 3920 39212003-09-23 Andrey Kiselev <[email protected]> 3922 3923 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 3924 3925 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 3926 39272003-08-21 Andrey Kiselev <[email protected]> 3928 3929 * tools/tiffmedian.c: int declaration replaced with the uint32 to 3930 support large images as per bug 3931 3932 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 3933 39342003-08-12 Andrey Kiselev <[email protected]> 3935 3936 * libtiff/Makefile.in: Fixed problem with building in different 3937 directory. 3938 3939 * tools/tiff2ps.c: Added missing #include <strings.h>. 3940 3941 * libtiff/tif_dirwrite.c: More fixes for custom tags code 3942 from Ashley Dreier. 3943 39442003-08-07 Andrey Kiselev <[email protected]> 3945 3946 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 3947 Patch submitted by Balatoni Denes (with corrections from Tom 3948 Kacvinsky). 3949 3950 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 3951 being used. Reported by Tom Kacvinsky. 3952 3953 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 3954 reported by Ashley Dreier. 3955 3956 * libtiff/tif_print.c: Fixed problem with float tags reading, support 3957 for printing RATIONAL and BYTE tags added. 3958 39592003-08-05 Andrey Kiselev <[email protected]> 3960 3961 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 3962 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 3963 problems with predictor initialization. Remove O_RDONLY check during 3964 state block allocation to be able open LZW compressed files in update 3965 mode. 3966 3967 Problem exist for libtiff version of the tif_lzw.c module. One from 3968 lzw-compression-kit hasn't such troubles. 3969 39702003-08-04 Frank Warmerdam <[email protected]> 3971 3972 * libtiff/tif_write.c: modified tif_write.c so that the various 3973 encoded write functions use tif_postdecode() to apply byte order 3974 swapping (swab) to the application passed data buffer if the same 3975 would be done when reading. This allows us to write pixel data with 3976 more than 8 bits per sample to existing files of a non-native byte 3977 order. One side effect of this change is the applications buffer 3978 itself is altered in this case by the act of writing. 3979 3980 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 3981 39822003-07-25 Frank Warmerdam <[email protected]> 3983 3984 * libtiff/tif_open.c: avoid signed/unsigned casting warning 3985 initializing typemask as per patch from J.A. Strother. 3986 3987 * tools/tiffcp.c: fixed signed/unsigned casting warning. 3988 3989 * libtiff/tif_print.c: dos2unix conversion. 3990 3991 * tools/tiffsplit.c: increased the maximum number of pages that 3992 can be split. Patch provided by Andrew J. Montalenti. 3993 39942003-07-11 Andrey Kiselev <[email protected]> 3995 3996 * tools/raw2tiff.c: Added option `-p' to explicitly select color 3997 space of input image data. Closes 3998 3999 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 4000 40012003-07-08 Frank Warmerdam <[email protected]> 4002 4003 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 4004 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 4005 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 4006 avoid casting warning at /W4. 4007 40082003-07-03 Andrey Kiselev <[email protected]> 4009 4010 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 4011 40122003-06-30 Andrey Kiselev <[email protected]> 4013 4014 * libtiff/tif_pixarlog.c: Unused variables removed. 4015 4016 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 4017 EstimateStripByteCounts() as per bug 4018 4019 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4020 4021 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 4022 64-bit architectures as per bug 4023 4024 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 4025 4026 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 4027 unknown data type. 4028 40292003-06-19 Frank Warmerdam <[email protected]> 4030 4031 * libtiff/tif_print.c: fixed some serious bugs when printing 4032 custom tags ... almost certain to crash. 4033 4034 * libtiff/tif_dirread.c: Don't ignore custom fields that are 4035 autodefined. Not sure how this got to be like this. 4036 40372003-06-18 Andrey Kiselev <[email protected]> 4038 4039 * 3.6.0 Beta2 released. 4040 4041 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 4042 comparing as per bug 4043 4044 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 4045 4046 `-z' option now can be used to set the number of reported different 4047 bytes. 4048 40492003-06-09 Andrey Kiselev <[email protected]> 4050 4051 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 4052 to -r option to get the entire image as one strip. See 4053 4054 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4055 4056 for details. 4057 40582003-06-04 Andrey Kiselev <[email protected]> 4059 4060 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 4061 values as per bug 4062 4063 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4064 40652003-05-27 Frank Warmerdam <[email protected]> 4066 4067 * libtiff/tif_jpeg.c: modified segment_height calculation to always 4068 be a full height tile for tiled images. Also changed error to just 4069 be a warning. 4070 40712003-05-25 Andrey Kiselev <[email protected]> 4072 4073 * tools/fax2tiff.c: Page numbering fixed, as per bug 4074 4075 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 4076 40772003-05-20 Andrey Kiselev <[email protected]> 4078 4079 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4080 configure, Makefile.in: Switched back to the old behaviour. Likely 4081 better solution should be found for OJPEG support. 4082 40832003-05-11 Andrey Kiselev <[email protected]> 4084 4085 * libtiff/mkversion.c: Fixed problem with wrong string size when 4086 reading RELEASE-DATE file. 4087 40882003-05-07 Andrey Kiselev <[email protected]> 4089 4090 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 4091 index was out of range. 4092 40932003-05-06 Andrey Kiselev <[email protected]> 4094 4095 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4096 configure, Makefile.in: Improved libtiff compilation with OJPEG 4097 support. Now no need for patching IJG JPEG library, hack requred by 4098 libtiff will be compiled and used in-place. Implemented with 4099 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 4100 4101 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 4102 TIFFVGetFieldDefaulted() function. 4103 41042003-05-05 Andrey Kiselev <[email protected]> 4105 4106 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 4107 comments. 4108 4109 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 4110 was not copied from source image. 4111 4112 * libtiff/getimage.c: Workaround for some images without correct 4113 info about alpha channel as per bug 4114 4115 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 4116 41172003-04-29 Andrey Kiselev <[email protected]> 4118 4119 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 4120 It basically allows one to use the /flateDecode filter for ZIP 4121 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 4122 4123 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 4124 4125 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 4126 as per bug 4127 4128 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 4129 41302003-04-17 Andrey Kiselev <[email protected]> 4131 4132 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 4133 due to problems with multidirectory images. Quality of error messages 4134 improved. 4135 41362003-04-16 Andrey Kiselev <[email protected]> 4137 4138 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 4139 encoded images. See bug entries 4140 4141 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 4142 4143 and 4144 4145 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4146 4147 * libtiff/tif_dirread.c: Additional check for StripByteCounts 4148 correctness. Fixes 4149 4150 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 4151 41522003-03-12 Andrey Kiselev <[email protected]> 4153 4154 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 4155 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 4156 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 4157 tiffmedian.c}: Added library version reporting facility to all tools. 4158 41592003-03-06 Frank Warmerdam <[email protected]> 4160 4161 * port/install.sh.in: Fixed problems with install producing paths 4162 like ///usr/local/lib on cygwin. 4163 41642003-02-27 Andrey Kiselev <[email protected]> 4165 4166 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 4167 raw input page. Patch supplied by Julien Gaulmin. See 4168 4169 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 4170 4171 for details. 4172 41732003-02-26 Frank Warmerdam <[email protected]> 4174 4175 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 4176 responsible for byte swapping complex image data. 4177 4178 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 4179 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 4180 41812003-02-07 Andrey Kiselev <[email protected]> 4182 4183 * tools/ppm2tiff.c: Fixed problem with too many arguments. 4184 41852003-02-04 Andrey Kiselev <[email protected]> 4186 4187 * tools/raw2tiff.c: Memory leak fixed. 4188 41892003-02-03 Andrey Kiselev <[email protected]> 4190 4191 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 4192 (thanks, Julien!). More switches for fax2tiff tool for better control 4193 of input and output. Details at 4194 4195 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 4196 41972003-02-03 Frank Warmerdam <[email protected]> 4198 4199 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 4200 library so that we can check if there is already any tile/strip data 4201 before deciding between creating a compressor or a decompressor. 4202 42032003-01-31 Frank Warmerdam <[email protected]> 4204 4205 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 4206 a pre-existing compressed image. That is, image writing to 4207 pre-existing compressed images is not allowed. 4208 4209 * libtiff/tif_open.c: Removed error if opening a compressed file 4210 in update mode. 4211 4212 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 4213 42142003-01-31 Andrey Kiselev <[email protected]> 4215 4216 * config.guess, config.sub: Updated to recent upstream versions. 4217 42182003-01-15 Frank Warmerdam <[email protected]> 4219 4220 * cut 3.6.0 Beta release. 4221 42222002-12-20 Andrey Kiselev <[email protected]> 4223 4224 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 4225 in wrong way as per bug 4226 4227 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 4228 42292002-12-17 Frank Warmerdam <[email protected]> 4230 4231 * libtiff/tif_dirread.c: Allow wrong sized arrays in 4232 TIFFFetchStripThing(). 4233 4234 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 4235 42362002-12-02 Frank Warmerdam <[email protected]> 4237 4238 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 4239 Was using realloc even first time. Fix by Igor Venevtsev. 4240 42412002-11-30 Frank Warmerdam <[email protected]> 4242 4243 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 4244 field value. 4245 4246 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 4247 tags in TIFFVGetField() ... added missing break. 4248 42492002-10-14 Frank Warmerdam <[email protected]> 4250 4251 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 4252 the scanline buffer long enough when writing rgb triplets. 4253 The scanline needs to be 3 X the number of dots or else it will 4254 contain an incomplete triplet and programs that try to separate 4255 the eps by redefining the colorimage operator will get messed up. 4256 Patch supplied by William Bader. 4257 4258 * Makefile.in: added tif_extension.c to file list as per 4259 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 4260 42612002-10-11 Andrey Kiselev <[email protected]> 4262 4263 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 4264 large files (>2GiB) supporting. New option in the config.site: 4265 LARGEFILE="yes". Should be enough for I/O of the large files. 4266 42672002-10-10 Frank Warmerdam <[email protected]> 4268 4269 * libtiff/html/v3.6.0.html: new release notes. 4270 4271 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 4272 link for Andrey. Pointer to v3.6.0.html. 4273 4274 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 4275 42762002-10-07 Andrey Kiselev <[email protected]> 4277 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 4278 (thanks, Sebastian!). New switches: 4279 -b # for a bottom margin of # inches 4280 -c center image 4281 -l # for a left margin of # inches 4282 -r rotate the image by 180 degrees 4283 New features merged with code for shrinking/overlapping. 4284 Previously added -c and -n switches (for overriding PS units) renamed 4285 in -x and -y respectively. 4286 4287 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 4288 4289 * html/man/*.html: Updated from actual manual pages. 4290 42912002-10-06 Frank Warmerdam <[email protected]> 4292 4293 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 4294 size on windows. Use #define boolean hack. 4295 4296 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 4297 4298 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 4299 USING_VISUALAGE is defined. 4300 4301 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4302 43032002-10-03 Frank Warmerdam <[email protected]> 4304 4305 * libtiff/tiff.h: added COMPRESSION_JP2000. 4306 43072002-10-02 Andrey Kiselev <[email protected]> 4308 4309 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 4310 by the TIFFFetchByteArray() function. Should finally resolve 4311 4312 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 4313 4314 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 4315 4316 * html/Makefile.in: New targets added: html and groffhtml for 4317 producing HTML representations of the manual pages automatically. 4318 html target uses man2html tool, groffhtml uses groff tool. 4319 43202002-09-29 Frank Warmerdam <[email protected]> 4321 4322 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 4323 from John H. DuBois III. 4324 43252002-09-15 Andrey Kiselev <[email protected]> 4326 4327 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 4328 manual page for raw2tiff(1) tool. 4329 43302002-09-12 Andrey Kiselev <[email protected]> 4331 4332 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 4333 the tiffio.h header file. 4334 4335 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 4336 manual page for TIFFDataWidth() function 4337 43382002-09-08 Frank Warmerdam <[email protected]> 4339 4340 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 4341 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 4342 4343 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 4344 since we are unable to properly include the amount to skip. 4345 4346 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 4347 43482002-09-02 Andrey Kiselev <[email protected]> 4349 4350 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 4351 in TIFFFetchByteArray(). Problem described at 4352 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 4353 43542002-08-22 Andrey Kiselev <[email protected]> 4355 4356 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 4357 in _TIFFSetupFieldInfo() function. 4358 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 4359 4360 * /libtiff/tif_lzw.c: Additional consistency checking added in 4361 LZWDecode() and LZWDecodeCompat(). 4362 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 4363 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4364 4365 * /libtiff/tif_lzw.c: 4366 Added check for valid code lengths in LZWDecode() and 4367 LZWDecodeCompat(). Fixes 4368 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 4369 43702002-08-16 Andrey Kiselev <[email protected]> 4371 4372 * /libtiff/{Makefile.vc, libtiff.def}: 4373 Missed declarations added. 4374 43752002-08-15 Frank Warmerdam <[email protected]> 4376 4377 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 4378 return code from the underlying pick function. 4379 4380 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 4381 4382 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 4383 with FIELD_CUSTOM as mentioned in bug 169. 4384 4385 * tif_close.c: added logic to free dynamically created anonymous 4386 field definitions to correct a small memory leak. 4387 4388 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 4389 43902002-08-10 Andrey Kiselev <[email protected]> 4391 4392 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 4393 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 4394 43952002-07-31 Frank Warmerdam <[email protected]> 4396 4397 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 4398 JPEGDecode() as per bugzilla bug (issue 1): 4399 4400 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 4401 4402 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 4403 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 4404 present in the tiff tags. 4405 4406 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 4407 4408 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 4409 TIFFWriteScanline() now set tif_row explicitly in case the codec has 4410 fooled with the value. 4411 4412 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 4413 44142002-06-22 Andrey Kiselev <[email protected]> 4415 4416 * /tools/tiff2ps.c: Added workaround for some software that may crash 4417 when last strip of image contains fewer number of scanlines than 4418 specified by the `/Height' variable. See 4419 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 4420 for explanation. 4421 44222002-06-21 Andrey Kiselev <[email protected]> 4423 4424 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 4425 splitting long images in several pages. See 4426 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 4427 Patch granted by John Williams <[email protected]>. 4428 44292002-06-11 Frank Warmerdam <[email protected]> 4430 4431 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 4432 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 4433 This one is described in: 4434 4435 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 4436 4437 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 4438 4439 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 4440 44412002-05-10 Andrey Kiselev <[email protected]> 4442 4443 * tools/tiff2ps: New commandline switches to override resolution 4444 units obtained from the input file. Closes 4445 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 4446 44472002-04-26 Andrey Kiselev <[email protected]> 4448 4449 * libtiff/libtiff.def: Added missed declaration. 4450 44512002-04-22 Andrey Kiselev <[email protected]> 4452 4453 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 4454 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 4455 44562002-04-20 Andrey Kiselev <[email protected]> 4457 4458 * libtiff/tif_open.c: Pointers to custom procedures 4459 in TIFFClientOpen() are checked to be not NULL-pointers. 4460 44612002-04-18 Andrey Kiselev <[email protected]> 4462 4463 * libtiff/libtiff.def: Added missed declarations. 4464 4465 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 4466 44672002-04-16 Andrey Kiselev <[email protected]> 4468 4469 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 4470 Should finally close 4471 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4472 44732002-04-10 Andrey Kiselev <[email protected]> 4474 4475 * tools/tiff2ps: Division by zero fixed. 4476 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 4477 44782002-04-09 Andrey Kiselev <[email protected]> 4479 4480 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 4481 TIFFCheckpointDirectory() routine added. 4482 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 4483 4484 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 4485 for the new function. 4486 44872002-04-08 Andrey Kiselev <[email protected]> 4488 4489 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 4490 additional members tif->tif_decodestatus and tif->tif_encodestatus 4491 for correct handling of unconfigured codecs (we should not try to read 4492 data or to define data size without correct codecs). 4493 4494 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 4495 changed. Now it has used tif->tif_decodestatus and 4496 tif->tif_encodestatus. 4497 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 4498 case of __cvs_8.tif test image). 4499 4500 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 4501 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 4502 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 4503 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 4504 45052002-04-04 Andrey Kiselev <[email protected]> 4506 4507 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 4508 replaced by warnings. Now libtiff should read corrupted LZW-compressed 4509 files by skipping bad strips. 4510 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4511 45122002-04-03 Frank Warmerdam <[email protected]> 4513 4514 * libtiff/tif_dirwrite.c: Removed some dead code. 4515 4516 * libtiff/*: Cleanup some warnings. 4517 4518 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 4519 for variable length FIELD_CUSTOM values. Was int * but should be 4520 u_short *. 4521 45222002-04-01 Andrey Kiselev <[email protected]> 4523 4524 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 4525 utility (at cpStripToTile routine). 4526 45272002-03-27 Frank Warmerdam <[email protected]> 4528 4529 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 4530 4531 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 4532 4533 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 4534 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 4535 4536 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 4537 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 4538 45392002-03-26 Dwight Kelly <[email protected]> 4540 4541 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 4542 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 4543 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 4544 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 4545 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 4546 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 4547 45482002-03-26 Andrey Kiselev <[email protected]> 4549 4550 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 4551 now also uses TIFFRGBAImageOK before reading. This is additional fix 4552 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 4553 45542002-03-25 Andrey Kiselev <[email protected]> 4555 4556 * libtiff/: tif_getimage.c: Additional check for supported 4557 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 4558 TIFFRGBAImageOK before reading. 4559 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 4560 45612002-03-15 Andrey Kiselev <[email protected]> 4562 4563 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 4564 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 4565 TIFFDataType sizes instead of working with tiffDataWidth array 4566 directly. Should prevent out-of-borders bugs in case of unknown or 4567 broken data types. EstimateStripByteCounts routine modified, so it 4568 won't work when tags with uknown sizes founded. 4569 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 4570 45712002-03-13 Andrey Kiselev <[email protected]> 4572 4573 * libtiff/tif_getimage.c: Added support for correct handling 4574 `Orientation' tag in gtTileContig. Should be added in other gt* 4575 functions as well, but I have not images for testing yet. Partially 4576 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4577 45782002-03-10 Andrey Kiselev <[email protected]> 4579 4580 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 4581 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 4582 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 4583 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 4584 45852002-03-08 Andrey Kiselev <[email protected]> 4586 4587 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 4588 be stripped when installing, utility binaries will do. Closes 4589 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 4590 45912002-02-28 Frank Warmerdam <[email protected]> 4592 4593 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 4594 4595 * man/libtiff.3t: added copyright tag info. 4596 45972002-02-11 Frank Warmerdam <[email protected]> 4598 4599 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 4600 4601 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 4602 4603 * man/Makefile.in: Patch DESTDIR handling 4604 4605 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 4606 4607 * configure: OpenBSD changes for Sparc64 and DSO version. 4608 4609 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 4610 46112002-02-05 Frank Warmerdam <[email protected]> 4612 4613 * config.site/configure: added support for OJPEG=yes option to enable 4614 OJPEG support from config.site. 4615 46162002-01-27 Frank Warmerdam <[email protected]> 4617 4618 * html/document.html: fixed links for TIFf 6 docs. 4619 46202002-01-18 Frank Warmerdam <[email protected]> 4621 4622 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 4623 4624 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 4625 decodestrip function returns anything not greater than zero as per 4626 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 4627 4628 * configure: Modify CheckForBigEndian so it can work in a cross 4629 compiled situation. 4630 46312002-01-16 Frank Warmerdam <[email protected]> 4632 4633 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 4634 4635 * tools/tiffset.c: fix bug in error reporting. 4636 4637 * tools/tiffcp.c: fix several warnings that show up with -Wall. 4638 46392002-01-04 Frank Warmerdam <[email protected]> 4640 4641 * libtiff/tif_jpeg.c: fixed computation of segment_width for 4642 tiles files to avoid error about it not matching the 4643 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 4644 size.") for ITIFF files. Apparently the problem was incorporated since 4645 3.5.5, presumably during the OJPEG/JPEG work recently. 4646 46472001-12-15 Frank Warmerdam <[email protected]> 4648 4649 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 4650 4651 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 4652 4653 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 4654 (defined in tiffconf.h - 1 by default) then the RGBA interface 4655 will assume that a fourth extra sample is ASSOCALPHA if the 4656 EXTRASAMPLE value isn't set for it. This changes the behaviour of 4657 the library, but makes it work better with RGBA files produced by 4658 lots of applications that don't mark the alpha values properly. 4659 4660 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 4661 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 4662 46632001-12-12 Frank Warmerdam <[email protected]> 4664 4665 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 4666 override those from tiff directory. This makes this work with 4667 ImageGear generated files. 4668 46692001-12-07 Frank Warmerdam <[email protected]> 4670 4671 * html/Makefile.in: added missing images per bug 92. 4672 4673 * port/Makefile.in: fixed clean target per bug 92. 4674 46752001-11-28 Frank Warmerdam <[email protected]> 4676 4677 * Reissue 3.5.7 release. 4678 4679 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 4680 YYYYMMDD so that it is increasing over time. 4681 4682 * Makefile.in: Ensure that tiffvers.h is regenerated in the 4683 make release target. 4684 4685 * Makefile.in: added libtiff/tiffvers.h to the release file list. 4686 46872001-11-23 Frank Warmerdam <[email protected]> 4688 4689 * added html/v3.5.7.html, updated html/index.html. 4690 4691 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 4692 46932001-11-15 Frank Warmerdam <[email protected]> 4694 4695 * configure: fixed test for -lm. 4696 46972001-11-02 Frank Warmerdam <[email protected]> 4698 4699 * Added PHOTOMETRIC_ITULAB as per bug 90. 4700 4701 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 4702 47032001-10-10 Frank Warmerdam <[email protected]> 4704 4705 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 4706 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 4707 in keeping with TIFF 6.0 standard in tiff.h 4708 4709 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 4710 47112001-09-26 Frank Warmerdam <[email protected]> 4712 4713 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 4714 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 4715 47162001-09-24 Frank Warmerdam <[email protected]> 4717 4718 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 4719 4720 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 4721 4722 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 4723 error about LZW not being available. 4724 4725 * libtiff/tif_dir.c: propagate failure to initialize compression 4726 back from TIFFSetField() as an error status, so applications can 4727 detect failure. 4728 4729 * libtiff/tif_dir.c: removed the auto replacement of 4730 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 4731 4732 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 4733 from CVS as they are all supposed to be auto-generated by configure. 4734 47352001-09-22 Frank Warmerdam <[email protected]> 4736 4737 * libtiff/tif_ojpeg.c: new update from Scott. 4738 47392001-09-09 Frank Warmerdam <[email protected]> 4740 4741 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 4742 always use the "safe" version, even if there is a very slight 4743 cost in performance. 4744 4745 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 4746 4747 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 4748 in two places. 4749 4750 * libtiff/tif_getimage.c: Fixed problem with reading strips or 4751 tiles that don't start on a tile boundary. Fix contributed by 4752 Josep Vallverdu (from HP), and further described in bug 47. 4753 4754 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 4755 4756 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 4757 4758 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 4759 47602001-09-06 Frank Warmerdam <[email protected]> 4761 4762 * libtiff/tif_packbits.c: fixed memory overrun error. 4763 4764 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 4765 47662001-08-31 Frank Warmerdam <[email protected]> 4767 4768 * libtiff/tif_getimage.c: relax handling of contig case where 4769 there are extra samples that are supposed to be ignored. This 4770 should now work for 8bit greyscale or palletted images. 4771 4772 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 4773 47742001-08-28 Frank Warmerdam <[email protected]> 4775 4776 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 4777 images with more than four samples per pixel. See: 4778 4779 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 4780 47812001-08-10 Frank Warmerdam <[email protected]> 4782 4783 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 4784 in TIFFReadRGBATile() to avoid issues in cases of overlapping 4785 buffers. See Bug 69 in Bugzilla. 4786 4787 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 4788 4789 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 4790 47912001-08-09 Frank Warmerdam <[email protected]> 4792 4793 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 4794 when checking for 64 bit architectures as per bugzilla bug 67. 4795 47962001-07-27 Frank Warmerdam <[email protected]> 4797 4798 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 4799 bug 66. 4800 48012001-07-20 Frank Warmerdam <[email protected]> 4802 4803 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 4804 has been included. 4805 48062001-07-19 Frank Warmerdam <[email protected]> 4807 4808 * libtiff/tif_open.c: Seek back to zero after failed read, 4809 before writing header. 4810 48112001-07-18 Frank Warmerdam <[email protected]> 4812 4813 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 4814 much better. Now depends on having patched libjpeg as per 4815 patch in contrib/ojpeg/*. 4816 48172001-07-17 Frank Warmerdam <[email protected]> 4818 4819 * */Makefile.in: added DESTDIR support. 4820 4821 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 4822 48232001-07-16 Frank Warmerdam <[email protected]> 4824 4825 * configure, libtiff/Makefile.in: applied OpenBSD patches 4826 as per: 4827 4828 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 4829 48302001-06-28 Frank Warmerdam <[email protected]> 4831 4832 * libtiff/tif_getimage.c: Fixed so that failure is properly 4833 reported by gtTileContig, gtStripContig, gtTileSeparate and 4834 gtStripSeparate. 4835 4836 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 4837 4838 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 4839 Updated bug section of tiffcmp.1 to note tiled file issues. 4840 4841 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 4842 48432001-06-22 Frank Warmerdam <[email protected]> 4844 4845 * configure: Changes for DSO generation on AIX provided by 4846 John Marquart <[email protected]>. 4847 4848 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 4849 on Darwin thanks to Robert Krajewski ([email protected]) and 4850 Keisuke Fujii ([email protected]). 4851 48522001-06-13 Frank Warmerdam <[email protected]> 4853 4854 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 4855 4856 * man/tiff2rgba.1: new 4857 48582001-05-22 Frank Warmerdam <[email protected]> 4859 4860 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 4861 48622001-05-13 Frank Warmerdam <[email protected]> 4863 4864 * libtiff/tools/thumbnail.c: changed default output compression 4865 to packbits from LZW since LZW isn't generally available. 4866 48672001-05-12 Frank Warmerdam <[email protected]> 4868 4869 * libtiff/tif_ojpeg.c: New. 4870 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 4871 to OJPEG support. 4872 4873 Scott Marovich <[email protected]> supplied OJPEG support. 4874 48752001-05-11 Frank Warmerdam <[email protected]> 4876 4877 * tiff.h: removed, it duplicates libtiff/tiff.h. 4878 48792001-05-08 Frank Warmerdam <[email protected]> 4880 4881 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 4882 ensure everything is in order. 4883 4884 * libtiff/libtiff.def: added TIFFCreateDirectory and 4885 TIFFDefaultStripSize as per: 4886 4887 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 4888 48892001-05-02 Frank Warmerdam <[email protected]> 4890 4891 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 4892 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 4893 force use of uint32 counts instead of short counts. 4894 4895 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 4896 case of writing TIFF_BYTE/TIFF_SBYTE fields. 4897 4898 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 4899 49002001-05-01 Frank Warmerdam <[email protected]> 4901 4902 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 4903 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 4904 49052001-04-05 Frank Warmerdam <[email protected]> 4906 4907 * tiffio.h: removed C++ style comment. 4908 4909 * configure: fixed up SCRIPT_SH/SHELL handling. 4910 4911 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 4912 4913 * config.guess: documented more variables as per bug 40. 4914 49152001-04-03 Frank Warmerdam <[email protected]> 4916 4917 * configure, *Makefile.in: Various changes to improve configuration 4918 for HP/UX specifically, and also in general. They include: 4919 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 4920 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 4921 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 4922 - Use -${MAKEFLAGS} in sub makes from makefiles. 4923 4924 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 4925 49262001-04-02 Frank Warmerdam <[email protected]> 4927 4928 * libtiff/tiff.h: Applied hac to try and resolve the problem 4929 with the inttypes.h include file on AIX. 4930 4931 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4932 4933 * VERSION: update to 3.5.7 beta in preparation for release. 4934 4935 * configure/config.site: modified to check if -lm is needed for 4936 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 4937 4938 * config.guess: updated wholesale to an FSF version apparently 4939 from 1998 (as opposed to 1994). This is mainly inspired by 4940 providing for MacOS X support. 4941 49422001-03-29 Frank Warmerdam <[email protected]> 4943 4944 * configure, Makefile.in, etc: added support for OPTIMIZER being 4945 set from config.site. 4946 49472001-03-28 Frank Warmerdam <[email protected]> 4948 4949 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 4950 4951 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 4952 sizes. It fixes two problems: 4953 4954 Without scaling (-S) the fax is now centered on the page size specified 4955 with -H and/or -W. Before, fax2ps was using an obscure and practially 4956 useless algorithm to allocate the image relative to Letter sized paper 4957 which sometime sled to useless whitespace on the paper, while at the 4958 same time cutting of the faxes printable area at the opposite border. 4959 4960 Second, scaling now preserves aspect ratio, which makes unusual faxes 4961 (in particular short ones) print properly. 4962 4963 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 4964 4965 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 4966 Bruce A. Mallett. See check message for detailed information 4967 on all the changes, including a faster encoder, fixes for level 4968 2 PostScript, and support for the imagemask operator. 4969 49702001-03-27 Frank Warmerdam <[email protected]> 4971 4972 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 4973 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 4974 4975 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4976 49772001-03-16 Frank Warmerdam <[email protected]> 4978 4979 * tif_dirinfo.c: moved definition of copyright tag in field list. 4980 Apparently they have to be in sorted order by tag id. 4981 49822001-03-13 Frank Warmerdam <[email protected]> 4983 4984 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 4985 images in RGBA interface. 4986 49872001-03-02 Frank Warmerdam <[email protected]> 4988 4989 * Added TIFFTAG_COPYRIGHT support. 4990 49912001-02-19 Frank Warmerdam <[email protected]> 4992 4993 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 4994 with support for extracting subimages with the ,n syntax, and also 4995 adding the -b bias removal flag. 4996 49972001-02-16 Frank Warmerdam <[email protected]> 4998 4999 * libtiff/libtiff.def: Brent Roman submitted new version adding 5000 serveral missing entry points. 5001 5002 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 5003 Some sort of weird VMS thing. 5004 5005 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 5006 5007 * tif_luv.c/tiff.h/tiffio.h: 5008 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 5009 ([email protected]). He writes: 5010 5011 1) I improved the gamut-mapping function in tif_luv.c for imaginary 5012 colors, because some images were being super-saturated on the input 5013 side and this resulted in some strange color shifts in the output. 5014 5015 2) I added a psuedotag in tiff.h to control random dithering during 5016 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 5017 on for 24-bit LogLuv output. Dithering improves the average color 5018 accuracy over the image. 5019 5020 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 5021 tiffio.h, to expose internal routines for converting between LogLuv and 5022 XYZ coordinates. This is helpful for writing more efficient, 5023 specialized conversion routines, especially for reading LogLuv files. 5024 5025 Changes applied with minor edits. 5026 50272001-01-23 Frank Warmerdam <[email protected]> 5028 5029 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 5030 whether we are encoding or decoding. This is to ensure graceful 5031 recovery if TIFFClientOpen() discovers an attempt to open a compressed 5032 file for "r+" access, and subsequently close it, as it resets the 5033 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 5034 compressor's concept of whether it is in encode or decode mode. 5035 50362001-01-08 Mike Welles <[email protected]> 5037 5038 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 5039 50402001-01-07 Frank Warmerdam <[email protected]> 5041 5042 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 5043 as per bug report by Patrick Connor. 5044 50452000-12-28 Frank Warmerdam <[email protected]> 5046 5047 * Added RELEASE-DATE file to release file list. 5048 5049 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 5050 50512000-12-22 Mike Welles <[email protected]> 5052 * added link to CVS mirror from index.html 5053 5054 * updated html/internals.html to note that LZW compression is 5055 not supported by default. 5056 50572000-12-22 Frank Warmerdam <[email protected]> 5058 5059 * updated html/libtiff.html to not point at Niles' old JPL web site 5060 for the man pages, point at www.libtiff.org. 5061 50622000-12-21 Frank Warmerdam <[email protected]> 5063 5064 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 5065 Leonard Rosenthol <[email protected]>. May interfere 5066 with correct building on older systems. If so, please let me know. 5067 50682000-12-19 Mike Welles <[email protected]> 5069 5070 * Took out LZW Encoding from tif_lzw.c 5071 5072 * Created HOWTO-RELEASE 5073 5074 * Created html/v3.5.6.html 5075 5076 * updated index.html 5077 50782000-12-01 Frank Warmerdam <[email protected]> 5079 5080 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 5081 Patches supplied by Frank Cringle <[email protected]> 5082 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 5083 50842000-11-24 Frank Warmerdam <[email protected]> 5085 5086 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 5087 target so that the private headers required by libgeotiff can be 5088 installed with the others. They are not installed by default. 5089 5090 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 5091 targets so libtiff.so will be built with an explicit dependency 5092 on libm.so. 5093 5094 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 5095 libtiff.so.3.5.5. 5096 5097 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 5098 file, or ALPHA version logic. Added stuff about DIST_POINT in 5099 place of DIST_TYPE and the alpha release number stuff. 5100 51012000-11-22 Frank Warmerdam <[email protected]> 5102 5103 * I have applied a patch from Steffen Moeller <[email protected]> to 5104 the configure script so that it now accepts the --prefix, and 5105 --exec-prefix directives. 5106 51072000-11-13 Frank Warmerdam <warmerda@cs46980-c> 5108 5109 * I have made a variety of modifications in an effort to ensure the 5110 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 5111 file which seems to be updated regularly. 5112 5113 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 5114 version include file. 5115 o renamed version.h to tiffvers.h because we now have to install it 5116 with the public libtiff include files. 5117 o include tiffvers.h in tiffio.h. 5118 o updated tif_version.c to use tiffvers.h. 5119 o Updated Makefile.in accordingly. 5120 5121 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 5122 I have updated the win32 detection rules in tiffcomp.h. 5123 51242000-10-20 Frank Warmerdam <warmerda@cs46980-c> 5125 5126 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 5127 the strip/tile width and height aren't multiples of the sampling size. 5128 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 5129 Some patches from Rick LaMont of Dot C Software. 5130 5131 * Modified tif_packbits.c encoder to avoid compressing more 5132 data than provided if rowsize doesn't factor into provided data 5133 (such as occurs for YCbCr). 5134 51352000-10-19 Frank Warmerdam <warmerda@cs46980-c> 5136 5137 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 5138 roundup if rows_per_strip not a multiple of vertical sample size. 5139 51402000-10-16 Frank Warmerdam <warmerda@cs46980-c> 5141 5142 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 5143 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5144 from [email protected]. 5145 5146 * Modified tif_packbits.c decoding to avoid overrunning the 5147 output buffer, and to issue a warning if data needs to be 5148 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5149 51502000-10-12 Frank Warmerdam <warmerda@cs46980-c> 5151 5152 * Modified tiff2bw to ensure portions add to 100%, and that 5153 white is properly recovered. 5154 5155 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 5156 Patch c/o Stanislav Brabec <[email protected]> 5157 51582000-09-30 Frank Warmerdam <warmerda@cs46980-c> 5159 5160 * Modified TIFFClientOpen() to emit an error on an attempt to 5161 open a comperessed file for update (O_RDWR/r+) access. This is 5162 because the compressor/decompressor code gets very confused when 5163 the mode is O_RDWR, assuming this means writing only. See 5164 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 5165 51662000-09-27 Frank Warmerdam <warmerda@cs46980-c> 5167 5168 * Added GNULDdso target an`d switched linux and freebsd to use it. 5169 51702000-09-26 Frank Warmerdam <warmerda@cs46980-c> 5171 5172 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 5173 of EXPAND1D() as per bug 11 (from Roman). 5174 51752000-09-25 Frank Warmerdam <warmerda@cs46980-c> 5176 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 5177 cygwin compatibility. 5178 5179 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 5180 be a proper fix to the buffer sizing problem. See 5181 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 5182 5183 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 5184 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 5185 Thanks to Nick Lamb <[email protected]> for reporting the 5186 bug and proving the patch. 5187 51882000-09-18 Frank Warmerdam <warmerda@cs46980-c> 5189 5190 * Fixed tif_jpeg.c so avoid destroying the decompressor before 5191 we are done access data thanks to bug report from: 5192 Michael Eckstein <[email protected]>. 5193 5194 * Reverted tif_flush change. 5195 51962000-09-14 Frank Warmerdam <warmerda@cs46980-c> 5197 5198 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 5199 error when TIFF_BEENWRITING is not set. This ensures that the 5200 directory contents can still be flushed by TIFFFlush(). 5201 52022000-08-14 Frank Warmerdam <[email protected]> 5203 5204 * tif_open.c: Don't set MMAP for O_RDWR files. 5205 5206 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 5207 so that files opened for update can be strip chopped too. 5208 5209 * tif_read.c: fixed up bug with files missing rowsperstrip and 5210 the strips per separation fix done a few weeks ago. 5211 52122000-07-17 Frank Warmerdam <warmerda@cs46980-c> 5213 5214 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 5215 SAMPLEFORMAT_COMPLEXINT. 5216 52172000-07-13 Mike Welles <[email protected]> 5218 5219 * index.html, bugs.html: added bugzilla info. 5220 52212000-07-12 Frank Warmerdam <[email protected]> 5222 5223 * tif_read.c: fix subtle bug with determining the number of 5224 rows for strips that are the last strip in a separation but 5225 not the last strip of all in TIFFReadEncodedStrip(). 5226 5227 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 5228 Peter Skarpetis <[email protected]> 5229 52302000-06-15 Frank Warmerdam <[email protected]> 5231 5232 * Modified tiffio.h logic with regard to including windows.h. It 5233 won't include it when building with __CYGWIN__. 5234 52352000-05-11 Frank Warmerdam <warmerda@cs46980-c> 5236 5237 * README: update to mention www.libtiff.org, don't list Sam's old 5238 email address. 5239 5240 * configure: Fixed DSO test for Linux as per patch from 5241 Jan Van Buggenhout <[email protected]>. 5242 52432000-04-21 Frank Warmerdam <[email protected]> 5244 5245 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 5246 one tile/strip images with an offset, and byte count of zero. These 5247 could be "unpopulated" images. 5248 52492000-04-18 Frank Warmerdam <[email protected]> 5250 5251 * contrib/addtiffo: Added "averaging" resampling option. 5252 5253 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 5254 5255Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 5256 5257 * tools/Makefile.in: Modified to install properly on SGI. 5258 52592000-04-12 Mike Welles <[email protected]> 5260 * configure: Fixed stupid mistake in libc6 test on Linux 5261 52622000-04-04 Mike Welles <[email protected]> 5263 * tif_win32.c: Applied patch to fix overreads and ovverwrites 5264 caught by BoundsChecker. From Arvan Pritchard 5265 <[email protected]> (untested). 5266 5267 * tif_getimage.c: Applied patch to silence VC6 warnings. From 5268 Arvan Pritchard <[email protected]> 5269 5270 * tif_lzw.c: Applied patch to silence VC6 warnings. From 5271 Arvan Pritchard <[email protected]> 5272 52732000-03-28 Frank Warmerdam <warmerda@cs46980-c> 5274 5275 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 5276 52772000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 5278 5279 * fax2ps: Fixed mixup of width and height in bounding box statement 5280 as per submission by Nalin Dahyabhai <[email protected]>. 5281 52822000-03-27 Mike Welles <[email protected]> 5283 5284 * fax2ps: Modified printruns to take uint32 instead of uint16. 5285 Patch courtesy of Bernt Herd <[email protected]> 5286 52872000-03-20 Mike Welles <[email protected]> 5288 5289 * configure: added test for libc6 for linux targets. Bug reported by 5290 Stanislav Brabec <[email protected]> 5291 5292 * Added 3.5 docs to html/Makefile.in. 5293 Thanks to Stanislav Brabec <[email protected]> 5294 5295 * configure: fixed bugs in sed scripts 5296 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 5297 fix submitted to Stanislav Brabec <[email protected]> 5298 5299 * tools/iptcutil was not in files list, and wasn't being 5300 added to tar archive. Updated Makefile.in. 5301 53022000-03-17 Frank Warmerdam <warmerda@cs46980-c> 5303 5304 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 5305 conversion for the run arrays. 5306 53072000-03-03 Frank Warmerdam <[email protected]> 5308 5309 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 5310 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 5311 53122000-03-02 Frank Warmerdam <[email protected]> 5313 5314 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 5315 5316 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 5317 to avoid overruns encountered with frle_bug.tif. 5318 5319Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 5320 5321 * Fixed tools/tiffcmp so that stopondiff testing works. 5322 Patch care of Joseph Orost <[email protected]>. 5323 53242000-01-28 <warmerda@CS46980-B> 5325 5326 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 5327 set to 1, and added default (off) setting in tiffconf.h. This 5328 should eventually be set by the configure script somehow. 5329 5330 The original work on all these 2-4GB changes was done by 5331 Peter Smith ([email protected]). 5332 5333 * Modified tif_win32.c to support 2-4GB seeks. 5334 5335 * tentatively changed toff_t to be unsigned instead of signed to 5336 facilitate support for 2-4GB files. 5337 5338 * Updated a variety of files to use toff_t. Fixed some mixups 5339 between toff_t and tsize_t. 5340 5341Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 5342 5343 * Largely reimplemented contrib/addtiffo to avoid temp files, 5344 updating the TIFF file in place. Fixed a few other bugs to. 5345 5346 * Set tif_rawdatasize to zero when freeing raw data buffer in 5347 TIFFWriteDirectory(). 5348 5349 * Enabled "REWRITE_HACK" in tif_write.c by default. 5350 5351 * Fix bug in tif_write.c when switching between reading one directory 5352 and writing to another. 5353 5354 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 5355 5356Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 5357 5358 * Added TIFFmemory(3t) functions to libtiff.def. 5359 5360Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 5361 5362 * Added libtiff/libtiff.def to TIFFILES distribution list. 5363 5364Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 5365 5366 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 5367 5368 * Altered descriptions in tools to reflect "by default" lzw not supported 5369 5370 * Updated index.html to note lzw compression kit. 5371 5372Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 5373 5374 * Added fax3sm_winnt.c to distribution list in Makefile.in. 5375 5376Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 5377 5378 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 5379 5380 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 5381 when LZW compression invoked. 5382 5383 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 5384 in tools to reflect removal of LZW compression 5385 5386Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 5387 5388 * Fixed bug that caused LZW (non) compression to segfault. Added 5389 warning about LZW compression removed being removed, and why. 5390 5391 * Added nostrip to install in tools/Makefile.in so that debugging 5392 symbols are kept. 5393 5394Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 5395 5396 * Added patch from Ivo Penzar <[email protected]>, 5397 supporting Adobe ZIP deflate. Untested. 5398 5399Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 5400 5401 * Made Packbits the default compression in tools/tiff2rgba.c instead 5402 of LZW. 5403 5404Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 5405 5406 * Added tif_luv to contrib/djgpp/Makefile.lib. 5407 5408Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 5409 5410 * Added zip creation to relase makefile target 5411 5412 * Added html for TIFFWriteTile.3t man page. 5413 5414Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 5415 5416 * Added some changes to tif_write.c to support rewriting existing 5417 fixed sized tiles and strips. Code mods disabled by default, only 5418 enabled if REWRITE_HACK is defined for now. 5419 5420Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 5421 5422 * Added TIFFWriteTile.3t man page. 5423 5424Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 5425 5426 * Added notes on use of makefile.vc in build.html, and fixed 5427 email subscription address. 5428 5429199-11-28 Mike Welles <[email protected]> 5430 5431 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 5432 5433 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 5434 from Bruce Carmeron <[email protected]> -- modifications of 5435 changes made by Frank (sun cc still complained on cast). 5436 5437 * Added tiffconf.h to install target per request from Bill 5438 Radcliffe <[email protected]>: "We need a way for ImageMagick to 5439 know features have been compiled into the TIFF library in order to 5440 handle things properly". 5441 5442Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 5443 5444 * fixed various VC++ warnings as suggested by Gilles Vollant 5445 <[email protected]>. 5446 5447Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 5448 5449 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 5450 not imply applications are responsible for image data swapping. 5451 54521999-11-22 Mike Welles <[email protected]> 5453 * HTML-ized the man pages, added to html/man 5454 5455 * Removed LZW Compression to comply with Unisys patent extortion. 5456 54571999-09-29 Mike Welles <[email protected]> 5458 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 5459 From Ivo Penzar <[email protected]. 5460 5461 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 5462 memory mapped files. <[email protected]> 5463 54641999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 5465 * Corrected alpha versioning. 5466 5467 * Removed distinction between alpha and release targets in Makefile.in. 5468 5469 * added release.stamp target, which tags cvs tree, and updates 5470 "RELEASE-DATE" 5471 5472 * added releasediff target, which diffs tree with source as of 5473 date in "RELEASE-DATE" 5474 5475 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 5476 away from alpha/non-alpha distinctions). 5477 5478 * updated html to reflect release 5479 54801999-09-23 <warmerda@CS46980-B> 5481 5482 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 5483 5484 * Added CYGWIN case in configure. 5485 5486Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 5487 5488 * Applied Francois Dagand's patch to handle fax decompression bug. 5489 (sizes >= 65536 were failing) 5490 5491Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 5492 5493 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 5494 by Christopher Lawton <[email protected]> 5495 5496Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 5497 5498 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 5499 Albert Chin-A-Young <[email protected]> 5500 5501 * Added TIFFReassignTagToIgnore() API on behalf of 5502 Bruce Cameron <[email protected]>. Man page still pending. 5503 5504Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 5505 5506 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 5507 files to provide for a rudimentary testsuite. 5508 5509 * Added contrib/tags back from old distribution ... fixed up a bit. 5510 55111999-08-16 <warmerda@CS46980-B> 5512 5513 * Added simple makefile.vc makefiles for building with MS VC++ 5514 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 5515 better solutions for some users. 5516 5517Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 5518 5519 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 5520 put it in tools since part of it is in C++. 5521 55221999-08-16 Michael L. Welles <[email protected]> 5523 5524 * Updated html/index.html with anon CVS instructions. 5525 5526Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 5527 5528 * pre-remove so link before softlink in LINUXdso action in 5529 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 5530 the first. 5531 5532 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 5533 colormaps owned by the TIFF handle itself when trying to fixup wrong 5534 (eight bit) colormaps. Corrected by maintaining a private copy of 5535 the colormap. 5536 5537 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 5538 tif_getimage.c. 5539 5540 * CVS Repository placed at remotesensing.org. ChangeLog added. 5541