12015-08-30 Bob Friesenhahn <[email protected]> 2 3 * configure.ac: libtiff 4.0.5 released. 4 52015-08-29 Bob Friesenhahn <[email protected]> 6 7 * CMakeLists.txt: Applied patch by Roger Leigh (via tiff mailing 8 list on 2015-08-29) to add ld-version-script option to cmake build 9 to match autoconf. Note: defaults to 'on' to be ABI-compatible by 10 default with common Linux distribution builds. Note that the 11 autoconf configure script defaults to 'off'. 12 13 * html/build.html: Applied patch by Roger Leigh (via tiff mailing 14 list on 2015-08-29) to describe how to use CMake to build libtiff. 15 162015-08-28 Bob Friesenhahn <[email protected]> 17 18 * html/v4.0.5.html: Added HTML file describing the changes which 19 will appear in the 4.0.5 release. 20 212015-08-23 Bob Friesenhahn <[email protected]> 22 23 * libtiff/tiffiop.h: For MinGW comiles, make sure that build 24 supports necessary __MSVCRT_VERSION__ (at least at least 0x800). 25 Otherwise large files can not be supported for POSIX-style I/O. 26 27 * tools/fax2tiff.c (main): Eliminate a compiler warning in 64-bit 28 builds about cast to thandle_t. 29 30 * test/rewrite_tag.c (main): Does not require any arguments. 31 322015-08-20 Bob Friesenhahn <[email protected]> 33 34 * tools/CMakeLists.txt, port/snprintf.c: Patch by Roger Leigh to 35 fix build issues when using Cmake due to Windows large file 36 changes. 37 382015-08-18 Bob Friesenhahn <[email protected]> 39 40 * libtiff/tiffiop.h: First cut at supporting large files under 41 Microsoft Windows using tif_unix.c and the libtiff tools. This 42 only works if the Windows CDK is new enough to support the APIs 43 used (Visual C++ 2005 or later). Support for large files is not 44 actually tested yet. 45 462015-08-15 Bob Friesenhahn <[email protected]> 47 48 * libtiff/tif_jpeg.c: Applied patch by Räisä Olli to assure that 49 client_data is initialized to a known value, and to report an 50 error on two memory allocation failures. 51 522015-08-13 Bob Friesenhahn <[email protected]> 53 54 * CMakeLists.txt: Applied patch by Roger Leigh to fix libtiffxx 55 symbol versioning. Patch was mailed to libtiff list on Thu, 13 56 Aug 2015. 57 582015-07-04 Bob Friesenhahn <[email protected]> 59 60 * cmake: Add d suffix to debug libraries with MSVC. Patch #3 of 3 61 by Roger Leigh posted to tiff list on Wed, 1 Jul 2015 15:58:20 62 +0100. 63 64 * cmake: Add extra warning flags. Patch #2 of 3 by Roger Leigh 65 posted to tiff list on Wed, 1 Jul 2015 15:58:20 +0100. 66 67 * cmake: Correct snprintf fallback for VS2015. Patch #1 of 3 by 68 Roger Leigh posted to tiff list on Wed, 1 Jul 2015 15:58:20 +0100. 69 702015-06-24 Bob Friesenhahn <[email protected]> 71 72 * CMakeLists.txt: Add CMake patchset by Roger Leigh as posted to 73 libtiff mailing list on Mon, 22 Jun 2015 21:21:01 +0100. Several 74 corrections to ensure that the autotools build still works were 75 added by me. I have not yet tested the build using 'cmake' or 76 MSVC with 'nmake'. 77 782015-06-21 Bob Friesenhahn <[email protected]> 79 80 * test/Makefile.am: tiff2rgba-quad-tile.jpg.sh depends on the JPEG 81 library so only execute if JPEG is available. 82 83 * libtiff 4.0.4 released. 84 85 * configure.ac: Add a HAVE_FOO Automake conditional for each 86 add-on library. 87 88 * test/Makefile.am (JPEG_DEPENDENT_CHECK_PROG): raw_decode 89 requires JPEG support to compile. Use Automake conditional to 90 only include it when JPEG support is available. 91 92 * html/build.html: Try to improve the nmake-based VC++ build 93 description. 94 95 * libtiff/tiffconf.vc.h: Build fixes based on testing. 96 97 * libtiff/tif_config.vc.h: Build fixes based on testing. 98 99 * libtiff/libtiff.def: TIFFRasterScanline does not exist so remove 100 export for it. 101 1022015-06-20 Bob Friesenhahn <[email protected]> 103 104 * libtiff/tif_config.vc.h: Make adjustments to match the new 105 definitions that configure produces, including for WIN64. Still 106 needs to be tested. 107 108 * configure.ac: For 64-bit MinGW, fix SSIZE_FORMAT formatting 109 specifier. 64-bit MinGW supports 'long long' but support for 110 'lld' is not assured by the run-time DLLs and so GCC warns. 111 Add TIFF_SIZE_T and TIFF_SIZE_FORMAT to provide a type definition 112 and printf format specifier to deal with printing values of 113 'size_t' type. In particular, this was necessary for WIN64. 114 Added a configure test for if the system headers provide 'optarg' 115 (normal case) and block out the many explicit 'extern' statements 116 in the utilities. This was found to be necessary under Windows 117 when getopt is in a DLL and the symbols are already imported with 118 dllimport via standard header files. 119 120 * test/raw_decode.c (XMD_H): Avoid conflicting typedefs for INT32 121 and boolean in MinGW build due to including jpeglib.h. 122 123 * test/rewrite_tag.c (main): Fix problem with location of variable 124 declaration. 125 126 * libtiff/libtiff.def: Added exports for TIFFGetConfiguredCODECs, 127 TIFFReadRGBAImageOriented, TIFFSetCompressionScheme, 128 TIFFSwabArrayOfTriples, TIFFVGetFieldDefaulted, _TIFFCheckRealloc, 129 TIFFRasterScanline, TIFFSetErrorHandlerExt, 130 TIFFSetWarningHandlerExt, TIFFNumberOfDirectories, 131 TIFFCreateCustomDirectory, TIFFCreateEXIFDirectory, 132 TIFFWriteCustomDirectory, _TIFFRewriteField as recommended by 133 Roger Leigh and justified by use in libtiff tests, documentation, 134 and changelog notes. Also sorted symbol list and removed 135 duplicate entries. 136 1372015-06-16 Bob Friesenhahn <[email protected]> 138 139 * libtiff/tif_getimage.c: Fix four Coverity issues related to 140 unintended sign extension. 141 1422015-06-16 Even Rouault <even.rouault at spatialys.com> 143 144 * libtiff/tif_unix.c: fix compilation with MSVC (fix by Jeff McKenna) 145 1462015-06-14 Lee Howard <[email protected]> 147 148 * libtiff/tif_unix.c: contribution from Vadim Zeitlin on 149 Bugzilla Bug #2510 fixes several harmless but still annoying 150 warnings 151 152 * configure: contribution from Ludolf Holzheid on Bugzilla 153 Bug #2498. Adds an option to select the file I/O style on 154 Windows hosts. 155 156 * libtiff/tif_getimage.c: contribution from Gary Cramblitt 157 on Bugzilla Bug #2409. Correct reading of certain tiled TIFFs. 158 159 * configure, configure.ac: contribution from Marcos H. Woehrmann 160 on Bugzilla Bug #2405. Correct shell equality operator. 161 162 * tools/tiffgt.c (raster_draw): contribution from Jay Berkenbilt 163 on Bugzilla Bug #2401. Appropriately call glFlush(). 164 165 * tools/tiff2pdf.c: change ColorTransform from "0" to "1" 166 following Bugzilla Bug #2150. 167 1682015-06-13 Lee Howard <[email protected]> 169 170 * libtiff/tif_lzw.c: contribution from Andy Cave - decode 171 files that contain consecutive CODE_CLEAR codes. 172 173 * tools/tiff2pdf.c: contribution from Antti S. Lankila on 174 Bugzilla Bug #2078. Suppress initial output of the header. 175 176 * tools/tiff2pdf.c: contribution from Yuriy M. Kaminskiy - 177 Take care in using the return value from snprintf(). 178 179 * tools/tiffcrop.c: contribution from Eduardo Robles Elvira - 180 correctly copy the compression tag from the source TIFF. 181 182 * tools/tiff2ps.c: contribution from Eduardo Robles Elvira - 183 correct sizing and scaling problems with output document. 184 1852015-06-10 Bob Friesenhahn <[email protected]> 186 187 * libtiff/tif_jpeg.c (JPEGDecode): Split JPEGDecode() into two 188 clean implementations in order to avoid pre-processor hell. Only 189 one of the implementations is used in a given build. 190 1912015-06-08 Even Rouault <even.rouault at spatialys.com> 192 193 * libtiff/tif_jpeg.c: Fix compilation in BITS_IN_JSAMPLE == 12 194 case 195 1962015-06-07 Bob Friesenhahn <[email protected]> 197 198 * libtiff/tif_write.c (TIFFWriteEncodedStrip): Fix Coverity 715975 199 "Division or modulo by zero". 200 (TIFFWriteEncodedTile): Fix Coverity 715976 and 715977 "Division 201 or modulo by zero". 202 (TIFFWriteRawStrip): Fix Coverity 715978 "Division or modulo by 203 zero". 204 (TIFFWriteScanline): Fix Coverity 715979 "Division or modulo by 205 zero". 206 207 * libtiff/tif_read.c (TIFFStartTile): Fix Coverity 715973 and 208 715974 "Division or modulo by zero". 209 2102015-05-31 Bob Friesenhahn <[email protected]> 211 212 * libtiff/tif_dir.c (TIFFNumberOfDirectories): Quiet Coverity 213 1134470 "Logically dead code" by making the roll-over check 214 explicit. 215 216 * libtiff/tif_luv.c (LogLuvDecodeTile): Fix Coverity 991227 217 "Division or modulo by zero". 218 (LogLuvDecodeStrip): Fix Coverity 991239 "Division or modulo by 219 zero". 220 (LogLuvEncodeStrip): Fix Coverity 991240 "Division or modulo by 221 zero". 222 (LogLuvEncodeTile): Fix Coverity 991241 "Division or modulo by 223 zero". 224 225 * libtiff/tif_dirread.c (TIFFReadDirEntryDoubleArray): Fix 226 Coverity 298626 "Logically dead code". 227 (TIFFReadDirEntryFloatArray): Fix Coverity 298627 "Logically dead 228 code". 229 (TIFFReadDirEntryIfd8Array): Fix Coverity 298628 "Logically dead 230 code". 231 (TIFFReadDirEntrySlong8Array): Fix Coverity 298629 "Logically dead 232 code" 233 234 * libtiff/tif_dir.c (TIFFNumberOfDirectories): Don't depend on ++ 235 operator precedenc in evaluation. Might quench Coverity 1134470 236 "Logically dead code". 237 238 * libtiff/tif_jpeg.c (JPEGDecode): Fix Coverity 602597 "Operands 239 don't affect result". This change uses ifdefs to include 240 applicable code based on properties of libjpeg. Still needs to be 241 re-tested with 12-bit "6b" and "MK1". 242 2432015-05-30 Bob Friesenhahn <[email protected]> 244 245 * libtiff/tif_dirwrite.c (_TIFFRewriteField): Fix Coverity 1024310 246 "Resource leak". 247 248 * libtiff/tif_ojpeg.c (OJPEGReadHeaderInfoSecStreamDht): Fix 249 Coverity 601720 "Resource leak". 250 251 * libtiff/tif_jpeg.c (JPEGCleanup): Fix Coverity 298624 252 "Dereference before null check". 253 254 * libtiff/tif_ojpeg.c (OJPEGReadBufferFill): Fix Coverity 603400 255 "Missing break in switch". 256 257 * contrib/addtiffo/tif_overview.c (TIFF_DownSample): Check buffer 258 size calculation for overflow. 259 260 * contrib/addtiffo/addtiffo.c (main): Possibly address Coverity 261 1024226 "Untrusted value as argument". 262 263 * tools/gif2tiff.c (readgifimage): Fix Coverity 1024222 "Untrusted 264 value as argument". 265 (checksignature): Fix Coverity 1024894 "Ignoring number of bytes 266 read". 267 (readextension): Fix Coverity 1024893 "Ignoring number of bytes 268 read". 269 (readgifimage): Fix Coverity 1024890 "Ignoring number of bytes 270 read". 271 (readraster): Fix Coverity 1024891 "Ignoring number of bytes 272 read". 273 (readgifimage): Fix Coverity 1024892 "Ignoring number of bytes 274 read". 275 276 * tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 1024181 277 "Structurally dead code". 278 279 * tools/raw2tiff.c (main): Fix Coverity 1024887 "Unchecked return 280 value from library". 281 (guessSize): Fix Coverity 1024888 "Unchecked return value from 282 library". 283 (guessSize): Fix Coverity 1214162 "Ignoring number of bytes read". 284 (guessSize): Fix Coverity 1024889 "Unchecked return value from 285 library". 286 287 * tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 298621 288 "Resource leak". 289 (t2p_readwrite_pdf_image): Fix Coverity 1024181 "Structurally dead 290 code". 291 (t2p_write_pdf): Fix Coverity 1227690 "Unused value". 292 2932015-05-29 Bob Friesenhahn <[email protected]> 294 295 * contrib/iptcutil/iptcutil.c (formatIPTC): Fix Coverity 1024468 296 "Infinite loop". 297 (formatIPTC): Fix Coverity 1024727 "Truncated stdio return value". 298 (formatIPTC): Fix Coverity 1214240 "Untrusted loop bound". 299 3002015-05-28 Bob Friesenhahn <[email protected]> 301 302 * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix 303 Coverity 298615 "Resource leak". 304 (TIFFGetOvrBlock): Fix Coverity 1024649 "Unintended sign 305 extension". 306 307 * tools/bmp2tiff.c (main): Fix Coverity 1024225 "Untrusted value 308 as argument". 309 (main): Fix Coverity 1024678 "Unchecked return value from 310 library". 311 (main): Fix Coverity 1024679 "Unchecked return value from 312 library". 313 (main): Fix Coverity 1214160 "Ignoring number of bytes read". 314 315 * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix 316 Coverity 298615 "Resource leak". 317 318 * tools/tiffcp.c: Fix Coverity 1024306, 1024307, 1024308, 1024309 319 "Resource leak". 320 321 * tools/tiffsplit.c (cpTiles): Fix Coverity 1024304 "Resource 322 leak". 323 (cpStrips): Fix Coverity 1024305 "Resource leak". 324 3252015-05-27 Bob Friesenhahn <[email protected]> 326 327 * tools/ras2tiff.c: Fix Sun Raster header definition to be safe 328 for 64-bit systems. Add some header validations. Should fix many 329 Coverity issues. 330 (main): Fix Coverity 1301206: "Integer handling issues (BAD_SHIFT)". 331 (main): Quiet Coverity 1024223 "Untrusted value as argument". 332 333 * tools/tiffmedian.c (GetInputLine): Fix Coverity 1024795 "Nesting 334 level does not match indentation". 335 (get_histogram): Quiet Coverity 1024386 "Out-of-bounds read". 336 This was a benign mis-diagnosis but added code to enforce against 337 buffer overflow. 338 339 * tools/tiffcrop.c (ROTATE_ANY): Fix Coverity 1294542 "Logical 340 vs. bitwise operator". 341 (readContigStripsIntoBuffer): Fix Coverity 1024545 "Division or 342 modulo by zero". 343 (readContigTilesIntoBuffer): Fix Coverity 1024586 "Logically dead 344 code". 345 (writeSingleSection): Fix Coverity 1024796 "Nesting level does not 346 match indentation". 347 (writeCroppedImage): Fix Coverity 1024797 "Nesting level does not 348 match indentation". 349 (loadImage): Fix Coverity 1299741 "Dereference before null check". 350 (loadImage): Fix Coverity 1299740 "Out-of-bounds write". 351 3522015-03-02 Even Rouault <[email protected]> 353 354 * tools/tiffdither.c: check memory allocations to avoid writing to 355 NULL pointer. Also check multiplication overflow. Fixes #2501, 356 CVE-2014-8128. Derived from patch by Petr Gajdos. 357 3582015-01-26 Even Rouault <[email protected]> 359 360 * add html/v4.0.4beta.html under version control 361 * HOWTO-RELEASE: write that cvs add html/vX.X.html must be used 362 3632015-01-26 Even Rouault <[email protected]> 364 365 * libtiff 4.0.4beta released 366 3672015-01-26 Even Rouault <[email protected]> 368 369 * automake: updated to 1.15 370 * libtool: updated to 2.4.5 371 3722015-01-22 Even Rouault <[email protected]> 373 374 * tools/tiff2pdf.c: Fix two crashes (oCERT-2014-013) 375 3762015-01-05 Frank Warmerdam <[email protected]> 377 378 * html/bugs.html: remove note about needing to email the tiff mailing 379 list administrator about being approved for membership, this appears 380 not to be true. 381 3822015-01-05 Olivier Paquet <[email protected]> 383 384 * tools/tiff2pdf.c: Fixed unsigned integer addition overflow detection. 385 3862015-01-03 Even Rouault <[email protected]> 387 388 * libtiff/tif_dirread.c: in TIFFCheckDirOffset(), avoid uint16 overflow 389 when reading more than 65535 directories, and effectively error out when 390 reaching that limit. 391 3922014-12-29 Even Rouault <[email protected]> 393 394 * libtiff/tif_jpeg.c: in JPEGFixupTags(), recognize SOF2, SOF9 and SOF10 395 markers to avoid emitting a warning (even if, according to the TechNote, 396 there are admitedly unusual/not recommended or even forbidden variants, but 397 they do work well with libjpeg for SOF2, and with libjpeg-turbo for SOF2, 398 SOF9 and SOF10). 399 Define in_color_space and input_components to the right values in 400 JPEGSetupEncode(), before calling jpeg_set_defaults(), as specified by 401 libjpeg API documentation, so as to be compatible with mozjpeg library. 402 Note: the default settings of mozjpeg will produce progressive scans, which 403 is forbidden by the TechNote. 404 4052014-12-29 Even Rouault <[email protected]> 406 407 * libtiff/tif_getimage.c: move test on vertical value of YCbCr subsampling. 408 to avoid buffer leak (fix previous fix, found by Coverity scan) 409 4102014-12-29 Even Rouault <[email protected]> 411 412 * libtiff/tif_next.c: add new tests to check that we don't read outside of 413 the compressed input stream buffer. 414 415 * libtiff/tif_getimage.c: in OJPEG case, fix checks on strile width/height 416 in the putcontig8bitYCbCr42tile, putcontig8bitYCbCr41tile and 417 putcontig8bitYCbCr21tile cases. 418 4192014-12-27 Even Rouault <[email protected]> 420 421 * libtiff/tif_dir.c: in TIFFDefaultDirectory(), reset any already existing 422 extented tags installed by user code through the extender mechaninm before 423 calling the extender callback (GDAL #5054) 424 4252014-12-26 Bob Friesenhahn <[email protected]> 426 427 * tools/tiffcrop.c: Fix warnings about variables set but not used. 428 429 * contrib/iptcutil/iptcutil.c: Fix warnings about variables set 430 but not used. 431 432 * tools/tiffgt.c: Fix warnings about unused parameters. 433 434 * libtiff/tif_stream.cxx: Fix warnings about unused parameters. 435 4362014-12-25 Even Rouault <[email protected]> 437 438 * libtiff/tif_getimage.c, libtiff/tif_ojpeg.c, libtiff/tif_zip.c: fix 439 various typos found by Debian lintian tool (GDAL #5756) 440 4412014-12-24 Even Rouault <[email protected]> 442 443 * libtiff/tif_getimage.c: avoid divide by zero on invalid YCbCr subsampling. 444 http://bugzilla.maptools.org/show_bug.cgi?id=2235 445 4462014-12-24 Even Rouault <[email protected]> 447 448 * tools/tiff2pdf.c: fix buffer overflow on some YCbCr JPEG compressed images. 449 http://bugzilla.maptools.org/show_bug.cgi?id=2445 450 4512014-12-24 Even Rouault <[email protected]> 452 453 * tools/tiff2pdf.c: fix buffer overflow on YCbCr JPEG compressed image. 454 Derived from patch by Petr Gajdos, 455 http://bugzilla.maptools.org/show_bug.cgi?id=2443 456 4572014-12-23 Even Rouault <[email protected]> 458 459 * libtiff/tif_dirread.c: In EstimateStripByteCounts(), check return code 460 of _TIFFFillStriles(). This solves crashing bug on corrupted 461 images generated by afl. 462 4632014-12-23 Even Rouault <[email protected]> 464 465 * libtiff/tif_read.c: fix several invalid comparisons of a uint64 value with 466 <= 0 by casting it to int64 first. This solves crashing bug on corrupted 467 images generated by afl. 468 4692014-12-21 Bob Friesenhahn <[email protected]> 470 471 * tools/tiffdump.c: Guard against arithmetic overflow when 472 calculating allocation buffer sizes. 473 4742014-12-21 Even Rouault <[email protected]> 475 476 * tools/tiff2bw.c: when Photometric=RGB, the utility only works if 477 SamplesPerPixel = 3. Enforce that 478 http://bugzilla.maptools.org/show_bug.cgi?id=2485 (CVE-2014-8127) 479 4802014-12-21 Even Rouault <[email protected]> 481 482 * tools/pal2rgb.c, tools/thumbnail.c: fix crash by disabling TIFFTAG_INKNAMES 483 copying. The right fix would be to properly copy it, but not worth the burden 484 for those esoteric utilities. 485 http://bugzilla.maptools.org/show_bug.cgi?id=2484 (CVE-2014-8127) 486 4872014-12-21 Even Rouault <[email protected]> 488 489 * tools/thumbnail.c: fix out-of-buffer write 490 http://bugzilla.maptools.org/show_bug.cgi?id=2489 (CVE-2014-8128) 491 4922014-12-21 Even Rouault <[email protected]> 493 494 * tools/thumbnail.c, tools/tiffcmp.c: only read/write TIFFTAG_GROUP3OPTIONS 495 or TIFFTAG_GROUP4OPTIONS if compression is COMPRESSION_CCITTFAX3 or 496 COMPRESSION_CCITTFAX4 497 http://bugzilla.maptools.org/show_bug.cgi?id=2493 (CVE-2014-8128) 498 4992014-12-21 Even Rouault <[email protected]> 500 501 * libtiff/tif_next.c: check that BitsPerSample = 2. Fixes 502 http://bugzilla.maptools.org/show_bug.cgi?id=2487 (CVE-2014-8129) 503 5042014-12-21 Even Rouault <[email protected]> 505 506 * tools/tiff2pdf.c: check return code of TIFFGetField() when reading 507 TIFFTAG_SAMPLESPERPIXEL 508 5092014-12-21 Even Rouault <[email protected]> 510 511 * tools/tiffcp.c: fix crash when converting YCbCr JPEG-compressed to none. 512 Based on patch by Tomasz Buchert (http://bugzilla.maptools.org/show_bug.cgi?id=2480) 513 Description: fix for Debian bug #741451 514 tiffcp crashes when converting JPEG-encoded TIFF to a different 515 encoding (like none or lzw). For example this will probably fail: 516 tiffcp -c none jpeg_encoded_file.tif output.tif 517 The reason is that when the input file contains JPEG data, 518 the tiffcp code forces conversion to RGB space. However, 519 the output normally inherits YCbCr subsampling parameters 520 from the input, which leads to a smaller working buffer 521 than necessary. The buffer is subsequently overrun inside 522 cpStripToTile() (called from writeBufferToContigTiles). 523 Note that the resulting TIFF file would be scrambled even 524 if tiffcp wouldn't crash, since the output file would contain 525 RGB data intepreted as subsampled YCbCr values. 526 This patch fixes the problem by forcing RGB space on the output 527 TIF if the input is JPEG-encoded and output is *not* JPEG-encoded. 528 Author: Tomasz Buchert <[email protected]> 529 5302014-12-21 Even Rouault <[email protected]> 531 532 Fix various crasher bugs on fuzzed images. 533 * libtiff/tif_dir.c: TIFFSetField(): refuse to set negative values for 534 TIFFTAG_XRESOLUTION and TIFFTAG_YRESOLUTION that cause asserts when writing 535 the directory 536 * libtiff/tif_dirread.c: TIFFReadDirectory(): refuse to read ColorMap or 537 TransferFunction if BitsPerSample has not yet been read, otherwise reading 538 it later will cause user code to crash if BitsPerSample > 1 539 * libtiff/tif_getimage.c: TIFFRGBAImageOK(): return FALSE if LOGLUV with 540 SamplesPerPixel != 3, or if CIELAB with SamplesPerPixel != 3 or BitsPerSample != 8 541 * libtiff/tif_next.c: in the "run mode", use tilewidth for tiled images 542 instead of imagewidth to avoid crash 543 * tools/bmp2tiff.c: fix crash due to int overflow related to input BMP dimensions 544 * tools/tiff2pdf.c: fix crash due to invalid tile count (should likely be checked by 545 libtiff too). Detect invalid settings of BitsPerSample/SamplesPerPixel for CIELAB / ITULAB 546 * tools/tiffcrop.c: fix crash due to invalid TileWidth/TileHeight 547 * tools/tiffdump.c: fix crash due to overflow of entry count. 548 5492014-12-15 Even Rouault <[email protected]> 550 551 * libtiff/tif_jpeg.c: Fix regression introduced on 2010-05-07 that caused 552 all tiles/strips to include quantization tables even when the jpegtablesmode 553 had the JPEGTABLESMODE_QUANT bit set. 554 Also add explicit removal of Huffman tables when jpegtablesmode has the 555 JPEGTABLESMODE_HUFF bit set, which avoids Huffman tables to be emitted in the 556 first tile/strip (only useful in update scenarios. create-only was 557 fine) 558 5592014-12-09 Bob Friesenhahn <[email protected]> 560 561 * tools/tiff2pdf.c: Assure that memory size calculations for 562 _TIFFmalloc() do not overflow the range of tmsize_t. 563 5642014-12-07 Even Rouault <[email protected]> 565 566 * tools/thumbnail.c, tools/tiffcrop.c: "fix" heap read over-run found with 567 Valgrind and Address Sanitizer on test suite 568 5692014-12-07 Bob Friesenhahn <[email protected]> 570 571 * tools/tiff2pdf.c (t2p_read_tiff_init): TIFFTAG_TRANSFERFUNCTION 572 tag can return one channel, with the other two channels set to 573 NULL. The tiff2pdf code was expecting that other two channels 574 were duplicate pointers in the case where there is only one 575 channel. Detect this condition in order to avoid a crash, and 576 presumably perform correctly with just one channel. 577 5782014-12-06 Bob Friesenhahn <[email protected]> 579 580 * tools/tiffdump.c: Fix double-free bug. 581 5822014-11-27 Even Rouault <[email protected]> 583 584 * libtiff/tif_config.vc.h: no longer use "#define snprintf _snprintf" with 585 Visual Studio 2015 aka VC 14 aka MSVC 1900 586 5872014-11-20 Even Rouault <[email protected]> 588 589 * libtiff/tif_lzw.c: prevent potential null dereference of 590 sp->dec_codetab in LZWPreDecode (bug #2459) 591 592 * libtiff/tif_read.c: in TIFFReadBufferSetup(), avoid passing -1 size 593 to TIFFmalloc() if passed user buffer size is 0 (bug #2459) 594 595 * libtiff/tif_ojpeg.c: make Coverity happier (not a bug, #2459) 596 597 * libtiff/tif_dir.c: in _TIFFVGetField() and _TIFFVSetField(), make 598 Coverity happier (not a bug, #2459) 599 600 * libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make Coverity happier 601 (not a bug, #2459) 602 603 * tools/tiff2pdf.c: close PDF file (bug #2479) 604 605 * tools/fax2ps.c: check malloc()/realloc() result (bug #2470) 606 607 * tools/tiffdump.c: detect cycle in TIFF directory chaining (bug #2463) 608 and avoid passing a NULL pointer to read() if seek() failed before (bug #2459) 609 610 * tools/tiffcrop.c: fix segfault if bad value passed to -Z option 611 (bug #2459) and add missing va_end in dump_info (#2459) 612 613 * tools/gif2tif.c: apply patch for CVE-2013-4243 (#2451) 614 6152014-11-20 Even Rouault <[email protected]> 616 * libtiff/tif_jpeg.c: fix segfault in JPEGFixupTagsSubsampling() on 617 corrupted image where tif->tif_dir.td_stripoffset == NULL (bug #2471) 618 6192014-11-20 Even Rouault <[email protected]> 620 * automake: updated to 1.14.1 621 * libtool: updated to 2.4.3 622 * HOWTO-RELEASE: small update about autotools building order 623 6242014-10-20 Olivier Paquet <[email protected]> 625 * tools/tiff2pdf.c: Preserve input file directory order when pages 626 are tagged with the same page number. 627 6282014-08-31 Bob Friesenhahn <[email protected]> 629 630 * libtiff/tif_dirread.c (TIFFReadDirEntryOutputErr): Incorrect 631 count for tag should be a warning rather than an error since 632 errors terminate processing. 633 6342014-06-07 Bob Friesenhahn <[email protected]> 635 636 * tools/tiff2rgba.c (]): Fixed tiff2rgba usage message in that zip 637 was wrongly described. Fix suggested by Miguel Medalha. 638 6392014-05-06 Bob Friesenhahn <[email protected]> 640 641 * libtiff/tif_dirinfo.c (TIFFField) : Fix data type for 642 TIFFTAG_GLOBALPARAMETERSIFD tag. Patch by Steve Underwood. 643 Reviewed and forwarded by Lee Howard. 644 6452013-11-30 Frank Warmerdam <[email protected]> 646 647 * libtiff/tif_dir.c: fix last fix for TIFFNumberOfDirectories() 648 6492013-10-21 Frank Warmerdam <[email protected]> 650 651 * libtiff/tif_dir.c: generate error in case of directory count 652 overflow. 653 6542013-10-01 Frank Warmerdam <[email protected]> 655 656 * libtiff/tiff.h, libtiff/tif_dirinfo.c: add definitions for 657 TIFF/EP CFARepeatPatternDim and CFAPattern tags (bug #2457) 658 6592013-09-12 Bob Friesenhahn <[email protected]> 660 661 * libtiff/tif_dir.c (TIFFAdvanceDirectory): If nextdir is found to 662 be defective, then set it to zero before returning error in order 663 to terminate processing of truncated TIFF. Issue found and fix 664 suggested by Richard Nolde. 665 6662013-08-14 Frank Warmerdam <[email protected]> 667 668 * tools/gif2tiff.c: fix possible OOB write (#2452, CVE-2013-4244) 669 6702013-08-13 Frank Warmerdam <[email protected]> 671 672 * tools/gif2tiff.c: Be more careful about corrupt or 673 hostile input files (#2450, CVE-2013-4231) 674 675 * tools/tiff2pdf.c: terminate after failure of allocating 676 ycbcr buffer (bug #2449, CVE-2013-4232) 677 6782013-07-09 Frank Warmerdam <[email protected]> 679 680 * tools/tiffinfo.c: Default various values fetched with 681 TIFFGetField() to avoid being uninitialized. 682 6832013-05-02 Tom Lane <[email protected]> 684 685 * tools/tiff2pdf.c: Rewrite JPEG marker parsing in 686 t2p_process_jpeg_strip to be at least marginally competent. The 687 approach is still fundamentally flawed, but at least now it won't 688 stomp all over memory when given bogus input. Fixes CVE-2013-1960. 689 6902013-05-02 Tom Lane <[email protected]> 691 692 * contrib/dbs/xtiff/xtiff.c, libtiff/tif_codec.c, 693 libtiff/tif_dirinfo.c, tools/rgb2ycbcr.c, tools/tiff2bw.c, 694 tools/tiff2pdf.c, tools/tiff2ps.c, tools/tiffcrop.c, 695 tools/tiffdither.c: Enlarge some fixed-size buffers that weren't 696 large enough, and eliminate substantially all uses of sprintf(buf, 697 ...) in favor of using snprintf(buf, sizeof(buf), ...), so as to 698 protect against overflow of fixed-size buffers. This responds in 699 particular to CVE-2013-1961 concerning overflow in tiff2pdf.c's 700 t2p_write_pdf_page(), but in general it seems like a good idea to 701 deprecate use of sprintf(). 702 7032013-03-29 Bob Friesenhahn <[email protected]> 704 705 * configure.ac: Applied patch by Brad Smith to improve pkg-config 706 static linking by adding -lm to Libs.private when needed. 707 7082013-03-05 Tom Lane <[email protected]> 709 710 * html/man/tiff2ps.1.html, html/man/tiffcp.1.html, 711 html/man/tiffdither.1.html, man/tiff2ps.1, man/tiffcp.1, 712 man/tiffdither.1, tools/tiff2ps.c, tools/tiffcp.c, 713 tools/tiffdither.c: Sync tool usage printouts and man pages with 714 reality (quite a few options had escaped being documented in one 715 or both places). Per an old report from Miroslav Vadkerti. 716 7172013-01-25 Bob Friesenhahn <[email protected]> 718 719 * tools/tiff2ps.c:Fix bug in auto rotate option code. Once a 720 rotation angle was set by the auto rotate check, it was retained 721 for all pages that followed instead ofa being retested for each 722 page. Patch by Richard Nolde. 723 7242013-01-18 Frank Warmerdam <[email protected]> 725 726 * libtiff/tif_write.c: tmsize_t related casting warning fixed for 727 64bit linux. 728 729 * libtiff/tif_read.c: uint64/tmsize_t change for MSVC warnings. 730 http://bugzilla.maptools.org/show_bug.cgi?id=2427 731 7322012-12-20 Tom Lane <[email protected]> 733 734 * test/raw_decode.c: Relax raw_decode's pixel-value checks so that 735 it will pass with more versions of libjpeg. (There are at least 736 three in active use now, and JPEG_LIB_VERSION doesn't tell us 737 enough to uniquely identify expected results.) 738 7392012-12-12 Tom Lane <[email protected]> 740 741 * libtiff/tif_print.c: Fix TIFFPrintDirectory's handling of 742 field_passcount fields: it had the TIFF_VARIABLE and 743 TIFF_VARIABLE2 cases backwards. 744 7452012-12-10 Tom Lane <[email protected]> 746 747 * tools/ppm2tiff.c: Improve previous patch for CVE-2012-4564: 748 check the linebytes calculation too, get the max() calculation 749 straight, avoid redundant error messages, check for malloc 750 failure. 751 7522012-12-10 Tom Lane <[email protected]> 753 754 * libtiff/tif_pixarlog.c: Improve previous patch for CVE-2012-4447 755 (to enlarge tbuf for possible partial stride at end) so that 756 overflow in the integer addition is detected. Per gripe from 757 Huzaifa Sidhpurwala. 758 7592012-12-03 Bob Friesenhahn <[email protected]> 760 761 * tools/tiffset.c: tiffset now supports a -u option to unset a 762 tag. Patch by Zach Baker. See 763 http://bugzilla.maptools.org/show_bug.cgi?id=2419 764 7652012-11-18 Bob Friesenhahn <[email protected]> 766 767 * automake: Update Automake to 1.12.5 release. 768 769 * libtiff/tif_{unix,vms,win32}.c (_TIFFmalloc): ANSI C does not 770 require malloc() to return NULL pointer if requested allocation 771 size is zero. Assure that _TIFFmalloc does. 772 7732012-11-01 Frank Warmerdam <[email protected]> 774 775 * tools/ppm2tiff.c: avoid zero size buffer vulnerability. 776 CVE-2012-4564 - Thanks to Huzaifa Sidhpurwala of the 777 Red Hat Security Response team for the fix. 778 7792012-10-18 Frank Warmerdam <[email protected]> 780 781 * tif_zip.c: Avoid crash on NULL error messages. 782 7832012-09-22 Bob Friesenhahn <[email protected]> 784 785 * libtiff 4.0.3 released. 786 7872012-09-20 Bob Friesenhahn <[email protected]> 788 789 * Makefile.am: Update to Automake 1.12.4 790 7912012-08-19 Bob Friesenhahn <[email protected]> 792 793 * Makefile.in: Update to Automake 1.12.3 794 795 * libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add 796 some TIFF/FX support in libtiff. Add the tag definitions to 797 tiff.h. Add the related TIFF field definitions to tif_dirinfo.c, 798 and also fixes an error in a comment. Adds the photometric values 799 to tif_print.c, and fixes a bug. These changes are by Steve 800 Underwood. 801 8022012-08-13 Frank Warmerdam <[email protected]> 803 804 * libtiff/tif_write.c: Fix bug rewriting image tiles in a 805 compressed file: http://trac.osgeo.org/gdal/ticket/4771 806 8072012-08-02 Frank Warmerdam <[email protected]> 808 809 * libtiff/tif_dirread.c: report error in case of mismatch value 810 counts for tags (ie. DotRange). 811 8122012-07-26 Tom Lane <[email protected]> 813 814 * libtiff/{tiffio.h, tif_dirinfo.c, libtiff.def}: Add six new 815 functions TIFFFieldTag(), TIFFFieldName(), TIFFFieldDataType(), 816 TIFFFieldPassCount(), TIFFFieldReadCount(), TIFFFieldWriteCount() 817 as external accessors for the opaque type TIFFField. 818 819 * tools/tiffset.c: Make tiffset use the above functions instead of 820 relying on library private headers. 821 8222012-07-19 Tom Lane <[email protected]> 823 824 * tools/tiff2pdf.c: Fix two places where t2p_error didn't get set 825 after a malloc failure. No crash risk AFAICS, but the program 826 might not report exit code 1 as desired. h/t [email protected] 827 8282012-07-18 Tom Lane <[email protected]> 829 830 * tools/tiff2pdf.c: Fail when TIFFSetDirectory() fails. This 831 prevents core dumps or perhaps even arbitrary code execution when 832 processing a corrupt input file (CVE-2012-3401). 833 8342012-07-06 Bob Friesenhahn <[email protected]> 835 836 * test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+. 837 IJG JPEG 7+ uses a different upsampling algorithm which produces 838 different numeric results. 839 840 * libtiff/tif_jpeg.c (JPEGPreDecode): Patch from Even Rouault to 841 work with IJG JPEG 7+. 842 8432012-07-04 Bob Friesenhahn <[email protected]> 844 845 * test/raw_decode.c: Add changes so that test can run with build 846 directory outside of source directory. 847 8482012-07-02 Frank Warmerdam <[email protected]> 849 850 * libtiff/tif_jpeg.c: Fix handling when writing RGBA jpeg compressed 851 imagery (http://trac.osgeo.org/gdal/ticket/4732) 852 8532012-06-20 Frank Warmerdam <[email protected]> 854 855 * libtiff/tif_fax3.c: fix memory initialization of runs, only 856 partly done. 857 858 * libtiff/tif_pixarlog.c: Make sure tbuf is large enough for one 859 full "stride" past the end. 860 8612012-06-19 Frank Warmerdam <[email protected]> 862 863 * libtiff/tif_packbits.c: fix read past end of data buffer. 864 8652012-06-15 Frank Warmerdam <[email protected]> 866 867 * libtiff 4.0.2 released. 868 869 * tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable 870 warnings with clang. 871 8722012-06-15 Tom Lane <[email protected]> 873 874 * tools/tiff2pdf.c: Defend against integer overflows while 875 calculating required buffer sizes (CVE-2012-2113). 876 8772012-06-12 Frank Warmerdam <[email protected]> 878 879 * libtiff/tif_print.c: Be careful about printing corrupt inknames. 880 881 * libtiff/tif_fax3.c: Ensure runs array is initialized to zeros. 882 8832012-06-07 Frank Warmerdam <[email protected]> 884 885 * libtiff/tif_print.c: avoid pretty printing other fields when 886 we don't have the proper amount and type of data or if the field 887 is actually autodefined. 888 8892012-06-05 Frank Warmerdam <[email protected]> 890 891 * libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal 892 ycbcrsubsampling values result in a runtime error, not just an 893 assertion. 894 895 * tests/custom_dir.c: Add testing of EXIF and custom directory 896 reading and writing. 897 898 * libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory() 899 and TIFFCreateEXIFDirectory() functions. 900 901 * libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for 902 PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING. Implement DOTRANGE 903 differently. This is to avoid using special TIFFGetField/TIFFSetField 904 rules for these fields in non-image directories (like EXIF). 905 9062012-06-04 Frank Warmerdam <[email protected]> 907 908 * libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling 909 in JPEGPreDecode(). If a fixup will be done it needs to be done sooner 910 in JPEGFixupTagsSubsampling() or else buffer sized may be wrong. 911 9122012-06-01 Frank Warmerdam <[email protected]> 913 914 * tools/tiffinfo.c: Do not try to read image data in EXIF directories. 915 916 * libtiff/tif_getimage.c: added support for _SEPARATED CMYK images. 917 http://bugzilla.maptools.org/show_bug.cgi?id=2379 918 919 * libtiff/tif_unix.c: use strerror() to return a more specific error message 920 on failed open. 921 http://bugzilla.maptools.org/show_bug.cgi?id=2341 922 923 * libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs. 924 http://bugzilla.maptools.org/show_bug.cgi?id=2386 925 926 * tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support 927 for testing jpeg in tiff image decoding including the "raw" decode interface. 928 9292012-05-31 Frank Warmerdam <[email protected]> 930 931 * libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in 932 JPEGDecodeRaw() - mostly likely to occur when there is confusion about 933 sampling values. 934 935 * libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed. 936 937 * libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval. 938 http://bugzilla.maptools.org/show_bug.cgi?id=2398 939 9402012-05-29 Frank Warmerdam <[email protected]> 941 942 * libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories, 943 like EXIF directories. This fixes problems like a tag "320" existing in a custom directory getting 944 processed as if it were a colormap when it isn't really. Damn the wide variety of argument formulations 945 to get/set functions for different tags! 946 947 * libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata 948 is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag. 949 9502012-05-24 Frank Warmerdam <[email protected]> 951 952 * libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward 953 accumulate" and overwrite the end by one word in at least some cases. 954 9552012-05-23 Frank Warmerdam <[email protected]> 956 957 * libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs. 958 959 * tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files. 960 961 * libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on 962 the same image. 963 964 * libtiff/tif_ojpeg.c: make things more resilient in the face of files without 965 stripbytecounts or stripoffsets or where loading these fails. 966 967 * libtiff/tif_print.c: be careful about whether min/max values are singular 968 or one per sample. 969 970 * libtiff/tif_print.c: Avoid confusion about count size when printing custom fields. 971 May affect things like ISOSpeedRatings. 972 973 * libtiff/tif_dir.c: avoid one byte past end of ink names reading 974 in some cases. 975 9762012-05-19 Bob Friesenhahn <[email protected]> 977 978 * man/TIFFGetField.3tiff: Correct the 'count' field type in the 979 example for how to retreive the value of unsupported tags. 980 9812012-03-30 Frank Warmerdam <[email protected]> 982 983 * tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173) 984 care of Tom Lane @ Red Hat. 985 9862012-02-18 Bob Friesenhahn <[email protected]> 987 988 * libtiff 4.0.1 released. 989 990 * Update automake used to 1.11.3. 991 992 * libtiff/tiffio.h: Use double-underbar syntax in GCC printf 993 attribute specification to lessen the risk of accidental macro 994 substitution. Patch from Vincent Torri. 995 9962012-01-31 Frank Warmerdam <[email protected]> 997 998 * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around 999 assumption tag fetching is always successful. 1000 1001 * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL. 1002 10032012-01-22 Bob Friesenhahn <[email protected]> 1004 1005 * configure.ac: Add support for using library symbol versioning on 1006 ELF systems with the GNU linker. Support is enabled via 1007 --enable-ld-version-script. Disabled by default for now until 1008 there is a decision for how to deploy a libtiff with versioned 1009 symbols after libtiff 4.0.0 was already released. 1010 10112011-12-22 Bob Friesenhahn <[email protected]> 1012 1013 * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in 1014 1015 tif_win32.c. Patch by Edward Lam. 1016 1017 * configure.ac: Add libtiff private dependency on -llzma for 1018 pkg-config. Patch by Mark Brand. 1019 Updated Automake to 1.11.2. 1020 10212011-12-21 Bob Friesenhahn <[email protected]> 1022 1023 * libtiff 4.0.0 released. 1024 10252011-12-08 Frank Warmerdam <[email protected]> 1026 1027 * libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking 1028 of _TIFFFillStriles() results (#gdal 4372) 1029 10302011-12-07 Frank Warmerdam <[email protected]> 1031 1032 * libtiff/tif_dirread.c: fixes to deal with invalid files where 1033 _TIFFFillStriles() fails, and we try to chop up strips (gdal #4372) 1034 1035 * libtiff/tif_dirread.c: fix error reporting when there is no 1036 tag information struct and name (gdal #4373) 1037 10382011-10-22 Bob Friesenhahn <[email protected]> 1039 1040 * Update GNU libtool to 2.4.2. 1041 1042 * tools/tiffsplit.c (tiffcp): TIFFGetField count field should be 1043 uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe 1044 Deroulers. 1045 10462011-06-21 Frank Warmerdam <[email protected]> 1047 1048 * libtiff/libtiff.def: Restore TIFFMergeFieldInfo. 1049 10502011-05-31 Jim Meyering <[email protected]> 1051 1052 * libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also 1053 upon failure to allocate "resizeddata". 1054 * tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for 1055 allocation failure, not before. 1056 * libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path 1057 * tools/rgb2ycbcr.c (cvtRaster): unchecked malloc 1058 * libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark 1059 NULL-deref and possible overflow 1060 * tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written" 1061 * libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration 1062 and set of otherwise unused local, data_is_empty. 1063 * libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]: 1064 Diagnose out-of-memory failure and return 0 rather than 1065 dereferencing NULL. 1066 10672011-05-24 Frank Warmerdam <[email protected]> 1068 1069 * libtiff/tif_dirread.c: produce special error message for zero tag 1070 directories instead of error out on the malloc(0) failure. 1071 10722011-05-16 Frank Warmerdam <[email protected]> 1073 1074 * libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and 1075 related declarations as they are in active use by libraries 1076 such as libgeotiff, and work just fine. (#2315) 1077 10782011-04-20 Frank Warmerdam <[email protected]> 1079 1080 * libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete 1081 TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API. 1082 http://bugzilla.maptools.org/show_bug.cgi?id=2315 1083 1084 * libtiff/libtiff.def: add some missing (64bit) APIs. 1085 http://bugzilla.maptools.org/show_bug.cgi?id=2316 1086 10872011-04-09 Bob Friesenhahn <[email protected]> 1088 1089 * libtiff 4.0.0beta7 released. 1090 10912011-04-09 Bob Friesenhahn <[email protected]> 1092 1093 * configure.ac: Should use AC_CANONICAL_HOST since host specifies 1094 the run-time target whereas target is used to specify the final 1095 output target if the package is a build tool (like a compiler), 1096 which libtiff is not. Resolves libtiff bug 2307 "Use 1097 AC_CANONICAL_HOST macro". 1098 10992011-04-02 Bob Friesenhahn <[email protected]> 1100 1101 * configure.ac: Support configuring TIFF_INT64_FORMAT and 1102 TIFF_UINT64_FORMAT appropriately for MinGW32. 1103 1104 * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32 1105 printf conventions for 64-bit types because it uses the WIN32 CRT. 1106 1107 * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c, 1108 tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32 1109 printf conventions for 64-bit types because it uses the WIN32 CRT. 1110 1111 * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not 1112 understood by WIN32 CRT. 1113 1114 * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC. 1115 1116 * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since 1117 it is much more portable. Tmpfile is included in ISO/IEC 1118 9899:1990 and the WIN32 CRT. 1119 11202011-03-26 Frank Warmerdam <[email protected]> 1121 1122 * tools/tiffset.c: add -d and -sd switches to allow operation on 1123 a particular directory, not just the first (jef). 1124 11252011-03-21 Frank Warmerdam <[email protected]> 1126 1127 * libtiff/tif_thunder.c: Correct potential buffer overflow with 1128 thunder encoded files with wrong bitspersample set. The libtiff 1129 development team would like to thank Marin Barbella and TippingPoint's 1130 Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004, 1131 CVE-2011-1167). 1132 http://bugzilla.maptools.org/show_bug.cgi?id=2300 1133 11342011-03-10 Frank Warmerdam <[email protected]> 1135 1136 * libtiff/tif_fax3.h: Fix to last change allowing zero length 1137 runs at the start of a scanline - needed for legal cases. 1138 11392011-03-02 Frank Warmerdam <[email protected]> 1140 1141 * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 1142 a move left. Without this, a malicious input file can generate an 1143 indefinitely large series of runs without a0 ever reaching the right 1144 margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192. 1145 This is a modified version of a patch proposed by Drew Yao of Apple 1146 Product Security. It adds an unexpected() report, and disallows the 1147 equality case, since emitting a run without increasing a0 still allows 1148 buffer overrun. 1149 11502011-02-23 Frank Warmerdam <[email protected]> 1151 1152 * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296) 1153 1154 * tools/tiff2rgba.c: close source file on error to make leak 1155 detection easier. 1156 1157 * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails. 1158 1159 http://bugzilla.maptools.org/show_bug.cgi?id=2295 1160 11612011-02-22 Frank Warmerdam <[email protected]> 1162 1163 * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ 1164 _SUPPORT) 1165 11662011-02-18 Frank Warmerdam <[email protected]> 1167 1168 * configure.ac, configure: Added support for --enable-chunky-strip-read 1169 configure option to enable the experimental feature from a couple 1170 months ago for reading big strips in chunks. 1171 1172 * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 1173 tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c: 1174 Implement optional support for deferring the load of strip/tile 1175 offset and size tags for optimized scanning of directories. Enabled 1176 with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD 1177 #define in tif_config.h). 1178 11792011-02-11 Frank Warmerdam <[email protected]> 1180 1181 * libtiff/tif_print.c: remove unused variable. 1182 11832011-02-09 Frank Warmerdam <[email protected]> 1184 1185 * libtiff/tif_win32.c: avoid error/warning buffer overrun problem 1186 with non-console (popup message) builds on win32. 1187 1188 http://bugzilla.maptools.org/show_bug.cgi?id=2293 1189 11902011-01-24 Olivier Paquet <[email protected]> 1191 1192 * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c, 1193 tif_print.c, tiff.h, tiffiop.h} : Added support for 1194 TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different 1195 values for each sample. Presents the min/max of all samples by default for 1196 compatibility. TIFFSetField/TIFFGetField can be made to handle those tags 1197 as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag. 1198 http://www.asmail.be/msg0055458208.html 1199 12002011-01-06 Frank Warmerdam <[email protected]> 1201 1202 * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 1203 maintained. 1204 1205 * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 1206 for CHUNKY_STRIP_READ_SUPPORT. 1207 1208 * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained 1209 during JPEGPreDecode and JPEGDecode calls. 1210 * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 1211 as compression formats like JPEG keep 16 lines interleaved in a sense 1212 and might need to touch quite a bit of data. 1213 1214 http://trac.osgeo.org/gdal/ticket/3894 1215 12162011-01-03 Lee Howard <[email protected]> 1217 1218 * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images 1219 caused by commit on 2010-12-14. Submitted by e-mail from 1220 Even Rouault <[email protected]> 1221 12222010-12-31 Olivier Paquet <[email protected]> 1223 1224 * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE. 1225 http://bugzilla.maptools.org/show_bug.cgi?id=2266 1226 12272010-12-23 Andrey Kiselev <[email protected]> 1228 1229 * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the 1230 compression level parameter (preset) for Deflate and LZMA encoders, 1231 e.g "-c lzma:p1" or "-c zip:p9". 1232 1233 * libtiff/tif_lzma.c: Properly set the LZMA2 compression level 1234 (preset) in LZMAVSetField(). 1235 12362010-12-18 Bob Friesenhahn <[email protected]> 1237 1238 * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to 1239 Makefile. 1240 12412010-12-14 Andrey Kiselev <[email protected]> 1242 1243 * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h, 1244 tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new 1245 TIFF compression scheme LZMA reserving a new value 34925 for 1246 Compression tag. As per 1247 bug http://bugzilla.maptools.org/show_bug.cgi?id=2221 1248 12492010-12-14 Lee Howard <[email protected]> 1250 1251 * libtiff/tif_dirread.c: tolerate some cases where 1252 FIELD_COLORMAP is missing 1253 http://bugzilla.maptools.org/show_bug.cgi?id=2189 1254 12552010-12-14 Lee Howard <[email protected]> 1256 1257 * libtiff/tif_read.c: change read_ahead to tmsize_t 1258 http://bugzilla.maptools.org/show_bug.cgi?id=2222 1259 12602010-12-14 Lee Howard <[email protected]> 1261 1262 * configure.ac, libtiff/Makefile.am: Build tif_win32.c on 1263 Windows except on Cygwin 1264 http://bugzilla.maptools.org/show_bug.cgi?id=2224 1265 12662010-12-14 Lee Howard <[email protected]> 1267 1268 * tools/gif2tiff.c: fix buffer overrun 1269 http://bugzilla.maptools.org/show_bug.cgi?id=2270 1270 12712010-12-14 Lee Howard <[email protected]> 1272 1273 * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order 1274 to improve compatibility with various viewers 1275 submitted by e-mail from Dwight Kelly <[email protected]> 1276 12772010-12-13 Lee Howard <[email protected]> 1278 1279 * tools/fax2ps.c: be consistent with page-numbering 1280 http://bugzilla.maptools.org/show_bug.cgi?id=2225 1281 12822010-12-13 Lee Howard <[email protected]> 1283 1284 * libtiff/tif_color.c: prevent crash in handling bad TIFFs 1285 resolves CVE-2010-2595 1286 http://bugzilla.maptools.org/show_bug.cgi?id=2208 1287 12882010-12-13 Lee Howard <[email protected]> 1289 1290 * tools/tiffcrop.c: new release by Richard Nolde 1291 http://bugzilla.maptools.org/show_bug.cgi?id=2004 1292 12932010-12-12 Lee Howard <[email protected]> 1294 1295 * tools/tiff2pdf.c: fix colors for images with RGBA 1296 interleaved data 1297 http://bugzilla.maptools.org/show_bug.cgi?id=2250 1298 12992010-12-12 Lee Howard <[email protected]> 1300 1301 * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files 1302 http://bugzilla.maptools.org/show_bug.cgi?id=2164 1303 13042010-12-11 Lee Howard <[email protected]> 1305 1306 * tools/tiff2pdf.c: remove invalid duplication for Lab 1307 http://bugzilla.maptools.org/show_bug.cgi?id=2162 1308 13092010-12-11 Lee Howard <[email protected]> 1310 1311 * libtiff/tif_jpeg.c: fix use of clumplines calculation 1312 http://bugzilla.maptools.org/show_bug.cgi?id=2149 1313 13142010-12-11 Lee Howard <[email protected]> 1315 1316 * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp() 1317 http://bugzilla.maptools.org/show_bug.cgi?id=2118 1318 13192010-12-11 Lee Howard <[email protected]> 1320 1321 * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c, 1322 libtiff/tif_zip.c: fix build errors for VC6 1323 http://bugzilla.maptools.org/show_bug.cgi?id=2105 1324 13252010-12-11 Lee Howard <[email protected]> 1326 1327 * libtiff/tif_stream.cxx: warnings cleanup 1328 http://bugzilla.maptools.org/show_bug.cgi?id=2091 1329 * libtiff/tif_dirread.c: warnings cleanup 1330 http://bugzilla.maptools.org/show_bug.cgi?id=2092 1331 13322010-12-11 Lee Howard <[email protected]> 1333 1334 * tools/tiff2pdf.c: add fill-page option 1335 http://bugzilla.maptools.org/show_bug.cgi?id=2051 1336 13372010-12-11 Lee Howard <[email protected]> 1338 1339 * libtiff/tif_dirread.c: modify warnings 1340 http://bugzilla.maptools.org/show_bug.cgi?id=2016 1341 13422010-12-11 Lee Howard <[email protected]> 1343 1344 * libtiff/tif_ojpeg.c: fix buffer overflow on problem data 1345 http://bugzilla.maptools.org/show_bug.cgi?id=1999 1346 13472010-12-11 Lee Howard <[email protected]> 1348 1349 * tools/tiffinfoce.c: strip byte counts are uint64* now 1350 13512010-12-11 Lee Howard <[email protected]> 1352 1353 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero 1354 or missing byte-count tag 1355 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count 1356 per http://bugzilla.maptools.org/show_bug.cgi?id=1996 1357 13582010-12-08 Lee Howard <[email protected]> 1359 1360 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed 1361 TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994 1362 13632010-12-06 Lee Howard <[email protected]> 1364 1365 * libtiff/tif_open.c: Fix mode check before opening a file. 1366 http://bugzilla.maptools.org/show_bug.cgi?id=1906 1367 13682010-11-27 Bob Friesenhahn <[email protected]> 1369 1370 * libtiff-4.pc.in: Added libtiff pkg-config .pc file support. 1371 Patch by Vincent Torri. 1372 13732010-10-21 Frank Warmerdam <[email protected]> 1374 1375 * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler. 1376 1377 * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf. 1378 1379 * libtiff/libtiff.def: export _TIFFCheckMalloc for tools. 1380 13812010-09-25 Lee Howard <[email protected]> 1382 1383 * tools/tiff2ps.c: improvements and enhancements from Richard Nolde 1384 with additional command line options for Document Title, 1385 Document Creator, and Page Orientation 1386 13872010-07-13 Bob Friesenhahn <[email protected]> 1388 1389 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 1390 potentially unterminated buffer due to using an exceptionally long 1391 file name. 1392 13932010-07-08 Andrey Kiselev <[email protected]> 1394 1395 * tools/tiff2pdf.c: Fixed ID buffer filling in 1396 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 1397 13982010-07-07 Andrey Kiselev <[email protected]> 1399 1400 * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 1401 to expected value as the warning message suggests. As per bug 1402 http://bugzilla.maptools.org/show_bug.cgi?id=1963 1403 14042010-07-06 Andrey Kiselev <[email protected]> 1405 1406 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 1407 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 1408 which should be set by value. 1409 1410 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 1411 and _TIFFFieldWithName() if the tag is not found in the tag table. 1412 This should be normal situation and returned NULL value should be 1413 properly handled by the caller. 1414 14152010-07-02 Andrey Kiselev <[email protected]> 1416 1417 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 1418 integer type conversions. As per bug 1419 http://bugzilla.maptools.org/show_bug.cgi?id=2207 1420 1421 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 1422 WhitePoint tag as per bug 1423 http://bugzilla.maptools.org/show_bug.cgi?id=2042 1424 1425 * libtiff/tif_getimage.c: Check the number of samples per pixel when 1426 working with YCbCr image in PickContigCase(). As per bug 1427 http://bugzilla.maptools.org/show_bug.cgi?id=2216 1428 1429 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 1430 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 1431 we don't need any post-processing. That helps to reset the hook if we 1432 previously set this field to some other value and the hook was 1433 initialized accordingly. As per bug 1434 http://bugzilla.maptools.org/show_bug.cgi?id=2035 1435 14362010-07-01 Andrey Kiselev <[email protected]> 1437 1438 * tools/tiffgt.c: Properly check the raster buffer allocations for 1439 integer overflows. As per bug 1440 http://bugzilla.maptools.org/show_bug.cgi?id=2108 1441 1442 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 1443 upstream. 1444 1445 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 1446 multiply_32() and multiply_64() functions into tif_aux.c file and 1447 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 1448 14492010-06-30 Andrey Kiselev <[email protected]> 1450 1451 * tools/tiff2pdf.c: Better generation of ID field in 1452 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 1453 1454 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 1455 converting JPEG encoded tiles. 1456 1457 * tools/tiff2pdf.c: Better handling of string fields, use static 1458 string buffers instead of dynamically allocated, use strncpy() instead 1459 of strcpy(), control the string lengths. 1460 14612010-06-25 Andrey Kiselev <[email protected]> 1462 1463 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 1464 referencing to uninitialized memory in some cases (e.g. when tile size 1465 set bigger than the image size). 1466 14672010-06-15 Bob Friesenhahn <[email protected]> 1468 1469 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 1470 subsampled data since tiffcrop currently doesn't support it. Fix 1471 JPEG support. 1472 14732010-06-13 Frank Warmerdam <[email protected]> 1474 1475 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 1476 1477 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 1478 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 1479 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 1480 size is larger. Also, there are a bunch of places that try to 1481 memset() a malloc'd buffer before checking for malloc failure, which 1482 would result in core dump if there actually were a failure. (#2211) 1483 14842010-06-11 Bob Friesenhahn <[email protected]> 1485 1486 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 1487 avoid compiler warnings if parameter types are not sign 1488 consistent. 1489 1490 * libtiff 4.0.0alpha6 released. 1491 1492 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 1493 European page size dimensions. Added an option to allow the user 1494 to specify a custom page size on the command line. Fix the case 1495 where a page size specified with a fractional part was being 1496 coerced to an integer by retyping the variables that define the 1497 paper size. 1498 1499 * html/index.html: Update for the 3.9.3 release. 1500 1501 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 1502 YCbCr subsampled data since tiffcp currently doesn't support it. 1503 http://bugzilla.maptools.org/show_bug.cgi?id=2097 1504 1505 * Update libtool to version 2.2.10. 1506 15072010-06-10 Bob Friesenhahn <[email protected]> 1508 1509 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 1510 multiplier is zero. 1511 15122010-06-09 Bob Friesenhahn <[email protected]> 1513 1514 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 1515 CVE-2010-1411 was not complete. 1516 1517 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 1518 multiply two integers. Returns zero if there is an integer 1519 overflow. 1520 1521 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 1522 is reported when reading the input file. 1523 15242010-06-08 Bob Friesenhahn <[email protected]> 1525 1526 * Update libtool to version 2.2.8. 1527 1528 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 1529 buffer due to integer overflow in TIFFroundup() and several other 1530 potential overflows. In conjunction with the fix to TIFFhowmany(), 1531 fixes CVE-2010-1411. 1532 1533 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 1534 result in an integer overflow. This causes TIFFroundup() to also 1535 return zero if there would be an integer overflow. 1536 1537 * contrib: Add an emacs formatting mode footer to all source files 1538 so that emacs can be effectively used. 1539 15402010-06-03 Oliver Chen Feng <[email protected]> 1541 1542 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 1543 file PAGENUMBER value in sequence for users who care the page 1544 sequence, this will also prevent tiff2pdf from creating pdf file from 1545 the merged tiff file with wrong page sequence. 1546 15472010-05-08 Olivier Paquet <[email protected]> 1548 1549 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 1550 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 1551 * libtiff/tif_dirinfo.c: Use correct set_field_type for 1552 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 1553 http://bugzilla.maptools.org/show_bug.cgi?id=2192 1554 15552010-05-07 Frank Warmerdam <[email protected]> 1556 1557 * libtiff/tif_jpeg.c: Ensure that quality is always set in 1558 JPEGPreEncode(), not just when we want to output local tables. 1559 Otherwise the quality used during compression may not be right and 1560 might not match the tables in the tables tag. This bug only occurs 1561 when seeking between directories in the midst of writing blocks. 1562 http://trac.osgeo.org/gdal/ticket/3539 1563 15642010-05-06 Andrey Kiselev <[email protected]> 1565 1566 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 1567 Regenerated from the source. 1568 15692010-05-05 Olivier Paquet <[email protected]> 1570 1571 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 1572 had stopped working. Also made it always print 6 floats instead of 1573 2*SamplesPerPixel. 1574 http://bugzilla.maptools.org/show_bug.cgi?id=2191 1575 http://bugzilla.maptools.org/show_bug.cgi?id=2186 1576 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 1577 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 1578 15792010-05-05 Frank Warmerdam <[email protected]> 1580 1581 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 1582 if the jpeg table was written. This is a fix for the last fix on 04-21. 1583 15842010-04-21 Frank Warmerdam <[email protected]> 1585 1586 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 1587 JPEGSetupEncode() is called if the tables already seem to be 1588 established. This prevents spurious updates and rewriting of 1589 directories with jpegtables when doing updates to existing images. 1590 http://trac.osgeo.org/gdal/ticket/3539 1591 15922010-04-20 Olivier Paquet <[email protected]> 1593 1594 * libtiff/tif_dirinfo.c: Use correct set_field_type for 1595 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 1596 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 1597 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 1598 http://bugzilla.maptools.org/show_bug.cgi?id=2139 1599 16002010-04-10 Bob Friesenhahn <[email protected]> 1601 1602 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 1603 when the tag count value is zero. Error handling is still a 1604 regression since in 3.9.2, empty tags are skipped (with a warning) 1605 rather than returning a hard error and refusing to read the file. 1606 1607 * tools/ppm2tiff.c (main): While case for parsing comment line 1608 requires extra parenthesis to work as expected. Reported by 1609 Thomas Sinclair. 1610 16112010-04-02 Frank Warmerdam <[email protected]> 1612 1613 * libtiff/tif_read.c (primarily): Add support for 1614 CHUNKY_STRIP_READ_SUPPORT where large strips are 1615 read in chunks for applications using TIFFReadScanline(). 1616 This is intended to make it more practical work with very 1617 large compressed one-strip files. Feature is off by default. 1618 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 1619 http://trac.osgeo.org/gdal/ticket/3514 1620 16212010-03-31 Frank Warmerdam <[email protected]> 1622 1623 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 1624 directories so previously placed directories will be migrated to 1625 the end of file if needed. 1626 16272010-03-30 Frank Warmerdam <[email protected]> 1628 1629 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 1630 to support operating on strips/tiles of more than 256MB. 1631 http://trac.osgeo.org/gdal/ticket/3512 1632 16332010-03-10 Bob Friesenhahn <[email protected]> 1634 1635 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 1636 that it is clearly a memory allocation error message, and also 1637 includes the size of the allocation request. 1638 16392010-02-22 Lee Howard <[email protected]> 1640 1641 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 1642 the JPEG TIFF as is is not required in order to prevent it from 1643 being unused and filled with invalid data. (Leave it to be 1644 generated by later activity.) 1645 http://bugzilla.maptools.org/show_bug.cgi?id=2135 1646 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 1647 data rather than skipping them. This fixes the ability to view in 1648 Acrobat Reader, Evince, and Ghostscript. 1649 http://bugzilla.maptools.org/show_bug.cgi?id=2135 1650 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 1651 strips. 1652 http://bugzilla.maptools.org/show_bug.cgi?id=2029 1653 16542009-12-03 Frank Warmerdam <[email protected]> 1655 1656 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 1657 Made so that when working with downsampled images a stub function 1658 reporting an error is used for tif_decoderow. We cannot meaningfully 1659 support reading scanlines in this situation. (#1936) 1660 1661 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 1662 resetting of the upsampling values (gdal:#3259). 1663 http://bugzilla.maptools.org/show_bug.cgi?id=1936 1664 16652009-11-30 Frank Warmerdam <[email protected]> 1666 1667 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 1668 tools/ras2tiff.c: Fix resource leaks on error. 1669 http://bugzilla.maptools.org/show_bug.cgi?id=2121 1670 1671 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 1672 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 1673 of as a custom(generic) field to avoid a potential reentrancy problem. 1674 http://bugzilla.maptools.org/show_bug.cgi?id=2125 1675 1676 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 1677 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 1678 const, and display_sRGB static and const. 1679 http://bugzilla.maptools.org/show_bug.cgi?id=2124 1680 16812009-11-04 Bob Friesenhahn <[email protected]> 1682 1683 * libtiff 4.0.0alpha5 released. 1684 16852009-11-03 Bob Friesenhahn <[email protected]> 1686 1687 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 1688 version has undergone substantial testing with arbitrary sample 1689 bit depths. Also eliminates GCC compilation warnings. 1690 16912009-11-02 Bob Friesenhahn <[email protected]> 1692 1693 * port/libport.h: Add extern declarations for getopt standard 1694 globals. 1695 16962009-10-31 Bob Friesenhahn <[email protected]> 1697 1698 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 1699 noticed in 64-bit build of libtiff with Visual Studio 2005. 1700 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 1701 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 1702 1703 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 1704 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 1705 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 1706 http://bugzilla.maptools.org/show_bug.cgi?id=2068 1707 17082009-10-29 Bob Friesenhahn <[email protected]> 1709 1710 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 1711 pointer" warnings. 1712 17132009-10-28 Bob Friesenhahn <[email protected]> 1714 1715 * html/tools.html: Add manual page links, and a summary 1716 description of tiffcrop. 1717 17182009-10-07 Bob Friesenhahn <[email protected]> 1719 1720 * configure.ac: x86_64 should use the same fill order as i386. 1721 17222009-09-24 Bob Friesenhahn <[email protected]> 1723 1724 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 1725 Nolde. Major updates to add significant functionality for reading 1726 and writing tile based images with bit depths not a multiple of 8 1727 which cannot be handled by tiffcp. 1728 17292009-09-03 Bob Friesenhahn <[email protected]> 1730 1731 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 1732 do_fancy_upsampling=FALSE in order to read raw data. Resolves 1733 "Bug 2090 - OJPEG crash with libjpeg v7". 1734 http://bugzilla.maptools.org/show_bug.cgi?id=2090 1735 17362009-09-03 Frank Warmerdam <[email protected]> 1737 1738 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 1739 interface when stoponerror is set. 1740 http://bugzilla.maptools.org/show_bug.cgi?id=2071 1741 17422009-08-30 Bob Friesenhahn <[email protected]> 1743 1744 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 1745 fix build with gcc when using the "-Wformat 1746 -Werror=format-security" flags. 1747 17482009-08-29 Bob Friesenhahn <[email protected]> 1749 1750 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 1751 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 1752 utilities tests. 1753 17542009-08-28 Bob Friesenhahn <[email protected]> 1755 1756 * tools/tiffinfo.c: tiffinfo should return error status to the 1757 caller. Register a private error callback to accomplish that. 1758 1759 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 1760 PNM formats so that we will be able to test more of the tools. 1761 While adding these test images I notice that bmp2tiff and gif2tiff 1762 only support ancient versions of their respective formats. 1763 17642009-08-27 Bob Friesenhahn <[email protected]> 1765 1766 * libtiff 4.0.0alpha4 released. 1767 1768 * HOWTO-RELEASE: Improved release instructions. 1769 17702009-08-24 Bob Friesenhahn <[email protected]> 1771 1772 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 1773 fixes for "Bug 2023 - nroff errors in manual pages". 1774 http://bugzilla.maptools.org/show_bug.cgi?id=2023 1775 1776 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 1777 CVE-2009-2347 libtiff: integer overflows in various inter-color 1778 space conversion tools". 1779 http://bugzilla.maptools.org/show_bug.cgi?id=2079 1780 1781 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 1782 Berkenbilt for "Bug 2024 - possible null pointer dereference with 1783 one-line fix". 1784 http://bugzilla.maptools.org/show_bug.cgi?id=2024 1785 1786 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 1787 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 1788 segfault after setting tdir_tag = IGNORE". 1789 http://bugzilla.maptools.org/show_bug.cgi?id=1895 1790 17912009-08-23 Bob Friesenhahn <[email protected]> 1792 1793 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 1794 tiffcrop.sh into a collection of many specific tests. Re-wrote 1795 all of the existing tests to be based on some simple shell 1796 functions. Make distcheck works again. 1797 1798 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 1799 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 1800 tests under valgrind. 1801 18022009-08-21 Bob Friesenhahn <[email protected]> 1803 1804 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 1805 build. 1806 1807 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 1808 actually activated since it needed to be enabled in this 1809 Makefile.am. Also activated parallel-tests mode since it offers 1810 useful features such as per-test .log files and a summary test 1811 report .log file. 1812 18132009-08-20 Bob Friesenhahn <[email protected]> 1814 1815 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 1816 libtool 2.2.6. Enabled support for silent build rules 1817 (--enable-silent-rules or 'make V=0') and colorized tests. 1818 1819 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 1820 18212009-06-30 Frank Warmerdam <[email protected]> 1822 1823 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 1824 1825 * tools/tiffcp.c: add -c sgilog support. 1826 1827 * libtiff/tif_luv.c: correct return codes from encoderow to be 1828 1 on success instead of zero. 1829 http://bugzilla.maptools.org/show_bug.cgi?id=2069 1830 1831 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 1832 #1085 for a better underflow fix that errors properly. 1833 http://bugzilla.maptools.org/show_bug.cgi?id=2065 1834 http://bugzilla.maptools.org/show_bug.cgi?id=1985 1835 18362009-06-26 Frank Warmerdam <[email protected]> 1837 1838 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 1839 fails on oddly sized 12bit jpeg compressed ycbcr images. 1840 18412009-06-22 Frank Warmerdam <[email protected]> 1842 1843 * libtiff/tif_lzw.c: Fix buffer underflow bug. 1844 http://bugzilla.maptools.org/show_bug.cgi?id=2065 1845 18462009-06-21 Frank Warmerdam <[email protected]> 1847 1848 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 1849 for dual mode 8/12 bit jpeg support. 1850 18512009-06-03 Frank Warmerdam <[email protected]> 1852 1853 * libtiff/tif_write.c: do not override the planar configuration to be 1854 contig for one sample files if planar configuration is already set. 1855 http://bugzilla.maptools.org/show_bug.cgi?id=2057 1856 18572009-06-02 Frank Warmerdam <[email protected]> 1858 1859 * libtiff/libtiff.def: Add TIFFUnsetField. 1860 18612009-05-03 Frank Warmerdam <[email protected]> 1862 1863 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 1864 error reports to use "%s" as format string. 1865 http://trac.osgeo.org/gdal/ticket/2976 1866 18672009-03-12 Frank Warmerdam <[email protected]> 1868 1869 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 1870 for some codecs (#2020). 1871 18722009-02-12 Frank Warmerdam <[email protected]> 1873 1874 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 1875 http://bugzilla.maptools.org/show_bug.cgi?id=2005 1876 18772009-02-09 Frank Warmerdam <[email protected]> 1878 1879 * libtiff/tif_dirread.c: Improve allocation safety when allocated 1880 buffer for large tags. (#1998) Related to (#1993) 1881 18822009-02-06 Frank Warmerdam <[email protected]> 1883 1884 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 1885 test suite should pass. 1886 18872009-02-05 Frank Warmerdam <[email protected]> 1888 1889 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 1890 but at the 2GB boundary to avoid overflow on 32bit systems. 1891 http://bugzilla.maptools.org/show_bug.cgi?id=1993 1892 1893 * libtiff/tif_dirread.c: Remove some assertions that blow due to 1894 corrupt files rather than in response to library internal 1895 inconsistencies. 1896 http://bugzilla.maptools.org/show_bug.cgi?id=1995 1897 http://bugzilla.maptools.org/show_bug.cgi?id=1991 1898 1899 * libtiff/tif_dirread.c: Fixed testing for failed result from 1900 TIFFReadDirectoryFindFieldInfo(). 1901 http://bugzilla.maptools.org/show_bug.cgi?id=1992 1902 19032009-01-23 Frank Warmerdam <[email protected]> 1904 1905 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 1906 http://bugzilla.maptools.org/show_bug.cgi?id=1911 1907 1908 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 1909 1910 http://bugzilla.maptools.org/show_bug.cgi?id=1924 1911 1912 * tools/tiffcrop.c: initialize xres/yres values. 1913 1914 * test/*.sh - default ${srcdir} to local directory. 1915 1916 * test/common.sh - start verbose mode after common settings. 1917 1918 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 1919 avoid type mismatches on different platforms. 1920 http://bugzilla.maptools.org/show_bug.cgi?id=1889 1921 19222009-01-22 Frank Warmerdam <[email protected]> 1923 1924 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 1925 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 1926 1927 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 1928 defined, primarily to reduce prototype warnings on windows. 1929 1930 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 1931 about unused parameters, and uninitialized variables. 1932 19332009-01-21 Bob Friesenhahn <[email protected]> 1934 1935 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 1936 order to trace full execution detail while executing the test suite. 1937 19382009-01-20 Frank Warmerdam <[email protected]> 1939 1940 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 1941 19422009-01-20 Bob Friesenhahn <[email protected]> 1943 1944 * test/Makefile.am (CLEANFILES): Make sure that test output files 1945 are removed by 'make clean' 1946 1947 * Update autotools for 4.0.0 beta3 1948 1949 * 4.0.0 beta3 produced. 1950 19512009-01-12 Bob Friesenhahn <[email protected]> 1952 1953 * test/tiffcrop.sh: New test script for tiffcrop from Richard 1954 Nolde. 1955 1956 * tools/tiff2ps.c: Remove spurious message to stderr. 1957 19582009-01-11 Bob Friesenhahn <[email protected]> 1959 1960 * tools/tiff2ps.c: Incorporated significant functionality update 1961 from Richard Nolde. In particular, support for rotating the image 1962 by 90, 180, 270, and 'auto' has been added. 1963 1964 * man/tiffcrop.1: Incorporated documentation updates from Richard 1965 Nolde. 1966 1967 * tools/tiffcrop.c: Incorporated significant functionality update 1968 from Richard Nolde. 1969 19702008-12-31 Bob Friesenhahn <[email protected]> 1971 1972 * libtiff/tiffio.h: GCC will now validate format specifications 1973 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 1974 TIFFWarningExt() in order to reveal bugs. 1975 1976 * Many fixes throughout to work better as a 64-bit build. 1977 19782008-12-30 Bob Friesenhahn <[email protected]> 1979 1980 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 1981 tags now require 64-bit parameter rather than 32-bit. 1982 1983 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 1984 64-bit values. 1985 1986 * tools/thumbnail.c: Eliminate crash noticed while running test 1987 suite. 1988 19892008-12-29 Bob Friesenhahn <[email protected]> 1990 1991 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 1992 Initialize stack variables to avoid compiler warning. 1993 1994 * tools/tiffinfoce.c (main): Use toff_t for offset type when 1995 retrieving offset of EXIF IFD. 1996 1997 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 1998 TIFFClientOpen() callback and other external function definitions. 1999 2000 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 2001 type now. Fixes crash when dumping files containing an EXIF IFD. 2002 2003 * m4/libtool.m4: Update to libtool 2.2.6. 2004 20052008-12-21 Frank Warmerdam <[email protected]> 2006 2007 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 2008 2009 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 2010 strip for the last partial strip in a jpeg compressed file. 2011 http://bugzilla.maptools.org/show_bug.cgi?id=1981 2012 20132008-10-29 Frank Warmerdam <[email protected]> 2014 2015 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 2016 we take the shortcut to only update the strip/tile offsets in place. 2017 http://trac.osgeo.org/gdal/ticket/2621 2018 20192008-10-21 Andrey Kiselev <[email protected]> 2020 2021 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 2022 the older versions retained). 2023 20242008-10-09 Frank Warmerdam <[email protected]> 2025 2026 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 2027 IPP enabled version of libjpeg from Intel. 2028 http://bugzilla.maptools.org/show_bug.cgi?id=1951 2029 20302008-09-05 Andrey Kiselev <[email protected]> 2031 2032 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 2033 Required for libtiff 4.0. 2034 2035 * tools/tiffsplit.c: Use dynamically allocated array instead of static 2036 when constructing output file names. 2037 20382008-09-03 Andrey Kiselev <[email protected]> 2039 2040 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 2041 doing the filename/path construction. 2042 2043 * tools/tiff2pdf.c: More appropriate format string in 2044 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 2045 2046 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 2047 2048 http://bugzilla.maptools.org/show_bug.cgi?id=1929 2049 2050 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 2051 CVE-2008-2327 security issue. 2052 20532008-09-01 Frank Warmerdam <[email protected]> 2054 2055 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 2056 2057 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 2058 depending on whether the file is bigtiff or classic tiff. 2059 http://bugzilla.maptools.org/show_bug.cgi?id=1917 2060 20612008-08-12 Edward Lam <[email protected]> 2062 2063 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 2064 consistent (__int64) casting when testing if _lseeki64 has 2065 successfully seeked as requested. This is necessary for large 2066 file support to work since off_t is only 32-bit. 2067 20682008-07-29 Frank Warmerdam <[email protected]> 2069 2070 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 2071 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 2072 with control logic to return runtime errors (c/o Even Rouault) (#1927). 2073 20742008-06-17 Frank Warmerdam <[email protected]> 2075 2076 * tools/tiffcrop.c: Fix some portability problems. 2077 2078 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 2079 used in tif_jpeg.c. 2080 2081 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 2082 as TIFFOpen(). 2083 20842008-06-01 Frank Warmerdam <[email protected]> 2085 2086 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 2087 like Sparc/Solaris. 2088 http://bugzilla.maptools.org/show_bug.cgi?id=1892 2089 20902008-05-27 Frank Warmerdam <[email protected]> 2091 2092 * libtiff.def: Add TIFFFindField 2093 http://bugzilla.maptools.org/show_bug.cgi?id=1891 2094 20952008-05-26 Frank Warmerdam <[email protected]> 2096 2097 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 2098 2099 * li2008-04-15 Andrey Kiselev <[email protected]> 2100 2101btiff/tif_win32.c: Replace custom Win32 memory api with generic 2102 POSIX one. No apparent value to use of GlobalAlloc() in the modern 2103 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 2104 2105 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 2106 in windows version (care of Edward Lam). 2107 21082008-05-24 Frank Warmerdam <[email protected]> 2109 2110 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 2111 compression codec codes. 2112 2113 * tif_dirwrite.c: fix potential memory leak. 2114 2115 * tif_dirread.c: Fix unchecked malloc result. 2116 21172008-05-24 Bob Friesenhahn <[email protected]> 2118 2119 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 2120 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 2121 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 2122 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 2123 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 2124 suggestions from Lee Howard posted to the tiff list on 13 Sep 2125 2007. 2126 21272008-05-23 Frank Warmerdam <[email protected]> 2128 2129 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 2130 possible runtime problem reported by coverity. 2131 2132 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 2133 2134 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 2135 http://bugzilla.maptools.org/show_bug.cgi?id=1888 2136 2137 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 2138 2139 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 2140 2141 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 2142 Cleanup scanline allocation to avoid coverity warning. 2143 2144 * tools/thumbnail.c: Check for TIFFOpen() failure. 2145 21462008-05-18 Frank Warmerdam <[email protected]> 2147 2148 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 2149 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 2150 why this is needed. 2151 21522008-05-09 Bob Friesenhahn <[email protected]> 2153 2154 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 2155 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 2156 21572008-04-15 Andrey Kiselev <[email protected]> 2158 2159 * test/: Test suite updated. Everything is passed now. 2160 2161 * libtiff/tif_dirinfo.c: Fixed description of the 2162 TIFFTAG_NUMBEROFINKS tag. 2163 21642008-04-14 Andrey Kiselev <[email protected]> 2165 2166 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 2167 Get rid of some of "dereferencing type-punned" warnings by converting 2168 tdir_offset field of TIFFDirEntry structure into union. 2169 21702008-04-10 Andrey Kiselev <[email protected]> 2171 2172 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 2173 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 2174 from the public interface. Type of its 'count' parameter changed 2175 from uint32 to tmsize_t. 2176 2177 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 2178 of the tiff structure have the size_t type instead of uint32. 2179 21802008-04-09 Andrey Kiselev <[email protected]> 2181 2182 * tools/tiffdump.c: Added support for MSVS 6.0. 2183 2184 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 2185 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 2186 point values on MSVS 6.0 platform. 2187 21882008-03-14 Frank Warmerdam <[email protected]> 2189 2190 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 2191 TIFFReadDirEntryArray() since they are interfering with seemingly 2192 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 2193 21942008-02-09 Joris Van Damme <[email protected]> 2195 2196 * tif_dirread.c: Added handling for the case of number of values for 2197 PageNumber tag different from 2 (previously resulted in an assert 2198 indicating lack of handling and was forgotten about) 2199 22002008-02-01 Frank Warmerdam <[email protected]> 2201 2202 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 2203 the actual jpeg data stream if the first strip/tile has zero size. 2204 This is the case when GDAL creates a new file with zero sizes, closes 2205 and reopens it. 2206 22072008-01-07 Frank Warmerdam <[email protected]> 2208 2209 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 2210 22112008-01-01 Frank Warmerdam <[email protected]> 2212 2213 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 2214 2215 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 2216 targets. 2217 2218 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 2219 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 2220 (x64). 2221 2222 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 2223 and TIFFFieldWithName() now return TIFFField pointers instead of 2224 TIFFFieldInfo pointers. 2225 2226 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 2227 exist. This makes it compile again on Windows 2228 2229 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 2230 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 2231 2232 * test/rewrite_tag.c: New test for TIFFRewriteField(). 2233 22342007-12-31 Frank Warmerdam <[email protected]> 2235 2236 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 2237 rewrites one field "on disk" updating an existing directory 2238 entry. Lots of limitations still... 2239 2240 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 2241 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 2242 the strip offset/size values are dirty but nothing else about the 2243 directory is dirty. In flush handle "just stripmaps dirty" as a 2244 special case that just rewrites these values without otherwise 2245 modifying the directory on disk using TIFFRewriteField(). 2246 2247 We also modify logic so that in update mode the directory is not 2248 marked dirty on read, but only when something is changed. This 2249 means we need to keep track of updates to the stripmap stuff in 2250 TIFFAppendToStrip(). 2251 22522007-12-10 Frank Warmerdam <[email protected]> 2253 2254 * tif_jpeg.c: Improve ability to switch between encoding and decoding 2255 in the jpeg code (gdal bug #2033). 2256 22572007-11-23 Frank Warmerdam <[email protected]> 2258 2259 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 2260 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 2261 rawcp/rawcc buffer are for writing and thus may require flushing. 2262 Necessary to distinguish whether they need to be written to disk when 2263 in mixed read/write mode and doing a mixture of writing followed by 2264 reading. http://trac.osgeo.org/gdal/ticket/1758 2265 22662007-11-23 Andrey Kiselev <[email protected]> 2267 2268 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 2269 from Alexey Chupahin. 2270 22712007-11-02 Frank Warmerdam <[email protected]> 2272 2273 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 2274 establishing if an existing tile can be rewritten to the same location 2275 by comparing the current size to all the other blocks in the same 2276 directory. This is dangerous in many situations and can easily 2277 corrupt a file. (observed in esoteric GDAL situation that's hard to 2278 document). This change involves leaving the stripbytecount[] values 2279 unaltered till TIFFAppendToStrip(). Now we only write a block back 2280 to the same location it used to be at if the new data is the same 2281 size or smaller - otherwise we move it to the end of file. 2282 2283 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 2284 data when writing the directory just because we have BEENWRITING at 2285 some point in the past. This was causing odd junk to be written out 2286 in a tile of data when a single tile had an interleaving of reading 2287 and writing with reading last. (highlighted by gdal 2288 autotest/gcore/tif_write.py test 7. 2289 2290 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 2291 modifying callers buffer. 2292 http://trac.osgeo.org/gdal/ticket/1965 2293 2294 * tif_predict.c/h: more fixes related to last item, keeping a 2295 distinct pfunc for encode and decode cases as these were getting 2296 mixed up sometimes. 2297 http://trac.osgeo.org/gdal/ticket/1948 2298 22992007-11-01 Frank Warmerdam <[email protected]> 2300 2301 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 2302 predictor based encoding and decoding works in read-write update 2303 mode properly. 2304 http://trac.osgeo.org/gdal/ticket/1948 2305 23062007-10-24 Joris Van Damme <[email protected]> 2307 2308 * tif_dirread.c: Fixed problem with bogus file triggering 2309 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 2310 ChopUpSingleUncompressedStrip 2311 23122007-10-22 Joris Van Damme <[email protected]> 2313 2314 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 2315 at best, access violation at worst, when subsampled JPEG compressed imagery 2316 is decoded without the JPEG_COLORMODE feature 2317 23182007-10-11 Frank Warmerdam <[email protected]> 2319 2320 * html/index.html: Update "people responsible" section. 2321 23222007-10-05 Frank Warmerdam <[email protected]> 2323 2324 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 2325 as reported on the mailing list. 2326 23272007-10-01 Joris Van Damme <[email protected]> 2328 2329 * changed some more incorrect %lud printf flags to %lu 2330 23312007-09-29 Joris Van Damme <[email protected]> 2332 2333 * tif_dirread.c: Strip chopping interfered badly with uncompressed 2334 subsampled images because it tried to divide subsampled rowblocks, 2335 leading to all sorts of errors throughout the library for these 2336 images. Fixed by making strip chopping divide in row counts that 2337 are a multiple of vertical subsampling value. 2338 23392007-09-28 Joris Van Damme <[email protected]> 2340 2341 * tif_dirread.c: Logical cast working around compiler warning 2342 2343 * tif_read.c: Correction of some error flags and parameter lists 2344 23452007-09-27 Joris Van Damme <[email protected]> 2346 2347 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 2348 when dealing with large bitspersample values, shutting up purification 2349 tools that warn about truncation, though it remains incorrect and 2350 indicates a conceptual problem there. 2351 2352 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 2353 of first IFD) to proper place because it badly interfered with memory 2354 mapping, resulting in mapping flag even with dummy mapping functions 2355 that returned 0 whilst at the same time the mapping tif_size wasn't 2356 set, thus resulting in continuous incorrect beyond-eof errors. 2357 23582007-09-24 Joris Van Damme <[email protected]> 2359 2360 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 2361 inconsistent use of const in tiffFields and exifFields definition 2362 23632007-09-20 Frank Warmerdam <[email protected]> 2364 2365 * tif_dirwrite.c: Always write tile/strip offsets and sizes 2366 using LONG8 type when output format is BigTIFF. The 2367 TIFFWriteDirectoryTagLongLong8Array() function was restructured 2368 accordingly. 2369 2370 * tif_dirread.c: Improvements to error reporting text in 2371 TIFFFetchDirectory(). 2372 23732007-09-19 Bob Friesenhahn <[email protected]> 2374 2375 * test/images: Added a small collection of test images for use by 2376 test programs and scripts. 2377 * test/tiffinfo.sh: A trivial example test script. 2378 * test/common.sh: Added small script for setting the environment 2379 used by script-based tests. 2380 23812007-08-24 Frank Warmerdam <[email protected]> 2382 2383 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 2384 zero when writing directory contents to preserve the ability to 2385 rewrite directories in place, even in the middle of a directory 2386 chain. 2387 2388 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 2389 definitions that are missing. Existing definitions are silently 2390 ignored. 2391 2392 * tif_dirread.c: Add runtime error for fields for which no definition 2393 is found (in addition to an assert for developers) in 2394 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 2395 prudent. 2396 23972007-08-10 Joris Van Damme <[email protected]> 2398 2399 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 2400 from _TIFFRGBAImage structure to revert unwanted ABI change. 2401 24022007-08-10 Joris Van Damme <[email protected]> 2403 2404 * libtiff/tif_win32.c: use SetFilePointer instead of 2405 SetFilePointerEx, as per bug 2406 2407 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 2408 24092007-07-19 Andrey Kiselev <[email protected]> 2410 2411 * libtiff/tif_stream.cxx: Put all callback functions declarations 2412 inside extern "C" block. 2413 2414 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 2415 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 2416 formatter instead of "%lld" with MSVC compiler. 2417 2418 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 2419 _TIFFUInt64ToDouble() functions. 2420 24212007-07-18 Andrey Kiselev <[email protected]> 2422 2423 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 2424 integer constants. 2425 2426 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 2427 remove tif_config.h/tiffconf.h during cleaning. As per bug 2428 2429 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 2430 2431 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 2432 2433 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 2434 24352007-07-13 Andrey Kiselev <[email protected]> 2436 2437 * libtiff 4.0.0alpha released. 2438 24392007-07-12 Andrey Kiselev <[email protected]> 2440 2441 * tools/tiff2pdf.c: Added missed extern optind as per bug 2442 2443 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 2444 2445 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 2446 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 2447 extending scheme completed. 2448 24492007-07-11 Bob Friesenhahn <[email protected]> 2450 2451 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 2452 use standard C++ library size types and attempt to detect overflow 2453 cases. 2454 24552007-07-08 Andrey Kiselev <[email protected]> 2456 2457 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 2458 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 2459 tag extending scheme. Use the new scheme everywhere. 2460 2461 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 2462 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 2463 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 2464 TIFFFIeldInfo structure replaced with TIFFField structure. 2465 TIFFFieldInfo retained for the backward compatibility. 2466 24672007-07-05 Bob Friesenhahn <[email protected]> 2468 2469 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 2470 defined. 2471 24722007-07-04 Andrey Kiselev <[email protected]> 2473 2474 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 2475 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 2476 removed. 2477 2478 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 2479 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 2480 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 2481 These tags are not codec-specific and relate to image content, so 2482 process them as other normal tags. 2483 2484 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 2485 public tiffio.h to private tif_dir.h. 2486 2487 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 2488 outdated. 2489 24902007-07-03 Andrey Kiselev <[email protected]> 2491 2492 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 2493 tif_win3.c}: Obsoleted portability stuff removed. 2494 2495 * tools/tiff2ps.c: Added support 16-bit images as per bug 2496 2497 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 2498 2499 Patch from William Bader. 2500 2501 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 2502 significant upgrade of the whole utility as per bug 2503 2504 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 2505 2506 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 2507 PDF file using TIFFClientOpen() machinery as it is implemented 2508 by Leon Bottou. 2509 25102007-06-26 Bob Friesenhahn <[email protected]> 2511 2512 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 2513 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 2514 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 2515 allow returning -1 for errors. 2516 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 2517 25182007-06-25 Bob Friesenhahn <[email protected]> 2519 2520 * port/strtoull.c: New porting function in case strtoull() is not 2521 available on the target system. 2522 * configure.ac: Add configure support for determining sized types 2523 in a portable way and performing necessary substitutions in 2524 tif_config.h and tiffconf.h. Updated tiff.h to use the new 2525 definitions. 2526 25272007-04-27 Andrey Kiselev <[email protected]> 2528 2529 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 2530 2531 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 2532 25332007-04-07 Andrey Kiselev <[email protected]> 2534 2535 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 2536 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 2537 tif_predict.c, tif_zip.c}: Finally fix bug 2538 2539 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 2540 2541 by introducing _TIFFMergeFieldInfo() returning integer error status 2542 instead of void in case of problems with field merging (e.g., if the 2543 field with such a tag already registered). TIFFMergeFieldInfo() in 2544 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 2545 check returned value. 2546 25472007-04-07 Frank Warmerdam <[email protected]> 2548 2549 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 2550 blocks in TIFF_DownSample_Subsampled() (bug 1542). 2551 25522007-04-06 Frank Warmerdam <[email protected]> 2553 2554 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 2555 will convert from decompressor to compressor or compress to decompress 2556 if required by the force arguments. This works around a problem in 2557 where the JPEGFixupTestSubsampling() may cause a decompressor to 2558 be setup on a directory when later a compressor is required with the 2559 force flag set. Occurs with the addtiffo program for instance. 2560 25612007-04-06 Andrey Kiselev <[email protected]> 2562 2563 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 2564 functionality from Richard Nolde. As per bug 2565 2566 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 2567 25682007-03-28 Frank Warmerdam <[email protected]> 2569 2570 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 2571 25722007-03-17 Joris Van Damme <[email protected]> 2573 2574 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 2575 25762007-03-07 Joris Van Damme <[email protected]> 2577 2578 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 2579 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 2580 factor. This bug is mentioned in: 2581 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 2582 http://www.asmail.be/msg0054766825.html 2583 25842007-03-07 Joris Van Damme <[email protected]> 2585 2586 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 2587 2588 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 2589 unused arguments by standard C indication for the same 2590 25912007-02-27 Andrey Kiselev <[email protected]> 2592 2593 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 2594 counters in TIFFFetchData(). Should finally fix the issue 2595 2596 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 2597 25982007-02-24 Andrey Kiselev <[email protected]> 2599 2600 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 2601 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 2602 2603 * libtiff/tif_dirread.c: Added special function to handle 2604 SubjectDistance EXIF tag as per bug 2605 2606 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 2607 2608 * tools/tiff2pdf.c: Do not assume inches when the resolution units 2609 do not specified. As per bug 2610 2611 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 2612 2613 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 2614 it was set as infinite. As per bug 2615 2616 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 2617 2618 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 2619 by Richard Nolde. As per bug 2620 2621 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 2622 26232007-02-22 Andrey Kiselev <[email protected]> 2624 2625 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 2626 ExtraSamples == 999 produced by Corel Draw. As per bug 2627 2628 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 2629 2630 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 2631 changed from tsize_t to uint32 to be able to work with data arrays 2632 larger than 2GB. Fixes bug 2633 2634 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 2635 2636 Idea submitted by Matt Hancher. 2637 26382007-01-31 Andrey Kiselev <[email protected]> 2639 2640 * tools/tif2rgba.c: This utility does not work properly on big-endian 2641 architectures. It was fixed including the bug 2642 2643 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 2644 26452007-01-15 Mateusz Loskot <[email protected]> 2646 2647 * Submitted libtiff port for Windows CE platform 2648 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 2649 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 2650 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 2651 functons from tif_win32.c. 2652 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 2653 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 2654 standard header files for Windows CE build. 2655 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 2656 26572006-11-19 Frank Warmerdam <[email protected]> 2658 2659 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 2660 we move a strip. 2661 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 2662 26632006-10-13 Andrey Kiselev <[email protected]> 2664 2665 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 2666 in Gentoo bug (): 2667 2668 http://bugs.gentoo.org/show_bug.cgi?id=142383 2669 2670 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 2671 Though it is still far from the state of being working and useful. 2672 26732006-10-12 Andrey Kiselev <[email protected]> 2674 2675 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 2676 method. 2677 2678 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 2679 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 2680 2681 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 2682 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 2683 2684 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 2685 vulnerabilities, reported in Gentoo bug (): 2686 2687 http://bugs.gentoo.org/show_bug.cgi?id=142383 2688 26892006-09-28 Andrey Kiselev <[email protected]> 2690 2691 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 2692 vulnerabilities, as per Gentoo bug (): 2693 2694 http://bugs.gentoo.org/show_bug.cgi?id=142383 2695 26962006-09-27 Frank Warmerdam <[email protected]> 2697 2698 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 2699 encoding and decoding on the same read-write TIFF handle. The LZW 2700 code can now maintain encode and decode state at the same time. The 2701 ZIP code will switch back and forth as needed. 2702 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 2703 27042006-09-20 Frank Warmerdam <[email protected]> 2705 2706 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 2707 tif_config.vc.h for easier identification by folks using an IDE. 2708 27092006-07-25 Frank Warmerdam <[email protected]> 2710 2711 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 2712 27132006-07-19 Frank Warmerdam <[email protected]> 2714 2715 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 2716 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 2717 to bug report by Peng Gao with black strip at bottom of images. 2718 27192006-07-12 Frank Warmerdam <[email protected]> 2720 2721 * tif_dirwrite.c: make sure to use uint32 for wordcount in 2722 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 2723 It already seems to have been done for other field types. Needed 2724 for "tiffset" on files with geotiff ascii text. 2725 27262006-07-04 Bob Friesenhahn <[email protected]> 2727 2728 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 2729 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 2730 its use does not appear to be required, so use it only when it is 2731 available. 2732 27332006-06-24 Andrey Kiselev <[email protected]> 2734 2735 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 2736 2737 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 2738 function TIFFFetchDirectory() avoiding code duplication in 2739 TIFFReadDirectory() and TIFFReadCustomDirectory(). 2740 27412006-06-19 Frank Warmerdam <[email protected]> 2742 2743 * tools/tiff2pdf.c: Fix handling of -q values. 2744 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 2745 27462006-06-17 Frank Warmerdam <[email protected]> 2747 2748 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 2749 files. Modified TIFFReadDirectory() to not invoke 2750 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 2751 but one of them is zero. 2752 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 2753 27542006-06-08 Andrey Kiselev <[email protected]> 2755 2756 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 2757 checking code in the separate function TIFFCheckDirOffset(). 2758 2759 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 2760 2761 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 2762 2763 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 2764 2765 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 2766 2767 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 2768 2769 * tools/tiff2pdf.c: Fixed buffer overflow condition in 2770 t2p_write_pdf_string() as per bug 2771 2772 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 2773 27742006-06-07 Andrey Kiselev <[email protected]> 2775 2776 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 2777 support for JBIG compression scheme (34661 code) contributed by Lee 2778 Howard. As per bug 2779 2780 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 2781 2782 * configure, configure.ac: OJPEG support enabled by default. 2783 2784 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 2785 27862006-06-03 Bob Friesenhahn <[email protected]> 2787 2788 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 2789 TIFFPrintDirectory(). Joris Van Damme authored the fix. 2790 27912006-04-21 Andrey Kiselev <[email protected]> 2792 2793 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 2794 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 2795 2796 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 2797 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 2798 Added support for OpenVMS by Alexey Chupahin, [email protected]. 2799 28002006-04-20 Andrey Kiselev <[email protected]> 2801 2802 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 2803 Properly set the binary mode for stdin stream as per bug 2804 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 2805 2806 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 2807 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 2808 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 2809 tiffset.1}: Improvements in page formatting as per bug 2810 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 2811 2812 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 2813 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 2814 28152006-04-18 Frank Warmerdam <[email protected]> 2816 2817 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 2818 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 2819 28202006-04-12 Joris Van Damme <[email protected]> 2821 2822 * libtiff/tif_getimage.c: Added support for planarconfig separate 2823 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 2824 28252006-04-11 Joris Van Damme <[email protected]> 2826 2827 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 2828 - Conversion of unassociated alpha to associated alpha now done with 2829 more performant LUT, and calculation more correct 2830 - Conversion of 16bit data to 8bit data now done with 2831 more performant LUT, and calculation more correct 2832 - Bugfix of handling of 16bit RGB with unassociated alpha 2833 28342006-04-11 Joris Van Damme <[email protected]> 2835 2836 * libtiff/tif_getimage.c: 2837 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 2838 buffer for alpha strile and filled it, only to never read it back. 2839 Removed allocation and fill. 2840 - Minor rename of vars in gtTileSeparate and gtStripSeparate 2841 anticipating planned functionality extension 2842 28432006-04-08 Joris Van Damme <[email protected]> 2844 2845 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 2846 and pickTileSeparateCase to PickSeparateCase as both work on strips as 2847 well 2848 2849 * libtiff/tif_getimage.c: moved img->get selection from 2850 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 2851 logical hook for planned functionality extension 2852 28532006-04-08 Joris Van Damme <[email protected]> 2854 2855 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 2856 of inappropriate use of jpeg_abort instead of jpeg_destroy 2857 28582006-04-07 Joris Van Damme <[email protected]> 2859 2860 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 2861 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 2862 on subsampled images - this ought to get sorted when we feel brave 2863 enough to replace TIFFScanlineSize alltogether 2864 2865 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 2866 28672006-04-04 Joris Van Damme <[email protected]> 2868 2869 * libtiff/tiffio.h: added new type tstrile_t 2870 2871 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 2872 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 2873 toff_t* 2874 2875 * libtiff/tif_ojpeg.c: totally new implementation 2876 2877 * libtiff/tif_dirread.c: added several hacks to suit new support of 2878 OJPEG 2879 2880 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 2881 of OJPEG images in favor of tif_getimage.c native handling of 2882 YCbCr and desubsampling 2883 28842006-03-29 Frank Warmerdam <[email protected]> 2885 2886 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 2887 interpretation causes the "upsampled" flag to be recomputed. Fixes 2888 peculiar bug where photometric flag had to be set before jpegcolormode 2889 flag. 2890 28912006-03-25 Joris Van Damme <[email protected]> 2892 2893 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 2894 2895 * libtiff/tif_strip.c: temporarilly added two new versions of 2896 TIFFScanlineSize 2897 - TIFFNewScanlineSize: proposed new version, after all related 2898 issues and side-effects are sorted out 2899 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 2900 This needs further sorting out. 2901 29022006-03-25 Joris Van Damme <[email protected]> 2903 2904 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 2905 of last truncated strip data to TIFFWriteEncodedStrip 2906 29072006-03-25 Joris Van Damme <[email protected]> 2908 2909 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 2910 29112006-03-25 Joris Van Damme <[email protected]> 2912 2913 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 2914 2915 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 2916 2917 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 2918 prepare the path for new tif_ojpeg.c 2919 29202006-03-23 Andrey Kiselev <[email protected]> 2921 2922 * libtiff 3.8.2 released. 2923 2924 * tools/Makefile.am: Use runtime paths linker flags when rpath 2925 option enabled. 2926 29272006-03-21 Andrey Kiselev <[email protected]> 2928 2929 * libtiff/libtiff.def: Added missed exports as per bug 2930 http://bugzilla.remotesensing.org/attachment.cgi?id=337 2931 2932 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 2933 tools/Makefile.vc: Makefiles improvements as per bug 2934 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 2935 2936 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 2937 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 2938 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 2939 2940 * libtiff/tif_strip.c: Take subsampling in account when calculating 2941 TIFFScanlineSize(). 2942 2943 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 2944 29452006-03-17 Andrey Kiselev <[email protected]> 2946 2947 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 2948 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 2949 2950 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 2951 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 2952 29532006-03-16 Andrey Kiselev <[email protected]> 2954 2955 * libtiff/tiffiop.h: Added decalration for 2956 _TIFFSetDefaultCompressionState(). 2957 2958 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 2959 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 2960 codec cleanup methods. As per bug 2961 2962 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 2963 29642006-03-15 Andrey Kiselev <[email protected]> 2965 2966 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 2967 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 2968 2969 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 2970 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 2971 2972 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 2973 removed; move here the STRIP_SIZE_DEFAULT macro definition. 2974 2975 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 2976 macro definition. 2977 2978 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 2979 29802006-03-14 Andrey Kiselev <[email protected]> 2981 2982 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 2983 in TIFFReadDirectory, because it is always set at the start of 2984 function and we allow TIFFs without that tag set. 2985 29862005-03-13 Andrey Kiselev <[email protected]> 2987 2988 * libtiff 3.8.1 released. 2989 29902006-03-07 Andrey Kiselev <[email protected]> 2991 2992 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 2993 function as per bug 2994 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2995 2996 * libtiff/tif_dirread.c: More wise check for integer overflow 2997 condition as per bug 2998 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2999 3000 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 3001 Properly restore setfield/getfield methods in cleanup functions. As 3002 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3003 30042006-03-03 Andrey Kiselev <[email protected]> 3005 3006 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 3007 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 3008 3009 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 3010 TIFFPredictorCleanup() in codec cleanup methods. As per bug 3011 3012 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3013 3014 * libtiff/tif_dirread.c: Fixed integer overflow condition in 3015 TIFFFetchData() function. As per bug 3016 3017 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3018 30192006-03-01 Andrey Kiselev <[email protected]> 3020 3021 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 3022 TIFFSetField() method, not directly. As per bug 3023 3024 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 3025 3026 * tools/ppm2tiff.c: Added support for PBM files as per bug 3027 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 3028 30292006-02-27 Andrey Kiselev <[email protected]> 3030 3031 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 3032 to avoid crash as per bug 3033 3034 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 3035 30362006-02-26 Andrey Kiselev <[email protected]> 3037 3038 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 3039 t2p_sample_rgba_to_rgb() was used in place of each other, that was 3040 resulted in problems with RGBA images with associated alpha. 3041 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 3042 30432006-02-23 Andrey Kiselev <[email protected]> 3044 3045 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 3046 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 3047 3048 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 3049 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 3050 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 3051 3052 * tools/tiff2ps.c: Properly scale all the pages when converting 3053 multipage TIFF with /width/height/center options set. As per bug 3054 3055 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 3056 30572006-02-15 Andrey Kiselev <[email protected]> 3058 3059 * tools/tiff2pdf.c: Do not create output file until all option checks 3060 will be done. As per bug 3061 3062 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 3063 3064 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 3065 list of input files as per bug: 3066 3067 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 3068 30692006-02-09 Andrey Kiselev <[email protected]> 3070 3071 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 3072 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 3073 3074 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 3075 TIFFRGBAImage interface. 3076 3077 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 3078 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 3079 30802006-02-07 Frank Warmerdam <[email protected]> 3081 3082 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 3083 compressed TIFF files, per submission from Dan Cobra. 3084 30852006-02-07 Andrey Kiselev <[email protected]> 3086 3087 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 3088 cast values to avoid warnings. As per bug 3089 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 3090 3091 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 3092 appropriate. As per bug 3093 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 3094 3095 * libtiff/tif_aux.c: Fixed type of temporary variable in 3096 _TIFFCheckMalloc() as per bug 3097 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 3098 30992006-02-06 Andrey Kiselev <[email protected]> 3100 3101 * libtiff/tif_aux.c: Return static array when fetching default 3102 YCbCrCoefficients (another problem, reported a the 3103 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 3104 31052006-02-03 Andrey Kiselev <[email protected]> 3106 3107 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 3108 YCbCrSubsampling and DotRange tags as per bugs 3109 3110 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 3111 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 3112 3113 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 3114 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 3115 3116 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 3117 31182006-01-23 Andrey Kiselev <[email protected]> 3119 3120 * libtool related stuff updated from the 2.1a branch. 3121 31222006-01-11 Frank Warmerdam <[email protected]> 3123 3124 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 3125 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 3126 properly as per bug: 3127 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 3128 31292006-01-09 Bob Friesenhahn <[email protected]> 3130 3131 * configure.ac: Fix with_default_strip_size comparison as reported 3132 by Norihiko Murase. 3133 31342006-01-08 Bob Friesenhahn <[email protected]> 3135 3136 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 3137 incorrectly, tests were not actually testing the uninstalled 3138 libtiff. Now they are. 3139 31402006-01-04 Andrey Kiselev <[email protected]> 3141 3142 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 3143 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 3144 should be uint32 value. 3145 31462006-01-02 Bob Friesenhahn <[email protected]> 3147 3148 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 3149 be used if build directory is not the same as source directory. 3150 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 3151 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 3152 and re-sorted tag names in alphabetical order. 3153 31542005-12-29 Andrey Kiselev <[email protected]> 3155 3156 * libtiff 3.8.0 released. 3157 31582005-12-28 Bob Friesenhahn <[email protected]> 3159 3160 * tools/bmp2tiff.c (main): Fixed warning regarding returning 3161 inconsistent types from a condition. 3162 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 3163 format. 3164 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 3165 31662005-12-28 Joris Van Damme <[email protected]> 3167 3168 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 3169 31702005-12-27 Andrey Kiselev <[email protected]> 3171 3172 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 3173 windows.h, to reduce the compile time. 3174 31752005-12-26 Bob Friesenhahn <[email protected]> 3176 3177 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 3178 31792005-12-26 Andrey Kiselev <[email protected]> 3180 3181 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 3182 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 3183 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 3184 private functions to retrieve FieldInfo arrays. 3185 31862005-12-24 Bob Friesenhahn <[email protected]> 3187 3188 * html/build.html: Added some additional instructions for when 3189 building using MSVC under Windows. Also fixed two HTML syntax 3190 errors and used HTML Tidy to tidy up the HTML syntax and 3191 formatting. 3192 31932005-12-24 Andrey Kiselev <[email protected]> 3194 3195 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 3196 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 3197 StoNits tags custom. 3198 31992005-12-23 Andrey Kiselev <[email protected]> 3200 3201 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 3202 WhitePoint tag custom. 3203 3204 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 3205 32062005-12-23 Joris Van Damme <[email protected]> 3207 3208 * libtiff/tiffio.h: fixed typo that potentially resulted in 3209 redefininition of USE_WIN32_FILEIO 3210 3211 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 3212 calls in core LibTiff. 3213 32142005-12-21 Andrey Kiselev <[email protected]> 3215 3216 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 3217 Photoshop and ICCProfile tags custom. 3218 32192005-12-21 Joris Van Damme <[email protected]> 3220 3221 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 3222 newer code to get context indicator in error handler and still 3223 remain compatible with older code: Done TIFFError calls everywhere 3224 except in tools 3225 32262005-12-20 Andrey Kiselev <[email protected]> 3227 3228 * tools/tiffcp.c: Added many error reporting messages; fixed integer 3229 overflow as per bug 3230 3231 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 3232 32332005-12-16 Frank Warmerdam <[email protected]> 3234 3235 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 3236 YCbCr images in jpeg compressed TIFF files. 3237 32382005-12-14 Andrey Kiselev <[email protected]> 3239 3240 * tools/tiffcp.c: Return non-zero status when reading fails (again). 3241 32422005-12-13 Andrey Kiselev <[email protected]> 3243 3244 * tools/tiffcp.c: Return non-zero status when reading fails. 3245 32462005-12-12 Andrey Kiselev <[email protected]> 3247 3248 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 3249 32502005-12-09 Andrey Kiselev <[email protected]> 3251 3252 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 3253 custom. 3254 3255 * tools/tiffinfo.c: Print EXIF directory contents if exist. 3256 3257 * libtiff/tiff.h: Few EXIF tag numbers added. 3258 3259 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 3260 tiffio.h}: Preliminary support to read custom directories. New 3261 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 3262 32632005-12-07 Andrey Kiselev <[email protected]> 3264 3265 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 3266 More work to implement custom directory read support. 3267 3268 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 3269 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 3270 tags custom. 3271 32722005-12-05 Andrey Kiselev <[email protected]> 3273 3274 * libtiff/tif_dirread.c: One more workaround for broken 3275 StripByteCounts tag. Handle the case when StripByteCounts array filled 3276 with completely wrong values. 3277 32782005-11-30 Andrey Kiselev <[email protected]> 3279 3280 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 3281 in the TIFFOpenW() function as per bug 3282 3283 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 3284 3285 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 3286 functions as per bug 3287 3288 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 3289 32902005-11-20 Frank Warmerdam <[email protected]> 3291 3292 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 3293 for MS MDI format. 3294 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 3295 3296 * .cvsignore: many files added, and a few update according 3297 to suggestion of Brad HArds on tiff mailing list. 3298 32992005-11-03 Frank Warmerdam <[email protected]> 3300 3301 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 3302 public. 3303 33042005-10-31 Andrey Kiselev <[email protected]> 3305 3306 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 3307 as per bug 3308 3309 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 3310 3311 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 3312 as per bug 3313 3314 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 3315 3316 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 3317 problem as per bug 3318 3319 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 3320 3321 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 3322 3323 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 3324 3325 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 3326 ResolutionUnit tags modifiable during write process. As per bug 3327 3328 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 3329 3330 * tools/tiffsplit.c: Copy fax related fields over splitted parts 3331 as per bug 3332 3333 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 3334 33352005-10-21 Frank Warmerdam <[email protected]> 3336 3337 * tif_dirread.c: Don't try and split single strips into "0" strips 3338 in ChopUpSingleUncompressedStrip. This happens in some degenerate 3339 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 3340 33412005-10-20 Joris Van Damme <[email protected]> 3342 3343 * tif_fax3.c: changed 'at scanline ...' style warning/errors 3344 with incorrect use of tif_row, to 'at line ... of 3345 strip/tile ...' style 3346 33472005-10-15 Frank Warmerdam <[email protected]> 3348 3349 * tif_write.c: fixed setting of planarconfig as per bug report 3350 on the mailing list from Joris. 3351 33522005-10-07 Andrey Kiselev <[email protected]> 3353 3354 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 3355 tif_dirread.c}: Make the default strip size configurable via the 3356 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 3357 33582005-09-30 Bob Friesenhahn <[email protected]> 3359 3360 * html/support.html: Fixed link to documentation on Greg Ward's 3361 LogLuv TIFF format. 3362 33632005-09-28 Andrey Kiselev <[email protected]> 3364 3365 * tools/tiffdump.c: Fixed crash when reading malformed tags. 3366 33672005-09-20 Andrey Kiselev <[email protected]> 3368 3369 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 3370 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 3371 33722005-09-12 Andrey Kiselev <[email protected]> 3373 3374 * libtiff 3.7.4 released. 3375 3376 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 3377 from Patrick Welche (all scripts moved in the 'config' and 'm4' 3378 directories). 3379 33802005-09-12 Frank Warmerdam <[email protected]> 3381 3382 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 3383 33842005-09-05 Frank Warmerdam <[email protected]> 3385 3386 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 3387 also set it to NULL to avoid double free when re-setting custom 3388 string fields as per: 3389 3390 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 3391 33922005-08-12 Frank Warmerdam <[email protected]> 3393 3394 * libtiff/tif_print.c: avoid signed/unsigned warning. 3395 3396 * libtiff/tif_dirread.c: removed unused variable. 3397 33982005-07-30 Frank Warmerdam <[email protected]> 3399 3400 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 3401 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 3402 pass on bigendian (macosx) system. 3403 34042005-07-28 Andrey Kiselev <[email protected]> 3405 3406 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 3407 CheckMalloc() function to _TIFFCheckMalloc() and make it available 3408 globally as an internal helper routine. 3409 34102005-07-27 Andrey Kiselev <[email protected]> 3411 3412 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 3413 the custom tags handling code. 3414 34152005-07-26 Andrey Kiselev <[email protected]> 3416 3417 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 3418 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 3419 function, use TIFFFetchNormalTag() instead as per bug 3420 3421 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 3422 3423 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 3424 instead. 3425 3426 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 3427 3428 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3429 34302005-07-25 Andrey Kiselev <[email protected]> 3431 3432 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 3433 3434 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 3435 34362005-07-21 Andrey Kiselev <[email protected]> 3437 3438 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 3439 the TIFFWriteCheck() function in case of single band images (as per 3440 TIFF spec). 3441 34422005-07-12 Andrey Kiselev <[email protected]> 3443 3444 * SConstruct, libtiff/SConstruct: Added the first very preliminary 3445 support for SCons software building tool (http://www.scons.org/). 3446 This is experimental infrastructure and it will exist along with the 3447 autotools mechanics. 3448 34492005-07-07 Andrey Kiselev <[email protected]> 3450 3451 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 3452 the NetBSD source tree (the old 4-clause BSD license changed to 3453 the new 3-clause one). 3454 3455 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 3456 replacement module. 3457 3458 * port/dummy.c: Make the dummy function static. 3459 34602005-07-06 Andrey Kiselev <[email protected]> 3461 3462 * tools/tiffcp.c: Fixed WhitePoint tag copying. 3463 3464 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 3465 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 3466 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 3467 34682005-07-04 Andrey Kiselev <[email protected]> 3469 3470 * libtiff 3.7.3 released. 3471 3472 * configure, configure.ac: Do not use empty -R option when linking 3473 with --enable-rpath. 3474 34752005-07-01 Andrey Kiselev <[email protected]> 3476 3477 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 3478 reading the first IFD when needed. As per bug 3479 3480 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 3481 3482 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 3483 effects. 3484 34852005-06-23 Andrey Kiselev <[email protected]> 3486 3487 * tools/tiff2pdf.c: Print two characters per loop in the 3488 t2p_write_pdf_trailer(). As per bug 3489 3490 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 3491 3492 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 3493 per bug 3494 3495 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 3496 3497 * acinclude.m4: Updated to latest OpenGL test macros versions. 3498 3499 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 3500 platform. As per bug 3501 3502 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 3503 35042005-06-14 Andrey Kiselev <[email protected]> 3505 3506 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 3507 and YClipPathUnits tags. 3508 35092005-06-07 Andrey Kiselev <[email protected]> 3510 3511 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 3512 use pixel sized shift in contigous case. 3513 35142005-06-06 Andrey Kiselev <[email protected]> 3515 3516 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 3517 Make overviews working for contiguos images. 3518 35192005-06-03 Andrey Kiselev <[email protected]> 3520 3521 * libtiff/tif_open.c: Replace runtime endianess check with the compile 3522 time one. 3523 3524 * libtiff/tif_predict.c: Floating point predictor now works on 3525 big-endian hosts. 3526 35272005-06-01 Andrey Kiselev <[email protected]> 3528 3529 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 3530 ASCII values. 3531 3532 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 3533 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 3534 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 3535 TargetPrinter tags custom. 3536 3537 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 3538 TIFF_CODERSETUP flag (to fix memry leaks). 3539 3540 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 3541 allocating. 3542 35432005-05-26 Andrey Kiselev <[email protected]> 3544 3545 * configure.ac, libtiff/Makefile.am: Added workaround for 3546 OpenBSD/MirOS soname problem as per bug 3547 3548 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 3549 3550 * libtiff/tif_dirwrite.c: Use tdir_count when calling 3551 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 3552 per bug 3553 3554 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 3555 35562005-05-25 Andrey Kiselev <[email protected]> 3557 3558 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 3559 the fscanf() function. As per bug 3560 3561 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 3562 3563 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 3564 uint16 array when fetching the BYTE and SBYTE filds, so we should 3565 consider result as pointer to uint16 array and not as array of chars. 3566 As per bug 3567 3568 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 3569 3570 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 3571 3572 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 3573 3574 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 3575 mode in CreateFile() call as per bug 3576 3577 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 3578 3579 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 3580 libtiffxx libraries as per bug 3581 3582 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 3583 3584 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 3585 GDAL. 3586 35872005-05-23 Frank Warmerdam <[email protected]> 3588 3589 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 3590 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 3591 in directory. 3592 35932005-05-22 Frank Warmerdam <[email protected]> 3594 3595 * libtiff/tif_dirread.c: Changed the code that computes 3596 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 3597 zero. This is a common case with GDAL indicating a "null" tile/strip. 3598 35992005-05-17 Andrey Kiselev <[email protected]> 3600 3601 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 3602 36032005-05-06 Frank Warmerdam <[email protected]> 3604 3605 * libtiff/tif_dirread.c: Applied similar change to 3606 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 3607 3608 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 3609 3610 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 3611 36122005-05-06 Andrey Kiselev <[email protected]> 3613 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 3614 added new option '-b' to use interpolation in output PDF files (Bruno 3615 Ledoux). 3616 36172005-05-05 Frank Warmerdam <[email protected]> 3618 3619 * libtiff/tif_dirread.c: Ensure that broken files with too many 3620 values in PerSampleShorts work ok instead of crashing. 3621 3622 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 3623 36242005-04-27 Andrey Kiselev <[email protected]> 3625 3626 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 3627 input file. 3628 36292005-04-15 Andrey Kiselev <[email protected]> 3630 3631 * libtiff/tif_predict.c: Added ability to encode floating point 3632 predictor, as per TIFF Technical Note 3. 3633 36342005-04-14 Andrey Kiselev <[email protected]> 3635 3636 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 3637 floating point predictor, as per TIFF Technical Note 3. 3638 36392005-04-13 Andrey Kiselev <[email protected]> 3640 3641 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 3642 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 3643 swap 24-bit floating point values. 3644 3645 * libtiff/tiff.h: Added predictor constants. 3646 36472005-04-08 Andrey Kiselev <[email protected]> 3648 3649 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 3650 values in _TIFFVSetField() function. Inspired by the bug 3651 3652 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 3653 3654 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 3655 as per bug 3656 3657 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 3658 36592005-03-30 Andrey Kiselev <[email protected]> 3660 3661 * libtiff/tif_open.c: Do not read header in case the output file 3662 should be truncated (Ron). 3663 3664 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 3665 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 3666 3667 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 3668 36692005-03-22 Andrey Kiselev <[email protected]> 3670 3671 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 3672 rpath option. 3673 36742005-03-21 Andrey Kiselev <[email protected]> 3675 3676 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 3677 tags. 3678 36792005-03-18 Andrey Kiselev <[email protected]> 3680 3681 * libtiff/dirinfo.c: Added DNG tags. 3682 3683 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 3684 handling code. 3685 3686 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 3687 added DNG 1.1.0.0 tags. 3688 3689 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 3690 bug 3691 3692 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 3693 3694 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 3695 36962005-03-17 Andrey Kiselev <[email protected]> 3697 3698 * nmake.opt: Build with Win32 CRT library by default. 3699 3700 * tools/tiff2ps.c: Fixed typo in page size handling code. 3701 3702 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 3703 by value. 3704 3705 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 3706 37072005-03-15 Andrey Kiselev <[email protected]> 3708 3709 * libtiff 3.7.2 released. 3710 37112005-03-09 Andrey Kiselev <[email protected]> 3712 3713 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 3714 floating point data; complain on unsupported bit depths. 3715 37162005-03-05 Andrey Kiselev <[email protected]> 3717 3718 * tif_stream.cxx: Use ios namespace instead of ios_base to support 3719 GCC 2.95. 3720 3721 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 3722 Lee Howard for HylaFax DCS tag 3723 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 3724 37252005-03-04 Andrey Kiselev <[email protected]> 3726 3727 * configure, configure.ac: Use -rpath option instead of -R as per bug 3728 3729 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 3730 3731 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 3732 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 3733 software. As per bug 3734 3735 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 3736 3737 * nmake.opt, html/build.html: Add more comments, change the config 3738 file organization a bit as per bug 3739 3740 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 3741 3742 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 3743 as per bug 3744 3745 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 3746 37472005-03-03 Andrey Kiselev <[email protected]> 3748 3749 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 3750 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 3751 3752 * tools/fax2ps.c: Replace insecure mktemp() function with the 3753 tmpfile() as per bug 3754 3755 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 3756 37572005-02-04 Andrey Kiselev <[email protected]> 3758 3759 * libtiff/tiff.h: Changed the int8 definition to be always signed char 3760 as per bug 3761 3762 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 3763 3764 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 3765 block as per bug 3766 3767 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 3768 37692005-02-03 Bob Friesenhahn <[email protected]> 3770 3771 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 3772 display more correctly. Images display brighter than they should 3773 on a Sun workstation. 3774 37752005-02-03 Andrey Kiselev <[email protected]> 3776 3777 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 3778 suspicious values in the tags. As per bugs 3779 3780 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 3781 3782 and 3783 3784 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 3785 3786 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 3787 3788 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 3789 37902005-01-31 Bob Friesenhahn <[email protected]> 3791 3792 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 3793 (TIFFTAG_TILELENGTH): Corrected description. 3794 37952005-01-30 Andrey Kiselev <[email protected]> 3796 3797 * configure.ac: Fixes for --with-docdir option as per bug 3798 3799 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 3800 3801 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 3802 bug 3803 3804 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 3805 3806 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 3807 Michael Rinne and Edward Lam. 3808 38092005-01-15 Andrey Kiselev <[email protected]> 3810 3811 * configure.ac: Make the documentation directory location configurable 3812 via the --with-docdir option (as suggested by Jeremy C. Reed). 3813 3814 * libtiff/tif_color.c: Use double as the second argument of pow() 3815 function in TIFFCIELabToRGBInit(). As per bug 3816 3817 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 3818 3819 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 3820 integer as per bug 3821 3822 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 3823 3824 * libtiff/tif_getimage.c: Always fill the error message buffer in 3825 TIFFRGBAImageBegin() as per bug 3826 3827 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 3828 38292005-01-12 Andrey Kiselev <[email protected]> 3830 3831 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 3832 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 3833 tags as per bug 3834 3835 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 3836 3837 * libtiff/tif_win32.c: Fixed message formatting in functions 3838 Win32WarningHandler() and Win32ErrorHandler() as per bug 3839 3840 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 3841 3842 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 3843 per bug 3844 3845 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 3846 38472005-01-11 Andrey Kiselev <[email protected]> 3848 3849 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 3850 "C"' section as per bug 3851 3852 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 3853 3854 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 3855 compiler to avoid double definition of BSD types as per bug 3856 3857 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3858 3859 * libtiff/Makefile.am: Place the C++ stream API in the separate 3860 library called libtiffxx to avoid unneeded dependencies. Probably 3861 there will be more C++ API in the future. As per bugs 3862 3863 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 3864 3865 and 3866 3867 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 3868 38692005-01-05 Andrey Kiselev <[email protected]> 3870 3871 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 3872 wrong tag counts (Dmitry V. Levin, Martin Pitt). 3873 3874 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 3875 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 3876 38772004-12-25 Andrey Kiselev <[email protected]> 3878 3879 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 3880 RGB-images as per bug 3881 3882 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 3883 3884 3885 * tools/tiffset.c: Convert character option to integer value as per 3886 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 3887 38882004-12-20 Andrey Kiselev <[email protected]> 3889 3890 * libtiff 3.7.1 released. 3891 3892 * html/tiffset.1.html: Add missed manual page as per bug 3893 3894 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 3895 3896 * libtiff/tiff.h: Revert back libtiff data type definitions as per 3897 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 3898 38992004-12-19 Andrey Kiselev <[email protected]> 3900 3901 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 3902 checking for tag count in TIFFReadDirectory() function. As per bug 3903 3904 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 3905 3906 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 3907 CheckMallock() function. 3908 3909 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 3910 RGB-images as per bug 3911 3912 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 3913 39142004-12-15 Frank Warmerdam <[email protected]> 3915 3916 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 3917 SunPro compiler. 3918 39192004-12-11 Bob Friesenhahn <[email protected]> 3920 3921 * autogen.sh: aclocal and autoheader should be executed after 3922 libtoolize. Also add '-I .' to aclocal invocation to check 3923 current directory for macros. 3924 39252004-12-10 Andrey Kiselev <[email protected]> 3926 3927 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 3928 as per bugs 3929 3930 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 3931 3932 and 3933 3934 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 3935 39362004-12-04 Andrey Kiselev <[email protected]> 3937 3938 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 3939 3940 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3941 3942 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 3943 mode as per bug 3944 3945 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3946 3947 * libtiff/tif_config.in.vc: Removed unneded definitions for 3948 read/open/close/lseek functions to fix the 3949 3950 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 3951 39522004-12-03 Andrey Kiselev <[email protected]> 3953 3954 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 3955 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 3956 must be removed in the future, as it was never used properly. As per 3957 bug 3958 3959 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 3960 39612004-11-30 Bob Friesenhahn <[email protected]> 3962 3963 * libtiff/tif_jpeg.c: Added a work-around in order to allow 3964 compilation with the heavily modified version of libjpeg delivered 3965 with Cygwin. 3966 39672004-11-29 Andrey Kiselev <[email protected]> 3968 3969 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 3970 counts. As per bug 3971 3972 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 3973 3974 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 3975 3976 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 3977 39782004-11-28 Andrey Kiselev <[email protected]> 3979 3980 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 3981 on Windows. 3982 3983 * nmake.opt: Add missed DLLNAME variable. 3984 39852004-11-26 Frank Warmerdam <[email protected]> 3986 3987 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 3988 39892004-11-24 Andrey Kiselev <[email protected]> 3990 3991 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 3992 per bug 3993 3994 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 3995 3996 * man/tiffset.1: Added manual page for tiffset tool written by Jay 3997 Berkenbilt. As per bug 3998 3999 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 4000 40012004-11-23 Frank Warmerdam <[email protected]> 4002 4003 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 4004 40052004-11-21 Frank Warmerdam <[email protected]> 4006 4007 * html/document.html: Updated Adobe web links as per email from Joris. 4008 40092004-11-21 Andrey Kiselev <[email protected]> 4010 4011 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 4012 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 4013 use C++ streams should #include <tiffio.hxx>. 4014 40152004-11-13 Andrey Kiselev <[email protected]> 4016 4017 * libtiff/tiff.h: Added Adobe DNG tags. 4018 4019 * libtiff/tif_win32.c: Typo fixed. 4020 4021 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 4022 be compliant with the latest standard. Appropriate additions in 4023 makefiles now completed. 4024 40252004-11-11 Andrey Kiselev <[email protected]> 4026 4027 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 4028 different tag types. As per bug 4029 4030 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 4031 40322004-11-10 Andrey Kiselev <[email protected]> 4033 4034 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 4035 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 4036 40372004-11-09 Andrey Kiselev <[email protected]> 4038 4039 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 4040 40412004-11-07 Andrey Kiselev <[email protected]> 4042 4043 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 4044 contributed by Edward Lam (see 4045 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 4046 Though no changes in any makefiles yet. 4047 40482004-11-05 Frank Warmerdam <[email protected]> 4049 4050 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 4051 is bad. This is the callers responsibility. 4052 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 4053 40542004-11-05 Andrey Kiselev <[email protected]> 4055 4056 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 4057 function to work with the double byte strings (used to represent 4058 filenames in some locales). As per bug 4059 4060 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 4061 4062 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 4063 Compression tags of type LONG from broken TIFFS as per bug 4064 4065 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 4066 4067 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 4068 the writecount should have uint32 type. As per bug 4069 4070 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 4071 4072 * libtiff/tif_write.c: Fixed wrong if() statement in 4073 TIFFAppendToStrip() function as per bug 4074 4075 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 4076 40772004-11-04 Andrey Kiselev <[email protected]> 4078 4079 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 4080 field. The caller should supply a count when setting this field. As 4081 per bug 4082 4083 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 4084 4085 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 4086 uint32 count. Use this type everywhere. 4087 40882004-11-03 Frank Warmerdam <[email protected]> 4089 4090 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 4091 40922004-11-02 Frank Warmerdam <[email protected]> 4093 4094 * tools/tiff2rgba.c: removed extra newlines in usage message. 4095 40962004-10-30 Andrey Kiselev <[email protected]> 4097 4098 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 4099 4100 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 4101 tags (Tristan Hill). 4102 41032004-10-30 Frank Warmerdam <[email protected]> 4104 4105 * libtiff/tiffiop.h: added fallback definition of assert() if we 4106 don't have assert.h. 4107 41082004-10-29 Andrey Kiselev <[email protected]> 4109 4110 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 4111 choosing when the incorrect Group4Options tag set. As per bug 4112 4113 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 4114 4115 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 4116 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 4117 TIFFWriteNormalTag(). 4118 41192004-10-28 Andrey Kiselev <[email protected]> 4120 4121 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 4122 tags (Peter Fales). 4123 4124 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 4125 41262004-10-28 Frank Warmerdam <[email protected]> 4127 4128 * tools/tiff2pdf.c: added casts to avoid warnings. 4129 4130 * libtiff/libtiff.def: Added several more entry points required 4131 to link fax2tiff.c against the DLL on windows. 4132 41332004-10-27 Andrey Kiselev <[email protected]> 4134 4135 * configure, configure.ac: Added --enable-rpath option to embed linker 4136 paths into library binary. 4137 41382004-10-26 Andrey Kiselev <[email protected]> 4139 4140 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 4141 4142 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 4143 (Vladimir Nadvornik, Dmitry V. Levin). 4144 41452004-10-16 Andrey Kiselev <[email protected]> 4146 4147 * libtiff 3.7.0 released. 4148 41492004-10-15 Bob Friesenhahn <[email protected]> 4150 4151 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 4152 in this file so its inclusion is removed. Including stdio.h 4153 sometimes incurs an INT32 typedef conflict between MinGW's 4154 basetsd.h and libjpeg's jmorecfg.h. 4155 41562004-10-15 Andrey Kiselev <[email protected]> 4157 4158 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 4159 41602004-10-13 Bob Friesenhahn <[email protected]> 4161 4162 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 4163 conflict noticed under MinGW. 4164 * ltmain.sh: Fix for MinGW compilation. 4165 41662004-10-13 Frank Warmerdam <[email protected]> 4167 4168 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 4169 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 4170 41712004-10-12 Andrey Kiselev <[email protected]> 4172 4173 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 4174 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 4175 properly (Dmitry V. Levin, Marcus Meissner). 4176 41772004-10-11 Andrey Kiselev <[email protected]> 4178 4179 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 4180 to TIFF_IFD. 4181 41822004-10-10 Andrey Kiselev <[email protected]> 4183 4184 * tools/bmp2tif.c: Check the space allocation results. 4185 41862004-10-09 Andrey Kiselev <[email protected]> 4187 4188 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 4189 of the TIFFDirectory structure with the 0 instead of -1 to avoid 4190 confusing integer overflows in TIFFTileRowSize() for striped images. 4191 4192 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 4193 by Ross A. Finlayson. 4194 4195 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 4196 4197 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 4198 41992004-10-08 Frank Warmerdam <[email protected]> 4200 4201 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 4202 of tif_fieldinfo. 4203 4204 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 4205 42062004-10-04 Bob Friesenhahn <[email protected]> 4207 4208 * contrib/iptcutil/README: Added the missing README which goes 4209 along with iptcutil. 4210 42112004-10-03 Andrey Kiselev <[email protected]> 4212 4213 * libtiff/tif_compress.c: Improved error reporting in 4214 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 4215 42162004-10-02 Andrey Kiselev <[email protected]> 4217 4218 * libtiff 3.7.0beta2 released. 4219 4220 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 4221 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 4222 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 4223 allocations and integer overflows (Dmitry V. Levin). 4224 4225 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 4226 42272004-10-01 Frank Warmerdam <[email protected]> 4228 4229 * libtiff/tif_open.c: added a more informative message if a BigTIFF 4230 file is opened. 4231 42322004-09-30 Frank Warmerdam <[email protected]> 4233 4234 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 4235 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 4236 in the Adobe XMP Specification. 4237 42382004-09-29 Andrey Kiselev <[email protected]> 4239 4240 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 4241 memset(). 4242 4243 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 4244 from Dmitry V. Levin to fix possible integer overflow problems. 4245 42462004-09-28 Andrey Kiselev <[email protected]> 4247 4248 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 4249 (Dmitry V. Levin). 4250 42512004-09-26 Andrey Kiselev <[email protected]> 4252 4253 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 4254 Optimize checking for the strip bounds. 4255 4256 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 4257 TIFFRasterScanlineSize() functions report zero in the case of integer 4258 overflow now. Properly handle this case in TIFFReadDirectory() 4259 (patches from Dmitry V. Levin). 4260 42612004-09-25 Andrey Kiselev <[email protected]> 4262 4263 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 4264 macro where appropriate. 4265 4266 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 4267 noted by Gennady Khokhorin. 4268 4269 * libtiff/tif_dirread.c: Always check the return values, returned 4270 by the _TIFFmalloc() (Dmitry V. Levin). 4271 4272 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 4273 functions (Dmitry V. Levin). 4274 4275 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 4276 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 4277 TIFFGrowStrips() (found by Dmitry V. Levin). 4278 42792004-09-24 Andrey Kiselev <[email protected]> 4280 4281 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 4282 to get the list of configured codecs. 4283 4284 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 4285 Dmitry V. Levin. 4286 42872004-09-23 Andrey Kiselev <[email protected]> 4288 4289 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 4290 possible integer overflow in CheckMalloc() function. 4291 42922004-09-22 Andrey Kiselev <[email protected]> 4293 4294 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 4295 of plain TIFFhowmany() where appropriate. 4296 42972004-09-21 Andrey Kiselev <[email protected]> 4298 4299 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 4300 43012004-09-19 Andrey Kiselev <[email protected]> 4302 4303 * libtiff 3.7.0beta released. 4304 4305 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 4306 overruns fixed, as noted by Chris Evans. 4307 43082004-09-14 Bob Friesenhahn <[email protected]> 4309 4310 * commit: Added a script to make it more convenient to commit 4311 updates. The CVS commit message is extracted from this ChangeLog 4312 file. 4313 43142004-09-14 Andrey Kiselev <[email protected]> 4315 4316 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 4317 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 4318 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 4319 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 4320 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 4321 tif_config.h.in, tiffiop.h}: 4322 Get rid of BSD data types (u_char, u_short, u_int, u_long). 4323 43242004-09-13 Bob Friesenhahn <[email protected]> 4325 4326 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 4327 specification. Reference libtiff bug tracking system to submit 4328 private tag additions. 4329 43302004-09-12 Bob Friesenhahn <[email protected]> 4331 4332 * tools/tiffgt.c: Include "tif_config.h". 4333 4334 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 4335 tiffgt. This results in the 'compile' script being added to the 4336 project. 4337 4338 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 4339 required to find OpenGL headers necessary to build tiffgt. Also 4340 ensure that the libtiff that we built is used rather than some other 4341 libtiff installed on the system. 4342 43432004-09-12 Andrey Kiselev <[email protected]> 4344 4345 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 4346 libraries. 4347 43482004-09-11 Bob Friesenhahn <[email protected]> 4349 4350 * configure.ac: Pass library configuration defines via 4351 tif_config.h rather than extending CPPFLAGS. Configure a 4352 libtiff/tiffconf.h in order to satisfy application requirements 4353 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 4354 this causes failure to build on systems which properly respect 4355 this request. 4356 4357 * libtiff/tiffconf.h.in: New file to act as the template for the 4358 configured tiffconf.h 4359 4360 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 4361 43622004-09-10 Frank Warmerdam <[email protected]> 4363 4364 * html/internals.html: Split off a discussion of adding new tags 4365 into addingtags.html. 4366 43672004-09-10 Andrey Kiselev <[email protected]> 4368 4369 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 4370 4371 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 4372 4373 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4374 4375 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 4376 4377 * libtiff/tif_dirread.c: Don't reject to read tags of the 4378 SamplesPerPixel size when the tag count is greater than number of 4379 samples as per bug 4380 4381 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 4382 4383 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 4384 defining int8/uint8/... etc. types. As per bug 4385 4386 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 4387 43882004-09-09 Frank Warmerdam <[email protected]> 4389 4390 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 4391 to avoid compile warnings about getopt() and a few other things. 4392 43932004-09-02 Andrey Kiselev <[email protected]> 4394 4395 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 4396 assigning magic in TIFFFetchFloat(). 4397 43982004-09-01 Andrey Kiselev <[email protected]> 4399 4400 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 4401 to avoid requirement for tiffiop.h inclusion in some applications. See 4402 here 4403 4404 http://www.asmail.be/msg0054799560.html 4405 4406 for details. 4407 4408 * tools/fax2tiff.c: Use the new functions in the code. 4409 44102004-08-25 Andrey Kiselev <[email protected]> 4411 4412 * tools/tiff2pdf.c: Initialize arrays properly. 4413 4414 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 4415 properly initialize array in PSDataBW(). 4416 44172004-08-24 Andrey Kiselev <[email protected]> 4418 4419 * tools/tiff2pdf.c: More fixes for bug 4420 4421 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4422 4423 from Ross Finlayson. 4424 44252004-08-23 Andrey Kiselev <[email protected]> 4426 4427 * tools/tiff2ps.c: Fixed problem with uninitialized values. 4428 4429 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 4430 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 4431 4432 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 4433 4434 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4435 44362004-08-20 Andrey Kiselev <[email protected]> 4437 4438 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 4439 that the input file has compression, photometric interpretation, 4440 etcetra, tags or if not than a more descriptive error is returned. 4441 4442 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 4443 code, responsible for tag data type checking. 4444 44452004-08-19 Andrey Kiselev <[email protected]> 4446 4447 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 4448 variable as per bug 4449 4450 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 4451 44522004-08-16 Andrey Kiselev <[email protected]> 4453 4454 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 4455 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 4456 44572004-08-01 Andrey Kiselev <[email protected]> 4458 4459 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 4460 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 4461 44622004-07-24 Andrey Kiselev <[email protected]> 4463 4464 * libtiff/tif_lzw.c: LZW compression code is merged back from the 4465 separate package. All libtiff tools are updated to not advertise an 4466 abcence of LZW support. 4467 44682004-07-12 Andrey Kiselev <[email protected]> 4469 4470 * libtiff/tiffio.h: Revert thandle_t back to void* type. 4471 44722004-07-11 Andrey Kiselev <[email protected]> 4473 4474 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 4475 messages, as suggested by Bernd Herd. 4476 44772004-07-03 Andrey Kiselev <[email protected]> 4478 4479 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 4480 when setting custom tags by value. Reported by Eric Fieleke. 4481 44822004-06-14 Andrey Kiselev <[email protected]> 4483 4484 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 4485 44862004-06-08 Andrey Kiselev <[email protected]> 4487 4488 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 4489 into TIFFs. 4490 44912004-06-07 Andrey Kiselev <[email protected]> 4492 4493 * libtiff 3.7.0alpha released. 4494 44952004-06-06 Andrey Kiselev <[email protected]> 4496 4497 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 4498 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 4499 ones :-). 4500 4501 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 4502 problems in 64-bit environment). 4503 45042004-06-05 Andrey Kiselev <[email protected]> 4505 4506 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 4507 Tags can be supplied by the mnemonic name or number. 4508 4509 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 4510 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 4511 45122004-05-27 Andrey Kiselev <[email protected]> 4513 4514 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 4515 markers as per bug 4516 4517 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 4518 45192004-05-24 Andrey Kiselev <[email protected]> 4520 4521 * tools/tiffsplit.c: Don't forget to copy Photometric 4522 Interpretation tag. 4523 45242004-05-20 Andrey Kiselev <[email protected]> 4525 4526 * libtiff/{tif_open.c, tiffio.h}: New function added: 4527 TIFFIsBigEndian(). Function returns nonzero if given was file written 4528 in big-endian order. 4529 4530 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 4531 files. Now output files will be written using the same byte order 4532 flag as in the input image. See 4533 4534 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 4535 4536 for details. 4537 45382004-05-19 Frank Warmerdam <[email protected]> 4539 4540 * libtiff/tif_print.c: added (untested) support for printing 4541 SSHORT, SLONG and SRATIONAL fields. 4542 4543 * tools/tiffcp.c: close output file on normal exit. 4544 45452004-05-17 Andrey Kiselev <[email protected]> 4546 4547 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 4548 if compression type mismatches. See 4549 4550 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 4551 45522004-04-30 Andrey Kiselev <[email protected]> 4553 4554 * libtiff/tif_strip.c: Never return 0 from the 4555 TIFFNumberOfStrips(). 4556 45572004-04-29 Andrey Kiselev <[email protected]> 4558 4559 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 4560 store single SampleFormat value for multisampled images. See 4561 4562 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 4563 45642004-04-25 Andrey Kiselev <[email protected]> 4565 4566 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 4567 int16 and int32 types to avoid complains on some compilers. Details at 4568 4569 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4570 45712004-04-20 Andrey Kiselev <[email protected]> 4572 4573 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 4574 4575 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 4576 45772004-04-14 Andrey Kiselev <[email protected]> 4578 4579 * libtiff/tif_write.c: Allow in-place updating of the compressed 4580 images (don't work properly with all codecs). For details see GDAL bug 4581 4582 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 4583 45842004-04-06 Andrey Kiselev <[email protected]> 4585 4586 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 4587 in the Intergarph JPEG compressed TIFF images as per bug: 4588 4589 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 4590 45912004-04-04 Frank Warmerdam <[email protected]> 4592 4593 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 4594 via bad2. 4595 45962004-03-26 Andrey Kiselev <[email protected]> 4597 4598 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 4599 JPEG compression of grayscale images. 4600 4601 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 4602 present in the input image. 4603 46042004-03-19 Andrey Kiselev <[email protected]> 4605 4606 * {many}: The first attempt to switch to autotools. 4607 46082004-03-03 Andrey Kiselev <[email protected]> 4609 4610 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 4611 TIFFClientOpen() when the appropriate client functions was not 4612 supplied by user. 4613 46142004-03-02 Frank Warmerdam <[email protected]> 4615 4616 * tools/ycbcr.c: fixed main() declaration as per: 4617 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 4618 46192004-02-26 Andrey Kiselev <[email protected]> 4620 4621 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 4622 images. Reported by Artem Mirolubov. 4623 4624 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 4625 tag type in TIFFFetchNormalTag() as per bug 4626 4627 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 4628 46292004-02-17 Frank Warmerdam <[email protected]> 4630 4631 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 4632 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 4633 46342004-02-05 Andrey Kiselev <[email protected]> 4635 4636 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 4637 bug 4638 4639 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 4640 4641 But we need more work on fax codec to support update mode. 4642 46432004-01-30 Frank Warmerdam <[email protected]> 4644 4645 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 4646 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 4647 Scott Reynolds. 4648 46492004-01-29 Andrey Kiselev <[email protected]> 4650 4651 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 4652 and TIFFTAG_INDEXED as per bug 4653 4654 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 4655 4656 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 4657 NULL before proceeding further as per bug 4658 4659 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 4660 4661 Check results, returned by the TIFFFdOpen() before returning and close 4662 file if TIFFFdOpen() failed as per bug 4663 4664 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4665 4666 * libtiff/tif_open.c: More fixes for 4667 4668 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4669 46702004-01-28 Andrey Kiselev <[email protected]> 4671 4672 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 4673 TIFFCleanup() from the TIFFClose() in order to fix the bug 4674 4675 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4676 4677 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 4678 InkNames tag as per bug 4679 4680 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 4681 4682 Memory leak fixed. 4683 46842004-01-21 Frank Warmerdam <[email protected]> 4685 4686 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 4687 are field_passcount=TRUE properly. Arguably anonymous custom tags 4688 should be declared as passcount=FALSE, but I don't want to change 4689 that without a careful review. 4690 46912004-01-20 Andrey Kiselev <[email protected]> 4692 4693 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 4694 stripped image in TIFFWriteBufferSetup(). As per bug 4695 4696 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 4697 46982004-01-11 Andrey Kiselev <[email protected]> 4699 4700 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 4701 patch from Gerben Koopmans. 4702 4703 * libtiff/tif_dirread.c: Check field_passcount value before setting 4704 the value of undefined type, patch from Gerben Koopmans. 4705 47062004-01-02 Andrey Kiselev <[email protected]> 4707 4708 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 4709 non-RGB images. 4710 47112003-12-31 Andrey Kiselev <[email protected]> 4712 4713 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 4714 pointer passed. Patch supplied by Larry Grill. 4715 4716 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 4717 suggested by Jeremy C. Reed. 4718 47192003-12-26 Andrey Kiselev <[email protected]> 4720 4721 * libtiff 3.6.1 released. 4722 47232003-12-24 Andrey Kiselev <[email protected]> 4724 4725 * config.guess, config.sub: Updated from the recent upstream. 4726 47272003-12-22 Andrey Kiselev <[email protected]> 4728 4729 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 4730 More cleanups in color conversion interface, added appropriate manual 4731 page. 4732 47332003-12-19 Andrey Kiselev <[email protected]> 4734 4735 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 4736 per bug 4737 4738 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 4739 4740 * tools/tiff2ps.c: Added support for alpha channel. Fixes 4741 4742 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 4743 4744 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 4745 Interface for Lab->RGB color conversion is finally cleaned up. 4746 Added support for ReferenceBlackWhite tag handling when converted from 4747 YCbCr color space. The latter closes 4748 4749 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 4750 47512003-12-07 Andrey Kiselev <[email protected]> 4752 4753 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 4754 4755 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 4756 library. 4757 47582003-12-06 Andrey Kiselev <[email protected]> 4759 4760 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 4761 file and properly use it for CIE Lab->RGB transform. 4762 47632003-12-04 Andrey Kiselev <[email protected]> 4764 4765 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 4766 conversion routines now in the tif_color.c module. New function 4767 TIFFYCbCrtoRGB() available in TIFF API. 4768 4769 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 4770 47712003-12-03 Andrey Kiselev <[email protected]> 4772 4773 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 4774 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 4775 module. 4776 4777 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 4778 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 4779 Finally resolved problems with orientation handling. TIFFRGBAImage 4780 interface now properly supports all possible orientations, i.e. images 4781 will be flipped both in horizontal and vertical directions if 4782 required. 'Known bugs' section now removed from the appropriate manual 4783 pages. Closed bug entry: 4784 4785 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 4786 47872003-12-02 Andrey Kiselev <[email protected]> 4788 4789 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 4790 function calls as per bug 4791 4792 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 4793 47942003-11-28 Ross Finlayson <[email protected]> 4795 4796 * tools/tiff2pdf.c: Some bugs fixed. 4797 47982003-11-27 Andrey Kiselev <[email protected]> 4799 4800 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 4801 reported by Antonio Scuri. 4802 4803 * man/tiff2pdf.1: Few improvements in page layout. 4804 4805 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 4806 Added support fpr tiff2pdf manual page. 4807 48082003-11-26 Ross Finlayson <[email protected]> 4809 4810 * /man/tiff2pdf.1: File added to repository. 4811 48122003-11-26 Andrey Kiselev <[email protected]> 4813 4814 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 4815 Added support fpr tiff2pdf utility. 4816 48172003-11-25 Ross Finlayson <[email protected]> 4818 4819 * /tools/tiff2pdf.c: File added to repository. 4820 48212003-11-22 Andrey Kiselev <[email protected]> 4822 4823 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 4824 48252003-11-21 Andrey Kiselev <[email protected]> 4826 4827 * /tools/raw2tiff.c: #include <getopt.h> removed. 4828 4829 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 4830 sgigt utility removed and replaced with the completely rewritten 4831 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 4832 there is a lot of things to improve. 4833 4834 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 4835 extract the fields from the OJPEG files. Patch supplied by Ross 4836 Finlayson. 4837 4838 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 4839 Added new function TIFFIsCODECConfigured(), suggested by Ross 4840 Finlayson. 4841 48422003-11-18 Andrey Kiselev <[email protected]> 4843 4844 * libtiff/tif_dirinfo.c: Implemented binary search in 4845 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 4846 4847 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 4848 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 4849 48502003-11-17 Frank Warmerdam <[email protected]> 4851 4852 * tif_dirread.c: do not mark all anonymously defined tags to be 4853 IGNOREd. 4854 48552003-11-17 Andrey Kiselev <[email protected]> 4856 4857 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 4858 TIFFDataWidth() function insted of tiffDataWidth array. 4859 48602003-11-16 Andrey Kiselev <[email protected]> 4861 4862 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 4863 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 4864 48652003-11-15 Frank Warmerdam <[email protected]> 4866 4867 * Makefile.in: fixed missing backslash for tif_color.c in list. 4868 48692003-11-13 Andrey Kiselev <[email protected]> 4870 4871 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 4872 New color space conversion code: CIE L*a*b* 1976 images now supported 4873 by the TIFFRGBAImage interface. All introduced routines go to new 4874 module tif_color.c. Eventually all color conversion functions should 4875 be moved there. 4876 48772003-11-12 Andrey Kiselev <[email protected]> 4878 4879 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 4880 with the reverse byte order (it is reported by the magic header 4881 field). Problem reported by Andreas Wiesmann. 4882 4883 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 4884 calculation function. Guessing mechanics now documented in manual page. 4885 48862003-11-11 Andrey Kiselev <[email protected]> 4887 4888 * tools/raw2tiff.c: Implemented image size guessing using 4889 correlation coefficient calculation between two neighbour lines. 4890 48912003-11-09 Frank Warmerdam <[email protected]> 4892 4893 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 4894 planarconfig_contig case in TIFFComputeTile(). 4895 4896 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 4897 48982003-11-09 Andrey Kiselev <[email protected]> 4899 4900 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 4901 49022003-11-07 Andrey Kiselev <[email protected]> 4903 4904 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 4905 Added TIFFRawStripSize() function as suggested by Chris Hanson. 4906 49072003-11-03 Andrey Kiselev <[email protected]> 4908 4909 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 4910 per bug 4911 4912 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 4913 49142003-10-29 Andrey Kiselev <[email protected]> 4915 4916 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 4917 4918 * html/build.html: Added note about GNU make requirement. 4919 49202003-10-25 Andrey Kiselev <[email protected]> 4921 4922 * Makefile.in: Fixes in using MAKEFLAGS as per bug 4923 4924 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 4925 4926 * port/install.sh.in: Option -p added to the mkdir command to create 4927 all directory tree structure before installing. 4928 49292003-10-18 Andrey Kiselev <[email protected]> 4930 4931 * /tools/tiff2ps.c: #include <strings.h> replaced with the 4932 #include <string.h>. 4933 49342003-10-16 Andrey Kiselev <[email protected]> 4935 4936 * Makefile.in: Add an absolute path to the test_pics.sh call. 4937 49382003-10-12 Andrey Kiselev <[email protected]> 4939 4940 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 4941 typedefs. 4942 49432003-10-09 Andrey Kiselev <[email protected]> 4944 4945 * configure, libtiff/{Makefile.in, mkversion.c}: 4946 Relative buildings fixed. 4947 4948 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 4949 rule. 4950 49512003-10-07 Andrey Kiselev <[email protected]> 4952 4953 * Makefile.in: Added missed v3.6.0.html. 4954 4955 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 4956 ORIENTATION_BOTLEFT. 4957 49582003-10-04 Andrey Kiselev <[email protected]> 4959 4960 * 3.6.0 final release. 4961 49622003-10-03 Andrey Kiselev <[email protected]> 4963 4964 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 4965 function TIFFReadRGBAImageOriented() implemented to retrieve raster 4966 array with user-specified origin position as suggested by Jason Frank. 4967 See 4968 4969 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 4970 4971 for details. 4972 4973 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 4974 instead of TIFFReadRGBAImage(). 4975 4976 * tools/tiff2ps.c: Fixed possible endless loop as per bug 4977 4978 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 4979 49802003-09-30 Andrey Kiselev <[email protected]> 4981 4982 * libtiff/tif_dirread.c: Check field counter against number of fields 4983 in order to fix 4984 4985 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 4986 4987 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 4988 4989 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 4990 49912003-09-25 Andrey Kiselev <[email protected]> 4992 4993 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 4994 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 4995 4996 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 4997 49982003-09-23 Andrey Kiselev <[email protected]> 4999 5000 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 5001 5002 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 5003 50042003-08-21 Andrey Kiselev <[email protected]> 5005 5006 * tools/tiffmedian.c: int declaration replaced with the uint32 to 5007 support large images as per bug 5008 5009 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 5010 50112003-08-12 Andrey Kiselev <[email protected]> 5012 5013 * libtiff/Makefile.in: Fixed problem with building in different 5014 directory. 5015 5016 * tools/tiff2ps.c: Added missing #include <strings.h>. 5017 5018 * libtiff/tif_dirwrite.c: More fixes for custom tags code 5019 from Ashley Dreier. 5020 50212003-08-07 Andrey Kiselev <[email protected]> 5022 5023 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 5024 Patch submitted by Balatoni Denes (with corrections from Tom 5025 Kacvinsky). 5026 5027 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 5028 being used. Reported by Tom Kacvinsky. 5029 5030 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 5031 reported by Ashley Dreier. 5032 5033 * libtiff/tif_print.c: Fixed problem with float tags reading, support 5034 for printing RATIONAL and BYTE tags added. 5035 50362003-08-05 Andrey Kiselev <[email protected]> 5037 5038 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 5039 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 5040 problems with predictor initialization. Remove O_RDONLY check during 5041 state block allocation to be able open LZW compressed files in update 5042 mode. 5043 5044 Problem exist for libtiff version of the tif_lzw.c module. One from 5045 lzw-compression-kit hasn't such troubles. 5046 50472003-08-04 Frank Warmerdam <[email protected]> 5048 5049 * libtiff/tif_write.c: modified tif_write.c so that the various 5050 encoded write functions use tif_postdecode() to apply byte order 5051 swapping (swab) to the application passed data buffer if the same 5052 would be done when reading. This allows us to write pixel data with 5053 more than 8 bits per sample to existing files of a non-native byte 5054 order. One side effect of this change is the applications buffer 5055 itself is altered in this case by the act of writing. 5056 5057 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 5058 50592003-07-25 Frank Warmerdam <[email protected]> 5060 5061 * libtiff/tif_open.c: avoid signed/unsigned casting warning 5062 initializing typemask as per patch from J.A. Strother. 5063 5064 * tools/tiffcp.c: fixed signed/unsigned casting warning. 5065 5066 * libtiff/tif_print.c: dos2unix conversion. 5067 5068 * tools/tiffsplit.c: increased the maximum number of pages that 5069 can be split. Patch provided by Andrew J. Montalenti. 5070 50712003-07-11 Andrey Kiselev <[email protected]> 5072 5073 * tools/raw2tiff.c: Added option `-p' to explicitly select color 5074 space of input image data. Closes 5075 5076 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 5077 50782003-07-08 Frank Warmerdam <[email protected]> 5079 5080 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 5081 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 5082 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 5083 avoid casting warning at /W4. 5084 50852003-07-03 Andrey Kiselev <[email protected]> 5086 5087 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 5088 50892003-06-30 Andrey Kiselev <[email protected]> 5090 5091 * libtiff/tif_pixarlog.c: Unused variables removed. 5092 5093 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 5094 EstimateStripByteCounts() as per bug 5095 5096 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 5097 5098 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 5099 64-bit architectures as per bug 5100 5101 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 5102 5103 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 5104 unknown data type. 5105 51062003-06-19 Frank Warmerdam <[email protected]> 5107 5108 * libtiff/tif_print.c: fixed some serious bugs when printing 5109 custom tags ... almost certain to crash. 5110 5111 * libtiff/tif_dirread.c: Don't ignore custom fields that are 5112 autodefined. Not sure how this got to be like this. 5113 51142003-06-18 Andrey Kiselev <[email protected]> 5115 5116 * 3.6.0 Beta2 released. 5117 5118 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 5119 comparing as per bug 5120 5121 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 5122 5123 `-z' option now can be used to set the number of reported different 5124 bytes. 5125 51262003-06-09 Andrey Kiselev <[email protected]> 5127 5128 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 5129 to -r option to get the entire image as one strip. See 5130 5131 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 5132 5133 for details. 5134 51352003-06-04 Andrey Kiselev <[email protected]> 5136 5137 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 5138 values as per bug 5139 5140 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 5141 51422003-05-27 Frank Warmerdam <[email protected]> 5143 5144 * libtiff/tif_jpeg.c: modified segment_height calculation to always 5145 be a full height tile for tiled images. Also changed error to just 5146 be a warning. 5147 51482003-05-25 Andrey Kiselev <[email protected]> 5149 5150 * tools/fax2tiff.c: Page numbering fixed, as per bug 5151 5152 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 5153 51542003-05-20 Andrey Kiselev <[email protected]> 5155 5156 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 5157 configure, Makefile.in: Switched back to the old behaviour. Likely 5158 better solution should be found for OJPEG support. 5159 51602003-05-11 Andrey Kiselev <[email protected]> 5161 5162 * libtiff/mkversion.c: Fixed problem with wrong string size when 5163 reading RELEASE-DATE file. 5164 51652003-05-07 Andrey Kiselev <[email protected]> 5166 5167 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 5168 index was out of range. 5169 51702003-05-06 Andrey Kiselev <[email protected]> 5171 5172 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 5173 configure, Makefile.in: Improved libtiff compilation with OJPEG 5174 support. Now no need for patching IJG JPEG library, hack requred by 5175 libtiff will be compiled and used in-place. Implemented with 5176 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 5177 5178 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 5179 TIFFVGetFieldDefaulted() function. 5180 51812003-05-05 Andrey Kiselev <[email protected]> 5182 5183 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 5184 comments. 5185 5186 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 5187 was not copied from source image. 5188 5189 * libtiff/getimage.c: Workaround for some images without correct 5190 info about alpha channel as per bug 5191 5192 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 5193 51942003-04-29 Andrey Kiselev <[email protected]> 5195 5196 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 5197 It basically allows one to use the /flateDecode filter for ZIP 5198 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 5199 5200 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 5201 5202 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 5203 as per bug 5204 5205 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 5206 52072003-04-17 Andrey Kiselev <[email protected]> 5208 5209 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 5210 due to problems with multidirectory images. Quality of error messages 5211 improved. 5212 52132003-04-16 Andrey Kiselev <[email protected]> 5214 5215 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 5216 encoded images. See bug entries 5217 5218 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 5219 5220 and 5221 5222 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 5223 5224 * libtiff/tif_dirread.c: Additional check for StripByteCounts 5225 correctness. Fixes 5226 5227 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 5228 52292003-03-12 Andrey Kiselev <[email protected]> 5230 5231 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 5232 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 5233 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 5234 tiffmedian.c}: Added library version reporting facility to all tools. 5235 52362003-03-06 Frank Warmerdam <[email protected]> 5237 5238 * port/install.sh.in: Fixed problems with install producing paths 5239 like ///usr/local/lib on cygwin. 5240 52412003-02-27 Andrey Kiselev <[email protected]> 5242 5243 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 5244 raw input page. Patch supplied by Julien Gaulmin. See 5245 5246 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 5247 5248 for details. 5249 52502003-02-26 Frank Warmerdam <[email protected]> 5251 5252 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 5253 responsible for byte swapping complex image data. 5254 5255 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 5256 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 5257 52582003-02-07 Andrey Kiselev <[email protected]> 5259 5260 * tools/ppm2tiff.c: Fixed problem with too many arguments. 5261 52622003-02-04 Andrey Kiselev <[email protected]> 5263 5264 * tools/raw2tiff.c: Memory leak fixed. 5265 52662003-02-03 Andrey Kiselev <[email protected]> 5267 5268 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 5269 (thanks, Julien!). More switches for fax2tiff tool for better control 5270 of input and output. Details at 5271 5272 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 5273 52742003-02-03 Frank Warmerdam <[email protected]> 5275 5276 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 5277 library so that we can check if there is already any tile/strip data 5278 before deciding between creating a compressor or a decompressor. 5279 52802003-01-31 Frank Warmerdam <[email protected]> 5281 5282 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 5283 a pre-existing compressed image. That is, image writing to 5284 pre-existing compressed images is not allowed. 5285 5286 * libtiff/tif_open.c: Removed error if opening a compressed file 5287 in update mode. 5288 5289 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 5290 52912003-01-31 Andrey Kiselev <[email protected]> 5292 5293 * config.guess, config.sub: Updated to recent upstream versions. 5294 52952003-01-15 Frank Warmerdam <[email protected]> 5296 5297 * cut 3.6.0 Beta release. 5298 52992002-12-20 Andrey Kiselev <[email protected]> 5300 5301 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 5302 in wrong way as per bug 5303 5304 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 5305 53062002-12-17 Frank Warmerdam <[email protected]> 5307 5308 * libtiff/tif_dirread.c: Allow wrong sized arrays in 5309 TIFFFetchStripThing(). 5310 5311 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 5312 53132002-12-02 Frank Warmerdam <[email protected]> 5314 5315 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 5316 Was using realloc even first time. Fix by Igor Venevtsev. 5317 53182002-11-30 Frank Warmerdam <[email protected]> 5319 5320 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 5321 field value. 5322 5323 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 5324 tags in TIFFVGetField() ... added missing break. 5325 53262002-10-14 Frank Warmerdam <[email protected]> 5327 5328 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 5329 the scanline buffer long enough when writing rgb triplets. 5330 The scanline needs to be 3 X the number of dots or else it will 5331 contain an incomplete triplet and programs that try to separate 5332 the eps by redefining the colorimage operator will get messed up. 5333 Patch supplied by William Bader. 5334 5335 * Makefile.in: added tif_extension.c to file list as per 5336 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 5337 53382002-10-11 Andrey Kiselev <[email protected]> 5339 5340 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 5341 large files (>2GiB) supporting. New option in the config.site: 5342 LARGEFILE="yes". Should be enough for I/O of the large files. 5343 53442002-10-10 Frank Warmerdam <[email protected]> 5345 5346 * libtiff/html/v3.6.0.html: new release notes. 5347 5348 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 5349 link for Andrey. Pointer to v3.6.0.html. 5350 5351 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 5352 53532002-10-07 Andrey Kiselev <[email protected]> 5354 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 5355 (thanks, Sebastian!). New switches: 5356 -b # for a bottom margin of # inches 5357 -c center image 5358 -l # for a left margin of # inches 5359 -r rotate the image by 180 degrees 5360 New features merged with code for shrinking/overlapping. 5361 Previously added -c and -n switches (for overriding PS units) renamed 5362 in -x and -y respectively. 5363 5364 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 5365 5366 * html/man/*.html: Updated from actual manual pages. 5367 53682002-10-06 Frank Warmerdam <[email protected]> 5369 5370 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 5371 size on windows. Use #define boolean hack. 5372 5373 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 5374 5375 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 5376 USING_VISUALAGE is defined. 5377 5378 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5379 53802002-10-03 Frank Warmerdam <[email protected]> 5381 5382 * libtiff/tiff.h: added COMPRESSION_JP2000. 5383 53842002-10-02 Andrey Kiselev <[email protected]> 5385 5386 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 5387 by the TIFFFetchByteArray() function. Should finally resolve 5388 5389 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5390 5391 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 5392 5393 * html/Makefile.in: New targets added: html and groffhtml for 5394 producing HTML representations of the manual pages automatically. 5395 html target uses man2html tool, groffhtml uses groff tool. 5396 53972002-09-29 Frank Warmerdam <[email protected]> 5398 5399 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 5400 from John H. DuBois III. 5401 54022002-09-15 Andrey Kiselev <[email protected]> 5403 5404 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 5405 manual page for raw2tiff(1) tool. 5406 54072002-09-12 Andrey Kiselev <[email protected]> 5408 5409 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 5410 the tiffio.h header file. 5411 5412 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 5413 manual page for TIFFDataWidth() function 5414 54152002-09-08 Frank Warmerdam <[email protected]> 5416 5417 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 5418 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 5419 5420 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 5421 since we are unable to properly include the amount to skip. 5422 5423 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 5424 54252002-09-02 Andrey Kiselev <[email protected]> 5426 5427 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 5428 in TIFFFetchByteArray(). Problem described at 5429 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5430 54312002-08-22 Andrey Kiselev <[email protected]> 5432 5433 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 5434 in _TIFFSetupFieldInfo() function. 5435 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 5436 5437 * /libtiff/tif_lzw.c: Additional consistency checking added in 5438 LZWDecode() and LZWDecodeCompat(). 5439 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 5440 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5441 5442 * /libtiff/tif_lzw.c: 5443 Added check for valid code lengths in LZWDecode() and 5444 LZWDecodeCompat(). Fixes 5445 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 5446 54472002-08-16 Andrey Kiselev <[email protected]> 5448 5449 * /libtiff/{Makefile.vc, libtiff.def}: 5450 Missed declarations added. 5451 54522002-08-15 Frank Warmerdam <[email protected]> 5453 5454 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 5455 return code from the underlying pick function. 5456 5457 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 5458 5459 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 5460 with FIELD_CUSTOM as mentioned in bug 169. 5461 5462 * tif_close.c: added logic to free dynamically created anonymous 5463 field definitions to correct a small memory leak. 5464 5465 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 5466 54672002-08-10 Andrey Kiselev <[email protected]> 5468 5469 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 5470 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 5471 54722002-07-31 Frank Warmerdam <[email protected]> 5473 5474 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 5475 JPEGDecode() as per bugzilla bug (issue 1): 5476 5477 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 5478 5479 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 5480 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 5481 present in the tiff tags. 5482 5483 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 5484 5485 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 5486 TIFFWriteScanline() now set tif_row explicitly in case the codec has 5487 fooled with the value. 5488 5489 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 5490 54912002-06-22 Andrey Kiselev <[email protected]> 5492 5493 * /tools/tiff2ps.c: Added workaround for some software that may crash 5494 when last strip of image contains fewer number of scanlines than 5495 specified by the `/Height' variable. See 5496 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 5497 for explanation. 5498 54992002-06-21 Andrey Kiselev <[email protected]> 5500 5501 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 5502 splitting long images in several pages. See 5503 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 5504 Patch granted by John Williams <[email protected]>. 5505 55062002-06-11 Frank Warmerdam <[email protected]> 5507 5508 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 5509 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 5510 This one is described in: 5511 5512 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 5513 5514 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 5515 5516 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 5517 55182002-05-10 Andrey Kiselev <[email protected]> 5519 5520 * tools/tiff2ps: New commandline switches to override resolution 5521 units obtained from the input file. Closes 5522 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 5523 55242002-04-26 Andrey Kiselev <[email protected]> 5525 5526 * libtiff/libtiff.def: Added missed declaration. 5527 55282002-04-22 Andrey Kiselev <[email protected]> 5529 5530 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 5531 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 5532 55332002-04-20 Andrey Kiselev <[email protected]> 5534 5535 * libtiff/tif_open.c: Pointers to custom procedures 5536 in TIFFClientOpen() are checked to be not NULL-pointers. 5537 55382002-04-18 Andrey Kiselev <[email protected]> 5539 5540 * libtiff/libtiff.def: Added missed declarations. 5541 5542 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 5543 55442002-04-16 Andrey Kiselev <[email protected]> 5545 5546 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 5547 Should finally close 5548 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5549 55502002-04-10 Andrey Kiselev <[email protected]> 5551 5552 * tools/tiff2ps: Division by zero fixed. 5553 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 5554 55552002-04-09 Andrey Kiselev <[email protected]> 5556 5557 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 5558 TIFFCheckpointDirectory() routine added. 5559 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 5560 5561 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 5562 for the new function. 5563 55642002-04-08 Andrey Kiselev <[email protected]> 5565 5566 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 5567 additional members tif->tif_decodestatus and tif->tif_encodestatus 5568 for correct handling of unconfigured codecs (we should not try to read 5569 data or to define data size without correct codecs). 5570 5571 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 5572 changed. Now it has used tif->tif_decodestatus and 5573 tif->tif_encodestatus. 5574 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 5575 case of __cvs_8.tif test image). 5576 5577 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 5578 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 5579 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 5580 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 5581 55822002-04-04 Andrey Kiselev <[email protected]> 5583 5584 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 5585 replaced by warnings. Now libtiff should read corrupted LZW-compressed 5586 files by skipping bad strips. 5587 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5588 55892002-04-03 Frank Warmerdam <[email protected]> 5590 5591 * libtiff/tif_dirwrite.c: Removed some dead code. 5592 5593 * libtiff/*: Cleanup some warnings. 5594 5595 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 5596 for variable length FIELD_CUSTOM values. Was int * but should be 5597 u_short *. 5598 55992002-04-01 Andrey Kiselev <[email protected]> 5600 5601 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 5602 utility (at cpStripToTile routine). 5603 56042002-03-27 Frank Warmerdam <[email protected]> 5605 5606 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 5607 5608 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 5609 5610 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 5611 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 5612 5613 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 5614 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 5615 56162002-03-26 Dwight Kelly <[email protected]> 5617 5618 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 5619 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 5620 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 5621 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 5622 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 5623 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 5624 56252002-03-26 Andrey Kiselev <[email protected]> 5626 5627 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 5628 now also uses TIFFRGBAImageOK before reading. This is additional fix 5629 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 5630 56312002-03-25 Andrey Kiselev <[email protected]> 5632 5633 * libtiff/: tif_getimage.c: Additional check for supported 5634 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 5635 TIFFRGBAImageOK before reading. 5636 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 5637 56382002-03-15 Andrey Kiselev <[email protected]> 5639 5640 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 5641 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 5642 TIFFDataType sizes instead of working with tiffDataWidth array 5643 directly. Should prevent out-of-borders bugs in case of unknown or 5644 broken data types. EstimateStripByteCounts routine modified, so it 5645 won't work when tags with uknown sizes founded. 5646 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 5647 56482002-03-13 Andrey Kiselev <[email protected]> 5649 5650 * libtiff/tif_getimage.c: Added support for correct handling 5651 `Orientation' tag in gtTileContig. Should be added in other gt* 5652 functions as well, but I have not images for testing yet. Partially 5653 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 5654 56552002-03-10 Andrey Kiselev <[email protected]> 5656 5657 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 5658 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 5659 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 5660 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 5661 56622002-03-08 Andrey Kiselev <[email protected]> 5663 5664 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 5665 be stripped when installing, utility binaries will do. Closes 5666 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 5667 56682002-02-28 Frank Warmerdam <[email protected]> 5669 5670 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 5671 5672 * man/libtiff.3t: added copyright tag info. 5673 56742002-02-11 Frank Warmerdam <[email protected]> 5675 5676 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 5677 5678 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 5679 5680 * man/Makefile.in: Patch DESTDIR handling 5681 5682 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 5683 5684 * configure: OpenBSD changes for Sparc64 and DSO version. 5685 5686 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 5687 56882002-02-05 Frank Warmerdam <[email protected]> 5689 5690 * config.site/configure: added support for OJPEG=yes option to enable 5691 OJPEG support from config.site. 5692 56932002-01-27 Frank Warmerdam <[email protected]> 5694 5695 * html/document.html: fixed links for TIFf 6 docs. 5696 56972002-01-18 Frank Warmerdam <[email protected]> 5698 5699 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 5700 5701 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 5702 decodestrip function returns anything not greater than zero as per 5703 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 5704 5705 * configure: Modify CheckForBigEndian so it can work in a cross 5706 compiled situation. 5707 57082002-01-16 Frank Warmerdam <[email protected]> 5709 5710 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 5711 5712 * tools/tiffset.c: fix bug in error reporting. 5713 5714 * tools/tiffcp.c: fix several warnings that show up with -Wall. 5715 57162002-01-04 Frank Warmerdam <[email protected]> 5717 5718 * libtiff/tif_jpeg.c: fixed computation of segment_width for 5719 tiles files to avoid error about it not matching the 5720 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 5721 size.") for ITIFF files. Apparently the problem was incorporated since 5722 3.5.5, presumably during the OJPEG/JPEG work recently. 5723 57242001-12-15 Frank Warmerdam <[email protected]> 5725 5726 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 5727 5728 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 5729 5730 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 5731 (defined in tiffconf.h - 1 by default) then the RGBA interface 5732 will assume that a fourth extra sample is ASSOCALPHA if the 5733 EXTRASAMPLE value isn't set for it. This changes the behaviour of 5734 the library, but makes it work better with RGBA files produced by 5735 lots of applications that don't mark the alpha values properly. 5736 5737 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 5738 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 5739 57402001-12-12 Frank Warmerdam <[email protected]> 5741 5742 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 5743 override those from tiff directory. This makes this work with 5744 ImageGear generated files. 5745 57462001-12-07 Frank Warmerdam <[email protected]> 5747 5748 * html/Makefile.in: added missing images per bug 92. 5749 5750 * port/Makefile.in: fixed clean target per bug 92. 5751 57522001-11-28 Frank Warmerdam <[email protected]> 5753 5754 * Reissue 3.5.7 release. 5755 5756 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 5757 YYYYMMDD so that it is increasing over time. 5758 5759 * Makefile.in: Ensure that tiffvers.h is regenerated in the 5760 make release target. 5761 5762 * Makefile.in: added libtiff/tiffvers.h to the release file list. 5763 57642001-11-23 Frank Warmerdam <[email protected]> 5765 5766 * added html/v3.5.7.html, updated html/index.html. 5767 5768 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 5769 57702001-11-15 Frank Warmerdam <[email protected]> 5771 5772 * configure: fixed test for -lm. 5773 57742001-11-02 Frank Warmerdam <[email protected]> 5775 5776 * Added PHOTOMETRIC_ITULAB as per bug 90. 5777 5778 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 5779 57802001-10-10 Frank Warmerdam <[email protected]> 5781 5782 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 5783 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 5784 in keeping with TIFF 6.0 standard in tiff.h 5785 5786 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 5787 57882001-09-26 Frank Warmerdam <[email protected]> 5789 5790 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 5791 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 5792 57932001-09-24 Frank Warmerdam <[email protected]> 5794 5795 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 5796 5797 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 5798 5799 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 5800 error about LZW not being available. 5801 5802 * libtiff/tif_dir.c: propagate failure to initialize compression 5803 back from TIFFSetField() as an error status, so applications can 5804 detect failure. 5805 5806 * libtiff/tif_dir.c: removed the auto replacement of 5807 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 5808 5809 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 5810 from CVS as they are all supposed to be auto-generated by configure. 5811 58122001-09-22 Frank Warmerdam <[email protected]> 5813 5814 * libtiff/tif_ojpeg.c: new update from Scott. 5815 58162001-09-09 Frank Warmerdam <[email protected]> 5817 5818 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 5819 always use the "safe" version, even if there is a very slight 5820 cost in performance. 5821 5822 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 5823 5824 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 5825 in two places. 5826 5827 * libtiff/tif_getimage.c: Fixed problem with reading strips or 5828 tiles that don't start on a tile boundary. Fix contributed by 5829 Josep Vallverdu (from HP), and further described in bug 47. 5830 5831 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 5832 5833 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 5834 5835 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 5836 58372001-09-06 Frank Warmerdam <[email protected]> 5838 5839 * libtiff/tif_packbits.c: fixed memory overrun error. 5840 5841 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 5842 58432001-08-31 Frank Warmerdam <[email protected]> 5844 5845 * libtiff/tif_getimage.c: relax handling of contig case where 5846 there are extra samples that are supposed to be ignored. This 5847 should now work for 8bit greyscale or palletted images. 5848 5849 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 5850 58512001-08-28 Frank Warmerdam <[email protected]> 5852 5853 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 5854 images with more than four samples per pixel. See: 5855 5856 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 5857 58582001-08-10 Frank Warmerdam <[email protected]> 5859 5860 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 5861 in TIFFReadRGBATile() to avoid issues in cases of overlapping 5862 buffers. See Bug 69 in Bugzilla. 5863 5864 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 5865 5866 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 5867 58682001-08-09 Frank Warmerdam <[email protected]> 5869 5870 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 5871 when checking for 64 bit architectures as per bugzilla bug 67. 5872 58732001-07-27 Frank Warmerdam <[email protected]> 5874 5875 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 5876 bug 66. 5877 58782001-07-20 Frank Warmerdam <[email protected]> 5879 5880 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 5881 has been included. 5882 58832001-07-19 Frank Warmerdam <[email protected]> 5884 5885 * libtiff/tif_open.c: Seek back to zero after failed read, 5886 before writing header. 5887 58882001-07-18 Frank Warmerdam <[email protected]> 5889 5890 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 5891 much better. Now depends on having patched libjpeg as per 5892 patch in contrib/ojpeg/*. 5893 58942001-07-17 Frank Warmerdam <[email protected]> 5895 5896 * */Makefile.in: added DESTDIR support. 5897 5898 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 5899 59002001-07-16 Frank Warmerdam <[email protected]> 5901 5902 * configure, libtiff/Makefile.in: applied OpenBSD patches 5903 as per: 5904 5905 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 5906 59072001-06-28 Frank Warmerdam <[email protected]> 5908 5909 * libtiff/tif_getimage.c: Fixed so that failure is properly 5910 reported by gtTileContig, gtStripContig, gtTileSeparate and 5911 gtStripSeparate. 5912 5913 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 5914 5915 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 5916 Updated bug section of tiffcmp.1 to note tiled file issues. 5917 5918 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 5919 59202001-06-22 Frank Warmerdam <[email protected]> 5921 5922 * configure: Changes for DSO generation on AIX provided by 5923 John Marquart <[email protected]>. 5924 5925 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 5926 on Darwin thanks to Robert Krajewski ([email protected]) and 5927 Keisuke Fujii ([email protected]). 5928 59292001-06-13 Frank Warmerdam <[email protected]> 5930 5931 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 5932 5933 * man/tiff2rgba.1: new 5934 59352001-05-22 Frank Warmerdam <[email protected]> 5936 5937 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 5938 59392001-05-13 Frank Warmerdam <[email protected]> 5940 5941 * libtiff/tools/thumbnail.c: changed default output compression 5942 to packbits from LZW since LZW isn't generally available. 5943 59442001-05-12 Frank Warmerdam <[email protected]> 5945 5946 * libtiff/tif_ojpeg.c: New. 5947 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 5948 to OJPEG support. 5949 5950 Scott Marovich <[email protected]> supplied OJPEG support. 5951 59522001-05-11 Frank Warmerdam <[email protected]> 5953 5954 * tiff.h: removed, it duplicates libtiff/tiff.h. 5955 59562001-05-08 Frank Warmerdam <[email protected]> 5957 5958 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 5959 ensure everything is in order. 5960 5961 * libtiff/libtiff.def: added TIFFCreateDirectory and 5962 TIFFDefaultStripSize as per: 5963 5964 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 5965 59662001-05-02 Frank Warmerdam <[email protected]> 5967 5968 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 5969 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 5970 force use of uint32 counts instead of short counts. 5971 5972 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 5973 case of writing TIFF_BYTE/TIFF_SBYTE fields. 5974 5975 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 5976 59772001-05-01 Frank Warmerdam <[email protected]> 5978 5979 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 5980 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 5981 59822001-04-05 Frank Warmerdam <[email protected]> 5983 5984 * tiffio.h: removed C++ style comment. 5985 5986 * configure: fixed up SCRIPT_SH/SHELL handling. 5987 5988 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 5989 5990 * config.guess: documented more variables as per bug 40. 5991 59922001-04-03 Frank Warmerdam <[email protected]> 5993 5994 * configure, *Makefile.in: Various changes to improve configuration 5995 for HP/UX specifically, and also in general. They include: 5996 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 5997 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 5998 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 5999 - Use -${MAKEFLAGS} in sub makes from makefiles. 6000 6001 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 6002 60032001-04-02 Frank Warmerdam <[email protected]> 6004 6005 * libtiff/tiff.h: Applied hac to try and resolve the problem 6006 with the inttypes.h include file on AIX. 6007 6008 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 6009 6010 * VERSION: update to 3.5.7 beta in preparation for release. 6011 6012 * configure/config.site: modified to check if -lm is needed for 6013 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 6014 6015 * config.guess: updated wholesale to an FSF version apparently 6016 from 1998 (as opposed to 1994). This is mainly inspired by 6017 providing for MacOS X support. 6018 60192001-03-29 Frank Warmerdam <[email protected]> 6020 6021 * configure, Makefile.in, etc: added support for OPTIMIZER being 6022 set from config.site. 6023 60242001-03-28 Frank Warmerdam <[email protected]> 6025 6026 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 6027 6028 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 6029 sizes. It fixes two problems: 6030 6031 Without scaling (-S) the fax is now centered on the page size specified 6032 with -H and/or -W. Before, fax2ps was using an obscure and practially 6033 useless algorithm to allocate the image relative to Letter sized paper 6034 which sometime sled to useless whitespace on the paper, while at the 6035 same time cutting of the faxes printable area at the opposite border. 6036 6037 Second, scaling now preserves aspect ratio, which makes unusual faxes 6038 (in particular short ones) print properly. 6039 6040 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 6041 6042 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 6043 Bruce A. Mallett. See check message for detailed information 6044 on all the changes, including a faster encoder, fixes for level 6045 2 PostScript, and support for the imagemask operator. 6046 60472001-03-27 Frank Warmerdam <[email protected]> 6048 6049 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 6050 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 6051 6052 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 6053 60542001-03-16 Frank Warmerdam <[email protected]> 6055 6056 * tif_dirinfo.c: moved definition of copyright tag in field list. 6057 Apparently they have to be in sorted order by tag id. 6058 60592001-03-13 Frank Warmerdam <[email protected]> 6060 6061 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 6062 images in RGBA interface. 6063 60642001-03-02 Frank Warmerdam <[email protected]> 6065 6066 * Added TIFFTAG_COPYRIGHT support. 6067 60682001-02-19 Frank Warmerdam <[email protected]> 6069 6070 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 6071 with support for extracting subimages with the ,n syntax, and also 6072 adding the -b bias removal flag. 6073 60742001-02-16 Frank Warmerdam <[email protected]> 6075 6076 * libtiff/libtiff.def: Brent Roman submitted new version adding 6077 serveral missing entry points. 6078 6079 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 6080 Some sort of weird VMS thing. 6081 6082 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 6083 6084 * tif_luv.c/tiff.h/tiffio.h: 6085 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 6086 ([email protected]). He writes: 6087 6088 1) I improved the gamut-mapping function in tif_luv.c for imaginary 6089 colors, because some images were being super-saturated on the input 6090 side and this resulted in some strange color shifts in the output. 6091 6092 2) I added a psuedotag in tiff.h to control random dithering during 6093 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 6094 on for 24-bit LogLuv output. Dithering improves the average color 6095 accuracy over the image. 6096 6097 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 6098 tiffio.h, to expose internal routines for converting between LogLuv and 6099 XYZ coordinates. This is helpful for writing more efficient, 6100 specialized conversion routines, especially for reading LogLuv files. 6101 6102 Changes applied with minor edits. 6103 61042001-01-23 Frank Warmerdam <[email protected]> 6105 6106 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 6107 whether we are encoding or decoding. This is to ensure graceful 6108 recovery if TIFFClientOpen() discovers an attempt to open a compressed 6109 file for "r+" access, and subsequently close it, as it resets the 6110 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 6111 compressor's concept of whether it is in encode or decode mode. 6112 61132001-01-08 Mike Welles <[email protected]> 6114 6115 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 6116 61172001-01-07 Frank Warmerdam <[email protected]> 6118 6119 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 6120 as per bug report by Patrick Connor. 6121 61222000-12-28 Frank Warmerdam <[email protected]> 6123 6124 * Added RELEASE-DATE file to release file list. 6125 6126 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 6127 61282000-12-22 Mike Welles <[email protected]> 6129 * added link to CVS mirror from index.html 6130 6131 * updated html/internals.html to note that LZW compression is 6132 not supported by default. 6133 61342000-12-22 Frank Warmerdam <[email protected]> 6135 6136 * updated html/libtiff.html to not point at Niles' old JPL web site 6137 for the man pages, point at www.libtiff.org. 6138 61392000-12-21 Frank Warmerdam <[email protected]> 6140 6141 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 6142 Leonard Rosenthol <[email protected]>. May interfere 6143 with correct building on older systems. If so, please let me know. 6144 61452000-12-19 Mike Welles <[email protected]> 6146 6147 * Took out LZW Encoding from tif_lzw.c 6148 6149 * Created HOWTO-RELEASE 6150 6151 * Created html/v3.5.6.html 6152 6153 * updated index.html 6154 61552000-12-01 Frank Warmerdam <[email protected]> 6156 6157 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 6158 Patches supplied by Frank Cringle <[email protected]> 6159 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 6160 61612000-11-24 Frank Warmerdam <[email protected]> 6162 6163 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 6164 target so that the private headers required by libgeotiff can be 6165 installed with the others. They are not installed by default. 6166 6167 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 6168 targets so libtiff.so will be built with an explicit dependency 6169 on libm.so. 6170 6171 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 6172 libtiff.so.3.5.5. 6173 6174 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 6175 file, or ALPHA version logic. Added stuff about DIST_POINT in 6176 place of DIST_TYPE and the alpha release number stuff. 6177 61782000-11-22 Frank Warmerdam <[email protected]> 6179 6180 * I have applied a patch from Steffen Moeller <[email protected]> to 6181 the configure script so that it now accepts the --prefix, and 6182 --exec-prefix directives. 6183 61842000-11-13 Frank Warmerdam <warmerda@cs46980-c> 6185 6186 * I have made a variety of modifications in an effort to ensure the 6187 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 6188 file which seems to be updated regularly. 6189 6190 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 6191 version include file. 6192 o renamed version.h to tiffvers.h because we now have to install it 6193 with the public libtiff include files. 6194 o include tiffvers.h in tiffio.h. 6195 o updated tif_version.c to use tiffvers.h. 6196 o Updated Makefile.in accordingly. 6197 6198 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 6199 I have updated the win32 detection rules in tiffcomp.h. 6200 62012000-10-20 Frank Warmerdam <warmerda@cs46980-c> 6202 6203 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 6204 the strip/tile width and height aren't multiples of the sampling size. 6205 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 6206 Some patches from Rick LaMont of Dot C Software. 6207 6208 * Modified tif_packbits.c encoder to avoid compressing more 6209 data than provided if rowsize doesn't factor into provided data 6210 (such as occurs for YCbCr). 6211 62122000-10-19 Frank Warmerdam <warmerda@cs46980-c> 6213 6214 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 6215 roundup if rows_per_strip not a multiple of vertical sample size. 6216 62172000-10-16 Frank Warmerdam <warmerda@cs46980-c> 6218 6219 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 6220 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 6221 from [email protected]. 6222 6223 * Modified tif_packbits.c decoding to avoid overrunning the 6224 output buffer, and to issue a warning if data needs to be 6225 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 6226 62272000-10-12 Frank Warmerdam <warmerda@cs46980-c> 6228 6229 * Modified tiff2bw to ensure portions add to 100%, and that 6230 white is properly recovered. 6231 6232 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 6233 Patch c/o Stanislav Brabec <[email protected]> 6234 62352000-09-30 Frank Warmerdam <warmerda@cs46980-c> 6236 6237 * Modified TIFFClientOpen() to emit an error on an attempt to 6238 open a comperessed file for update (O_RDWR/r+) access. This is 6239 because the compressor/decompressor code gets very confused when 6240 the mode is O_RDWR, assuming this means writing only. See 6241 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 6242 62432000-09-27 Frank Warmerdam <warmerda@cs46980-c> 6244 6245 * Added GNULDdso target an`d switched linux and freebsd to use it. 6246 62472000-09-26 Frank Warmerdam <warmerda@cs46980-c> 6248 6249 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 6250 of EXPAND1D() as per bug 11 (from Roman). 6251 62522000-09-25 Frank Warmerdam <warmerda@cs46980-c> 6253 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 6254 cygwin compatibility. 6255 6256 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 6257 be a proper fix to the buffer sizing problem. See 6258 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 6259 6260 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 6261 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 6262 Thanks to Nick Lamb <[email protected]> for reporting the 6263 bug and proving the patch. 6264 62652000-09-18 Frank Warmerdam <warmerda@cs46980-c> 6266 6267 * Fixed tif_jpeg.c so avoid destroying the decompressor before 6268 we are done access data thanks to bug report from: 6269 Michael Eckstein <[email protected]>. 6270 6271 * Reverted tif_flush change. 6272 62732000-09-14 Frank Warmerdam <warmerda@cs46980-c> 6274 6275 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 6276 error when TIFF_BEENWRITING is not set. This ensures that the 6277 directory contents can still be flushed by TIFFFlush(). 6278 62792000-08-14 Frank Warmerdam <[email protected]> 6280 6281 * tif_open.c: Don't set MMAP for O_RDWR files. 6282 6283 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 6284 so that files opened for update can be strip chopped too. 6285 6286 * tif_read.c: fixed up bug with files missing rowsperstrip and 6287 the strips per separation fix done a few weeks ago. 6288 62892000-07-17 Frank Warmerdam <warmerda@cs46980-c> 6290 6291 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 6292 SAMPLEFORMAT_COMPLEXINT. 6293 62942000-07-13 Mike Welles <[email protected]> 6295 6296 * index.html, bugs.html: added bugzilla info. 6297 62982000-07-12 Frank Warmerdam <[email protected]> 6299 6300 * tif_read.c: fix subtle bug with determining the number of 6301 rows for strips that are the last strip in a separation but 6302 not the last strip of all in TIFFReadEncodedStrip(). 6303 6304 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 6305 Peter Skarpetis <[email protected]> 6306 63072000-06-15 Frank Warmerdam <[email protected]> 6308 6309 * Modified tiffio.h logic with regard to including windows.h. It 6310 won't include it when building with __CYGWIN__. 6311 63122000-05-11 Frank Warmerdam <warmerda@cs46980-c> 6313 6314 * README: update to mention www.libtiff.org, don't list Sam's old 6315 email address. 6316 6317 * configure: Fixed DSO test for Linux as per patch from 6318 Jan Van Buggenhout <[email protected]>. 6319 63202000-04-21 Frank Warmerdam <[email protected]> 6321 6322 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 6323 one tile/strip images with an offset, and byte count of zero. These 6324 could be "unpopulated" images. 6325 63262000-04-18 Frank Warmerdam <[email protected]> 6327 6328 * contrib/addtiffo: Added "averaging" resampling option. 6329 6330 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 6331 6332Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 6333 6334 * tools/Makefile.in: Modified to install properly on SGI. 6335 63362000-04-12 Mike Welles <[email protected]> 6337 * configure: Fixed stupid mistake in libc6 test on Linux 6338 63392000-04-04 Mike Welles <[email protected]> 6340 * tif_win32.c: Applied patch to fix overreads and ovverwrites 6341 caught by BoundsChecker. From Arvan Pritchard 6342 <[email protected]> (untested). 6343 6344 * tif_getimage.c: Applied patch to silence VC6 warnings. From 6345 Arvan Pritchard <[email protected]> 6346 6347 * tif_lzw.c: Applied patch to silence VC6 warnings. From 6348 Arvan Pritchard <[email protected]> 6349 63502000-03-28 Frank Warmerdam <warmerda@cs46980-c> 6351 6352 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 6353 63542000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 6355 6356 * fax2ps: Fixed mixup of width and height in bounding box statement 6357 as per submission by Nalin Dahyabhai <[email protected]>. 6358 63592000-03-27 Mike Welles <[email protected]> 6360 6361 * fax2ps: Modified printruns to take uint32 instead of uint16. 6362 Patch courtesy of Bernt Herd <[email protected]> 6363 63642000-03-20 Mike Welles <[email protected]> 6365 6366 * configure: added test for libc6 for linux targets. Bug reported by 6367 Stanislav Brabec <[email protected]> 6368 6369 * Added 3.5 docs to html/Makefile.in. 6370 Thanks to Stanislav Brabec <[email protected]> 6371 6372 * configure: fixed bugs in sed scripts 6373 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 6374 fix submitted to Stanislav Brabec <[email protected]> 6375 6376 * tools/iptcutil was not in files list, and wasn't being 6377 added to tar archive. Updated Makefile.in. 6378 63792000-03-17 Frank Warmerdam <warmerda@cs46980-c> 6380 6381 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 6382 conversion for the run arrays. 6383 63842000-03-03 Frank Warmerdam <[email protected]> 6385 6386 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 6387 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 6388 63892000-03-02 Frank Warmerdam <[email protected]> 6390 6391 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 6392 6393 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 6394 to avoid overruns encountered with frle_bug.tif. 6395 6396Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 6397 6398 * Fixed tools/tiffcmp so that stopondiff testing works. 6399 Patch care of Joseph Orost <[email protected]>. 6400 64012000-01-28 <warmerda@CS46980-B> 6402 6403 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 6404 set to 1, and added default (off) setting in tiffconf.h. This 6405 should eventually be set by the configure script somehow. 6406 6407 The original work on all these 2-4GB changes was done by 6408 Peter Smith ([email protected]). 6409 6410 * Modified tif_win32.c to support 2-4GB seeks. 6411 6412 * tentatively changed toff_t to be unsigned instead of signed to 6413 facilitate support for 2-4GB files. 6414 6415 * Updated a variety of files to use toff_t. Fixed some mixups 6416 between toff_t and tsize_t. 6417 6418Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 6419 6420 * Largely reimplemented contrib/addtiffo to avoid temp files, 6421 updating the TIFF file in place. Fixed a few other bugs to. 6422 6423 * Set tif_rawdatasize to zero when freeing raw data buffer in 6424 TIFFWriteDirectory(). 6425 6426 * Enabled "REWRITE_HACK" in tif_write.c by default. 6427 6428 * Fix bug in tif_write.c when switching between reading one directory 6429 and writing to another. 6430 6431 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 6432 6433Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 6434 6435 * Added TIFFmemory(3t) functions to libtiff.def. 6436 6437Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 6438 6439 * Added libtiff/libtiff.def to TIFFILES distribution list. 6440 6441Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 6442 6443 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 6444 6445 * Altered descriptions in tools to reflect "by default" lzw not supported 6446 6447 * Updated index.html to note lzw compression kit. 6448 6449Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 6450 6451 * Added fax3sm_winnt.c to distribution list in Makefile.in. 6452 6453Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 6454 6455 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 6456 6457 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 6458 when LZW compression invoked. 6459 6460 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 6461 in tools to reflect removal of LZW compression 6462 6463Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 6464 6465 * Fixed bug that caused LZW (non) compression to segfault. Added 6466 warning about LZW compression removed being removed, and why. 6467 6468 * Added nostrip to install in tools/Makefile.in so that debugging 6469 symbols are kept. 6470 6471Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 6472 6473 * Added patch from Ivo Penzar <[email protected]>, 6474 supporting Adobe ZIP deflate. Untested. 6475 6476Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 6477 6478 * Made Packbits the default compression in tools/tiff2rgba.c instead 6479 of LZW. 6480 6481Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 6482 6483 * Added tif_luv to contrib/djgpp/Makefile.lib. 6484 6485Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 6486 6487 * Added zip creation to relase makefile target 6488 6489 * Added html for TIFFWriteTile.3t man page. 6490 6491Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 6492 6493 * Added some changes to tif_write.c to support rewriting existing 6494 fixed sized tiles and strips. Code mods disabled by default, only 6495 enabled if REWRITE_HACK is defined for now. 6496 6497Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 6498 6499 * Added TIFFWriteTile.3t man page. 6500 6501Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 6502 6503 * Added notes on use of makefile.vc in build.html, and fixed 6504 email subscription address. 6505 6506199-11-28 Mike Welles <[email protected]> 6507 6508 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 6509 6510 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 6511 from Bruce Carmeron <[email protected]> -- modifications of 6512 changes made by Frank (sun cc still complained on cast). 6513 6514 * Added tiffconf.h to install target per request from Bill 6515 Radcliffe <[email protected]>: "We need a way for ImageMagick to 6516 know features have been compiled into the TIFF library in order to 6517 handle things properly". 6518 6519Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 6520 6521 * fixed various VC++ warnings as suggested by Gilles Vollant 6522 <[email protected]>. 6523 6524Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 6525 6526 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 6527 not imply applications are responsible for image data swapping. 6528 65291999-11-22 Mike Welles <[email protected]> 6530 * HTML-ized the man pages, added to html/man 6531 6532 * Removed LZW Compression to comply with Unisys patent extortion. 6533 65341999-09-29 Mike Welles <[email protected]> 6535 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 6536 From Ivo Penzar <[email protected]. 6537 6538 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 6539 memory mapped files. <[email protected]> 6540 65411999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 6542 * Corrected alpha versioning. 6543 6544 * Removed distinction between alpha and release targets in Makefile.in. 6545 6546 * added release.stamp target, which tags cvs tree, and updates 6547 "RELEASE-DATE" 6548 6549 * added releasediff target, which diffs tree with source as of 6550 date in "RELEASE-DATE" 6551 6552 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 6553 away from alpha/non-alpha distinctions). 6554 6555 * updated html to reflect release 6556 65571999-09-23 <warmerda@CS46980-B> 6558 6559 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 6560 6561 * Added CYGWIN case in configure. 6562 6563Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 6564 6565 * Applied Francois Dagand's patch to handle fax decompression bug. 6566 (sizes >= 65536 were failing) 6567 6568Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 6569 6570 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 6571 by Christopher Lawton <[email protected]> 6572 6573Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 6574 6575 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 6576 Albert Chin-A-Young <[email protected]> 6577 6578 * Added TIFFReassignTagToIgnore() API on behalf of 6579 Bruce Cameron <[email protected]>. Man page still pending. 6580 6581Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 6582 6583 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 6584 files to provide for a rudimentary testsuite. 6585 6586 * Added contrib/tags back from old distribution ... fixed up a bit. 6587 65881999-08-16 <warmerda@CS46980-B> 6589 6590 * Added simple makefile.vc makefiles for building with MS VC++ 6591 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 6592 better solutions for some users. 6593 6594Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 6595 6596 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 6597 put it in tools since part of it is in C++. 6598 65991999-08-16 Michael L. Welles <[email protected]> 6600 6601 * Updated html/index.html with anon CVS instructions. 6602 6603Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 6604 6605 * pre-remove so link before softlink in LINUXdso action in 6606 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 6607 the first. 6608 6609 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 6610 colormaps owned by the TIFF handle itself when trying to fixup wrong 6611 (eight bit) colormaps. Corrected by maintaining a private copy of 6612 the colormap. 6613 6614 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 6615 tif_getimage.c. 6616 6617 * CVS Repository placed at remotesensing.org. ChangeLog added. 6618