12015-06-20 Bob Friesenhahn <[email protected]> 2 3 * libtiff/tif_config.vc.h: Make adjustments to match the new 4 definitions that configure produces, including for WIN64. Still 5 needs to be tested. 6 7 * configure.ac: For 64-bit MinGW, fix SSIZE_FORMAT formatting 8 specifier. 64-bit MinGW supports 'long long' but support for 9 'lld' is not assured by the run-time DLLs and so GCC warns. 10 Add TIFF_SIZE_T and TIFF_SIZE_FORMAT to provide a type definition 11 and printf format specifier to deal with printing values of 12 'size_t' type. In particular, this was necessary for WIN64. 13 Added a configure test for if the system headers provide 'optarg' 14 (normal case) and block out the many explicit 'extern' statements 15 in the utilities. This was found to be necessary under Windows 16 when getopt is in a DLL and the symbols are already imported with 17 dllimport via standard header files. 18 19 * test/raw_decode.c (XMD_H): Avoid conflicting typedefs for INT32 20 and boolean in MinGW build due to including jpeglib.h. 21 22 * test/rewrite_tag.c (main): Fix problem with location of variable 23 declaration. 24 25 * libtiff/libtiff.def: Added exports for TIFFGetConfiguredCODECs, 26 TIFFReadRGBAImageOriented, TIFFSetCompressionScheme, 27 TIFFSwabArrayOfTriples, TIFFVGetFieldDefaulted, _TIFFCheckRealloc, 28 TIFFRasterScanline, TIFFSetErrorHandlerExt, 29 TIFFSetWarningHandlerExt, TIFFNumberOfDirectories, 30 TIFFCreateCustomDirectory, TIFFCreateEXIFDirectory, 31 TIFFWriteCustomDirectory, _TIFFRewriteField as recommended by 32 Roger Leigh and justified by use in libtiff tests, documentation, 33 and changelog notes. Also sorted symbol list and removed 34 duplicate entries. 35 362015-06-16 Bob Friesenhahn <[email protected]> 37 38 * libtiff/tif_getimage.c: Fix four Coverity issues related to 39 unintended sign extension. 40 412015-06-16 Even Rouault <even.rouault at spatialys.com> 42 43 * libtiff/tif_unix.c: fix compilation with MSVC (fix by Jeff McKenna) 44 452015-06-14 Lee Howard <[email protected]> 46 47 * libtiff/tif_unix.c: contribution from Vadim Zeitlin on 48 Bugzilla Bug #2510 fixes several harmless but still annoying 49 warnings 50 51 * configure: contribution from Ludolf Holzheid on Bugzilla 52 Bug #2498. Adds an option to select the file I/O style on 53 Windows hosts. 54 55 * libtiff/tif_getimage.c: contribution from Gary Cramblitt 56 on Bugzilla Bug #2409. Correct reading of certain tiled TIFFs. 57 58 * configure, configure.ac: contribution from Marcos H. Woehrmann 59 on Bugzilla Bug #2405. Correct shell equality operator. 60 61 * tools/tiffgt.c (raster_draw): contribution from Jay Berkenbilt 62 on Bugzilla Bug #2401. Appropriately call glFlush(). 63 64 * tools/tiff2pdf.c: change ColorTransform from "0" to "1" 65 following Bugzilla Bug #2150. 66 672015-06-13 Lee Howard <[email protected]> 68 69 * libtiff/tif_lzw.c: contribution from Andy Cave - decode 70 files that contain consecutive CODE_CLEAR codes. 71 72 * tools/tiff2pdf.c: contribution from Antti S. Lankila on 73 Bugzilla Bug #2078. Suppress initial output of the header. 74 75 * tools/tiff2pdf.c: contribution from Yuriy M. Kaminskiy - 76 Take care in using the return value from snprintf(). 77 78 * tools/tiffcrop.c: contribution from Eduardo Robles Elvira - 79 correctly copy the compression tag from the source TIFF. 80 81 * tools/tiff2ps.c: contribution from Eduardo Robles Elvira - 82 correct sizing and scaling problems with output document. 83 842015-06-10 Bob Friesenhahn <[email protected]> 85 86 * libtiff/tif_jpeg.c (JPEGDecode): Split JPEGDecode() into two 87 clean implementations in order to avoid pre-processor hell. Only 88 one of the implementations is used in a given build. 89 902015-06-08 Even Rouault <even.rouault at spatialys.com> 91 92 * libtiff/tif_jpeg.c: Fix compilation in BITS_IN_JSAMPLE == 12 93 case 94 952015-06-07 Bob Friesenhahn <[email protected]> 96 97 * libtiff/tif_write.c (TIFFWriteEncodedStrip): Fix Coverity 715975 98 "Division or modulo by zero". 99 (TIFFWriteEncodedTile): Fix Coverity 715976 and 715977 "Division 100 or modulo by zero". 101 (TIFFWriteRawStrip): Fix Coverity 715978 "Division or modulo by 102 zero". 103 (TIFFWriteScanline): Fix Coverity 715979 "Division or modulo by 104 zero". 105 106 * libtiff/tif_read.c (TIFFStartTile): Fix Coverity 715973 and 107 715974 "Division or modulo by zero". 108 1092015-05-31 Bob Friesenhahn <[email protected]> 110 111 * libtiff/tif_dir.c (TIFFNumberOfDirectories): Quiet Coverity 112 1134470 "Logically dead code" by making the roll-over check 113 explicit. 114 115 * libtiff/tif_luv.c (LogLuvDecodeTile): Fix Coverity 991227 116 "Division or modulo by zero". 117 (LogLuvDecodeStrip): Fix Coverity 991239 "Division or modulo by 118 zero". 119 (LogLuvEncodeStrip): Fix Coverity 991240 "Division or modulo by 120 zero". 121 (LogLuvEncodeTile): Fix Coverity 991241 "Division or modulo by 122 zero". 123 124 * libtiff/tif_dirread.c (TIFFReadDirEntryDoubleArray): Fix 125 Coverity 298626 "Logically dead code". 126 (TIFFReadDirEntryFloatArray): Fix Coverity 298627 "Logically dead 127 code". 128 (TIFFReadDirEntryIfd8Array): Fix Coverity 298628 "Logically dead 129 code". 130 (TIFFReadDirEntrySlong8Array): Fix Coverity 298629 "Logically dead 131 code" 132 133 * libtiff/tif_dir.c (TIFFNumberOfDirectories): Don't depend on ++ 134 operator precedenc in evaluation. Might quench Coverity 1134470 135 "Logically dead code". 136 137 * libtiff/tif_jpeg.c (JPEGDecode): Fix Coverity 602597 "Operands 138 don't affect result". This change uses ifdefs to include 139 applicable code based on properties of libjpeg. Still needs to be 140 re-tested with 12-bit "6b" and "MK1". 141 1422015-05-30 Bob Friesenhahn <[email protected]> 143 144 * libtiff/tif_dirwrite.c (_TIFFRewriteField): Fix Coverity 1024310 145 "Resource leak". 146 147 * libtiff/tif_ojpeg.c (OJPEGReadHeaderInfoSecStreamDht): Fix 148 Coverity 601720 "Resource leak". 149 150 * libtiff/tif_jpeg.c (JPEGCleanup): Fix Coverity 298624 151 "Dereference before null check". 152 153 * libtiff/tif_ojpeg.c (OJPEGReadBufferFill): Fix Coverity 603400 154 "Missing break in switch". 155 156 * contrib/addtiffo/tif_overview.c (TIFF_DownSample): Check buffer 157 size calculation for overflow. 158 159 * contrib/addtiffo/addtiffo.c (main): Possibly address Coverity 160 1024226 "Untrusted value as argument". 161 162 * tools/gif2tiff.c (readgifimage): Fix Coverity 1024222 "Untrusted 163 value as argument". 164 (checksignature): Fix Coverity 1024894 "Ignoring number of bytes 165 read". 166 (readextension): Fix Coverity 1024893 "Ignoring number of bytes 167 read". 168 (readgifimage): Fix Coverity 1024890 "Ignoring number of bytes 169 read". 170 (readraster): Fix Coverity 1024891 "Ignoring number of bytes 171 read". 172 (readgifimage): Fix Coverity 1024892 "Ignoring number of bytes 173 read". 174 175 * tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 1024181 176 "Structurally dead code". 177 178 * tools/raw2tiff.c (main): Fix Coverity 1024887 "Unchecked return 179 value from library". 180 (guessSize): Fix Coverity 1024888 "Unchecked return value from 181 library". 182 (guessSize): Fix Coverity 1214162 "Ignoring number of bytes read". 183 (guessSize): Fix Coverity 1024889 "Unchecked return value from 184 library". 185 186 * tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 298621 187 "Resource leak". 188 (t2p_readwrite_pdf_image): Fix Coverity 1024181 "Structurally dead 189 code". 190 (t2p_write_pdf): Fix Coverity 1227690 "Unused value". 191 1922015-05-29 Bob Friesenhahn <[email protected]> 193 194 * contrib/iptcutil/iptcutil.c (formatIPTC): Fix Coverity 1024468 195 "Infinite loop". 196 (formatIPTC): Fix Coverity 1024727 "Truncated stdio return value". 197 (formatIPTC): Fix Coverity 1214240 "Untrusted loop bound". 198 1992015-05-28 Bob Friesenhahn <[email protected]> 200 201 * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix 202 Coverity 298615 "Resource leak". 203 (TIFFGetOvrBlock): Fix Coverity 1024649 "Unintended sign 204 extension". 205 206 * tools/bmp2tiff.c (main): Fix Coverity 1024225 "Untrusted value 207 as argument". 208 (main): Fix Coverity 1024678 "Unchecked return value from 209 library". 210 (main): Fix Coverity 1024679 "Unchecked return value from 211 library". 212 (main): Fix Coverity 1214160 "Ignoring number of bytes read". 213 214 * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix 215 Coverity 298615 "Resource leak". 216 217 * tools/tiffcp.c: Fix Coverity 1024306, 1024307, 1024308, 1024309 218 "Resource leak". 219 220 * tools/tiffsplit.c (cpTiles): Fix Coverity 1024304 "Resource 221 leak". 222 (cpStrips): Fix Coverity 1024305 "Resource leak". 223 2242015-05-27 Bob Friesenhahn <[email protected]> 225 226 * tools/ras2tiff.c: Fix Sun Raster header definition to be safe 227 for 64-bit systems. Add some header validations. Should fix many 228 Coverity issues. 229 (main): Fix Coverity 1301206: "Integer handling issues (BAD_SHIFT)". 230 (main): Quiet Coverity 1024223 "Untrusted value as argument". 231 232 * tools/tiffmedian.c (GetInputLine): Fix Coverity 1024795 "Nesting 233 level does not match indentation". 234 (get_histogram): Quiet Coverity 1024386 "Out-of-bounds read". 235 This was a benign mis-diagnosis but added code to enforce against 236 buffer overflow. 237 238 * tools/tiffcrop.c (ROTATE_ANY): Fix Coverity 1294542 "Logical 239 vs. bitwise operator". 240 (readContigStripsIntoBuffer): Fix Coverity 1024545 "Division or 241 modulo by zero". 242 (readContigTilesIntoBuffer): Fix Coverity 1024586 "Logically dead 243 code". 244 (writeSingleSection): Fix Coverity 1024796 "Nesting level does not 245 match indentation". 246 (writeCroppedImage): Fix Coverity 1024797 "Nesting level does not 247 match indentation". 248 (loadImage): Fix Coverity 1299741 "Dereference before null check". 249 (loadImage): Fix Coverity 1299740 "Out-of-bounds write". 250 2512015-03-02 Even Rouault <[email protected]> 252 253 * tools/tiffdither.c: check memory allocations to avoid writing to 254 NULL pointer. Also check multiplication overflow. Fixes #2501, 255 CVE-2014-8128. Derived from patch by Petr Gajdos. 256 2572015-01-26 Even Rouault <[email protected]> 258 259 * add html/v4.0.4beta.html under version control 260 * HOWTO-RELEASE: write that cvs add html/vX.X.html must be used 261 2622015-01-26 Even Rouault <[email protected]> 263 264 * libtiff 4.0.4beta released 265 2662015-01-26 Even Rouault <[email protected]> 267 268 * automake: updated to 1.15 269 * libtool: updated to 2.4.5 270 2712015-01-22 Even Rouault <[email protected]> 272 273 * tools/tiff2pdf.c: Fix two crashes (oCERT-2014-013) 274 2752015-01-05 Frank Warmerdam <[email protected]> 276 277 * html/bugs.html: remove note about needing to email the tiff mailing 278 list administrator about being approved for membership, this appears 279 not to be true. 280 2812015-01-05 Olivier Paquet <[email protected]> 282 283 * tools/tiff2pdf.c: Fixed unsigned integer addition overflow detection. 284 2852015-01-03 Even Rouault <[email protected]> 286 287 * libtiff/tif_dirread.c: in TIFFCheckDirOffset(), avoid uint16 overflow 288 when reading more than 65535 directories, and effectively error out when 289 reaching that limit. 290 2912014-12-29 Even Rouault <[email protected]> 292 293 * libtiff/tif_jpeg.c: in JPEGFixupTags(), recognize SOF2, SOF9 and SOF10 294 markers to avoid emitting a warning (even if, according to the TechNote, 295 there are admitedly unusual/not recommended or even forbidden variants, but 296 they do work well with libjpeg for SOF2, and with libjpeg-turbo for SOF2, 297 SOF9 and SOF10). 298 Define in_color_space and input_components to the right values in 299 JPEGSetupEncode(), before calling jpeg_set_defaults(), as specified by 300 libjpeg API documentation, so as to be compatible with mozjpeg library. 301 Note: the default settings of mozjpeg will produce progressive scans, which 302 is forbidden by the TechNote. 303 3042014-12-29 Even Rouault <[email protected]> 305 306 * libtiff/tif_getimage.c: move test on vertical value of YCbCr subsampling. 307 to avoid buffer leak (fix previous fix, found by Coverity scan) 308 3092014-12-29 Even Rouault <[email protected]> 310 311 * libtiff/tif_next.c: add new tests to check that we don't read outside of 312 the compressed input stream buffer. 313 314 * libtiff/tif_getimage.c: in OJPEG case, fix checks on strile width/height 315 in the putcontig8bitYCbCr42tile, putcontig8bitYCbCr41tile and 316 putcontig8bitYCbCr21tile cases. 317 3182014-12-27 Even Rouault <[email protected]> 319 320 * libtiff/tif_dir.c: in TIFFDefaultDirectory(), reset any already existing 321 extented tags installed by user code through the extender mechaninm before 322 calling the extender callback (GDAL #5054) 323 3242014-12-26 Bob Friesenhahn <[email protected]> 325 326 * tools/tiffcrop.c: Fix warnings about variables set but not used. 327 328 * contrib/iptcutil/iptcutil.c: Fix warnings about variables set 329 but not used. 330 331 * tools/tiffgt.c: Fix warnings about unused parameters. 332 333 * libtiff/tif_stream.cxx: Fix warnings about unused parameters. 334 3352014-12-25 Even Rouault <[email protected]> 336 337 * libtiff/tif_getimage.c, libtiff/tif_ojpeg.c, libtiff/tif_zip.c: fix 338 various typos found by Debian lintian tool (GDAL #5756) 339 3402014-12-24 Even Rouault <[email protected]> 341 342 * libtiff/tif_getimage.c: avoid divide by zero on invalid YCbCr subsampling. 343 http://bugzilla.maptools.org/show_bug.cgi?id=2235 344 3452014-12-24 Even Rouault <[email protected]> 346 347 * tools/tiff2pdf.c: fix buffer overflow on some YCbCr JPEG compressed images. 348 http://bugzilla.maptools.org/show_bug.cgi?id=2445 349 3502014-12-24 Even Rouault <[email protected]> 351 352 * tools/tiff2pdf.c: fix buffer overflow on YCbCr JPEG compressed image. 353 Derived from patch by Petr Gajdos, 354 http://bugzilla.maptools.org/show_bug.cgi?id=2443 355 3562014-12-23 Even Rouault <[email protected]> 357 358 * libtiff/tif_dirread.c: In EstimateStripByteCounts(), check return code 359 of _TIFFFillStriles(). This solves crashing bug on corrupted 360 images generated by afl. 361 3622014-12-23 Even Rouault <[email protected]> 363 364 * libtiff/tif_read.c: fix several invalid comparisons of a uint64 value with 365 <= 0 by casting it to int64 first. This solves crashing bug on corrupted 366 images generated by afl. 367 3682014-12-21 Bob Friesenhahn <[email protected]> 369 370 * tools/tiffdump.c: Guard against arithmetic overflow when 371 calculating allocation buffer sizes. 372 3732014-12-21 Even Rouault <[email protected]> 374 375 * tools/tiff2bw.c: when Photometric=RGB, the utility only works if 376 SamplesPerPixel = 3. Enforce that 377 http://bugzilla.maptools.org/show_bug.cgi?id=2485 (CVE-2014-8127) 378 3792014-12-21 Even Rouault <[email protected]> 380 381 * tools/pal2rgb.c, tools/thumbnail.c: fix crash by disabling TIFFTAG_INKNAMES 382 copying. The right fix would be to properly copy it, but not worth the burden 383 for those esoteric utilities. 384 http://bugzilla.maptools.org/show_bug.cgi?id=2484 (CVE-2014-8127) 385 3862014-12-21 Even Rouault <[email protected]> 387 388 * tools/thumbnail.c: fix out-of-buffer write 389 http://bugzilla.maptools.org/show_bug.cgi?id=2489 (CVE-2014-8128) 390 3912014-12-21 Even Rouault <[email protected]> 392 393 * tools/thumbnail.c, tools/tiffcmp.c: only read/write TIFFTAG_GROUP3OPTIONS 394 or TIFFTAG_GROUP4OPTIONS if compression is COMPRESSION_CCITTFAX3 or 395 COMPRESSION_CCITTFAX4 396 http://bugzilla.maptools.org/show_bug.cgi?id=2493 (CVE-2014-8128) 397 3982014-12-21 Even Rouault <[email protected]> 399 400 * libtiff/tif_next.c: check that BitsPerSample = 2. Fixes 401 http://bugzilla.maptools.org/show_bug.cgi?id=2487 (CVE-2014-8129) 402 4032014-12-21 Even Rouault <[email protected]> 404 405 * tools/tiff2pdf.c: check return code of TIFFGetField() when reading 406 TIFFTAG_SAMPLESPERPIXEL 407 4082014-12-21 Even Rouault <[email protected]> 409 410 * tools/tiffcp.c: fix crash when converting YCbCr JPEG-compressed to none. 411 Based on patch by Tomasz Buchert (http://bugzilla.maptools.org/show_bug.cgi?id=2480) 412 Description: fix for Debian bug #741451 413 tiffcp crashes when converting JPEG-encoded TIFF to a different 414 encoding (like none or lzw). For example this will probably fail: 415 tiffcp -c none jpeg_encoded_file.tif output.tif 416 The reason is that when the input file contains JPEG data, 417 the tiffcp code forces conversion to RGB space. However, 418 the output normally inherits YCbCr subsampling parameters 419 from the input, which leads to a smaller working buffer 420 than necessary. The buffer is subsequently overrun inside 421 cpStripToTile() (called from writeBufferToContigTiles). 422 Note that the resulting TIFF file would be scrambled even 423 if tiffcp wouldn't crash, since the output file would contain 424 RGB data intepreted as subsampled YCbCr values. 425 This patch fixes the problem by forcing RGB space on the output 426 TIF if the input is JPEG-encoded and output is *not* JPEG-encoded. 427 Author: Tomasz Buchert <[email protected]> 428 4292014-12-21 Even Rouault <[email protected]> 430 431 Fix various crasher bugs on fuzzed images. 432 * libtiff/tif_dir.c: TIFFSetField(): refuse to set negative values for 433 TIFFTAG_XRESOLUTION and TIFFTAG_YRESOLUTION that cause asserts when writing 434 the directory 435 * libtiff/tif_dirread.c: TIFFReadDirectory(): refuse to read ColorMap or 436 TransferFunction if BitsPerSample has not yet been read, otherwise reading 437 it later will cause user code to crash if BitsPerSample > 1 438 * libtiff/tif_getimage.c: TIFFRGBAImageOK(): return FALSE if LOGLUV with 439 SamplesPerPixel != 3, or if CIELAB with SamplesPerPixel != 3 or BitsPerSample != 8 440 * libtiff/tif_next.c: in the "run mode", use tilewidth for tiled images 441 instead of imagewidth to avoid crash 442 * tools/bmp2tiff.c: fix crash due to int overflow related to input BMP dimensions 443 * tools/tiff2pdf.c: fix crash due to invalid tile count (should likely be checked by 444 libtiff too). Detect invalid settings of BitsPerSample/SamplesPerPixel for CIELAB / ITULAB 445 * tools/tiffcrop.c: fix crash due to invalid TileWidth/TileHeight 446 * tools/tiffdump.c: fix crash due to overflow of entry count. 447 4482014-12-15 Even Rouault <[email protected]> 449 450 * libtiff/tif_jpeg.c: Fix regression introduced on 2010-05-07 that caused 451 all tiles/strips to include quantization tables even when the jpegtablesmode 452 had the JPEGTABLESMODE_QUANT bit set. 453 Also add explicit removal of Huffman tables when jpegtablesmode has the 454 JPEGTABLESMODE_HUFF bit set, which avoids Huffman tables to be emitted in the 455 first tile/strip (only useful in update scenarios. create-only was 456 fine) 457 4582014-12-09 Bob Friesenhahn <[email protected]> 459 460 * tools/tiff2pdf.c: Assure that memory size calculations for 461 _TIFFmalloc() do not overflow the range of tmsize_t. 462 4632014-12-07 Even Rouault <[email protected]> 464 465 * tools/thumbnail.c, tools/tiffcrop.c: "fix" heap read over-run found with 466 Valgrind and Address Sanitizer on test suite 467 4682014-12-07 Bob Friesenhahn <[email protected]> 469 470 * tools/tiff2pdf.c (t2p_read_tiff_init): TIFFTAG_TRANSFERFUNCTION 471 tag can return one channel, with the other two channels set to 472 NULL. The tiff2pdf code was expecting that other two channels 473 were duplicate pointers in the case where there is only one 474 channel. Detect this condition in order to avoid a crash, and 475 presumably perform correctly with just one channel. 476 4772014-12-06 Bob Friesenhahn <[email protected]> 478 479 * tools/tiffdump.c: Fix double-free bug. 480 4812014-11-27 Even Rouault <[email protected]> 482 483 * libtiff/tif_config.vc.h: no longer use "#define snprintf _snprintf" with 484 Visual Studio 2015 aka VC 14 aka MSVC 1900 485 4862014-11-20 Even Rouault <[email protected]> 487 488 * libtiff/tif_lzw.c: prevent potential null dereference of 489 sp->dec_codetab in LZWPreDecode (bug #2459) 490 491 * libtiff/tif_read.c: in TIFFReadBufferSetup(), avoid passing -1 size 492 to TIFFmalloc() if passed user buffer size is 0 (bug #2459) 493 494 * libtiff/tif_ojpeg.c: make Coverity happier (not a bug, #2459) 495 496 * libtiff/tif_dir.c: in _TIFFVGetField() and _TIFFVSetField(), make 497 Coverity happier (not a bug, #2459) 498 499 * libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make Coverity happier 500 (not a bug, #2459) 501 502 * tools/tiff2pdf.c: close PDF file (bug #2479) 503 504 * tools/fax2ps.c: check malloc()/realloc() result (bug #2470) 505 506 * tools/tiffdump.c: detect cycle in TIFF directory chaining (bug #2463) 507 and avoid passing a NULL pointer to read() if seek() failed before (bug #2459) 508 509 * tools/tiffcrop.c: fix segfault if bad value passed to -Z option 510 (bug #2459) and add missing va_end in dump_info (#2459) 511 512 * tools/gif2tif.c: apply patch for CVE-2013-4243 (#2451) 513 5142014-11-20 Even Rouault <[email protected]> 515 * libtiff/tif_jpeg.c: fix segfault in JPEGFixupTagsSubsampling() on 516 corrupted image where tif->tif_dir.td_stripoffset == NULL (bug #2471) 517 5182014-11-20 Even Rouault <[email protected]> 519 * automake: updated to 1.14.1 520 * libtool: updated to 2.4.3 521 * HOWTO-RELEASE: small update about autotools building order 522 5232014-10-20 Olivier Paquet <[email protected]> 524 * tools/tiff2pdf.c: Preserve input file directory order when pages 525 are tagged with the same page number. 526 5272014-08-31 Bob Friesenhahn <[email protected]> 528 529 * libtiff/tif_dirread.c (TIFFReadDirEntryOutputErr): Incorrect 530 count for tag should be a warning rather than an error since 531 errors terminate processing. 532 5332014-06-07 Bob Friesenhahn <[email protected]> 534 535 * tools/tiff2rgba.c (]): Fixed tiff2rgba usage message in that zip 536 was wrongly described. Fix suggested by Miguel Medalha. 537 5382014-05-06 Bob Friesenhahn <[email protected]> 539 540 * libtiff/tif_dirinfo.c (TIFFField) : Fix data type for 541 TIFFTAG_GLOBALPARAMETERSIFD tag. Patch by Steve Underwood. 542 Reviewed and forwarded by Lee Howard. 543 5442013-11-30 Frank Warmerdam <[email protected]> 545 546 * libtiff/tif_dir.c: fix last fix for TIFFNumberOfDirectories() 547 5482013-10-21 Frank Warmerdam <[email protected]> 549 550 * libtiff/tif_dir.c: generate error in case of directory count 551 overflow. 552 5532013-10-01 Frank Warmerdam <[email protected]> 554 555 * libtiff/tiff.h, libtiff/tif_dirinfo.c: add definitions for 556 TIFF/EP CFARepeatPatternDim and CFAPattern tags (bug #2457) 557 5582013-09-12 Bob Friesenhahn <[email protected]> 559 560 * libtiff/tif_dir.c (TIFFAdvanceDirectory): If nextdir is found to 561 be defective, then set it to zero before returning error in order 562 to terminate processing of truncated TIFF. Issue found and fix 563 suggested by Richard Nolde. 564 5652013-08-14 Frank Warmerdam <[email protected]> 566 567 * tools/gif2tiff.c: fix possible OOB write (#2452, CVE-2013-4244) 568 5692013-08-13 Frank Warmerdam <[email protected]> 570 571 * tools/gif2tiff.c: Be more careful about corrupt or 572 hostile input files (#2450, CVE-2013-4231) 573 574 * tools/tiff2pdf.c: terminate after failure of allocating 575 ycbcr buffer (bug #2449, CVE-2013-4232) 576 5772013-07-09 Frank Warmerdam <[email protected]> 578 579 * tools/tiffinfo.c: Default various values fetched with 580 TIFFGetField() to avoid being uninitialized. 581 5822013-05-02 Tom Lane <[email protected]> 583 584 * tools/tiff2pdf.c: Rewrite JPEG marker parsing in 585 t2p_process_jpeg_strip to be at least marginally competent. The 586 approach is still fundamentally flawed, but at least now it won't 587 stomp all over memory when given bogus input. Fixes CVE-2013-1960. 588 5892013-05-02 Tom Lane <[email protected]> 590 591 * contrib/dbs/xtiff/xtiff.c, libtiff/tif_codec.c, 592 libtiff/tif_dirinfo.c, tools/rgb2ycbcr.c, tools/tiff2bw.c, 593 tools/tiff2pdf.c, tools/tiff2ps.c, tools/tiffcrop.c, 594 tools/tiffdither.c: Enlarge some fixed-size buffers that weren't 595 large enough, and eliminate substantially all uses of sprintf(buf, 596 ...) in favor of using snprintf(buf, sizeof(buf), ...), so as to 597 protect against overflow of fixed-size buffers. This responds in 598 particular to CVE-2013-1961 concerning overflow in tiff2pdf.c's 599 t2p_write_pdf_page(), but in general it seems like a good idea to 600 deprecate use of sprintf(). 601 6022013-03-29 Bob Friesenhahn <[email protected]> 603 604 * configure.ac: Applied patch by Brad Smith to improve pkg-config 605 static linking by adding -lm to Libs.private when needed. 606 6072013-03-05 Tom Lane <[email protected]> 608 609 * html/man/tiff2ps.1.html, html/man/tiffcp.1.html, 610 html/man/tiffdither.1.html, man/tiff2ps.1, man/tiffcp.1, 611 man/tiffdither.1, tools/tiff2ps.c, tools/tiffcp.c, 612 tools/tiffdither.c: Sync tool usage printouts and man pages with 613 reality (quite a few options had escaped being documented in one 614 or both places). Per an old report from Miroslav Vadkerti. 615 6162013-01-25 Bob Friesenhahn <[email protected]> 617 618 * tools/tiff2ps.c:Fix bug in auto rotate option code. Once a 619 rotation angle was set by the auto rotate check, it was retained 620 for all pages that followed instead ofa being retested for each 621 page. Patch by Richard Nolde. 622 6232013-01-18 Frank Warmerdam <[email protected]> 624 625 * libtiff/tif_write.c: tmsize_t related casting warning fixed for 626 64bit linux. 627 628 * libtiff/tif_read.c: uint64/tmsize_t change for MSVC warnings. 629 http://bugzilla.maptools.org/show_bug.cgi?id=2427 630 6312012-12-20 Tom Lane <[email protected]> 632 633 * test/raw_decode.c: Relax raw_decode's pixel-value checks so that 634 it will pass with more versions of libjpeg. (There are at least 635 three in active use now, and JPEG_LIB_VERSION doesn't tell us 636 enough to uniquely identify expected results.) 637 6382012-12-12 Tom Lane <[email protected]> 639 640 * libtiff/tif_print.c: Fix TIFFPrintDirectory's handling of 641 field_passcount fields: it had the TIFF_VARIABLE and 642 TIFF_VARIABLE2 cases backwards. 643 6442012-12-10 Tom Lane <[email protected]> 645 646 * tools/ppm2tiff.c: Improve previous patch for CVE-2012-4564: 647 check the linebytes calculation too, get the max() calculation 648 straight, avoid redundant error messages, check for malloc 649 failure. 650 6512012-12-10 Tom Lane <[email protected]> 652 653 * libtiff/tif_pixarlog.c: Improve previous patch for CVE-2012-4447 654 (to enlarge tbuf for possible partial stride at end) so that 655 overflow in the integer addition is detected. Per gripe from 656 Huzaifa Sidhpurwala. 657 6582012-12-03 Bob Friesenhahn <[email protected]> 659 660 * tools/tiffset.c: tiffset now supports a -u option to unset a 661 tag. Patch by Zach Baker. See 662 http://bugzilla.maptools.org/show_bug.cgi?id=2419 663 6642012-11-18 Bob Friesenhahn <[email protected]> 665 666 * automake: Update Automake to 1.12.5 release. 667 668 * libtiff/tif_{unix,vms,win32}.c (_TIFFmalloc): ANSI C does not 669 require malloc() to return NULL pointer if requested allocation 670 size is zero. Assure that _TIFFmalloc does. 671 6722012-11-01 Frank Warmerdam <[email protected]> 673 674 * tools/ppm2tiff.c: avoid zero size buffer vulnerability. 675 CVE-2012-4564 - Thanks to Huzaifa Sidhpurwala of the 676 Red Hat Security Response team for the fix. 677 6782012-10-18 Frank Warmerdam <[email protected]> 679 680 * tif_zip.c: Avoid crash on NULL error messages. 681 6822012-09-22 Bob Friesenhahn <[email protected]> 683 684 * libtiff 4.0.3 released. 685 6862012-09-20 Bob Friesenhahn <[email protected]> 687 688 * Makefile.am: Update to Automake 1.12.4 689 6902012-08-19 Bob Friesenhahn <[email protected]> 691 692 * Makefile.in: Update to Automake 1.12.3 693 694 * libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add 695 some TIFF/FX support in libtiff. Add the tag definitions to 696 tiff.h. Add the related TIFF field definitions to tif_dirinfo.c, 697 and also fixes an error in a comment. Adds the photometric values 698 to tif_print.c, and fixes a bug. These changes are by Steve 699 Underwood. 700 7012012-08-13 Frank Warmerdam <[email protected]> 702 703 * libtiff/tif_write.c: Fix bug rewriting image tiles in a 704 compressed file: http://trac.osgeo.org/gdal/ticket/4771 705 7062012-08-02 Frank Warmerdam <[email protected]> 707 708 * libtiff/tif_dirread.c: report error in case of mismatch value 709 counts for tags (ie. DotRange). 710 7112012-07-26 Tom Lane <[email protected]> 712 713 * libtiff/{tiffio.h, tif_dirinfo.c, libtiff.def}: Add six new 714 functions TIFFFieldTag(), TIFFFieldName(), TIFFFieldDataType(), 715 TIFFFieldPassCount(), TIFFFieldReadCount(), TIFFFieldWriteCount() 716 as external accessors for the opaque type TIFFField. 717 718 * tools/tiffset.c: Make tiffset use the above functions instead of 719 relying on library private headers. 720 7212012-07-19 Tom Lane <[email protected]> 722 723 * tools/tiff2pdf.c: Fix two places where t2p_error didn't get set 724 after a malloc failure. No crash risk AFAICS, but the program 725 might not report exit code 1 as desired. h/t [email protected] 726 7272012-07-18 Tom Lane <[email protected]> 728 729 * tools/tiff2pdf.c: Fail when TIFFSetDirectory() fails. This 730 prevents core dumps or perhaps even arbitrary code execution when 731 processing a corrupt input file (CVE-2012-3401). 732 7332012-07-06 Bob Friesenhahn <[email protected]> 734 735 * test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+. 736 IJG JPEG 7+ uses a different upsampling algorithm which produces 737 different numeric results. 738 739 * libtiff/tif_jpeg.c (JPEGPreDecode): Patch from Even Rouault to 740 work with IJG JPEG 7+. 741 7422012-07-04 Bob Friesenhahn <[email protected]> 743 744 * test/raw_decode.c: Add changes so that test can run with build 745 directory outside of source directory. 746 7472012-07-02 Frank Warmerdam <[email protected]> 748 749 * libtiff/tif_jpeg.c: Fix handling when writing RGBA jpeg compressed 750 imagery (http://trac.osgeo.org/gdal/ticket/4732) 751 7522012-06-20 Frank Warmerdam <[email protected]> 753 754 * libtiff/tif_fax3.c: fix memory initialization of runs, only 755 partly done. 756 757 * libtiff/tif_pixarlog.c: Make sure tbuf is large enough for one 758 full "stride" past the end. 759 7602012-06-19 Frank Warmerdam <[email protected]> 761 762 * libtiff/tif_packbits.c: fix read past end of data buffer. 763 7642012-06-15 Frank Warmerdam <[email protected]> 765 766 * libtiff 4.0.2 released. 767 768 * tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable 769 warnings with clang. 770 7712012-06-15 Tom Lane <[email protected]> 772 773 * tools/tiff2pdf.c: Defend against integer overflows while 774 calculating required buffer sizes (CVE-2012-2113). 775 7762012-06-12 Frank Warmerdam <[email protected]> 777 778 * libtiff/tif_print.c: Be careful about printing corrupt inknames. 779 780 * libtiff/tif_fax3.c: Ensure runs array is initialized to zeros. 781 7822012-06-07 Frank Warmerdam <[email protected]> 783 784 * libtiff/tif_print.c: avoid pretty printing other fields when 785 we don't have the proper amount and type of data or if the field 786 is actually autodefined. 787 7882012-06-05 Frank Warmerdam <[email protected]> 789 790 * libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal 791 ycbcrsubsampling values result in a runtime error, not just an 792 assertion. 793 794 * tests/custom_dir.c: Add testing of EXIF and custom directory 795 reading and writing. 796 797 * libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory() 798 and TIFFCreateEXIFDirectory() functions. 799 800 * libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for 801 PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING. Implement DOTRANGE 802 differently. This is to avoid using special TIFFGetField/TIFFSetField 803 rules for these fields in non-image directories (like EXIF). 804 8052012-06-04 Frank Warmerdam <[email protected]> 806 807 * libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling 808 in JPEGPreDecode(). If a fixup will be done it needs to be done sooner 809 in JPEGFixupTagsSubsampling() or else buffer sized may be wrong. 810 8112012-06-01 Frank Warmerdam <[email protected]> 812 813 * tools/tiffinfo.c: Do not try to read image data in EXIF directories. 814 815 * libtiff/tif_getimage.c: added support for _SEPARATED CMYK images. 816 http://bugzilla.maptools.org/show_bug.cgi?id=2379 817 818 * libtiff/tif_unix.c: use strerror() to return a more specific error message 819 on failed open. 820 http://bugzilla.maptools.org/show_bug.cgi?id=2341 821 822 * libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs. 823 http://bugzilla.maptools.org/show_bug.cgi?id=2386 824 825 * tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support 826 for testing jpeg in tiff image decoding including the "raw" decode interface. 827 8282012-05-31 Frank Warmerdam <[email protected]> 829 830 * libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in 831 JPEGDecodeRaw() - mostly likely to occur when there is confusion about 832 sampling values. 833 834 * libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed. 835 836 * libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval. 837 http://bugzilla.maptools.org/show_bug.cgi?id=2398 838 8392012-05-29 Frank Warmerdam <[email protected]> 840 841 * libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories, 842 like EXIF directories. This fixes problems like a tag "320" existing in a custom directory getting 843 processed as if it were a colormap when it isn't really. Damn the wide variety of argument formulations 844 to get/set functions for different tags! 845 846 * libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata 847 is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag. 848 8492012-05-24 Frank Warmerdam <[email protected]> 850 851 * libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward 852 accumulate" and overwrite the end by one word in at least some cases. 853 8542012-05-23 Frank Warmerdam <[email protected]> 855 856 * libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs. 857 858 * tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files. 859 860 * libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on 861 the same image. 862 863 * libtiff/tif_ojpeg.c: make things more resilient in the face of files without 864 stripbytecounts or stripoffsets or where loading these fails. 865 866 * libtiff/tif_print.c: be careful about whether min/max values are singular 867 or one per sample. 868 869 * libtiff/tif_print.c: Avoid confusion about count size when printing custom fields. 870 May affect things like ISOSpeedRatings. 871 872 * libtiff/tif_dir.c: avoid one byte past end of ink names reading 873 in some cases. 874 8752012-05-19 Bob Friesenhahn <[email protected]> 876 877 * man/TIFFGetField.3tiff: Correct the 'count' field type in the 878 example for how to retreive the value of unsupported tags. 879 8802012-03-30 Frank Warmerdam <[email protected]> 881 882 * tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173) 883 care of Tom Lane @ Red Hat. 884 8852012-02-18 Bob Friesenhahn <[email protected]> 886 887 * libtiff 4.0.1 released. 888 889 * Update automake used to 1.11.3. 890 891 * libtiff/tiffio.h: Use double-underbar syntax in GCC printf 892 attribute specification to lessen the risk of accidental macro 893 substitution. Patch from Vincent Torri. 894 8952012-01-31 Frank Warmerdam <[email protected]> 896 897 * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around 898 assumption tag fetching is always successful. 899 900 * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL. 901 9022012-01-22 Bob Friesenhahn <[email protected]> 903 904 * configure.ac: Add support for using library symbol versioning on 905 ELF systems with the GNU linker. Support is enabled via 906 --enable-ld-version-script. Disabled by default for now until 907 there is a decision for how to deploy a libtiff with versioned 908 symbols after libtiff 4.0.0 was already released. 909 9102011-12-22 Bob Friesenhahn <[email protected]> 911 912 * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in 913 914 tif_win32.c. Patch by Edward Lam. 915 916 * configure.ac: Add libtiff private dependency on -llzma for 917 pkg-config. Patch by Mark Brand. 918 Updated Automake to 1.11.2. 919 9202011-12-21 Bob Friesenhahn <[email protected]> 921 922 * libtiff 4.0.0 released. 923 9242011-12-08 Frank Warmerdam <[email protected]> 925 926 * libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking 927 of _TIFFFillStriles() results (#gdal 4372) 928 9292011-12-07 Frank Warmerdam <[email protected]> 930 931 * libtiff/tif_dirread.c: fixes to deal with invalid files where 932 _TIFFFillStriles() fails, and we try to chop up strips (gdal #4372) 933 934 * libtiff/tif_dirread.c: fix error reporting when there is no 935 tag information struct and name (gdal #4373) 936 9372011-10-22 Bob Friesenhahn <[email protected]> 938 939 * Update GNU libtool to 2.4.2. 940 941 * tools/tiffsplit.c (tiffcp): TIFFGetField count field should be 942 uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe 943 Deroulers. 944 9452011-06-21 Frank Warmerdam <[email protected]> 946 947 * libtiff/libtiff.def: Restore TIFFMergeFieldInfo. 948 9492011-05-31 Jim Meyering <[email protected]> 950 951 * libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also 952 upon failure to allocate "resizeddata". 953 * tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for 954 allocation failure, not before. 955 * libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path 956 * tools/rgb2ycbcr.c (cvtRaster): unchecked malloc 957 * libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark 958 NULL-deref and possible overflow 959 * tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written" 960 * libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration 961 and set of otherwise unused local, data_is_empty. 962 * libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]: 963 Diagnose out-of-memory failure and return 0 rather than 964 dereferencing NULL. 965 9662011-05-24 Frank Warmerdam <[email protected]> 967 968 * libtiff/tif_dirread.c: produce special error message for zero tag 969 directories instead of error out on the malloc(0) failure. 970 9712011-05-16 Frank Warmerdam <[email protected]> 972 973 * libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and 974 related declarations as they are in active use by libraries 975 such as libgeotiff, and work just fine. (#2315) 976 9772011-04-20 Frank Warmerdam <[email protected]> 978 979 * libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete 980 TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API. 981 http://bugzilla.maptools.org/show_bug.cgi?id=2315 982 983 * libtiff/libtiff.def: add some missing (64bit) APIs. 984 http://bugzilla.maptools.org/show_bug.cgi?id=2316 985 9862011-04-09 Bob Friesenhahn <[email protected]> 987 988 * libtiff 4.0.0beta7 released. 989 9902011-04-09 Bob Friesenhahn <[email protected]> 991 992 * configure.ac: Should use AC_CANONICAL_HOST since host specifies 993 the run-time target whereas target is used to specify the final 994 output target if the package is a build tool (like a compiler), 995 which libtiff is not. Resolves libtiff bug 2307 "Use 996 AC_CANONICAL_HOST macro". 997 9982011-04-02 Bob Friesenhahn <[email protected]> 999 1000 * configure.ac: Support configuring TIFF_INT64_FORMAT and 1001 TIFF_UINT64_FORMAT appropriately for MinGW32. 1002 1003 * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32 1004 printf conventions for 64-bit types because it uses the WIN32 CRT. 1005 1006 * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c, 1007 tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32 1008 printf conventions for 64-bit types because it uses the WIN32 CRT. 1009 1010 * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not 1011 understood by WIN32 CRT. 1012 1013 * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC. 1014 1015 * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since 1016 it is much more portable. Tmpfile is included in ISO/IEC 1017 9899:1990 and the WIN32 CRT. 1018 10192011-03-26 Frank Warmerdam <[email protected]> 1020 1021 * tools/tiffset.c: add -d and -sd switches to allow operation on 1022 a particular directory, not just the first (jef). 1023 10242011-03-21 Frank Warmerdam <[email protected]> 1025 1026 * libtiff/tif_thunder.c: Correct potential buffer overflow with 1027 thunder encoded files with wrong bitspersample set. The libtiff 1028 development team would like to thank Marin Barbella and TippingPoint's 1029 Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004, 1030 CVE-2011-1167). 1031 http://bugzilla.maptools.org/show_bug.cgi?id=2300 1032 10332011-03-10 Frank Warmerdam <[email protected]> 1034 1035 * libtiff/tif_fax3.h: Fix to last change allowing zero length 1036 runs at the start of a scanline - needed for legal cases. 1037 10382011-03-02 Frank Warmerdam <[email protected]> 1039 1040 * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 1041 a move left. Without this, a malicious input file can generate an 1042 indefinitely large series of runs without a0 ever reaching the right 1043 margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192. 1044 This is a modified version of a patch proposed by Drew Yao of Apple 1045 Product Security. It adds an unexpected() report, and disallows the 1046 equality case, since emitting a run without increasing a0 still allows 1047 buffer overrun. 1048 10492011-02-23 Frank Warmerdam <[email protected]> 1050 1051 * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296) 1052 1053 * tools/tiff2rgba.c: close source file on error to make leak 1054 detection easier. 1055 1056 * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails. 1057 1058 http://bugzilla.maptools.org/show_bug.cgi?id=2295 1059 10602011-02-22 Frank Warmerdam <[email protected]> 1061 1062 * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ 1063 _SUPPORT) 1064 10652011-02-18 Frank Warmerdam <[email protected]> 1066 1067 * configure.ac, configure: Added support for --enable-chunky-strip-read 1068 configure option to enable the experimental feature from a couple 1069 months ago for reading big strips in chunks. 1070 1071 * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 1072 tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c: 1073 Implement optional support for deferring the load of strip/tile 1074 offset and size tags for optimized scanning of directories. Enabled 1075 with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD 1076 #define in tif_config.h). 1077 10782011-02-11 Frank Warmerdam <[email protected]> 1079 1080 * libtiff/tif_print.c: remove unused variable. 1081 10822011-02-09 Frank Warmerdam <[email protected]> 1083 1084 * libtiff/tif_win32.c: avoid error/warning buffer overrun problem 1085 with non-console (popup message) builds on win32. 1086 1087 http://bugzilla.maptools.org/show_bug.cgi?id=2293 1088 10892011-01-24 Olivier Paquet <[email protected]> 1090 1091 * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c, 1092 tif_print.c, tiff.h, tiffiop.h} : Added support for 1093 TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different 1094 values for each sample. Presents the min/max of all samples by default for 1095 compatibility. TIFFSetField/TIFFGetField can be made to handle those tags 1096 as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag. 1097 http://www.asmail.be/msg0055458208.html 1098 10992011-01-06 Frank Warmerdam <[email protected]> 1100 1101 * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 1102 maintained. 1103 1104 * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 1105 for CHUNKY_STRIP_READ_SUPPORT. 1106 1107 * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained 1108 during JPEGPreDecode and JPEGDecode calls. 1109 * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 1110 as compression formats like JPEG keep 16 lines interleaved in a sense 1111 and might need to touch quite a bit of data. 1112 1113 http://trac.osgeo.org/gdal/ticket/3894 1114 11152011-01-03 Lee Howard <[email protected]> 1116 1117 * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images 1118 caused by commit on 2010-12-14. Submitted by e-mail from 1119 Even Rouault <[email protected]> 1120 11212010-12-31 Olivier Paquet <[email protected]> 1122 1123 * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE. 1124 http://bugzilla.maptools.org/show_bug.cgi?id=2266 1125 11262010-12-23 Andrey Kiselev <[email protected]> 1127 1128 * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the 1129 compression level parameter (preset) for Deflate and LZMA encoders, 1130 e.g "-c lzma:p1" or "-c zip:p9". 1131 1132 * libtiff/tif_lzma.c: Properly set the LZMA2 compression level 1133 (preset) in LZMAVSetField(). 1134 11352010-12-18 Bob Friesenhahn <[email protected]> 1136 1137 * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to 1138 Makefile. 1139 11402010-12-14 Andrey Kiselev <[email protected]> 1141 1142 * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h, 1143 tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new 1144 TIFF compression scheme LZMA reserving a new value 34925 for 1145 Compression tag. As per 1146 bug http://bugzilla.maptools.org/show_bug.cgi?id=2221 1147 11482010-12-14 Lee Howard <[email protected]> 1149 1150 * libtiff/tif_dirread.c: tolerate some cases where 1151 FIELD_COLORMAP is missing 1152 http://bugzilla.maptools.org/show_bug.cgi?id=2189 1153 11542010-12-14 Lee Howard <[email protected]> 1155 1156 * libtiff/tif_read.c: change read_ahead to tmsize_t 1157 http://bugzilla.maptools.org/show_bug.cgi?id=2222 1158 11592010-12-14 Lee Howard <[email protected]> 1160 1161 * configure.ac, libtiff/Makefile.am: Build tif_win32.c on 1162 Windows except on Cygwin 1163 http://bugzilla.maptools.org/show_bug.cgi?id=2224 1164 11652010-12-14 Lee Howard <[email protected]> 1166 1167 * tools/gif2tiff.c: fix buffer overrun 1168 http://bugzilla.maptools.org/show_bug.cgi?id=2270 1169 11702010-12-14 Lee Howard <[email protected]> 1171 1172 * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order 1173 to improve compatibility with various viewers 1174 submitted by e-mail from Dwight Kelly <[email protected]> 1175 11762010-12-13 Lee Howard <[email protected]> 1177 1178 * tools/fax2ps.c: be consistent with page-numbering 1179 http://bugzilla.maptools.org/show_bug.cgi?id=2225 1180 11812010-12-13 Lee Howard <[email protected]> 1182 1183 * libtiff/tif_color.c: prevent crash in handling bad TIFFs 1184 resolves CVE-2010-2595 1185 http://bugzilla.maptools.org/show_bug.cgi?id=2208 1186 11872010-12-13 Lee Howard <[email protected]> 1188 1189 * tools/tiffcrop.c: new release by Richard Nolde 1190 http://bugzilla.maptools.org/show_bug.cgi?id=2004 1191 11922010-12-12 Lee Howard <[email protected]> 1193 1194 * tools/tiff2pdf.c: fix colors for images with RGBA 1195 interleaved data 1196 http://bugzilla.maptools.org/show_bug.cgi?id=2250 1197 11982010-12-12 Lee Howard <[email protected]> 1199 1200 * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files 1201 http://bugzilla.maptools.org/show_bug.cgi?id=2164 1202 12032010-12-11 Lee Howard <[email protected]> 1204 1205 * tools/tiff2pdf.c: remove invalid duplication for Lab 1206 http://bugzilla.maptools.org/show_bug.cgi?id=2162 1207 12082010-12-11 Lee Howard <[email protected]> 1209 1210 * libtiff/tif_jpeg.c: fix use of clumplines calculation 1211 http://bugzilla.maptools.org/show_bug.cgi?id=2149 1212 12132010-12-11 Lee Howard <[email protected]> 1214 1215 * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp() 1216 http://bugzilla.maptools.org/show_bug.cgi?id=2118 1217 12182010-12-11 Lee Howard <[email protected]> 1219 1220 * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c, 1221 libtiff/tif_zip.c: fix build errors for VC6 1222 http://bugzilla.maptools.org/show_bug.cgi?id=2105 1223 12242010-12-11 Lee Howard <[email protected]> 1225 1226 * libtiff/tif_stream.cxx: warnings cleanup 1227 http://bugzilla.maptools.org/show_bug.cgi?id=2091 1228 * libtiff/tif_dirread.c: warnings cleanup 1229 http://bugzilla.maptools.org/show_bug.cgi?id=2092 1230 12312010-12-11 Lee Howard <[email protected]> 1232 1233 * tools/tiff2pdf.c: add fill-page option 1234 http://bugzilla.maptools.org/show_bug.cgi?id=2051 1235 12362010-12-11 Lee Howard <[email protected]> 1237 1238 * libtiff/tif_dirread.c: modify warnings 1239 http://bugzilla.maptools.org/show_bug.cgi?id=2016 1240 12412010-12-11 Lee Howard <[email protected]> 1242 1243 * libtiff/tif_ojpeg.c: fix buffer overflow on problem data 1244 http://bugzilla.maptools.org/show_bug.cgi?id=1999 1245 12462010-12-11 Lee Howard <[email protected]> 1247 1248 * tools/tiffinfoce.c: strip byte counts are uint64* now 1249 12502010-12-11 Lee Howard <[email protected]> 1251 1252 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero 1253 or missing byte-count tag 1254 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count 1255 per http://bugzilla.maptools.org/show_bug.cgi?id=1996 1256 12572010-12-08 Lee Howard <[email protected]> 1258 1259 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed 1260 TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994 1261 12622010-12-06 Lee Howard <[email protected]> 1263 1264 * libtiff/tif_open.c: Fix mode check before opening a file. 1265 http://bugzilla.maptools.org/show_bug.cgi?id=1906 1266 12672010-11-27 Bob Friesenhahn <[email protected]> 1268 1269 * libtiff-4.pc.in: Added libtiff pkg-config .pc file support. 1270 Patch by Vincent Torri. 1271 12722010-10-21 Frank Warmerdam <[email protected]> 1273 1274 * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler. 1275 1276 * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf. 1277 1278 * libtiff/libtiff.def: export _TIFFCheckMalloc for tools. 1279 12802010-09-25 Lee Howard <[email protected]> 1281 1282 * tools/tiff2ps.c: improvements and enhancements from Richard Nolde 1283 with additional command line options for Document Title, 1284 Document Creator, and Page Orientation 1285 12862010-07-13 Bob Friesenhahn <[email protected]> 1287 1288 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 1289 potentially unterminated buffer due to using an exceptionally long 1290 file name. 1291 12922010-07-08 Andrey Kiselev <[email protected]> 1293 1294 * tools/tiff2pdf.c: Fixed ID buffer filling in 1295 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 1296 12972010-07-07 Andrey Kiselev <[email protected]> 1298 1299 * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 1300 to expected value as the warning message suggests. As per bug 1301 http://bugzilla.maptools.org/show_bug.cgi?id=1963 1302 13032010-07-06 Andrey Kiselev <[email protected]> 1304 1305 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 1306 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 1307 which should be set by value. 1308 1309 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 1310 and _TIFFFieldWithName() if the tag is not found in the tag table. 1311 This should be normal situation and returned NULL value should be 1312 properly handled by the caller. 1313 13142010-07-02 Andrey Kiselev <[email protected]> 1315 1316 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 1317 integer type conversions. As per bug 1318 http://bugzilla.maptools.org/show_bug.cgi?id=2207 1319 1320 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 1321 WhitePoint tag as per bug 1322 http://bugzilla.maptools.org/show_bug.cgi?id=2042 1323 1324 * libtiff/tif_getimage.c: Check the number of samples per pixel when 1325 working with YCbCr image in PickContigCase(). As per bug 1326 http://bugzilla.maptools.org/show_bug.cgi?id=2216 1327 1328 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 1329 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 1330 we don't need any post-processing. That helps to reset the hook if we 1331 previously set this field to some other value and the hook was 1332 initialized accordingly. As per bug 1333 http://bugzilla.maptools.org/show_bug.cgi?id=2035 1334 13352010-07-01 Andrey Kiselev <[email protected]> 1336 1337 * tools/tiffgt.c: Properly check the raster buffer allocations for 1338 integer overflows. As per bug 1339 http://bugzilla.maptools.org/show_bug.cgi?id=2108 1340 1341 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 1342 upstream. 1343 1344 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 1345 multiply_32() and multiply_64() functions into tif_aux.c file and 1346 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 1347 13482010-06-30 Andrey Kiselev <[email protected]> 1349 1350 * tools/tiff2pdf.c: Better generation of ID field in 1351 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 1352 1353 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 1354 converting JPEG encoded tiles. 1355 1356 * tools/tiff2pdf.c: Better handling of string fields, use static 1357 string buffers instead of dynamically allocated, use strncpy() instead 1358 of strcpy(), control the string lengths. 1359 13602010-06-25 Andrey Kiselev <[email protected]> 1361 1362 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 1363 referencing to uninitialized memory in some cases (e.g. when tile size 1364 set bigger than the image size). 1365 13662010-06-15 Bob Friesenhahn <[email protected]> 1367 1368 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 1369 subsampled data since tiffcrop currently doesn't support it. Fix 1370 JPEG support. 1371 13722010-06-13 Frank Warmerdam <[email protected]> 1373 1374 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 1375 1376 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 1377 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 1378 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 1379 size is larger. Also, there are a bunch of places that try to 1380 memset() a malloc'd buffer before checking for malloc failure, which 1381 would result in core dump if there actually were a failure. (#2211) 1382 13832010-06-11 Bob Friesenhahn <[email protected]> 1384 1385 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 1386 avoid compiler warnings if parameter types are not sign 1387 consistent. 1388 1389 * libtiff 4.0.0alpha6 released. 1390 1391 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 1392 European page size dimensions. Added an option to allow the user 1393 to specify a custom page size on the command line. Fix the case 1394 where a page size specified with a fractional part was being 1395 coerced to an integer by retyping the variables that define the 1396 paper size. 1397 1398 * html/index.html: Update for the 3.9.3 release. 1399 1400 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 1401 YCbCr subsampled data since tiffcp currently doesn't support it. 1402 http://bugzilla.maptools.org/show_bug.cgi?id=2097 1403 1404 * Update libtool to version 2.2.10. 1405 14062010-06-10 Bob Friesenhahn <[email protected]> 1407 1408 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 1409 multiplier is zero. 1410 14112010-06-09 Bob Friesenhahn <[email protected]> 1412 1413 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 1414 CVE-2010-1411 was not complete. 1415 1416 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 1417 multiply two integers. Returns zero if there is an integer 1418 overflow. 1419 1420 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 1421 is reported when reading the input file. 1422 14232010-06-08 Bob Friesenhahn <[email protected]> 1424 1425 * Update libtool to version 2.2.8. 1426 1427 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 1428 buffer due to integer overflow in TIFFroundup() and several other 1429 potential overflows. In conjunction with the fix to TIFFhowmany(), 1430 fixes CVE-2010-1411. 1431 1432 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 1433 result in an integer overflow. This causes TIFFroundup() to also 1434 return zero if there would be an integer overflow. 1435 1436 * contrib: Add an emacs formatting mode footer to all source files 1437 so that emacs can be effectively used. 1438 14392010-06-03 Oliver Chen Feng <[email protected]> 1440 1441 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 1442 file PAGENUMBER value in sequence for users who care the page 1443 sequence, this will also prevent tiff2pdf from creating pdf file from 1444 the merged tiff file with wrong page sequence. 1445 14462010-05-08 Olivier Paquet <[email protected]> 1447 1448 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 1449 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 1450 * libtiff/tif_dirinfo.c: Use correct set_field_type for 1451 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 1452 http://bugzilla.maptools.org/show_bug.cgi?id=2192 1453 14542010-05-07 Frank Warmerdam <[email protected]> 1455 1456 * libtiff/tif_jpeg.c: Ensure that quality is always set in 1457 JPEGPreEncode(), not just when we want to output local tables. 1458 Otherwise the quality used during compression may not be right and 1459 might not match the tables in the tables tag. This bug only occurs 1460 when seeking between directories in the midst of writing blocks. 1461 http://trac.osgeo.org/gdal/ticket/3539 1462 14632010-05-06 Andrey Kiselev <[email protected]> 1464 1465 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 1466 Regenerated from the source. 1467 14682010-05-05 Olivier Paquet <[email protected]> 1469 1470 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 1471 had stopped working. Also made it always print 6 floats instead of 1472 2*SamplesPerPixel. 1473 http://bugzilla.maptools.org/show_bug.cgi?id=2191 1474 http://bugzilla.maptools.org/show_bug.cgi?id=2186 1475 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 1476 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 1477 14782010-05-05 Frank Warmerdam <[email protected]> 1479 1480 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 1481 if the jpeg table was written. This is a fix for the last fix on 04-21. 1482 14832010-04-21 Frank Warmerdam <[email protected]> 1484 1485 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 1486 JPEGSetupEncode() is called if the tables already seem to be 1487 established. This prevents spurious updates and rewriting of 1488 directories with jpegtables when doing updates to existing images. 1489 http://trac.osgeo.org/gdal/ticket/3539 1490 14912010-04-20 Olivier Paquet <[email protected]> 1492 1493 * libtiff/tif_dirinfo.c: Use correct set_field_type for 1494 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 1495 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 1496 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 1497 http://bugzilla.maptools.org/show_bug.cgi?id=2139 1498 14992010-04-10 Bob Friesenhahn <[email protected]> 1500 1501 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 1502 when the tag count value is zero. Error handling is still a 1503 regression since in 3.9.2, empty tags are skipped (with a warning) 1504 rather than returning a hard error and refusing to read the file. 1505 1506 * tools/ppm2tiff.c (main): While case for parsing comment line 1507 requires extra parenthesis to work as expected. Reported by 1508 Thomas Sinclair. 1509 15102010-04-02 Frank Warmerdam <[email protected]> 1511 1512 * libtiff/tif_read.c (primarily): Add support for 1513 CHUNKY_STRIP_READ_SUPPORT where large strips are 1514 read in chunks for applications using TIFFReadScanline(). 1515 This is intended to make it more practical work with very 1516 large compressed one-strip files. Feature is off by default. 1517 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 1518 http://trac.osgeo.org/gdal/ticket/3514 1519 15202010-03-31 Frank Warmerdam <[email protected]> 1521 1522 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 1523 directories so previously placed directories will be migrated to 1524 the end of file if needed. 1525 15262010-03-30 Frank Warmerdam <[email protected]> 1527 1528 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 1529 to support operating on strips/tiles of more than 256MB. 1530 http://trac.osgeo.org/gdal/ticket/3512 1531 15322010-03-10 Bob Friesenhahn <[email protected]> 1533 1534 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 1535 that it is clearly a memory allocation error message, and also 1536 includes the size of the allocation request. 1537 15382010-02-22 Lee Howard <[email protected]> 1539 1540 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 1541 the JPEG TIFF as is is not required in order to prevent it from 1542 being unused and filled with invalid data. (Leave it to be 1543 generated by later activity.) 1544 http://bugzilla.maptools.org/show_bug.cgi?id=2135 1545 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 1546 data rather than skipping them. This fixes the ability to view in 1547 Acrobat Reader, Evince, and Ghostscript. 1548 http://bugzilla.maptools.org/show_bug.cgi?id=2135 1549 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 1550 strips. 1551 http://bugzilla.maptools.org/show_bug.cgi?id=2029 1552 15532009-12-03 Frank Warmerdam <[email protected]> 1554 1555 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 1556 Made so that when working with downsampled images a stub function 1557 reporting an error is used for tif_decoderow. We cannot meaningfully 1558 support reading scanlines in this situation. (#1936) 1559 1560 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 1561 resetting of the upsampling values (gdal:#3259). 1562 http://bugzilla.maptools.org/show_bug.cgi?id=1936 1563 15642009-11-30 Frank Warmerdam <[email protected]> 1565 1566 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 1567 tools/ras2tiff.c: Fix resource leaks on error. 1568 http://bugzilla.maptools.org/show_bug.cgi?id=2121 1569 1570 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 1571 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 1572 of as a custom(generic) field to avoid a potential reentrancy problem. 1573 http://bugzilla.maptools.org/show_bug.cgi?id=2125 1574 1575 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 1576 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 1577 const, and display_sRGB static and const. 1578 http://bugzilla.maptools.org/show_bug.cgi?id=2124 1579 15802009-11-04 Bob Friesenhahn <[email protected]> 1581 1582 * libtiff 4.0.0alpha5 released. 1583 15842009-11-03 Bob Friesenhahn <[email protected]> 1585 1586 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 1587 version has undergone substantial testing with arbitrary sample 1588 bit depths. Also eliminates GCC compilation warnings. 1589 15902009-11-02 Bob Friesenhahn <[email protected]> 1591 1592 * port/libport.h: Add extern declarations for getopt standard 1593 globals. 1594 15952009-10-31 Bob Friesenhahn <[email protected]> 1596 1597 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 1598 noticed in 64-bit build of libtiff with Visual Studio 2005. 1599 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 1600 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 1601 1602 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 1603 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 1604 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 1605 http://bugzilla.maptools.org/show_bug.cgi?id=2068 1606 16072009-10-29 Bob Friesenhahn <[email protected]> 1608 1609 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 1610 pointer" warnings. 1611 16122009-10-28 Bob Friesenhahn <[email protected]> 1613 1614 * html/tools.html: Add manual page links, and a summary 1615 description of tiffcrop. 1616 16172009-10-07 Bob Friesenhahn <[email protected]> 1618 1619 * configure.ac: x86_64 should use the same fill order as i386. 1620 16212009-09-24 Bob Friesenhahn <[email protected]> 1622 1623 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 1624 Nolde. Major updates to add significant functionality for reading 1625 and writing tile based images with bit depths not a multiple of 8 1626 which cannot be handled by tiffcp. 1627 16282009-09-03 Bob Friesenhahn <[email protected]> 1629 1630 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 1631 do_fancy_upsampling=FALSE in order to read raw data. Resolves 1632 "Bug 2090 - OJPEG crash with libjpeg v7". 1633 http://bugzilla.maptools.org/show_bug.cgi?id=2090 1634 16352009-09-03 Frank Warmerdam <[email protected]> 1636 1637 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 1638 interface when stoponerror is set. 1639 http://bugzilla.maptools.org/show_bug.cgi?id=2071 1640 16412009-08-30 Bob Friesenhahn <[email protected]> 1642 1643 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 1644 fix build with gcc when using the "-Wformat 1645 -Werror=format-security" flags. 1646 16472009-08-29 Bob Friesenhahn <[email protected]> 1648 1649 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 1650 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 1651 utilities tests. 1652 16532009-08-28 Bob Friesenhahn <[email protected]> 1654 1655 * tools/tiffinfo.c: tiffinfo should return error status to the 1656 caller. Register a private error callback to accomplish that. 1657 1658 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 1659 PNM formats so that we will be able to test more of the tools. 1660 While adding these test images I notice that bmp2tiff and gif2tiff 1661 only support ancient versions of their respective formats. 1662 16632009-08-27 Bob Friesenhahn <[email protected]> 1664 1665 * libtiff 4.0.0alpha4 released. 1666 1667 * HOWTO-RELEASE: Improved release instructions. 1668 16692009-08-24 Bob Friesenhahn <[email protected]> 1670 1671 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 1672 fixes for "Bug 2023 - nroff errors in manual pages". 1673 http://bugzilla.maptools.org/show_bug.cgi?id=2023 1674 1675 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 1676 CVE-2009-2347 libtiff: integer overflows in various inter-color 1677 space conversion tools". 1678 http://bugzilla.maptools.org/show_bug.cgi?id=2079 1679 1680 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 1681 Berkenbilt for "Bug 2024 - possible null pointer dereference with 1682 one-line fix". 1683 http://bugzilla.maptools.org/show_bug.cgi?id=2024 1684 1685 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 1686 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 1687 segfault after setting tdir_tag = IGNORE". 1688 http://bugzilla.maptools.org/show_bug.cgi?id=1895 1689 16902009-08-23 Bob Friesenhahn <[email protected]> 1691 1692 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 1693 tiffcrop.sh into a collection of many specific tests. Re-wrote 1694 all of the existing tests to be based on some simple shell 1695 functions. Make distcheck works again. 1696 1697 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 1698 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 1699 tests under valgrind. 1700 17012009-08-21 Bob Friesenhahn <[email protected]> 1702 1703 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 1704 build. 1705 1706 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 1707 actually activated since it needed to be enabled in this 1708 Makefile.am. Also activated parallel-tests mode since it offers 1709 useful features such as per-test .log files and a summary test 1710 report .log file. 1711 17122009-08-20 Bob Friesenhahn <[email protected]> 1713 1714 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 1715 libtool 2.2.6. Enabled support for silent build rules 1716 (--enable-silent-rules or 'make V=0') and colorized tests. 1717 1718 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 1719 17202009-06-30 Frank Warmerdam <[email protected]> 1721 1722 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 1723 1724 * tools/tiffcp.c: add -c sgilog support. 1725 1726 * libtiff/tif_luv.c: correct return codes from encoderow to be 1727 1 on success instead of zero. 1728 http://bugzilla.maptools.org/show_bug.cgi?id=2069 1729 1730 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 1731 #1085 for a better underflow fix that errors properly. 1732 http://bugzilla.maptools.org/show_bug.cgi?id=2065 1733 http://bugzilla.maptools.org/show_bug.cgi?id=1985 1734 17352009-06-26 Frank Warmerdam <[email protected]> 1736 1737 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 1738 fails on oddly sized 12bit jpeg compressed ycbcr images. 1739 17402009-06-22 Frank Warmerdam <[email protected]> 1741 1742 * libtiff/tif_lzw.c: Fix buffer underflow bug. 1743 http://bugzilla.maptools.org/show_bug.cgi?id=2065 1744 17452009-06-21 Frank Warmerdam <[email protected]> 1746 1747 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 1748 for dual mode 8/12 bit jpeg support. 1749 17502009-06-03 Frank Warmerdam <[email protected]> 1751 1752 * libtiff/tif_write.c: do not override the planar configuration to be 1753 contig for one sample files if planar configuration is already set. 1754 http://bugzilla.maptools.org/show_bug.cgi?id=2057 1755 17562009-06-02 Frank Warmerdam <[email protected]> 1757 1758 * libtiff/libtiff.def: Add TIFFUnsetField. 1759 17602009-05-03 Frank Warmerdam <[email protected]> 1761 1762 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 1763 error reports to use "%s" as format string. 1764 http://trac.osgeo.org/gdal/ticket/2976 1765 17662009-03-12 Frank Warmerdam <[email protected]> 1767 1768 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 1769 for some codecs (#2020). 1770 17712009-02-12 Frank Warmerdam <[email protected]> 1772 1773 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 1774 http://bugzilla.maptools.org/show_bug.cgi?id=2005 1775 17762009-02-09 Frank Warmerdam <[email protected]> 1777 1778 * libtiff/tif_dirread.c: Improve allocation safety when allocated 1779 buffer for large tags. (#1998) Related to (#1993) 1780 17812009-02-06 Frank Warmerdam <[email protected]> 1782 1783 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 1784 test suite should pass. 1785 17862009-02-05 Frank Warmerdam <[email protected]> 1787 1788 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 1789 but at the 2GB boundary to avoid overflow on 32bit systems. 1790 http://bugzilla.maptools.org/show_bug.cgi?id=1993 1791 1792 * libtiff/tif_dirread.c: Remove some assertions that blow due to 1793 corrupt files rather than in response to library internal 1794 inconsistencies. 1795 http://bugzilla.maptools.org/show_bug.cgi?id=1995 1796 http://bugzilla.maptools.org/show_bug.cgi?id=1991 1797 1798 * libtiff/tif_dirread.c: Fixed testing for failed result from 1799 TIFFReadDirectoryFindFieldInfo(). 1800 http://bugzilla.maptools.org/show_bug.cgi?id=1992 1801 18022009-01-23 Frank Warmerdam <[email protected]> 1803 1804 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 1805 http://bugzilla.maptools.org/show_bug.cgi?id=1911 1806 1807 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 1808 1809 http://bugzilla.maptools.org/show_bug.cgi?id=1924 1810 1811 * tools/tiffcrop.c: initialize xres/yres values. 1812 1813 * test/*.sh - default ${srcdir} to local directory. 1814 1815 * test/common.sh - start verbose mode after common settings. 1816 1817 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 1818 avoid type mismatches on different platforms. 1819 http://bugzilla.maptools.org/show_bug.cgi?id=1889 1820 18212009-01-22 Frank Warmerdam <[email protected]> 1822 1823 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 1824 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 1825 1826 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 1827 defined, primarily to reduce prototype warnings on windows. 1828 1829 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 1830 about unused parameters, and uninitialized variables. 1831 18322009-01-21 Bob Friesenhahn <[email protected]> 1833 1834 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 1835 order to trace full execution detail while executing the test suite. 1836 18372009-01-20 Frank Warmerdam <[email protected]> 1838 1839 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 1840 18412009-01-20 Bob Friesenhahn <[email protected]> 1842 1843 * test/Makefile.am (CLEANFILES): Make sure that test output files 1844 are removed by 'make clean' 1845 1846 * Update autotools for 4.0.0 beta3 1847 1848 * 4.0.0 beta3 produced. 1849 18502009-01-12 Bob Friesenhahn <[email protected]> 1851 1852 * test/tiffcrop.sh: New test script for tiffcrop from Richard 1853 Nolde. 1854 1855 * tools/tiff2ps.c: Remove spurious message to stderr. 1856 18572009-01-11 Bob Friesenhahn <[email protected]> 1858 1859 * tools/tiff2ps.c: Incorporated significant functionality update 1860 from Richard Nolde. In particular, support for rotating the image 1861 by 90, 180, 270, and 'auto' has been added. 1862 1863 * man/tiffcrop.1: Incorporated documentation updates from Richard 1864 Nolde. 1865 1866 * tools/tiffcrop.c: Incorporated significant functionality update 1867 from Richard Nolde. 1868 18692008-12-31 Bob Friesenhahn <[email protected]> 1870 1871 * libtiff/tiffio.h: GCC will now validate format specifications 1872 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 1873 TIFFWarningExt() in order to reveal bugs. 1874 1875 * Many fixes throughout to work better as a 64-bit build. 1876 18772008-12-30 Bob Friesenhahn <[email protected]> 1878 1879 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 1880 tags now require 64-bit parameter rather than 32-bit. 1881 1882 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 1883 64-bit values. 1884 1885 * tools/thumbnail.c: Eliminate crash noticed while running test 1886 suite. 1887 18882008-12-29 Bob Friesenhahn <[email protected]> 1889 1890 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 1891 Initialize stack variables to avoid compiler warning. 1892 1893 * tools/tiffinfoce.c (main): Use toff_t for offset type when 1894 retrieving offset of EXIF IFD. 1895 1896 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 1897 TIFFClientOpen() callback and other external function definitions. 1898 1899 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 1900 type now. Fixes crash when dumping files containing an EXIF IFD. 1901 1902 * m4/libtool.m4: Update to libtool 2.2.6. 1903 19042008-12-21 Frank Warmerdam <[email protected]> 1905 1906 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 1907 1908 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 1909 strip for the last partial strip in a jpeg compressed file. 1910 http://bugzilla.maptools.org/show_bug.cgi?id=1981 1911 19122008-10-29 Frank Warmerdam <[email protected]> 1913 1914 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 1915 we take the shortcut to only update the strip/tile offsets in place. 1916 http://trac.osgeo.org/gdal/ticket/2621 1917 19182008-10-21 Andrey Kiselev <[email protected]> 1919 1920 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 1921 the older versions retained). 1922 19232008-10-09 Frank Warmerdam <[email protected]> 1924 1925 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 1926 IPP enabled version of libjpeg from Intel. 1927 http://bugzilla.maptools.org/show_bug.cgi?id=1951 1928 19292008-09-05 Andrey Kiselev <[email protected]> 1930 1931 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 1932 Required for libtiff 4.0. 1933 1934 * tools/tiffsplit.c: Use dynamically allocated array instead of static 1935 when constructing output file names. 1936 19372008-09-03 Andrey Kiselev <[email protected]> 1938 1939 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 1940 doing the filename/path construction. 1941 1942 * tools/tiff2pdf.c: More appropriate format string in 1943 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 1944 1945 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 1946 1947 http://bugzilla.maptools.org/show_bug.cgi?id=1929 1948 1949 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 1950 CVE-2008-2327 security issue. 1951 19522008-09-01 Frank Warmerdam <[email protected]> 1953 1954 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 1955 1956 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 1957 depending on whether the file is bigtiff or classic tiff. 1958 http://bugzilla.maptools.org/show_bug.cgi?id=1917 1959 19602008-08-12 Edward Lam <[email protected]> 1961 1962 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 1963 consistent (__int64) casting when testing if _lseeki64 has 1964 successfully seeked as requested. This is necessary for large 1965 file support to work since off_t is only 32-bit. 1966 19672008-07-29 Frank Warmerdam <[email protected]> 1968 1969 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 1970 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 1971 with control logic to return runtime errors (c/o Even Rouault) (#1927). 1972 19732008-06-17 Frank Warmerdam <[email protected]> 1974 1975 * tools/tiffcrop.c: Fix some portability problems. 1976 1977 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 1978 used in tif_jpeg.c. 1979 1980 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 1981 as TIFFOpen(). 1982 19832008-06-01 Frank Warmerdam <[email protected]> 1984 1985 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 1986 like Sparc/Solaris. 1987 http://bugzilla.maptools.org/show_bug.cgi?id=1892 1988 19892008-05-27 Frank Warmerdam <[email protected]> 1990 1991 * libtiff.def: Add TIFFFindField 1992 http://bugzilla.maptools.org/show_bug.cgi?id=1891 1993 19942008-05-26 Frank Warmerdam <[email protected]> 1995 1996 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 1997 1998 * li2008-04-15 Andrey Kiselev <[email protected]> 1999 2000btiff/tif_win32.c: Replace custom Win32 memory api with generic 2001 POSIX one. No apparent value to use of GlobalAlloc() in the modern 2002 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 2003 2004 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 2005 in windows version (care of Edward Lam). 2006 20072008-05-24 Frank Warmerdam <[email protected]> 2008 2009 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 2010 compression codec codes. 2011 2012 * tif_dirwrite.c: fix potential memory leak. 2013 2014 * tif_dirread.c: Fix unchecked malloc result. 2015 20162008-05-24 Bob Friesenhahn <[email protected]> 2017 2018 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 2019 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 2020 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 2021 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 2022 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 2023 suggestions from Lee Howard posted to the tiff list on 13 Sep 2024 2007. 2025 20262008-05-23 Frank Warmerdam <[email protected]> 2027 2028 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 2029 possible runtime problem reported by coverity. 2030 2031 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 2032 2033 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 2034 http://bugzilla.maptools.org/show_bug.cgi?id=1888 2035 2036 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 2037 2038 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 2039 2040 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 2041 Cleanup scanline allocation to avoid coverity warning. 2042 2043 * tools/thumbnail.c: Check for TIFFOpen() failure. 2044 20452008-05-18 Frank Warmerdam <[email protected]> 2046 2047 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 2048 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 2049 why this is needed. 2050 20512008-05-09 Bob Friesenhahn <[email protected]> 2052 2053 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 2054 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 2055 20562008-04-15 Andrey Kiselev <[email protected]> 2057 2058 * test/: Test suite updated. Everything is passed now. 2059 2060 * libtiff/tif_dirinfo.c: Fixed description of the 2061 TIFFTAG_NUMBEROFINKS tag. 2062 20632008-04-14 Andrey Kiselev <[email protected]> 2064 2065 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 2066 Get rid of some of "dereferencing type-punned" warnings by converting 2067 tdir_offset field of TIFFDirEntry structure into union. 2068 20692008-04-10 Andrey Kiselev <[email protected]> 2070 2071 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 2072 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 2073 from the public interface. Type of its 'count' parameter changed 2074 from uint32 to tmsize_t. 2075 2076 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 2077 of the tiff structure have the size_t type instead of uint32. 2078 20792008-04-09 Andrey Kiselev <[email protected]> 2080 2081 * tools/tiffdump.c: Added support for MSVS 6.0. 2082 2083 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 2084 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 2085 point values on MSVS 6.0 platform. 2086 20872008-03-14 Frank Warmerdam <[email protected]> 2088 2089 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 2090 TIFFReadDirEntryArray() since they are interfering with seemingly 2091 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 2092 20932008-02-09 Joris Van Damme <[email protected]> 2094 2095 * tif_dirread.c: Added handling for the case of number of values for 2096 PageNumber tag different from 2 (previously resulted in an assert 2097 indicating lack of handling and was forgotten about) 2098 20992008-02-01 Frank Warmerdam <[email protected]> 2100 2101 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 2102 the actual jpeg data stream if the first strip/tile has zero size. 2103 This is the case when GDAL creates a new file with zero sizes, closes 2104 and reopens it. 2105 21062008-01-07 Frank Warmerdam <[email protected]> 2107 2108 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 2109 21102008-01-01 Frank Warmerdam <[email protected]> 2111 2112 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 2113 2114 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 2115 targets. 2116 2117 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 2118 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 2119 (x64). 2120 2121 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 2122 and TIFFFieldWithName() now return TIFFField pointers instead of 2123 TIFFFieldInfo pointers. 2124 2125 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 2126 exist. This makes it compile again on Windows 2127 2128 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 2129 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 2130 2131 * test/rewrite_tag.c: New test for TIFFRewriteField(). 2132 21332007-12-31 Frank Warmerdam <[email protected]> 2134 2135 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 2136 rewrites one field "on disk" updating an existing directory 2137 entry. Lots of limitations still... 2138 2139 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 2140 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 2141 the strip offset/size values are dirty but nothing else about the 2142 directory is dirty. In flush handle "just stripmaps dirty" as a 2143 special case that just rewrites these values without otherwise 2144 modifying the directory on disk using TIFFRewriteField(). 2145 2146 We also modify logic so that in update mode the directory is not 2147 marked dirty on read, but only when something is changed. This 2148 means we need to keep track of updates to the stripmap stuff in 2149 TIFFAppendToStrip(). 2150 21512007-12-10 Frank Warmerdam <[email protected]> 2152 2153 * tif_jpeg.c: Improve ability to switch between encoding and decoding 2154 in the jpeg code (gdal bug #2033). 2155 21562007-11-23 Frank Warmerdam <[email protected]> 2157 2158 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 2159 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 2160 rawcp/rawcc buffer are for writing and thus may require flushing. 2161 Necessary to distinguish whether they need to be written to disk when 2162 in mixed read/write mode and doing a mixture of writing followed by 2163 reading. http://trac.osgeo.org/gdal/ticket/1758 2164 21652007-11-23 Andrey Kiselev <[email protected]> 2166 2167 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 2168 from Alexey Chupahin. 2169 21702007-11-02 Frank Warmerdam <[email protected]> 2171 2172 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 2173 establishing if an existing tile can be rewritten to the same location 2174 by comparing the current size to all the other blocks in the same 2175 directory. This is dangerous in many situations and can easily 2176 corrupt a file. (observed in esoteric GDAL situation that's hard to 2177 document). This change involves leaving the stripbytecount[] values 2178 unaltered till TIFFAppendToStrip(). Now we only write a block back 2179 to the same location it used to be at if the new data is the same 2180 size or smaller - otherwise we move it to the end of file. 2181 2182 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 2183 data when writing the directory just because we have BEENWRITING at 2184 some point in the past. This was causing odd junk to be written out 2185 in a tile of data when a single tile had an interleaving of reading 2186 and writing with reading last. (highlighted by gdal 2187 autotest/gcore/tif_write.py test 7. 2188 2189 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 2190 modifying callers buffer. 2191 http://trac.osgeo.org/gdal/ticket/1965 2192 2193 * tif_predict.c/h: more fixes related to last item, keeping a 2194 distinct pfunc for encode and decode cases as these were getting 2195 mixed up sometimes. 2196 http://trac.osgeo.org/gdal/ticket/1948 2197 21982007-11-01 Frank Warmerdam <[email protected]> 2199 2200 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 2201 predictor based encoding and decoding works in read-write update 2202 mode properly. 2203 http://trac.osgeo.org/gdal/ticket/1948 2204 22052007-10-24 Joris Van Damme <[email protected]> 2206 2207 * tif_dirread.c: Fixed problem with bogus file triggering 2208 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 2209 ChopUpSingleUncompressedStrip 2210 22112007-10-22 Joris Van Damme <[email protected]> 2212 2213 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 2214 at best, access violation at worst, when subsampled JPEG compressed imagery 2215 is decoded without the JPEG_COLORMODE feature 2216 22172007-10-11 Frank Warmerdam <[email protected]> 2218 2219 * html/index.html: Update "people responsible" section. 2220 22212007-10-05 Frank Warmerdam <[email protected]> 2222 2223 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 2224 as reported on the mailing list. 2225 22262007-10-01 Joris Van Damme <[email protected]> 2227 2228 * changed some more incorrect %lud printf flags to %lu 2229 22302007-09-29 Joris Van Damme <[email protected]> 2231 2232 * tif_dirread.c: Strip chopping interfered badly with uncompressed 2233 subsampled images because it tried to divide subsampled rowblocks, 2234 leading to all sorts of errors throughout the library for these 2235 images. Fixed by making strip chopping divide in row counts that 2236 are a multiple of vertical subsampling value. 2237 22382007-09-28 Joris Van Damme <[email protected]> 2239 2240 * tif_dirread.c: Logical cast working around compiler warning 2241 2242 * tif_read.c: Correction of some error flags and parameter lists 2243 22442007-09-27 Joris Van Damme <[email protected]> 2245 2246 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 2247 when dealing with large bitspersample values, shutting up purification 2248 tools that warn about truncation, though it remains incorrect and 2249 indicates a conceptual problem there. 2250 2251 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 2252 of first IFD) to proper place because it badly interfered with memory 2253 mapping, resulting in mapping flag even with dummy mapping functions 2254 that returned 0 whilst at the same time the mapping tif_size wasn't 2255 set, thus resulting in continuous incorrect beyond-eof errors. 2256 22572007-09-24 Joris Van Damme <[email protected]> 2258 2259 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 2260 inconsistent use of const in tiffFields and exifFields definition 2261 22622007-09-20 Frank Warmerdam <[email protected]> 2263 2264 * tif_dirwrite.c: Always write tile/strip offsets and sizes 2265 using LONG8 type when output format is BigTIFF. The 2266 TIFFWriteDirectoryTagLongLong8Array() function was restructured 2267 accordingly. 2268 2269 * tif_dirread.c: Improvements to error reporting text in 2270 TIFFFetchDirectory(). 2271 22722007-09-19 Bob Friesenhahn <[email protected]> 2273 2274 * test/images: Added a small collection of test images for use by 2275 test programs and scripts. 2276 * test/tiffinfo.sh: A trivial example test script. 2277 * test/common.sh: Added small script for setting the environment 2278 used by script-based tests. 2279 22802007-08-24 Frank Warmerdam <[email protected]> 2281 2282 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 2283 zero when writing directory contents to preserve the ability to 2284 rewrite directories in place, even in the middle of a directory 2285 chain. 2286 2287 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 2288 definitions that are missing. Existing definitions are silently 2289 ignored. 2290 2291 * tif_dirread.c: Add runtime error for fields for which no definition 2292 is found (in addition to an assert for developers) in 2293 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 2294 prudent. 2295 22962007-08-10 Joris Van Damme <[email protected]> 2297 2298 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 2299 from _TIFFRGBAImage structure to revert unwanted ABI change. 2300 23012007-08-10 Joris Van Damme <[email protected]> 2302 2303 * libtiff/tif_win32.c: use SetFilePointer instead of 2304 SetFilePointerEx, as per bug 2305 2306 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 2307 23082007-07-19 Andrey Kiselev <[email protected]> 2309 2310 * libtiff/tif_stream.cxx: Put all callback functions declarations 2311 inside extern "C" block. 2312 2313 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 2314 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 2315 formatter instead of "%lld" with MSVC compiler. 2316 2317 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 2318 _TIFFUInt64ToDouble() functions. 2319 23202007-07-18 Andrey Kiselev <[email protected]> 2321 2322 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 2323 integer constants. 2324 2325 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 2326 remove tif_config.h/tiffconf.h during cleaning. As per bug 2327 2328 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 2329 2330 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 2331 2332 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 2333 23342007-07-13 Andrey Kiselev <[email protected]> 2335 2336 * libtiff 4.0.0alpha released. 2337 23382007-07-12 Andrey Kiselev <[email protected]> 2339 2340 * tools/tiff2pdf.c: Added missed extern optind as per bug 2341 2342 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 2343 2344 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 2345 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 2346 extending scheme completed. 2347 23482007-07-11 Bob Friesenhahn <[email protected]> 2349 2350 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 2351 use standard C++ library size types and attempt to detect overflow 2352 cases. 2353 23542007-07-08 Andrey Kiselev <[email protected]> 2355 2356 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 2357 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 2358 tag extending scheme. Use the new scheme everywhere. 2359 2360 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 2361 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 2362 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 2363 TIFFFIeldInfo structure replaced with TIFFField structure. 2364 TIFFFieldInfo retained for the backward compatibility. 2365 23662007-07-05 Bob Friesenhahn <[email protected]> 2367 2368 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 2369 defined. 2370 23712007-07-04 Andrey Kiselev <[email protected]> 2372 2373 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 2374 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 2375 removed. 2376 2377 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 2378 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 2379 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 2380 These tags are not codec-specific and relate to image content, so 2381 process them as other normal tags. 2382 2383 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 2384 public tiffio.h to private tif_dir.h. 2385 2386 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 2387 outdated. 2388 23892007-07-03 Andrey Kiselev <[email protected]> 2390 2391 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 2392 tif_win3.c}: Obsoleted portability stuff removed. 2393 2394 * tools/tiff2ps.c: Added support 16-bit images as per bug 2395 2396 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 2397 2398 Patch from William Bader. 2399 2400 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 2401 significant upgrade of the whole utility as per bug 2402 2403 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 2404 2405 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 2406 PDF file using TIFFClientOpen() machinery as it is implemented 2407 by Leon Bottou. 2408 24092007-06-26 Bob Friesenhahn <[email protected]> 2410 2411 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 2412 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 2413 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 2414 allow returning -1 for errors. 2415 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 2416 24172007-06-25 Bob Friesenhahn <[email protected]> 2418 2419 * port/strtoull.c: New porting function in case strtoull() is not 2420 available on the target system. 2421 * configure.ac: Add configure support for determining sized types 2422 in a portable way and performing necessary substitutions in 2423 tif_config.h and tiffconf.h. Updated tiff.h to use the new 2424 definitions. 2425 24262007-04-27 Andrey Kiselev <[email protected]> 2427 2428 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 2429 2430 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 2431 24322007-04-07 Andrey Kiselev <[email protected]> 2433 2434 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 2435 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 2436 tif_predict.c, tif_zip.c}: Finally fix bug 2437 2438 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 2439 2440 by introducing _TIFFMergeFieldInfo() returning integer error status 2441 instead of void in case of problems with field merging (e.g., if the 2442 field with such a tag already registered). TIFFMergeFieldInfo() in 2443 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 2444 check returned value. 2445 24462007-04-07 Frank Warmerdam <[email protected]> 2447 2448 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 2449 blocks in TIFF_DownSample_Subsampled() (bug 1542). 2450 24512007-04-06 Frank Warmerdam <[email protected]> 2452 2453 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 2454 will convert from decompressor to compressor or compress to decompress 2455 if required by the force arguments. This works around a problem in 2456 where the JPEGFixupTestSubsampling() may cause a decompressor to 2457 be setup on a directory when later a compressor is required with the 2458 force flag set. Occurs with the addtiffo program for instance. 2459 24602007-04-06 Andrey Kiselev <[email protected]> 2461 2462 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 2463 functionality from Richard Nolde. As per bug 2464 2465 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 2466 24672007-03-28 Frank Warmerdam <[email protected]> 2468 2469 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 2470 24712007-03-17 Joris Van Damme <[email protected]> 2472 2473 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 2474 24752007-03-07 Joris Van Damme <[email protected]> 2476 2477 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 2478 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 2479 factor. This bug is mentioned in: 2480 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 2481 http://www.asmail.be/msg0054766825.html 2482 24832007-03-07 Joris Van Damme <[email protected]> 2484 2485 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 2486 2487 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 2488 unused arguments by standard C indication for the same 2489 24902007-02-27 Andrey Kiselev <[email protected]> 2491 2492 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 2493 counters in TIFFFetchData(). Should finally fix the issue 2494 2495 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 2496 24972007-02-24 Andrey Kiselev <[email protected]> 2498 2499 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 2500 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 2501 2502 * libtiff/tif_dirread.c: Added special function to handle 2503 SubjectDistance EXIF tag as per bug 2504 2505 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 2506 2507 * tools/tiff2pdf.c: Do not assume inches when the resolution units 2508 do not specified. As per bug 2509 2510 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 2511 2512 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 2513 it was set as infinite. As per bug 2514 2515 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 2516 2517 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 2518 by Richard Nolde. As per bug 2519 2520 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 2521 25222007-02-22 Andrey Kiselev <[email protected]> 2523 2524 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 2525 ExtraSamples == 999 produced by Corel Draw. As per bug 2526 2527 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 2528 2529 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 2530 changed from tsize_t to uint32 to be able to work with data arrays 2531 larger than 2GB. Fixes bug 2532 2533 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 2534 2535 Idea submitted by Matt Hancher. 2536 25372007-01-31 Andrey Kiselev <[email protected]> 2538 2539 * tools/tif2rgba.c: This utility does not work properly on big-endian 2540 architectures. It was fixed including the bug 2541 2542 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 2543 25442007-01-15 Mateusz Loskot <[email protected]> 2545 2546 * Submitted libtiff port for Windows CE platform 2547 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 2548 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 2549 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 2550 functons from tif_win32.c. 2551 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 2552 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 2553 standard header files for Windows CE build. 2554 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 2555 25562006-11-19 Frank Warmerdam <[email protected]> 2557 2558 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 2559 we move a strip. 2560 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 2561 25622006-10-13 Andrey Kiselev <[email protected]> 2563 2564 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 2565 in Gentoo bug (): 2566 2567 http://bugs.gentoo.org/show_bug.cgi?id=142383 2568 2569 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 2570 Though it is still far from the state of being working and useful. 2571 25722006-10-12 Andrey Kiselev <[email protected]> 2573 2574 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 2575 method. 2576 2577 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 2578 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 2579 2580 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 2581 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 2582 2583 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 2584 vulnerabilities, reported in Gentoo bug (): 2585 2586 http://bugs.gentoo.org/show_bug.cgi?id=142383 2587 25882006-09-28 Andrey Kiselev <[email protected]> 2589 2590 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 2591 vulnerabilities, as per Gentoo bug (): 2592 2593 http://bugs.gentoo.org/show_bug.cgi?id=142383 2594 25952006-09-27 Frank Warmerdam <[email protected]> 2596 2597 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 2598 encoding and decoding on the same read-write TIFF handle. The LZW 2599 code can now maintain encode and decode state at the same time. The 2600 ZIP code will switch back and forth as needed. 2601 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 2602 26032006-09-20 Frank Warmerdam <[email protected]> 2604 2605 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 2606 tif_config.vc.h for easier identification by folks using an IDE. 2607 26082006-07-25 Frank Warmerdam <[email protected]> 2609 2610 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 2611 26122006-07-19 Frank Warmerdam <[email protected]> 2613 2614 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 2615 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 2616 to bug report by Peng Gao with black strip at bottom of images. 2617 26182006-07-12 Frank Warmerdam <[email protected]> 2619 2620 * tif_dirwrite.c: make sure to use uint32 for wordcount in 2621 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 2622 It already seems to have been done for other field types. Needed 2623 for "tiffset" on files with geotiff ascii text. 2624 26252006-07-04 Bob Friesenhahn <[email protected]> 2626 2627 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 2628 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 2629 its use does not appear to be required, so use it only when it is 2630 available. 2631 26322006-06-24 Andrey Kiselev <[email protected]> 2633 2634 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 2635 2636 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 2637 function TIFFFetchDirectory() avoiding code duplication in 2638 TIFFReadDirectory() and TIFFReadCustomDirectory(). 2639 26402006-06-19 Frank Warmerdam <[email protected]> 2641 2642 * tools/tiff2pdf.c: Fix handling of -q values. 2643 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 2644 26452006-06-17 Frank Warmerdam <[email protected]> 2646 2647 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 2648 files. Modified TIFFReadDirectory() to not invoke 2649 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 2650 but one of them is zero. 2651 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 2652 26532006-06-08 Andrey Kiselev <[email protected]> 2654 2655 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 2656 checking code in the separate function TIFFCheckDirOffset(). 2657 2658 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 2659 2660 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 2661 2662 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 2663 2664 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 2665 2666 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 2667 2668 * tools/tiff2pdf.c: Fixed buffer overflow condition in 2669 t2p_write_pdf_string() as per bug 2670 2671 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 2672 26732006-06-07 Andrey Kiselev <[email protected]> 2674 2675 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 2676 support for JBIG compression scheme (34661 code) contributed by Lee 2677 Howard. As per bug 2678 2679 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 2680 2681 * configure, configure.ac: OJPEG support enabled by default. 2682 2683 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 2684 26852006-06-03 Bob Friesenhahn <[email protected]> 2686 2687 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 2688 TIFFPrintDirectory(). Joris Van Damme authored the fix. 2689 26902006-04-21 Andrey Kiselev <[email protected]> 2691 2692 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 2693 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 2694 2695 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 2696 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 2697 Added support for OpenVMS by Alexey Chupahin, [email protected]. 2698 26992006-04-20 Andrey Kiselev <[email protected]> 2700 2701 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 2702 Properly set the binary mode for stdin stream as per bug 2703 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 2704 2705 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 2706 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 2707 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 2708 tiffset.1}: Improvements in page formatting as per bug 2709 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 2710 2711 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 2712 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 2713 27142006-04-18 Frank Warmerdam <[email protected]> 2715 2716 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 2717 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 2718 27192006-04-12 Joris Van Damme <[email protected]> 2720 2721 * libtiff/tif_getimage.c: Added support for planarconfig separate 2722 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 2723 27242006-04-11 Joris Van Damme <[email protected]> 2725 2726 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 2727 - Conversion of unassociated alpha to associated alpha now done with 2728 more performant LUT, and calculation more correct 2729 - Conversion of 16bit data to 8bit data now done with 2730 more performant LUT, and calculation more correct 2731 - Bugfix of handling of 16bit RGB with unassociated alpha 2732 27332006-04-11 Joris Van Damme <[email protected]> 2734 2735 * libtiff/tif_getimage.c: 2736 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 2737 buffer for alpha strile and filled it, only to never read it back. 2738 Removed allocation and fill. 2739 - Minor rename of vars in gtTileSeparate and gtStripSeparate 2740 anticipating planned functionality extension 2741 27422006-04-08 Joris Van Damme <[email protected]> 2743 2744 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 2745 and pickTileSeparateCase to PickSeparateCase as both work on strips as 2746 well 2747 2748 * libtiff/tif_getimage.c: moved img->get selection from 2749 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 2750 logical hook for planned functionality extension 2751 27522006-04-08 Joris Van Damme <[email protected]> 2753 2754 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 2755 of inappropriate use of jpeg_abort instead of jpeg_destroy 2756 27572006-04-07 Joris Van Damme <[email protected]> 2758 2759 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 2760 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 2761 on subsampled images - this ought to get sorted when we feel brave 2762 enough to replace TIFFScanlineSize alltogether 2763 2764 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 2765 27662006-04-04 Joris Van Damme <[email protected]> 2767 2768 * libtiff/tiffio.h: added new type tstrile_t 2769 2770 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 2771 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 2772 toff_t* 2773 2774 * libtiff/tif_ojpeg.c: totally new implementation 2775 2776 * libtiff/tif_dirread.c: added several hacks to suit new support of 2777 OJPEG 2778 2779 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 2780 of OJPEG images in favor of tif_getimage.c native handling of 2781 YCbCr and desubsampling 2782 27832006-03-29 Frank Warmerdam <[email protected]> 2784 2785 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 2786 interpretation causes the "upsampled" flag to be recomputed. Fixes 2787 peculiar bug where photometric flag had to be set before jpegcolormode 2788 flag. 2789 27902006-03-25 Joris Van Damme <[email protected]> 2791 2792 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 2793 2794 * libtiff/tif_strip.c: temporarilly added two new versions of 2795 TIFFScanlineSize 2796 - TIFFNewScanlineSize: proposed new version, after all related 2797 issues and side-effects are sorted out 2798 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 2799 This needs further sorting out. 2800 28012006-03-25 Joris Van Damme <[email protected]> 2802 2803 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 2804 of last truncated strip data to TIFFWriteEncodedStrip 2805 28062006-03-25 Joris Van Damme <[email protected]> 2807 2808 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 2809 28102006-03-25 Joris Van Damme <[email protected]> 2811 2812 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 2813 2814 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 2815 2816 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 2817 prepare the path for new tif_ojpeg.c 2818 28192006-03-23 Andrey Kiselev <[email protected]> 2820 2821 * libtiff 3.8.2 released. 2822 2823 * tools/Makefile.am: Use runtime paths linker flags when rpath 2824 option enabled. 2825 28262006-03-21 Andrey Kiselev <[email protected]> 2827 2828 * libtiff/libtiff.def: Added missed exports as per bug 2829 http://bugzilla.remotesensing.org/attachment.cgi?id=337 2830 2831 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 2832 tools/Makefile.vc: Makefiles improvements as per bug 2833 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 2834 2835 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 2836 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 2837 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 2838 2839 * libtiff/tif_strip.c: Take subsampling in account when calculating 2840 TIFFScanlineSize(). 2841 2842 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 2843 28442006-03-17 Andrey Kiselev <[email protected]> 2845 2846 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 2847 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 2848 2849 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 2850 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 2851 28522006-03-16 Andrey Kiselev <[email protected]> 2853 2854 * libtiff/tiffiop.h: Added decalration for 2855 _TIFFSetDefaultCompressionState(). 2856 2857 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 2858 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 2859 codec cleanup methods. As per bug 2860 2861 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 2862 28632006-03-15 Andrey Kiselev <[email protected]> 2864 2865 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 2866 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 2867 2868 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 2869 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 2870 2871 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 2872 removed; move here the STRIP_SIZE_DEFAULT macro definition. 2873 2874 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 2875 macro definition. 2876 2877 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 2878 28792006-03-14 Andrey Kiselev <[email protected]> 2880 2881 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 2882 in TIFFReadDirectory, because it is always set at the start of 2883 function and we allow TIFFs without that tag set. 2884 28852005-03-13 Andrey Kiselev <[email protected]> 2886 2887 * libtiff 3.8.1 released. 2888 28892006-03-07 Andrey Kiselev <[email protected]> 2890 2891 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 2892 function as per bug 2893 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2894 2895 * libtiff/tif_dirread.c: More wise check for integer overflow 2896 condition as per bug 2897 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2898 2899 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 2900 Properly restore setfield/getfield methods in cleanup functions. As 2901 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2902 29032006-03-03 Andrey Kiselev <[email protected]> 2904 2905 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 2906 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 2907 2908 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 2909 TIFFPredictorCleanup() in codec cleanup methods. As per bug 2910 2911 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2912 2913 * libtiff/tif_dirread.c: Fixed integer overflow condition in 2914 TIFFFetchData() function. As per bug 2915 2916 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2917 29182006-03-01 Andrey Kiselev <[email protected]> 2919 2920 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 2921 TIFFSetField() method, not directly. As per bug 2922 2923 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 2924 2925 * tools/ppm2tiff.c: Added support for PBM files as per bug 2926 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 2927 29282006-02-27 Andrey Kiselev <[email protected]> 2929 2930 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 2931 to avoid crash as per bug 2932 2933 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 2934 29352006-02-26 Andrey Kiselev <[email protected]> 2936 2937 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 2938 t2p_sample_rgba_to_rgb() was used in place of each other, that was 2939 resulted in problems with RGBA images with associated alpha. 2940 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 2941 29422006-02-23 Andrey Kiselev <[email protected]> 2943 2944 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 2945 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 2946 2947 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 2948 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 2949 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 2950 2951 * tools/tiff2ps.c: Properly scale all the pages when converting 2952 multipage TIFF with /width/height/center options set. As per bug 2953 2954 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 2955 29562006-02-15 Andrey Kiselev <[email protected]> 2957 2958 * tools/tiff2pdf.c: Do not create output file until all option checks 2959 will be done. As per bug 2960 2961 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 2962 2963 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 2964 list of input files as per bug: 2965 2966 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 2967 29682006-02-09 Andrey Kiselev <[email protected]> 2969 2970 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 2971 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 2972 2973 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 2974 TIFFRGBAImage interface. 2975 2976 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 2977 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 2978 29792006-02-07 Frank Warmerdam <[email protected]> 2980 2981 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 2982 compressed TIFF files, per submission from Dan Cobra. 2983 29842006-02-07 Andrey Kiselev <[email protected]> 2985 2986 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 2987 cast values to avoid warnings. As per bug 2988 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2989 2990 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 2991 appropriate. As per bug 2992 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2993 2994 * libtiff/tif_aux.c: Fixed type of temporary variable in 2995 _TIFFCheckMalloc() as per bug 2996 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2997 29982006-02-06 Andrey Kiselev <[email protected]> 2999 3000 * libtiff/tif_aux.c: Return static array when fetching default 3001 YCbCrCoefficients (another problem, reported a the 3002 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 3003 30042006-02-03 Andrey Kiselev <[email protected]> 3005 3006 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 3007 YCbCrSubsampling and DotRange tags as per bugs 3008 3009 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 3010 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 3011 3012 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 3013 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 3014 3015 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 3016 30172006-01-23 Andrey Kiselev <[email protected]> 3018 3019 * libtool related stuff updated from the 2.1a branch. 3020 30212006-01-11 Frank Warmerdam <[email protected]> 3022 3023 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 3024 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 3025 properly as per bug: 3026 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 3027 30282006-01-09 Bob Friesenhahn <[email protected]> 3029 3030 * configure.ac: Fix with_default_strip_size comparison as reported 3031 by Norihiko Murase. 3032 30332006-01-08 Bob Friesenhahn <[email protected]> 3034 3035 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 3036 incorrectly, tests were not actually testing the uninstalled 3037 libtiff. Now they are. 3038 30392006-01-04 Andrey Kiselev <[email protected]> 3040 3041 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 3042 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 3043 should be uint32 value. 3044 30452006-01-02 Bob Friesenhahn <[email protected]> 3046 3047 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 3048 be used if build directory is not the same as source directory. 3049 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 3050 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 3051 and re-sorted tag names in alphabetical order. 3052 30532005-12-29 Andrey Kiselev <[email protected]> 3054 3055 * libtiff 3.8.0 released. 3056 30572005-12-28 Bob Friesenhahn <[email protected]> 3058 3059 * tools/bmp2tiff.c (main): Fixed warning regarding returning 3060 inconsistent types from a condition. 3061 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 3062 format. 3063 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 3064 30652005-12-28 Joris Van Damme <[email protected]> 3066 3067 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 3068 30692005-12-27 Andrey Kiselev <[email protected]> 3070 3071 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 3072 windows.h, to reduce the compile time. 3073 30742005-12-26 Bob Friesenhahn <[email protected]> 3075 3076 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 3077 30782005-12-26 Andrey Kiselev <[email protected]> 3079 3080 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 3081 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 3082 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 3083 private functions to retrieve FieldInfo arrays. 3084 30852005-12-24 Bob Friesenhahn <[email protected]> 3086 3087 * html/build.html: Added some additional instructions for when 3088 building using MSVC under Windows. Also fixed two HTML syntax 3089 errors and used HTML Tidy to tidy up the HTML syntax and 3090 formatting. 3091 30922005-12-24 Andrey Kiselev <[email protected]> 3093 3094 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 3095 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 3096 StoNits tags custom. 3097 30982005-12-23 Andrey Kiselev <[email protected]> 3099 3100 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 3101 WhitePoint tag custom. 3102 3103 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 3104 31052005-12-23 Joris Van Damme <[email protected]> 3106 3107 * libtiff/tiffio.h: fixed typo that potentially resulted in 3108 redefininition of USE_WIN32_FILEIO 3109 3110 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 3111 calls in core LibTiff. 3112 31132005-12-21 Andrey Kiselev <[email protected]> 3114 3115 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 3116 Photoshop and ICCProfile tags custom. 3117 31182005-12-21 Joris Van Damme <[email protected]> 3119 3120 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 3121 newer code to get context indicator in error handler and still 3122 remain compatible with older code: Done TIFFError calls everywhere 3123 except in tools 3124 31252005-12-20 Andrey Kiselev <[email protected]> 3126 3127 * tools/tiffcp.c: Added many error reporting messages; fixed integer 3128 overflow as per bug 3129 3130 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 3131 31322005-12-16 Frank Warmerdam <[email protected]> 3133 3134 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 3135 YCbCr images in jpeg compressed TIFF files. 3136 31372005-12-14 Andrey Kiselev <[email protected]> 3138 3139 * tools/tiffcp.c: Return non-zero status when reading fails (again). 3140 31412005-12-13 Andrey Kiselev <[email protected]> 3142 3143 * tools/tiffcp.c: Return non-zero status when reading fails. 3144 31452005-12-12 Andrey Kiselev <[email protected]> 3146 3147 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 3148 31492005-12-09 Andrey Kiselev <[email protected]> 3150 3151 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 3152 custom. 3153 3154 * tools/tiffinfo.c: Print EXIF directory contents if exist. 3155 3156 * libtiff/tiff.h: Few EXIF tag numbers added. 3157 3158 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 3159 tiffio.h}: Preliminary support to read custom directories. New 3160 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 3161 31622005-12-07 Andrey Kiselev <[email protected]> 3163 3164 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 3165 More work to implement custom directory read support. 3166 3167 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 3168 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 3169 tags custom. 3170 31712005-12-05 Andrey Kiselev <[email protected]> 3172 3173 * libtiff/tif_dirread.c: One more workaround for broken 3174 StripByteCounts tag. Handle the case when StripByteCounts array filled 3175 with completely wrong values. 3176 31772005-11-30 Andrey Kiselev <[email protected]> 3178 3179 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 3180 in the TIFFOpenW() function as per bug 3181 3182 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 3183 3184 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 3185 functions as per bug 3186 3187 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 3188 31892005-11-20 Frank Warmerdam <[email protected]> 3190 3191 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 3192 for MS MDI format. 3193 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 3194 3195 * .cvsignore: many files added, and a few update according 3196 to suggestion of Brad HArds on tiff mailing list. 3197 31982005-11-03 Frank Warmerdam <[email protected]> 3199 3200 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 3201 public. 3202 32032005-10-31 Andrey Kiselev <[email protected]> 3204 3205 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 3206 as per bug 3207 3208 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 3209 3210 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 3211 as per bug 3212 3213 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 3214 3215 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 3216 problem as per bug 3217 3218 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 3219 3220 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 3221 3222 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 3223 3224 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 3225 ResolutionUnit tags modifiable during write process. As per bug 3226 3227 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 3228 3229 * tools/tiffsplit.c: Copy fax related fields over splitted parts 3230 as per bug 3231 3232 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 3233 32342005-10-21 Frank Warmerdam <[email protected]> 3235 3236 * tif_dirread.c: Don't try and split single strips into "0" strips 3237 in ChopUpSingleUncompressedStrip. This happens in some degenerate 3238 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 3239 32402005-10-20 Joris Van Damme <[email protected]> 3241 3242 * tif_fax3.c: changed 'at scanline ...' style warning/errors 3243 with incorrect use of tif_row, to 'at line ... of 3244 strip/tile ...' style 3245 32462005-10-15 Frank Warmerdam <[email protected]> 3247 3248 * tif_write.c: fixed setting of planarconfig as per bug report 3249 on the mailing list from Joris. 3250 32512005-10-07 Andrey Kiselev <[email protected]> 3252 3253 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 3254 tif_dirread.c}: Make the default strip size configurable via the 3255 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 3256 32572005-09-30 Bob Friesenhahn <[email protected]> 3258 3259 * html/support.html: Fixed link to documentation on Greg Ward's 3260 LogLuv TIFF format. 3261 32622005-09-28 Andrey Kiselev <[email protected]> 3263 3264 * tools/tiffdump.c: Fixed crash when reading malformed tags. 3265 32662005-09-20 Andrey Kiselev <[email protected]> 3267 3268 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 3269 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 3270 32712005-09-12 Andrey Kiselev <[email protected]> 3272 3273 * libtiff 3.7.4 released. 3274 3275 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 3276 from Patrick Welche (all scripts moved in the 'config' and 'm4' 3277 directories). 3278 32792005-09-12 Frank Warmerdam <[email protected]> 3280 3281 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 3282 32832005-09-05 Frank Warmerdam <[email protected]> 3284 3285 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 3286 also set it to NULL to avoid double free when re-setting custom 3287 string fields as per: 3288 3289 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 3290 32912005-08-12 Frank Warmerdam <[email protected]> 3292 3293 * libtiff/tif_print.c: avoid signed/unsigned warning. 3294 3295 * libtiff/tif_dirread.c: removed unused variable. 3296 32972005-07-30 Frank Warmerdam <[email protected]> 3298 3299 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 3300 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 3301 pass on bigendian (macosx) system. 3302 33032005-07-28 Andrey Kiselev <[email protected]> 3304 3305 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 3306 CheckMalloc() function to _TIFFCheckMalloc() and make it available 3307 globally as an internal helper routine. 3308 33092005-07-27 Andrey Kiselev <[email protected]> 3310 3311 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 3312 the custom tags handling code. 3313 33142005-07-26 Andrey Kiselev <[email protected]> 3315 3316 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 3317 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 3318 function, use TIFFFetchNormalTag() instead as per bug 3319 3320 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 3321 3322 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 3323 instead. 3324 3325 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 3326 3327 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3328 33292005-07-25 Andrey Kiselev <[email protected]> 3330 3331 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 3332 3333 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 3334 33352005-07-21 Andrey Kiselev <[email protected]> 3336 3337 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 3338 the TIFFWriteCheck() function in case of single band images (as per 3339 TIFF spec). 3340 33412005-07-12 Andrey Kiselev <[email protected]> 3342 3343 * SConstruct, libtiff/SConstruct: Added the first very preliminary 3344 support for SCons software building tool (http://www.scons.org/). 3345 This is experimental infrastructure and it will exist along with the 3346 autotools mechanics. 3347 33482005-07-07 Andrey Kiselev <[email protected]> 3349 3350 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 3351 the NetBSD source tree (the old 4-clause BSD license changed to 3352 the new 3-clause one). 3353 3354 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 3355 replacement module. 3356 3357 * port/dummy.c: Make the dummy function static. 3358 33592005-07-06 Andrey Kiselev <[email protected]> 3360 3361 * tools/tiffcp.c: Fixed WhitePoint tag copying. 3362 3363 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 3364 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 3365 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 3366 33672005-07-04 Andrey Kiselev <[email protected]> 3368 3369 * libtiff 3.7.3 released. 3370 3371 * configure, configure.ac: Do not use empty -R option when linking 3372 with --enable-rpath. 3373 33742005-07-01 Andrey Kiselev <[email protected]> 3375 3376 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 3377 reading the first IFD when needed. As per bug 3378 3379 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 3380 3381 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 3382 effects. 3383 33842005-06-23 Andrey Kiselev <[email protected]> 3385 3386 * tools/tiff2pdf.c: Print two characters per loop in the 3387 t2p_write_pdf_trailer(). As per bug 3388 3389 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 3390 3391 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 3392 per bug 3393 3394 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 3395 3396 * acinclude.m4: Updated to latest OpenGL test macros versions. 3397 3398 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 3399 platform. As per bug 3400 3401 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 3402 34032005-06-14 Andrey Kiselev <[email protected]> 3404 3405 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 3406 and YClipPathUnits tags. 3407 34082005-06-07 Andrey Kiselev <[email protected]> 3409 3410 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 3411 use pixel sized shift in contigous case. 3412 34132005-06-06 Andrey Kiselev <[email protected]> 3414 3415 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 3416 Make overviews working for contiguos images. 3417 34182005-06-03 Andrey Kiselev <[email protected]> 3419 3420 * libtiff/tif_open.c: Replace runtime endianess check with the compile 3421 time one. 3422 3423 * libtiff/tif_predict.c: Floating point predictor now works on 3424 big-endian hosts. 3425 34262005-06-01 Andrey Kiselev <[email protected]> 3427 3428 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 3429 ASCII values. 3430 3431 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 3432 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 3433 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 3434 TargetPrinter tags custom. 3435 3436 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 3437 TIFF_CODERSETUP flag (to fix memry leaks). 3438 3439 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 3440 allocating. 3441 34422005-05-26 Andrey Kiselev <[email protected]> 3443 3444 * configure.ac, libtiff/Makefile.am: Added workaround for 3445 OpenBSD/MirOS soname problem as per bug 3446 3447 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 3448 3449 * libtiff/tif_dirwrite.c: Use tdir_count when calling 3450 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 3451 per bug 3452 3453 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 3454 34552005-05-25 Andrey Kiselev <[email protected]> 3456 3457 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 3458 the fscanf() function. As per bug 3459 3460 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 3461 3462 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 3463 uint16 array when fetching the BYTE and SBYTE filds, so we should 3464 consider result as pointer to uint16 array and not as array of chars. 3465 As per bug 3466 3467 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 3468 3469 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 3470 3471 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 3472 3473 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 3474 mode in CreateFile() call as per bug 3475 3476 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 3477 3478 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 3479 libtiffxx libraries as per bug 3480 3481 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 3482 3483 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 3484 GDAL. 3485 34862005-05-23 Frank Warmerdam <[email protected]> 3487 3488 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 3489 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 3490 in directory. 3491 34922005-05-22 Frank Warmerdam <[email protected]> 3493 3494 * libtiff/tif_dirread.c: Changed the code that computes 3495 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 3496 zero. This is a common case with GDAL indicating a "null" tile/strip. 3497 34982005-05-17 Andrey Kiselev <[email protected]> 3499 3500 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 3501 35022005-05-06 Frank Warmerdam <[email protected]> 3503 3504 * libtiff/tif_dirread.c: Applied similar change to 3505 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 3506 3507 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 3508 3509 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 3510 35112005-05-06 Andrey Kiselev <[email protected]> 3512 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 3513 added new option '-b' to use interpolation in output PDF files (Bruno 3514 Ledoux). 3515 35162005-05-05 Frank Warmerdam <[email protected]> 3517 3518 * libtiff/tif_dirread.c: Ensure that broken files with too many 3519 values in PerSampleShorts work ok instead of crashing. 3520 3521 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 3522 35232005-04-27 Andrey Kiselev <[email protected]> 3524 3525 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 3526 input file. 3527 35282005-04-15 Andrey Kiselev <[email protected]> 3529 3530 * libtiff/tif_predict.c: Added ability to encode floating point 3531 predictor, as per TIFF Technical Note 3. 3532 35332005-04-14 Andrey Kiselev <[email protected]> 3534 3535 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 3536 floating point predictor, as per TIFF Technical Note 3. 3537 35382005-04-13 Andrey Kiselev <[email protected]> 3539 3540 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 3541 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 3542 swap 24-bit floating point values. 3543 3544 * libtiff/tiff.h: Added predictor constants. 3545 35462005-04-08 Andrey Kiselev <[email protected]> 3547 3548 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 3549 values in _TIFFVSetField() function. Inspired by the bug 3550 3551 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 3552 3553 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 3554 as per bug 3555 3556 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 3557 35582005-03-30 Andrey Kiselev <[email protected]> 3559 3560 * libtiff/tif_open.c: Do not read header in case the output file 3561 should be truncated (Ron). 3562 3563 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 3564 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 3565 3566 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 3567 35682005-03-22 Andrey Kiselev <[email protected]> 3569 3570 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 3571 rpath option. 3572 35732005-03-21 Andrey Kiselev <[email protected]> 3574 3575 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 3576 tags. 3577 35782005-03-18 Andrey Kiselev <[email protected]> 3579 3580 * libtiff/dirinfo.c: Added DNG tags. 3581 3582 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 3583 handling code. 3584 3585 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 3586 added DNG 1.1.0.0 tags. 3587 3588 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 3589 bug 3590 3591 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 3592 3593 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 3594 35952005-03-17 Andrey Kiselev <[email protected]> 3596 3597 * nmake.opt: Build with Win32 CRT library by default. 3598 3599 * tools/tiff2ps.c: Fixed typo in page size handling code. 3600 3601 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 3602 by value. 3603 3604 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 3605 36062005-03-15 Andrey Kiselev <[email protected]> 3607 3608 * libtiff 3.7.2 released. 3609 36102005-03-09 Andrey Kiselev <[email protected]> 3611 3612 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 3613 floating point data; complain on unsupported bit depths. 3614 36152005-03-05 Andrey Kiselev <[email protected]> 3616 3617 * tif_stream.cxx: Use ios namespace instead of ios_base to support 3618 GCC 2.95. 3619 3620 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 3621 Lee Howard for HylaFax DCS tag 3622 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 3623 36242005-03-04 Andrey Kiselev <[email protected]> 3625 3626 * configure, configure.ac: Use -rpath option instead of -R as per bug 3627 3628 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 3629 3630 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 3631 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 3632 software. As per bug 3633 3634 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 3635 3636 * nmake.opt, html/build.html: Add more comments, change the config 3637 file organization a bit as per bug 3638 3639 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 3640 3641 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 3642 as per bug 3643 3644 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 3645 36462005-03-03 Andrey Kiselev <[email protected]> 3647 3648 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 3649 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 3650 3651 * tools/fax2ps.c: Replace insecure mktemp() function with the 3652 tmpfile() as per bug 3653 3654 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 3655 36562005-02-04 Andrey Kiselev <[email protected]> 3657 3658 * libtiff/tiff.h: Changed the int8 definition to be always signed char 3659 as per bug 3660 3661 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 3662 3663 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 3664 block as per bug 3665 3666 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 3667 36682005-02-03 Bob Friesenhahn <[email protected]> 3669 3670 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 3671 display more correctly. Images display brighter than they should 3672 on a Sun workstation. 3673 36742005-02-03 Andrey Kiselev <[email protected]> 3675 3676 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 3677 suspicious values in the tags. As per bugs 3678 3679 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 3680 3681 and 3682 3683 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 3684 3685 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 3686 3687 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 3688 36892005-01-31 Bob Friesenhahn <[email protected]> 3690 3691 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 3692 (TIFFTAG_TILELENGTH): Corrected description. 3693 36942005-01-30 Andrey Kiselev <[email protected]> 3695 3696 * configure.ac: Fixes for --with-docdir option as per bug 3697 3698 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 3699 3700 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 3701 bug 3702 3703 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 3704 3705 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 3706 Michael Rinne and Edward Lam. 3707 37082005-01-15 Andrey Kiselev <[email protected]> 3709 3710 * configure.ac: Make the documentation directory location configurable 3711 via the --with-docdir option (as suggested by Jeremy C. Reed). 3712 3713 * libtiff/tif_color.c: Use double as the second argument of pow() 3714 function in TIFFCIELabToRGBInit(). As per bug 3715 3716 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 3717 3718 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 3719 integer as per bug 3720 3721 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 3722 3723 * libtiff/tif_getimage.c: Always fill the error message buffer in 3724 TIFFRGBAImageBegin() as per bug 3725 3726 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 3727 37282005-01-12 Andrey Kiselev <[email protected]> 3729 3730 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 3731 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 3732 tags as per bug 3733 3734 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 3735 3736 * libtiff/tif_win32.c: Fixed message formatting in functions 3737 Win32WarningHandler() and Win32ErrorHandler() as per bug 3738 3739 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 3740 3741 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 3742 per bug 3743 3744 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 3745 37462005-01-11 Andrey Kiselev <[email protected]> 3747 3748 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 3749 "C"' section as per bug 3750 3751 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 3752 3753 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 3754 compiler to avoid double definition of BSD types as per bug 3755 3756 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3757 3758 * libtiff/Makefile.am: Place the C++ stream API in the separate 3759 library called libtiffxx to avoid unneeded dependencies. Probably 3760 there will be more C++ API in the future. As per bugs 3761 3762 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 3763 3764 and 3765 3766 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 3767 37682005-01-05 Andrey Kiselev <[email protected]> 3769 3770 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 3771 wrong tag counts (Dmitry V. Levin, Martin Pitt). 3772 3773 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 3774 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 3775 37762004-12-25 Andrey Kiselev <[email protected]> 3777 3778 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 3779 RGB-images as per bug 3780 3781 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 3782 3783 3784 * tools/tiffset.c: Convert character option to integer value as per 3785 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 3786 37872004-12-20 Andrey Kiselev <[email protected]> 3788 3789 * libtiff 3.7.1 released. 3790 3791 * html/tiffset.1.html: Add missed manual page as per bug 3792 3793 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 3794 3795 * libtiff/tiff.h: Revert back libtiff data type definitions as per 3796 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 3797 37982004-12-19 Andrey Kiselev <[email protected]> 3799 3800 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 3801 checking for tag count in TIFFReadDirectory() function. As per bug 3802 3803 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 3804 3805 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 3806 CheckMallock() function. 3807 3808 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 3809 RGB-images as per bug 3810 3811 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 3812 38132004-12-15 Frank Warmerdam <[email protected]> 3814 3815 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 3816 SunPro compiler. 3817 38182004-12-11 Bob Friesenhahn <[email protected]> 3819 3820 * autogen.sh: aclocal and autoheader should be executed after 3821 libtoolize. Also add '-I .' to aclocal invocation to check 3822 current directory for macros. 3823 38242004-12-10 Andrey Kiselev <[email protected]> 3825 3826 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 3827 as per bugs 3828 3829 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 3830 3831 and 3832 3833 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 3834 38352004-12-04 Andrey Kiselev <[email protected]> 3836 3837 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 3838 3839 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3840 3841 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 3842 mode as per bug 3843 3844 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3845 3846 * libtiff/tif_config.in.vc: Removed unneded definitions for 3847 read/open/close/lseek functions to fix the 3848 3849 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 3850 38512004-12-03 Andrey Kiselev <[email protected]> 3852 3853 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 3854 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 3855 must be removed in the future, as it was never used properly. As per 3856 bug 3857 3858 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 3859 38602004-11-30 Bob Friesenhahn <[email protected]> 3861 3862 * libtiff/tif_jpeg.c: Added a work-around in order to allow 3863 compilation with the heavily modified version of libjpeg delivered 3864 with Cygwin. 3865 38662004-11-29 Andrey Kiselev <[email protected]> 3867 3868 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 3869 counts. As per bug 3870 3871 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 3872 3873 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 3874 3875 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 3876 38772004-11-28 Andrey Kiselev <[email protected]> 3878 3879 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 3880 on Windows. 3881 3882 * nmake.opt: Add missed DLLNAME variable. 3883 38842004-11-26 Frank Warmerdam <[email protected]> 3885 3886 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 3887 38882004-11-24 Andrey Kiselev <[email protected]> 3889 3890 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 3891 per bug 3892 3893 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 3894 3895 * man/tiffset.1: Added manual page for tiffset tool written by Jay 3896 Berkenbilt. As per bug 3897 3898 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 3899 39002004-11-23 Frank Warmerdam <[email protected]> 3901 3902 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 3903 39042004-11-21 Frank Warmerdam <[email protected]> 3905 3906 * html/document.html: Updated Adobe web links as per email from Joris. 3907 39082004-11-21 Andrey Kiselev <[email protected]> 3909 3910 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 3911 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 3912 use C++ streams should #include <tiffio.hxx>. 3913 39142004-11-13 Andrey Kiselev <[email protected]> 3915 3916 * libtiff/tiff.h: Added Adobe DNG tags. 3917 3918 * libtiff/tif_win32.c: Typo fixed. 3919 3920 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 3921 be compliant with the latest standard. Appropriate additions in 3922 makefiles now completed. 3923 39242004-11-11 Andrey Kiselev <[email protected]> 3925 3926 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 3927 different tag types. As per bug 3928 3929 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 3930 39312004-11-10 Andrey Kiselev <[email protected]> 3932 3933 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 3934 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 3935 39362004-11-09 Andrey Kiselev <[email protected]> 3937 3938 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 3939 39402004-11-07 Andrey Kiselev <[email protected]> 3941 3942 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 3943 contributed by Edward Lam (see 3944 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 3945 Though no changes in any makefiles yet. 3946 39472004-11-05 Frank Warmerdam <[email protected]> 3948 3949 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 3950 is bad. This is the callers responsibility. 3951 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 3952 39532004-11-05 Andrey Kiselev <[email protected]> 3954 3955 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 3956 function to work with the double byte strings (used to represent 3957 filenames in some locales). As per bug 3958 3959 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 3960 3961 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 3962 Compression tags of type LONG from broken TIFFS as per bug 3963 3964 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 3965 3966 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 3967 the writecount should have uint32 type. As per bug 3968 3969 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 3970 3971 * libtiff/tif_write.c: Fixed wrong if() statement in 3972 TIFFAppendToStrip() function as per bug 3973 3974 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 3975 39762004-11-04 Andrey Kiselev <[email protected]> 3977 3978 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 3979 field. The caller should supply a count when setting this field. As 3980 per bug 3981 3982 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 3983 3984 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 3985 uint32 count. Use this type everywhere. 3986 39872004-11-03 Frank Warmerdam <[email protected]> 3988 3989 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 3990 39912004-11-02 Frank Warmerdam <[email protected]> 3992 3993 * tools/tiff2rgba.c: removed extra newlines in usage message. 3994 39952004-10-30 Andrey Kiselev <[email protected]> 3996 3997 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 3998 3999 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 4000 tags (Tristan Hill). 4001 40022004-10-30 Frank Warmerdam <[email protected]> 4003 4004 * libtiff/tiffiop.h: added fallback definition of assert() if we 4005 don't have assert.h. 4006 40072004-10-29 Andrey Kiselev <[email protected]> 4008 4009 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 4010 choosing when the incorrect Group4Options tag set. As per bug 4011 4012 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 4013 4014 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 4015 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 4016 TIFFWriteNormalTag(). 4017 40182004-10-28 Andrey Kiselev <[email protected]> 4019 4020 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 4021 tags (Peter Fales). 4022 4023 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 4024 40252004-10-28 Frank Warmerdam <[email protected]> 4026 4027 * tools/tiff2pdf.c: added casts to avoid warnings. 4028 4029 * libtiff/libtiff.def: Added several more entry points required 4030 to link fax2tiff.c against the DLL on windows. 4031 40322004-10-27 Andrey Kiselev <[email protected]> 4033 4034 * configure, configure.ac: Added --enable-rpath option to embed linker 4035 paths into library binary. 4036 40372004-10-26 Andrey Kiselev <[email protected]> 4038 4039 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 4040 4041 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 4042 (Vladimir Nadvornik, Dmitry V. Levin). 4043 40442004-10-16 Andrey Kiselev <[email protected]> 4045 4046 * libtiff 3.7.0 released. 4047 40482004-10-15 Bob Friesenhahn <[email protected]> 4049 4050 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 4051 in this file so its inclusion is removed. Including stdio.h 4052 sometimes incurs an INT32 typedef conflict between MinGW's 4053 basetsd.h and libjpeg's jmorecfg.h. 4054 40552004-10-15 Andrey Kiselev <[email protected]> 4056 4057 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 4058 40592004-10-13 Bob Friesenhahn <[email protected]> 4060 4061 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 4062 conflict noticed under MinGW. 4063 * ltmain.sh: Fix for MinGW compilation. 4064 40652004-10-13 Frank Warmerdam <[email protected]> 4066 4067 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 4068 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 4069 40702004-10-12 Andrey Kiselev <[email protected]> 4071 4072 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 4073 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 4074 properly (Dmitry V. Levin, Marcus Meissner). 4075 40762004-10-11 Andrey Kiselev <[email protected]> 4077 4078 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 4079 to TIFF_IFD. 4080 40812004-10-10 Andrey Kiselev <[email protected]> 4082 4083 * tools/bmp2tif.c: Check the space allocation results. 4084 40852004-10-09 Andrey Kiselev <[email protected]> 4086 4087 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 4088 of the TIFFDirectory structure with the 0 instead of -1 to avoid 4089 confusing integer overflows in TIFFTileRowSize() for striped images. 4090 4091 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 4092 by Ross A. Finlayson. 4093 4094 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 4095 4096 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 4097 40982004-10-08 Frank Warmerdam <[email protected]> 4099 4100 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 4101 of tif_fieldinfo. 4102 4103 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 4104 41052004-10-04 Bob Friesenhahn <[email protected]> 4106 4107 * contrib/iptcutil/README: Added the missing README which goes 4108 along with iptcutil. 4109 41102004-10-03 Andrey Kiselev <[email protected]> 4111 4112 * libtiff/tif_compress.c: Improved error reporting in 4113 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 4114 41152004-10-02 Andrey Kiselev <[email protected]> 4116 4117 * libtiff 3.7.0beta2 released. 4118 4119 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 4120 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 4121 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 4122 allocations and integer overflows (Dmitry V. Levin). 4123 4124 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 4125 41262004-10-01 Frank Warmerdam <[email protected]> 4127 4128 * libtiff/tif_open.c: added a more informative message if a BigTIFF 4129 file is opened. 4130 41312004-09-30 Frank Warmerdam <[email protected]> 4132 4133 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 4134 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 4135 in the Adobe XMP Specification. 4136 41372004-09-29 Andrey Kiselev <[email protected]> 4138 4139 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 4140 memset(). 4141 4142 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 4143 from Dmitry V. Levin to fix possible integer overflow problems. 4144 41452004-09-28 Andrey Kiselev <[email protected]> 4146 4147 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 4148 (Dmitry V. Levin). 4149 41502004-09-26 Andrey Kiselev <[email protected]> 4151 4152 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 4153 Optimize checking for the strip bounds. 4154 4155 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 4156 TIFFRasterScanlineSize() functions report zero in the case of integer 4157 overflow now. Properly handle this case in TIFFReadDirectory() 4158 (patches from Dmitry V. Levin). 4159 41602004-09-25 Andrey Kiselev <[email protected]> 4161 4162 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 4163 macro where appropriate. 4164 4165 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 4166 noted by Gennady Khokhorin. 4167 4168 * libtiff/tif_dirread.c: Always check the return values, returned 4169 by the _TIFFmalloc() (Dmitry V. Levin). 4170 4171 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 4172 functions (Dmitry V. Levin). 4173 4174 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 4175 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 4176 TIFFGrowStrips() (found by Dmitry V. Levin). 4177 41782004-09-24 Andrey Kiselev <[email protected]> 4179 4180 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 4181 to get the list of configured codecs. 4182 4183 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 4184 Dmitry V. Levin. 4185 41862004-09-23 Andrey Kiselev <[email protected]> 4187 4188 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 4189 possible integer overflow in CheckMalloc() function. 4190 41912004-09-22 Andrey Kiselev <[email protected]> 4192 4193 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 4194 of plain TIFFhowmany() where appropriate. 4195 41962004-09-21 Andrey Kiselev <[email protected]> 4197 4198 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 4199 42002004-09-19 Andrey Kiselev <[email protected]> 4201 4202 * libtiff 3.7.0beta released. 4203 4204 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 4205 overruns fixed, as noted by Chris Evans. 4206 42072004-09-14 Bob Friesenhahn <[email protected]> 4208 4209 * commit: Added a script to make it more convenient to commit 4210 updates. The CVS commit message is extracted from this ChangeLog 4211 file. 4212 42132004-09-14 Andrey Kiselev <[email protected]> 4214 4215 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 4216 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 4217 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 4218 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 4219 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 4220 tif_config.h.in, tiffiop.h}: 4221 Get rid of BSD data types (u_char, u_short, u_int, u_long). 4222 42232004-09-13 Bob Friesenhahn <[email protected]> 4224 4225 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 4226 specification. Reference libtiff bug tracking system to submit 4227 private tag additions. 4228 42292004-09-12 Bob Friesenhahn <[email protected]> 4230 4231 * tools/tiffgt.c: Include "tif_config.h". 4232 4233 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 4234 tiffgt. This results in the 'compile' script being added to the 4235 project. 4236 4237 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 4238 required to find OpenGL headers necessary to build tiffgt. Also 4239 ensure that the libtiff that we built is used rather than some other 4240 libtiff installed on the system. 4241 42422004-09-12 Andrey Kiselev <[email protected]> 4243 4244 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 4245 libraries. 4246 42472004-09-11 Bob Friesenhahn <[email protected]> 4248 4249 * configure.ac: Pass library configuration defines via 4250 tif_config.h rather than extending CPPFLAGS. Configure a 4251 libtiff/tiffconf.h in order to satisfy application requirements 4252 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 4253 this causes failure to build on systems which properly respect 4254 this request. 4255 4256 * libtiff/tiffconf.h.in: New file to act as the template for the 4257 configured tiffconf.h 4258 4259 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 4260 42612004-09-10 Frank Warmerdam <[email protected]> 4262 4263 * html/internals.html: Split off a discussion of adding new tags 4264 into addingtags.html. 4265 42662004-09-10 Andrey Kiselev <[email protected]> 4267 4268 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 4269 4270 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 4271 4272 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4273 4274 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 4275 4276 * libtiff/tif_dirread.c: Don't reject to read tags of the 4277 SamplesPerPixel size when the tag count is greater than number of 4278 samples as per bug 4279 4280 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 4281 4282 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 4283 defining int8/uint8/... etc. types. As per bug 4284 4285 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 4286 42872004-09-09 Frank Warmerdam <[email protected]> 4288 4289 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 4290 to avoid compile warnings about getopt() and a few other things. 4291 42922004-09-02 Andrey Kiselev <[email protected]> 4293 4294 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 4295 assigning magic in TIFFFetchFloat(). 4296 42972004-09-01 Andrey Kiselev <[email protected]> 4298 4299 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 4300 to avoid requirement for tiffiop.h inclusion in some applications. See 4301 here 4302 4303 http://www.asmail.be/msg0054799560.html 4304 4305 for details. 4306 4307 * tools/fax2tiff.c: Use the new functions in the code. 4308 43092004-08-25 Andrey Kiselev <[email protected]> 4310 4311 * tools/tiff2pdf.c: Initialize arrays properly. 4312 4313 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 4314 properly initialize array in PSDataBW(). 4315 43162004-08-24 Andrey Kiselev <[email protected]> 4317 4318 * tools/tiff2pdf.c: More fixes for bug 4319 4320 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4321 4322 from Ross Finlayson. 4323 43242004-08-23 Andrey Kiselev <[email protected]> 4325 4326 * tools/tiff2ps.c: Fixed problem with uninitialized values. 4327 4328 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 4329 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 4330 4331 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 4332 4333 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4334 43352004-08-20 Andrey Kiselev <[email protected]> 4336 4337 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 4338 that the input file has compression, photometric interpretation, 4339 etcetra, tags or if not than a more descriptive error is returned. 4340 4341 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 4342 code, responsible for tag data type checking. 4343 43442004-08-19 Andrey Kiselev <[email protected]> 4345 4346 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 4347 variable as per bug 4348 4349 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 4350 43512004-08-16 Andrey Kiselev <[email protected]> 4352 4353 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 4354 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 4355 43562004-08-01 Andrey Kiselev <[email protected]> 4357 4358 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 4359 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 4360 43612004-07-24 Andrey Kiselev <[email protected]> 4362 4363 * libtiff/tif_lzw.c: LZW compression code is merged back from the 4364 separate package. All libtiff tools are updated to not advertise an 4365 abcence of LZW support. 4366 43672004-07-12 Andrey Kiselev <[email protected]> 4368 4369 * libtiff/tiffio.h: Revert thandle_t back to void* type. 4370 43712004-07-11 Andrey Kiselev <[email protected]> 4372 4373 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 4374 messages, as suggested by Bernd Herd. 4375 43762004-07-03 Andrey Kiselev <[email protected]> 4377 4378 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 4379 when setting custom tags by value. Reported by Eric Fieleke. 4380 43812004-06-14 Andrey Kiselev <[email protected]> 4382 4383 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 4384 43852004-06-08 Andrey Kiselev <[email protected]> 4386 4387 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 4388 into TIFFs. 4389 43902004-06-07 Andrey Kiselev <[email protected]> 4391 4392 * libtiff 3.7.0alpha released. 4393 43942004-06-06 Andrey Kiselev <[email protected]> 4395 4396 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 4397 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 4398 ones :-). 4399 4400 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 4401 problems in 64-bit environment). 4402 44032004-06-05 Andrey Kiselev <[email protected]> 4404 4405 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 4406 Tags can be supplied by the mnemonic name or number. 4407 4408 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 4409 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 4410 44112004-05-27 Andrey Kiselev <[email protected]> 4412 4413 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 4414 markers as per bug 4415 4416 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 4417 44182004-05-24 Andrey Kiselev <[email protected]> 4419 4420 * tools/tiffsplit.c: Don't forget to copy Photometric 4421 Interpretation tag. 4422 44232004-05-20 Andrey Kiselev <[email protected]> 4424 4425 * libtiff/{tif_open.c, tiffio.h}: New function added: 4426 TIFFIsBigEndian(). Function returns nonzero if given was file written 4427 in big-endian order. 4428 4429 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 4430 files. Now output files will be written using the same byte order 4431 flag as in the input image. See 4432 4433 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 4434 4435 for details. 4436 44372004-05-19 Frank Warmerdam <[email protected]> 4438 4439 * libtiff/tif_print.c: added (untested) support for printing 4440 SSHORT, SLONG and SRATIONAL fields. 4441 4442 * tools/tiffcp.c: close output file on normal exit. 4443 44442004-05-17 Andrey Kiselev <[email protected]> 4445 4446 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 4447 if compression type mismatches. See 4448 4449 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 4450 44512004-04-30 Andrey Kiselev <[email protected]> 4452 4453 * libtiff/tif_strip.c: Never return 0 from the 4454 TIFFNumberOfStrips(). 4455 44562004-04-29 Andrey Kiselev <[email protected]> 4457 4458 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 4459 store single SampleFormat value for multisampled images. See 4460 4461 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 4462 44632004-04-25 Andrey Kiselev <[email protected]> 4464 4465 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 4466 int16 and int32 types to avoid complains on some compilers. Details at 4467 4468 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4469 44702004-04-20 Andrey Kiselev <[email protected]> 4471 4472 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 4473 4474 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 4475 44762004-04-14 Andrey Kiselev <[email protected]> 4477 4478 * libtiff/tif_write.c: Allow in-place updating of the compressed 4479 images (don't work properly with all codecs). For details see GDAL bug 4480 4481 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 4482 44832004-04-06 Andrey Kiselev <[email protected]> 4484 4485 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 4486 in the Intergarph JPEG compressed TIFF images as per bug: 4487 4488 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 4489 44902004-04-04 Frank Warmerdam <[email protected]> 4491 4492 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 4493 via bad2. 4494 44952004-03-26 Andrey Kiselev <[email protected]> 4496 4497 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 4498 JPEG compression of grayscale images. 4499 4500 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 4501 present in the input image. 4502 45032004-03-19 Andrey Kiselev <[email protected]> 4504 4505 * {many}: The first attempt to switch to autotools. 4506 45072004-03-03 Andrey Kiselev <[email protected]> 4508 4509 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 4510 TIFFClientOpen() when the appropriate client functions was not 4511 supplied by user. 4512 45132004-03-02 Frank Warmerdam <[email protected]> 4514 4515 * tools/ycbcr.c: fixed main() declaration as per: 4516 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 4517 45182004-02-26 Andrey Kiselev <[email protected]> 4519 4520 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 4521 images. Reported by Artem Mirolubov. 4522 4523 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 4524 tag type in TIFFFetchNormalTag() as per bug 4525 4526 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 4527 45282004-02-17 Frank Warmerdam <[email protected]> 4529 4530 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 4531 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 4532 45332004-02-05 Andrey Kiselev <[email protected]> 4534 4535 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 4536 bug 4537 4538 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 4539 4540 But we need more work on fax codec to support update mode. 4541 45422004-01-30 Frank Warmerdam <[email protected]> 4543 4544 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 4545 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 4546 Scott Reynolds. 4547 45482004-01-29 Andrey Kiselev <[email protected]> 4549 4550 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 4551 and TIFFTAG_INDEXED as per bug 4552 4553 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 4554 4555 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 4556 NULL before proceeding further as per bug 4557 4558 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 4559 4560 Check results, returned by the TIFFFdOpen() before returning and close 4561 file if TIFFFdOpen() failed as per bug 4562 4563 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4564 4565 * libtiff/tif_open.c: More fixes for 4566 4567 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4568 45692004-01-28 Andrey Kiselev <[email protected]> 4570 4571 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 4572 TIFFCleanup() from the TIFFClose() in order to fix the bug 4573 4574 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4575 4576 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 4577 InkNames tag as per bug 4578 4579 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 4580 4581 Memory leak fixed. 4582 45832004-01-21 Frank Warmerdam <[email protected]> 4584 4585 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 4586 are field_passcount=TRUE properly. Arguably anonymous custom tags 4587 should be declared as passcount=FALSE, but I don't want to change 4588 that without a careful review. 4589 45902004-01-20 Andrey Kiselev <[email protected]> 4591 4592 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 4593 stripped image in TIFFWriteBufferSetup(). As per bug 4594 4595 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 4596 45972004-01-11 Andrey Kiselev <[email protected]> 4598 4599 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 4600 patch from Gerben Koopmans. 4601 4602 * libtiff/tif_dirread.c: Check field_passcount value before setting 4603 the value of undefined type, patch from Gerben Koopmans. 4604 46052004-01-02 Andrey Kiselev <[email protected]> 4606 4607 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 4608 non-RGB images. 4609 46102003-12-31 Andrey Kiselev <[email protected]> 4611 4612 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 4613 pointer passed. Patch supplied by Larry Grill. 4614 4615 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 4616 suggested by Jeremy C. Reed. 4617 46182003-12-26 Andrey Kiselev <[email protected]> 4619 4620 * libtiff 3.6.1 released. 4621 46222003-12-24 Andrey Kiselev <[email protected]> 4623 4624 * config.guess, config.sub: Updated from the recent upstream. 4625 46262003-12-22 Andrey Kiselev <[email protected]> 4627 4628 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 4629 More cleanups in color conversion interface, added appropriate manual 4630 page. 4631 46322003-12-19 Andrey Kiselev <[email protected]> 4633 4634 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 4635 per bug 4636 4637 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 4638 4639 * tools/tiff2ps.c: Added support for alpha channel. Fixes 4640 4641 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 4642 4643 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 4644 Interface for Lab->RGB color conversion is finally cleaned up. 4645 Added support for ReferenceBlackWhite tag handling when converted from 4646 YCbCr color space. The latter closes 4647 4648 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 4649 46502003-12-07 Andrey Kiselev <[email protected]> 4651 4652 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 4653 4654 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 4655 library. 4656 46572003-12-06 Andrey Kiselev <[email protected]> 4658 4659 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 4660 file and properly use it for CIE Lab->RGB transform. 4661 46622003-12-04 Andrey Kiselev <[email protected]> 4663 4664 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 4665 conversion routines now in the tif_color.c module. New function 4666 TIFFYCbCrtoRGB() available in TIFF API. 4667 4668 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 4669 46702003-12-03 Andrey Kiselev <[email protected]> 4671 4672 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 4673 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 4674 module. 4675 4676 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 4677 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 4678 Finally resolved problems with orientation handling. TIFFRGBAImage 4679 interface now properly supports all possible orientations, i.e. images 4680 will be flipped both in horizontal and vertical directions if 4681 required. 'Known bugs' section now removed from the appropriate manual 4682 pages. Closed bug entry: 4683 4684 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 4685 46862003-12-02 Andrey Kiselev <[email protected]> 4687 4688 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 4689 function calls as per bug 4690 4691 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 4692 46932003-11-28 Ross Finlayson <[email protected]> 4694 4695 * tools/tiff2pdf.c: Some bugs fixed. 4696 46972003-11-27 Andrey Kiselev <[email protected]> 4698 4699 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 4700 reported by Antonio Scuri. 4701 4702 * man/tiff2pdf.1: Few improvements in page layout. 4703 4704 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 4705 Added support fpr tiff2pdf manual page. 4706 47072003-11-26 Ross Finlayson <[email protected]> 4708 4709 * /man/tiff2pdf.1: File added to repository. 4710 47112003-11-26 Andrey Kiselev <[email protected]> 4712 4713 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 4714 Added support fpr tiff2pdf utility. 4715 47162003-11-25 Ross Finlayson <[email protected]> 4717 4718 * /tools/tiff2pdf.c: File added to repository. 4719 47202003-11-22 Andrey Kiselev <[email protected]> 4721 4722 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 4723 47242003-11-21 Andrey Kiselev <[email protected]> 4725 4726 * /tools/raw2tiff.c: #include <getopt.h> removed. 4727 4728 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 4729 sgigt utility removed and replaced with the completely rewritten 4730 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 4731 there is a lot of things to improve. 4732 4733 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 4734 extract the fields from the OJPEG files. Patch supplied by Ross 4735 Finlayson. 4736 4737 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 4738 Added new function TIFFIsCODECConfigured(), suggested by Ross 4739 Finlayson. 4740 47412003-11-18 Andrey Kiselev <[email protected]> 4742 4743 * libtiff/tif_dirinfo.c: Implemented binary search in 4744 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 4745 4746 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 4747 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 4748 47492003-11-17 Frank Warmerdam <[email protected]> 4750 4751 * tif_dirread.c: do not mark all anonymously defined tags to be 4752 IGNOREd. 4753 47542003-11-17 Andrey Kiselev <[email protected]> 4755 4756 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 4757 TIFFDataWidth() function insted of tiffDataWidth array. 4758 47592003-11-16 Andrey Kiselev <[email protected]> 4760 4761 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 4762 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 4763 47642003-11-15 Frank Warmerdam <[email protected]> 4765 4766 * Makefile.in: fixed missing backslash for tif_color.c in list. 4767 47682003-11-13 Andrey Kiselev <[email protected]> 4769 4770 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 4771 New color space conversion code: CIE L*a*b* 1976 images now supported 4772 by the TIFFRGBAImage interface. All introduced routines go to new 4773 module tif_color.c. Eventually all color conversion functions should 4774 be moved there. 4775 47762003-11-12 Andrey Kiselev <[email protected]> 4777 4778 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 4779 with the reverse byte order (it is reported by the magic header 4780 field). Problem reported by Andreas Wiesmann. 4781 4782 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 4783 calculation function. Guessing mechanics now documented in manual page. 4784 47852003-11-11 Andrey Kiselev <[email protected]> 4786 4787 * tools/raw2tiff.c: Implemented image size guessing using 4788 correlation coefficient calculation between two neighbour lines. 4789 47902003-11-09 Frank Warmerdam <[email protected]> 4791 4792 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 4793 planarconfig_contig case in TIFFComputeTile(). 4794 4795 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 4796 47972003-11-09 Andrey Kiselev <[email protected]> 4798 4799 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 4800 48012003-11-07 Andrey Kiselev <[email protected]> 4802 4803 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 4804 Added TIFFRawStripSize() function as suggested by Chris Hanson. 4805 48062003-11-03 Andrey Kiselev <[email protected]> 4807 4808 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 4809 per bug 4810 4811 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 4812 48132003-10-29 Andrey Kiselev <[email protected]> 4814 4815 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 4816 4817 * html/build.html: Added note about GNU make requirement. 4818 48192003-10-25 Andrey Kiselev <[email protected]> 4820 4821 * Makefile.in: Fixes in using MAKEFLAGS as per bug 4822 4823 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 4824 4825 * port/install.sh.in: Option -p added to the mkdir command to create 4826 all directory tree structure before installing. 4827 48282003-10-18 Andrey Kiselev <[email protected]> 4829 4830 * /tools/tiff2ps.c: #include <strings.h> replaced with the 4831 #include <string.h>. 4832 48332003-10-16 Andrey Kiselev <[email protected]> 4834 4835 * Makefile.in: Add an absolute path to the test_pics.sh call. 4836 48372003-10-12 Andrey Kiselev <[email protected]> 4838 4839 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 4840 typedefs. 4841 48422003-10-09 Andrey Kiselev <[email protected]> 4843 4844 * configure, libtiff/{Makefile.in, mkversion.c}: 4845 Relative buildings fixed. 4846 4847 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 4848 rule. 4849 48502003-10-07 Andrey Kiselev <[email protected]> 4851 4852 * Makefile.in: Added missed v3.6.0.html. 4853 4854 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 4855 ORIENTATION_BOTLEFT. 4856 48572003-10-04 Andrey Kiselev <[email protected]> 4858 4859 * 3.6.0 final release. 4860 48612003-10-03 Andrey Kiselev <[email protected]> 4862 4863 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 4864 function TIFFReadRGBAImageOriented() implemented to retrieve raster 4865 array with user-specified origin position as suggested by Jason Frank. 4866 See 4867 4868 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 4869 4870 for details. 4871 4872 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 4873 instead of TIFFReadRGBAImage(). 4874 4875 * tools/tiff2ps.c: Fixed possible endless loop as per bug 4876 4877 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 4878 48792003-09-30 Andrey Kiselev <[email protected]> 4880 4881 * libtiff/tif_dirread.c: Check field counter against number of fields 4882 in order to fix 4883 4884 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 4885 4886 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 4887 4888 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 4889 48902003-09-25 Andrey Kiselev <[email protected]> 4891 4892 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 4893 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 4894 4895 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 4896 48972003-09-23 Andrey Kiselev <[email protected]> 4898 4899 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 4900 4901 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4902 49032003-08-21 Andrey Kiselev <[email protected]> 4904 4905 * tools/tiffmedian.c: int declaration replaced with the uint32 to 4906 support large images as per bug 4907 4908 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 4909 49102003-08-12 Andrey Kiselev <[email protected]> 4911 4912 * libtiff/Makefile.in: Fixed problem with building in different 4913 directory. 4914 4915 * tools/tiff2ps.c: Added missing #include <strings.h>. 4916 4917 * libtiff/tif_dirwrite.c: More fixes for custom tags code 4918 from Ashley Dreier. 4919 49202003-08-07 Andrey Kiselev <[email protected]> 4921 4922 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 4923 Patch submitted by Balatoni Denes (with corrections from Tom 4924 Kacvinsky). 4925 4926 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 4927 being used. Reported by Tom Kacvinsky. 4928 4929 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 4930 reported by Ashley Dreier. 4931 4932 * libtiff/tif_print.c: Fixed problem with float tags reading, support 4933 for printing RATIONAL and BYTE tags added. 4934 49352003-08-05 Andrey Kiselev <[email protected]> 4936 4937 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 4938 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 4939 problems with predictor initialization. Remove O_RDONLY check during 4940 state block allocation to be able open LZW compressed files in update 4941 mode. 4942 4943 Problem exist for libtiff version of the tif_lzw.c module. One from 4944 lzw-compression-kit hasn't such troubles. 4945 49462003-08-04 Frank Warmerdam <[email protected]> 4947 4948 * libtiff/tif_write.c: modified tif_write.c so that the various 4949 encoded write functions use tif_postdecode() to apply byte order 4950 swapping (swab) to the application passed data buffer if the same 4951 would be done when reading. This allows us to write pixel data with 4952 more than 8 bits per sample to existing files of a non-native byte 4953 order. One side effect of this change is the applications buffer 4954 itself is altered in this case by the act of writing. 4955 4956 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 4957 49582003-07-25 Frank Warmerdam <[email protected]> 4959 4960 * libtiff/tif_open.c: avoid signed/unsigned casting warning 4961 initializing typemask as per patch from J.A. Strother. 4962 4963 * tools/tiffcp.c: fixed signed/unsigned casting warning. 4964 4965 * libtiff/tif_print.c: dos2unix conversion. 4966 4967 * tools/tiffsplit.c: increased the maximum number of pages that 4968 can be split. Patch provided by Andrew J. Montalenti. 4969 49702003-07-11 Andrey Kiselev <[email protected]> 4971 4972 * tools/raw2tiff.c: Added option `-p' to explicitly select color 4973 space of input image data. Closes 4974 4975 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 4976 49772003-07-08 Frank Warmerdam <[email protected]> 4978 4979 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 4980 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 4981 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 4982 avoid casting warning at /W4. 4983 49842003-07-03 Andrey Kiselev <[email protected]> 4985 4986 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 4987 49882003-06-30 Andrey Kiselev <[email protected]> 4989 4990 * libtiff/tif_pixarlog.c: Unused variables removed. 4991 4992 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 4993 EstimateStripByteCounts() as per bug 4994 4995 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4996 4997 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 4998 64-bit architectures as per bug 4999 5000 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 5001 5002 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 5003 unknown data type. 5004 50052003-06-19 Frank Warmerdam <[email protected]> 5006 5007 * libtiff/tif_print.c: fixed some serious bugs when printing 5008 custom tags ... almost certain to crash. 5009 5010 * libtiff/tif_dirread.c: Don't ignore custom fields that are 5011 autodefined. Not sure how this got to be like this. 5012 50132003-06-18 Andrey Kiselev <[email protected]> 5014 5015 * 3.6.0 Beta2 released. 5016 5017 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 5018 comparing as per bug 5019 5020 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 5021 5022 `-z' option now can be used to set the number of reported different 5023 bytes. 5024 50252003-06-09 Andrey Kiselev <[email protected]> 5026 5027 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 5028 to -r option to get the entire image as one strip. See 5029 5030 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 5031 5032 for details. 5033 50342003-06-04 Andrey Kiselev <[email protected]> 5035 5036 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 5037 values as per bug 5038 5039 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 5040 50412003-05-27 Frank Warmerdam <[email protected]> 5042 5043 * libtiff/tif_jpeg.c: modified segment_height calculation to always 5044 be a full height tile for tiled images. Also changed error to just 5045 be a warning. 5046 50472003-05-25 Andrey Kiselev <[email protected]> 5048 5049 * tools/fax2tiff.c: Page numbering fixed, as per bug 5050 5051 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 5052 50532003-05-20 Andrey Kiselev <[email protected]> 5054 5055 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 5056 configure, Makefile.in: Switched back to the old behaviour. Likely 5057 better solution should be found for OJPEG support. 5058 50592003-05-11 Andrey Kiselev <[email protected]> 5060 5061 * libtiff/mkversion.c: Fixed problem with wrong string size when 5062 reading RELEASE-DATE file. 5063 50642003-05-07 Andrey Kiselev <[email protected]> 5065 5066 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 5067 index was out of range. 5068 50692003-05-06 Andrey Kiselev <[email protected]> 5070 5071 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 5072 configure, Makefile.in: Improved libtiff compilation with OJPEG 5073 support. Now no need for patching IJG JPEG library, hack requred by 5074 libtiff will be compiled and used in-place. Implemented with 5075 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 5076 5077 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 5078 TIFFVGetFieldDefaulted() function. 5079 50802003-05-05 Andrey Kiselev <[email protected]> 5081 5082 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 5083 comments. 5084 5085 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 5086 was not copied from source image. 5087 5088 * libtiff/getimage.c: Workaround for some images without correct 5089 info about alpha channel as per bug 5090 5091 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 5092 50932003-04-29 Andrey Kiselev <[email protected]> 5094 5095 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 5096 It basically allows one to use the /flateDecode filter for ZIP 5097 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 5098 5099 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 5100 5101 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 5102 as per bug 5103 5104 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 5105 51062003-04-17 Andrey Kiselev <[email protected]> 5107 5108 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 5109 due to problems with multidirectory images. Quality of error messages 5110 improved. 5111 51122003-04-16 Andrey Kiselev <[email protected]> 5113 5114 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 5115 encoded images. See bug entries 5116 5117 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 5118 5119 and 5120 5121 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 5122 5123 * libtiff/tif_dirread.c: Additional check for StripByteCounts 5124 correctness. Fixes 5125 5126 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 5127 51282003-03-12 Andrey Kiselev <[email protected]> 5129 5130 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 5131 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 5132 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 5133 tiffmedian.c}: Added library version reporting facility to all tools. 5134 51352003-03-06 Frank Warmerdam <[email protected]> 5136 5137 * port/install.sh.in: Fixed problems with install producing paths 5138 like ///usr/local/lib on cygwin. 5139 51402003-02-27 Andrey Kiselev <[email protected]> 5141 5142 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 5143 raw input page. Patch supplied by Julien Gaulmin. See 5144 5145 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 5146 5147 for details. 5148 51492003-02-26 Frank Warmerdam <[email protected]> 5150 5151 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 5152 responsible for byte swapping complex image data. 5153 5154 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 5155 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 5156 51572003-02-07 Andrey Kiselev <[email protected]> 5158 5159 * tools/ppm2tiff.c: Fixed problem with too many arguments. 5160 51612003-02-04 Andrey Kiselev <[email protected]> 5162 5163 * tools/raw2tiff.c: Memory leak fixed. 5164 51652003-02-03 Andrey Kiselev <[email protected]> 5166 5167 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 5168 (thanks, Julien!). More switches for fax2tiff tool for better control 5169 of input and output. Details at 5170 5171 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 5172 51732003-02-03 Frank Warmerdam <[email protected]> 5174 5175 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 5176 library so that we can check if there is already any tile/strip data 5177 before deciding between creating a compressor or a decompressor. 5178 51792003-01-31 Frank Warmerdam <[email protected]> 5180 5181 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 5182 a pre-existing compressed image. That is, image writing to 5183 pre-existing compressed images is not allowed. 5184 5185 * libtiff/tif_open.c: Removed error if opening a compressed file 5186 in update mode. 5187 5188 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 5189 51902003-01-31 Andrey Kiselev <[email protected]> 5191 5192 * config.guess, config.sub: Updated to recent upstream versions. 5193 51942003-01-15 Frank Warmerdam <[email protected]> 5195 5196 * cut 3.6.0 Beta release. 5197 51982002-12-20 Andrey Kiselev <[email protected]> 5199 5200 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 5201 in wrong way as per bug 5202 5203 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 5204 52052002-12-17 Frank Warmerdam <[email protected]> 5206 5207 * libtiff/tif_dirread.c: Allow wrong sized arrays in 5208 TIFFFetchStripThing(). 5209 5210 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 5211 52122002-12-02 Frank Warmerdam <[email protected]> 5213 5214 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 5215 Was using realloc even first time. Fix by Igor Venevtsev. 5216 52172002-11-30 Frank Warmerdam <[email protected]> 5218 5219 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 5220 field value. 5221 5222 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 5223 tags in TIFFVGetField() ... added missing break. 5224 52252002-10-14 Frank Warmerdam <[email protected]> 5226 5227 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 5228 the scanline buffer long enough when writing rgb triplets. 5229 The scanline needs to be 3 X the number of dots or else it will 5230 contain an incomplete triplet and programs that try to separate 5231 the eps by redefining the colorimage operator will get messed up. 5232 Patch supplied by William Bader. 5233 5234 * Makefile.in: added tif_extension.c to file list as per 5235 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 5236 52372002-10-11 Andrey Kiselev <[email protected]> 5238 5239 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 5240 large files (>2GiB) supporting. New option in the config.site: 5241 LARGEFILE="yes". Should be enough for I/O of the large files. 5242 52432002-10-10 Frank Warmerdam <[email protected]> 5244 5245 * libtiff/html/v3.6.0.html: new release notes. 5246 5247 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 5248 link for Andrey. Pointer to v3.6.0.html. 5249 5250 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 5251 52522002-10-07 Andrey Kiselev <[email protected]> 5253 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 5254 (thanks, Sebastian!). New switches: 5255 -b # for a bottom margin of # inches 5256 -c center image 5257 -l # for a left margin of # inches 5258 -r rotate the image by 180 degrees 5259 New features merged with code for shrinking/overlapping. 5260 Previously added -c and -n switches (for overriding PS units) renamed 5261 in -x and -y respectively. 5262 5263 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 5264 5265 * html/man/*.html: Updated from actual manual pages. 5266 52672002-10-06 Frank Warmerdam <[email protected]> 5268 5269 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 5270 size on windows. Use #define boolean hack. 5271 5272 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 5273 5274 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 5275 USING_VISUALAGE is defined. 5276 5277 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5278 52792002-10-03 Frank Warmerdam <[email protected]> 5280 5281 * libtiff/tiff.h: added COMPRESSION_JP2000. 5282 52832002-10-02 Andrey Kiselev <[email protected]> 5284 5285 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 5286 by the TIFFFetchByteArray() function. Should finally resolve 5287 5288 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5289 5290 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 5291 5292 * html/Makefile.in: New targets added: html and groffhtml for 5293 producing HTML representations of the manual pages automatically. 5294 html target uses man2html tool, groffhtml uses groff tool. 5295 52962002-09-29 Frank Warmerdam <[email protected]> 5297 5298 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 5299 from John H. DuBois III. 5300 53012002-09-15 Andrey Kiselev <[email protected]> 5302 5303 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 5304 manual page for raw2tiff(1) tool. 5305 53062002-09-12 Andrey Kiselev <[email protected]> 5307 5308 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 5309 the tiffio.h header file. 5310 5311 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 5312 manual page for TIFFDataWidth() function 5313 53142002-09-08 Frank Warmerdam <[email protected]> 5315 5316 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 5317 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 5318 5319 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 5320 since we are unable to properly include the amount to skip. 5321 5322 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 5323 53242002-09-02 Andrey Kiselev <[email protected]> 5325 5326 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 5327 in TIFFFetchByteArray(). Problem described at 5328 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5329 53302002-08-22 Andrey Kiselev <[email protected]> 5331 5332 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 5333 in _TIFFSetupFieldInfo() function. 5334 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 5335 5336 * /libtiff/tif_lzw.c: Additional consistency checking added in 5337 LZWDecode() and LZWDecodeCompat(). 5338 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 5339 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5340 5341 * /libtiff/tif_lzw.c: 5342 Added check for valid code lengths in LZWDecode() and 5343 LZWDecodeCompat(). Fixes 5344 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 5345 53462002-08-16 Andrey Kiselev <[email protected]> 5347 5348 * /libtiff/{Makefile.vc, libtiff.def}: 5349 Missed declarations added. 5350 53512002-08-15 Frank Warmerdam <[email protected]> 5352 5353 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 5354 return code from the underlying pick function. 5355 5356 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 5357 5358 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 5359 with FIELD_CUSTOM as mentioned in bug 169. 5360 5361 * tif_close.c: added logic to free dynamically created anonymous 5362 field definitions to correct a small memory leak. 5363 5364 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 5365 53662002-08-10 Andrey Kiselev <[email protected]> 5367 5368 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 5369 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 5370 53712002-07-31 Frank Warmerdam <[email protected]> 5372 5373 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 5374 JPEGDecode() as per bugzilla bug (issue 1): 5375 5376 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 5377 5378 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 5379 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 5380 present in the tiff tags. 5381 5382 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 5383 5384 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 5385 TIFFWriteScanline() now set tif_row explicitly in case the codec has 5386 fooled with the value. 5387 5388 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 5389 53902002-06-22 Andrey Kiselev <[email protected]> 5391 5392 * /tools/tiff2ps.c: Added workaround for some software that may crash 5393 when last strip of image contains fewer number of scanlines than 5394 specified by the `/Height' variable. See 5395 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 5396 for explanation. 5397 53982002-06-21 Andrey Kiselev <[email protected]> 5399 5400 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 5401 splitting long images in several pages. See 5402 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 5403 Patch granted by John Williams <[email protected]>. 5404 54052002-06-11 Frank Warmerdam <[email protected]> 5406 5407 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 5408 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 5409 This one is described in: 5410 5411 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 5412 5413 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 5414 5415 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 5416 54172002-05-10 Andrey Kiselev <[email protected]> 5418 5419 * tools/tiff2ps: New commandline switches to override resolution 5420 units obtained from the input file. Closes 5421 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 5422 54232002-04-26 Andrey Kiselev <[email protected]> 5424 5425 * libtiff/libtiff.def: Added missed declaration. 5426 54272002-04-22 Andrey Kiselev <[email protected]> 5428 5429 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 5430 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 5431 54322002-04-20 Andrey Kiselev <[email protected]> 5433 5434 * libtiff/tif_open.c: Pointers to custom procedures 5435 in TIFFClientOpen() are checked to be not NULL-pointers. 5436 54372002-04-18 Andrey Kiselev <[email protected]> 5438 5439 * libtiff/libtiff.def: Added missed declarations. 5440 5441 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 5442 54432002-04-16 Andrey Kiselev <[email protected]> 5444 5445 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 5446 Should finally close 5447 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5448 54492002-04-10 Andrey Kiselev <[email protected]> 5450 5451 * tools/tiff2ps: Division by zero fixed. 5452 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 5453 54542002-04-09 Andrey Kiselev <[email protected]> 5455 5456 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 5457 TIFFCheckpointDirectory() routine added. 5458 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 5459 5460 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 5461 for the new function. 5462 54632002-04-08 Andrey Kiselev <[email protected]> 5464 5465 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 5466 additional members tif->tif_decodestatus and tif->tif_encodestatus 5467 for correct handling of unconfigured codecs (we should not try to read 5468 data or to define data size without correct codecs). 5469 5470 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 5471 changed. Now it has used tif->tif_decodestatus and 5472 tif->tif_encodestatus. 5473 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 5474 case of __cvs_8.tif test image). 5475 5476 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 5477 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 5478 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 5479 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 5480 54812002-04-04 Andrey Kiselev <[email protected]> 5482 5483 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 5484 replaced by warnings. Now libtiff should read corrupted LZW-compressed 5485 files by skipping bad strips. 5486 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5487 54882002-04-03 Frank Warmerdam <[email protected]> 5489 5490 * libtiff/tif_dirwrite.c: Removed some dead code. 5491 5492 * libtiff/*: Cleanup some warnings. 5493 5494 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 5495 for variable length FIELD_CUSTOM values. Was int * but should be 5496 u_short *. 5497 54982002-04-01 Andrey Kiselev <[email protected]> 5499 5500 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 5501 utility (at cpStripToTile routine). 5502 55032002-03-27 Frank Warmerdam <[email protected]> 5504 5505 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 5506 5507 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 5508 5509 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 5510 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 5511 5512 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 5513 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 5514 55152002-03-26 Dwight Kelly <[email protected]> 5516 5517 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 5518 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 5519 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 5520 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 5521 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 5522 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 5523 55242002-03-26 Andrey Kiselev <[email protected]> 5525 5526 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 5527 now also uses TIFFRGBAImageOK before reading. This is additional fix 5528 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 5529 55302002-03-25 Andrey Kiselev <[email protected]> 5531 5532 * libtiff/: tif_getimage.c: Additional check for supported 5533 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 5534 TIFFRGBAImageOK before reading. 5535 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 5536 55372002-03-15 Andrey Kiselev <[email protected]> 5538 5539 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 5540 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 5541 TIFFDataType sizes instead of working with tiffDataWidth array 5542 directly. Should prevent out-of-borders bugs in case of unknown or 5543 broken data types. EstimateStripByteCounts routine modified, so it 5544 won't work when tags with uknown sizes founded. 5545 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 5546 55472002-03-13 Andrey Kiselev <[email protected]> 5548 5549 * libtiff/tif_getimage.c: Added support for correct handling 5550 `Orientation' tag in gtTileContig. Should be added in other gt* 5551 functions as well, but I have not images for testing yet. Partially 5552 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 5553 55542002-03-10 Andrey Kiselev <[email protected]> 5555 5556 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 5557 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 5558 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 5559 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 5560 55612002-03-08 Andrey Kiselev <[email protected]> 5562 5563 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 5564 be stripped when installing, utility binaries will do. Closes 5565 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 5566 55672002-02-28 Frank Warmerdam <[email protected]> 5568 5569 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 5570 5571 * man/libtiff.3t: added copyright tag info. 5572 55732002-02-11 Frank Warmerdam <[email protected]> 5574 5575 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 5576 5577 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 5578 5579 * man/Makefile.in: Patch DESTDIR handling 5580 5581 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 5582 5583 * configure: OpenBSD changes for Sparc64 and DSO version. 5584 5585 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 5586 55872002-02-05 Frank Warmerdam <[email protected]> 5588 5589 * config.site/configure: added support for OJPEG=yes option to enable 5590 OJPEG support from config.site. 5591 55922002-01-27 Frank Warmerdam <[email protected]> 5593 5594 * html/document.html: fixed links for TIFf 6 docs. 5595 55962002-01-18 Frank Warmerdam <[email protected]> 5597 5598 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 5599 5600 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 5601 decodestrip function returns anything not greater than zero as per 5602 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 5603 5604 * configure: Modify CheckForBigEndian so it can work in a cross 5605 compiled situation. 5606 56072002-01-16 Frank Warmerdam <[email protected]> 5608 5609 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 5610 5611 * tools/tiffset.c: fix bug in error reporting. 5612 5613 * tools/tiffcp.c: fix several warnings that show up with -Wall. 5614 56152002-01-04 Frank Warmerdam <[email protected]> 5616 5617 * libtiff/tif_jpeg.c: fixed computation of segment_width for 5618 tiles files to avoid error about it not matching the 5619 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 5620 size.") for ITIFF files. Apparently the problem was incorporated since 5621 3.5.5, presumably during the OJPEG/JPEG work recently. 5622 56232001-12-15 Frank Warmerdam <[email protected]> 5624 5625 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 5626 5627 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 5628 5629 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 5630 (defined in tiffconf.h - 1 by default) then the RGBA interface 5631 will assume that a fourth extra sample is ASSOCALPHA if the 5632 EXTRASAMPLE value isn't set for it. This changes the behaviour of 5633 the library, but makes it work better with RGBA files produced by 5634 lots of applications that don't mark the alpha values properly. 5635 5636 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 5637 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 5638 56392001-12-12 Frank Warmerdam <[email protected]> 5640 5641 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 5642 override those from tiff directory. This makes this work with 5643 ImageGear generated files. 5644 56452001-12-07 Frank Warmerdam <[email protected]> 5646 5647 * html/Makefile.in: added missing images per bug 92. 5648 5649 * port/Makefile.in: fixed clean target per bug 92. 5650 56512001-11-28 Frank Warmerdam <[email protected]> 5652 5653 * Reissue 3.5.7 release. 5654 5655 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 5656 YYYYMMDD so that it is increasing over time. 5657 5658 * Makefile.in: Ensure that tiffvers.h is regenerated in the 5659 make release target. 5660 5661 * Makefile.in: added libtiff/tiffvers.h to the release file list. 5662 56632001-11-23 Frank Warmerdam <[email protected]> 5664 5665 * added html/v3.5.7.html, updated html/index.html. 5666 5667 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 5668 56692001-11-15 Frank Warmerdam <[email protected]> 5670 5671 * configure: fixed test for -lm. 5672 56732001-11-02 Frank Warmerdam <[email protected]> 5674 5675 * Added PHOTOMETRIC_ITULAB as per bug 90. 5676 5677 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 5678 56792001-10-10 Frank Warmerdam <[email protected]> 5680 5681 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 5682 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 5683 in keeping with TIFF 6.0 standard in tiff.h 5684 5685 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 5686 56872001-09-26 Frank Warmerdam <[email protected]> 5688 5689 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 5690 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 5691 56922001-09-24 Frank Warmerdam <[email protected]> 5693 5694 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 5695 5696 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 5697 5698 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 5699 error about LZW not being available. 5700 5701 * libtiff/tif_dir.c: propagate failure to initialize compression 5702 back from TIFFSetField() as an error status, so applications can 5703 detect failure. 5704 5705 * libtiff/tif_dir.c: removed the auto replacement of 5706 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 5707 5708 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 5709 from CVS as they are all supposed to be auto-generated by configure. 5710 57112001-09-22 Frank Warmerdam <[email protected]> 5712 5713 * libtiff/tif_ojpeg.c: new update from Scott. 5714 57152001-09-09 Frank Warmerdam <[email protected]> 5716 5717 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 5718 always use the "safe" version, even if there is a very slight 5719 cost in performance. 5720 5721 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 5722 5723 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 5724 in two places. 5725 5726 * libtiff/tif_getimage.c: Fixed problem with reading strips or 5727 tiles that don't start on a tile boundary. Fix contributed by 5728 Josep Vallverdu (from HP), and further described in bug 47. 5729 5730 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 5731 5732 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 5733 5734 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 5735 57362001-09-06 Frank Warmerdam <[email protected]> 5737 5738 * libtiff/tif_packbits.c: fixed memory overrun error. 5739 5740 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 5741 57422001-08-31 Frank Warmerdam <[email protected]> 5743 5744 * libtiff/tif_getimage.c: relax handling of contig case where 5745 there are extra samples that are supposed to be ignored. This 5746 should now work for 8bit greyscale or palletted images. 5747 5748 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 5749 57502001-08-28 Frank Warmerdam <[email protected]> 5751 5752 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 5753 images with more than four samples per pixel. See: 5754 5755 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 5756 57572001-08-10 Frank Warmerdam <[email protected]> 5758 5759 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 5760 in TIFFReadRGBATile() to avoid issues in cases of overlapping 5761 buffers. See Bug 69 in Bugzilla. 5762 5763 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 5764 5765 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 5766 57672001-08-09 Frank Warmerdam <[email protected]> 5768 5769 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 5770 when checking for 64 bit architectures as per bugzilla bug 67. 5771 57722001-07-27 Frank Warmerdam <[email protected]> 5773 5774 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 5775 bug 66. 5776 57772001-07-20 Frank Warmerdam <[email protected]> 5778 5779 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 5780 has been included. 5781 57822001-07-19 Frank Warmerdam <[email protected]> 5783 5784 * libtiff/tif_open.c: Seek back to zero after failed read, 5785 before writing header. 5786 57872001-07-18 Frank Warmerdam <[email protected]> 5788 5789 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 5790 much better. Now depends on having patched libjpeg as per 5791 patch in contrib/ojpeg/*. 5792 57932001-07-17 Frank Warmerdam <[email protected]> 5794 5795 * */Makefile.in: added DESTDIR support. 5796 5797 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 5798 57992001-07-16 Frank Warmerdam <[email protected]> 5800 5801 * configure, libtiff/Makefile.in: applied OpenBSD patches 5802 as per: 5803 5804 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 5805 58062001-06-28 Frank Warmerdam <[email protected]> 5807 5808 * libtiff/tif_getimage.c: Fixed so that failure is properly 5809 reported by gtTileContig, gtStripContig, gtTileSeparate and 5810 gtStripSeparate. 5811 5812 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 5813 5814 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 5815 Updated bug section of tiffcmp.1 to note tiled file issues. 5816 5817 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 5818 58192001-06-22 Frank Warmerdam <[email protected]> 5820 5821 * configure: Changes for DSO generation on AIX provided by 5822 John Marquart <[email protected]>. 5823 5824 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 5825 on Darwin thanks to Robert Krajewski ([email protected]) and 5826 Keisuke Fujii ([email protected]). 5827 58282001-06-13 Frank Warmerdam <[email protected]> 5829 5830 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 5831 5832 * man/tiff2rgba.1: new 5833 58342001-05-22 Frank Warmerdam <[email protected]> 5835 5836 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 5837 58382001-05-13 Frank Warmerdam <[email protected]> 5839 5840 * libtiff/tools/thumbnail.c: changed default output compression 5841 to packbits from LZW since LZW isn't generally available. 5842 58432001-05-12 Frank Warmerdam <[email protected]> 5844 5845 * libtiff/tif_ojpeg.c: New. 5846 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 5847 to OJPEG support. 5848 5849 Scott Marovich <[email protected]> supplied OJPEG support. 5850 58512001-05-11 Frank Warmerdam <[email protected]> 5852 5853 * tiff.h: removed, it duplicates libtiff/tiff.h. 5854 58552001-05-08 Frank Warmerdam <[email protected]> 5856 5857 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 5858 ensure everything is in order. 5859 5860 * libtiff/libtiff.def: added TIFFCreateDirectory and 5861 TIFFDefaultStripSize as per: 5862 5863 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 5864 58652001-05-02 Frank Warmerdam <[email protected]> 5866 5867 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 5868 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 5869 force use of uint32 counts instead of short counts. 5870 5871 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 5872 case of writing TIFF_BYTE/TIFF_SBYTE fields. 5873 5874 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 5875 58762001-05-01 Frank Warmerdam <[email protected]> 5877 5878 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 5879 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 5880 58812001-04-05 Frank Warmerdam <[email protected]> 5882 5883 * tiffio.h: removed C++ style comment. 5884 5885 * configure: fixed up SCRIPT_SH/SHELL handling. 5886 5887 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 5888 5889 * config.guess: documented more variables as per bug 40. 5890 58912001-04-03 Frank Warmerdam <[email protected]> 5892 5893 * configure, *Makefile.in: Various changes to improve configuration 5894 for HP/UX specifically, and also in general. They include: 5895 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 5896 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 5897 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 5898 - Use -${MAKEFLAGS} in sub makes from makefiles. 5899 5900 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 5901 59022001-04-02 Frank Warmerdam <[email protected]> 5903 5904 * libtiff/tiff.h: Applied hac to try and resolve the problem 5905 with the inttypes.h include file on AIX. 5906 5907 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5908 5909 * VERSION: update to 3.5.7 beta in preparation for release. 5910 5911 * configure/config.site: modified to check if -lm is needed for 5912 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 5913 5914 * config.guess: updated wholesale to an FSF version apparently 5915 from 1998 (as opposed to 1994). This is mainly inspired by 5916 providing for MacOS X support. 5917 59182001-03-29 Frank Warmerdam <[email protected]> 5919 5920 * configure, Makefile.in, etc: added support for OPTIMIZER being 5921 set from config.site. 5922 59232001-03-28 Frank Warmerdam <[email protected]> 5924 5925 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 5926 5927 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 5928 sizes. It fixes two problems: 5929 5930 Without scaling (-S) the fax is now centered on the page size specified 5931 with -H and/or -W. Before, fax2ps was using an obscure and practially 5932 useless algorithm to allocate the image relative to Letter sized paper 5933 which sometime sled to useless whitespace on the paper, while at the 5934 same time cutting of the faxes printable area at the opposite border. 5935 5936 Second, scaling now preserves aspect ratio, which makes unusual faxes 5937 (in particular short ones) print properly. 5938 5939 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 5940 5941 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 5942 Bruce A. Mallett. See check message for detailed information 5943 on all the changes, including a faster encoder, fixes for level 5944 2 PostScript, and support for the imagemask operator. 5945 59462001-03-27 Frank Warmerdam <[email protected]> 5947 5948 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 5949 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 5950 5951 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5952 59532001-03-16 Frank Warmerdam <[email protected]> 5954 5955 * tif_dirinfo.c: moved definition of copyright tag in field list. 5956 Apparently they have to be in sorted order by tag id. 5957 59582001-03-13 Frank Warmerdam <[email protected]> 5959 5960 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 5961 images in RGBA interface. 5962 59632001-03-02 Frank Warmerdam <[email protected]> 5964 5965 * Added TIFFTAG_COPYRIGHT support. 5966 59672001-02-19 Frank Warmerdam <[email protected]> 5968 5969 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 5970 with support for extracting subimages with the ,n syntax, and also 5971 adding the -b bias removal flag. 5972 59732001-02-16 Frank Warmerdam <[email protected]> 5974 5975 * libtiff/libtiff.def: Brent Roman submitted new version adding 5976 serveral missing entry points. 5977 5978 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 5979 Some sort of weird VMS thing. 5980 5981 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 5982 5983 * tif_luv.c/tiff.h/tiffio.h: 5984 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 5985 ([email protected]). He writes: 5986 5987 1) I improved the gamut-mapping function in tif_luv.c for imaginary 5988 colors, because some images were being super-saturated on the input 5989 side and this resulted in some strange color shifts in the output. 5990 5991 2) I added a psuedotag in tiff.h to control random dithering during 5992 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 5993 on for 24-bit LogLuv output. Dithering improves the average color 5994 accuracy over the image. 5995 5996 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 5997 tiffio.h, to expose internal routines for converting between LogLuv and 5998 XYZ coordinates. This is helpful for writing more efficient, 5999 specialized conversion routines, especially for reading LogLuv files. 6000 6001 Changes applied with minor edits. 6002 60032001-01-23 Frank Warmerdam <[email protected]> 6004 6005 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 6006 whether we are encoding or decoding. This is to ensure graceful 6007 recovery if TIFFClientOpen() discovers an attempt to open a compressed 6008 file for "r+" access, and subsequently close it, as it resets the 6009 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 6010 compressor's concept of whether it is in encode or decode mode. 6011 60122001-01-08 Mike Welles <[email protected]> 6013 6014 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 6015 60162001-01-07 Frank Warmerdam <[email protected]> 6017 6018 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 6019 as per bug report by Patrick Connor. 6020 60212000-12-28 Frank Warmerdam <[email protected]> 6022 6023 * Added RELEASE-DATE file to release file list. 6024 6025 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 6026 60272000-12-22 Mike Welles <[email protected]> 6028 * added link to CVS mirror from index.html 6029 6030 * updated html/internals.html to note that LZW compression is 6031 not supported by default. 6032 60332000-12-22 Frank Warmerdam <[email protected]> 6034 6035 * updated html/libtiff.html to not point at Niles' old JPL web site 6036 for the man pages, point at www.libtiff.org. 6037 60382000-12-21 Frank Warmerdam <[email protected]> 6039 6040 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 6041 Leonard Rosenthol <[email protected]>. May interfere 6042 with correct building on older systems. If so, please let me know. 6043 60442000-12-19 Mike Welles <[email protected]> 6045 6046 * Took out LZW Encoding from tif_lzw.c 6047 6048 * Created HOWTO-RELEASE 6049 6050 * Created html/v3.5.6.html 6051 6052 * updated index.html 6053 60542000-12-01 Frank Warmerdam <[email protected]> 6055 6056 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 6057 Patches supplied by Frank Cringle <[email protected]> 6058 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 6059 60602000-11-24 Frank Warmerdam <[email protected]> 6061 6062 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 6063 target so that the private headers required by libgeotiff can be 6064 installed with the others. They are not installed by default. 6065 6066 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 6067 targets so libtiff.so will be built with an explicit dependency 6068 on libm.so. 6069 6070 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 6071 libtiff.so.3.5.5. 6072 6073 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 6074 file, or ALPHA version logic. Added stuff about DIST_POINT in 6075 place of DIST_TYPE and the alpha release number stuff. 6076 60772000-11-22 Frank Warmerdam <[email protected]> 6078 6079 * I have applied a patch from Steffen Moeller <[email protected]> to 6080 the configure script so that it now accepts the --prefix, and 6081 --exec-prefix directives. 6082 60832000-11-13 Frank Warmerdam <warmerda@cs46980-c> 6084 6085 * I have made a variety of modifications in an effort to ensure the 6086 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 6087 file which seems to be updated regularly. 6088 6089 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 6090 version include file. 6091 o renamed version.h to tiffvers.h because we now have to install it 6092 with the public libtiff include files. 6093 o include tiffvers.h in tiffio.h. 6094 o updated tif_version.c to use tiffvers.h. 6095 o Updated Makefile.in accordingly. 6096 6097 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 6098 I have updated the win32 detection rules in tiffcomp.h. 6099 61002000-10-20 Frank Warmerdam <warmerda@cs46980-c> 6101 6102 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 6103 the strip/tile width and height aren't multiples of the sampling size. 6104 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 6105 Some patches from Rick LaMont of Dot C Software. 6106 6107 * Modified tif_packbits.c encoder to avoid compressing more 6108 data than provided if rowsize doesn't factor into provided data 6109 (such as occurs for YCbCr). 6110 61112000-10-19 Frank Warmerdam <warmerda@cs46980-c> 6112 6113 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 6114 roundup if rows_per_strip not a multiple of vertical sample size. 6115 61162000-10-16 Frank Warmerdam <warmerda@cs46980-c> 6117 6118 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 6119 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 6120 from [email protected]. 6121 6122 * Modified tif_packbits.c decoding to avoid overrunning the 6123 output buffer, and to issue a warning if data needs to be 6124 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 6125 61262000-10-12 Frank Warmerdam <warmerda@cs46980-c> 6127 6128 * Modified tiff2bw to ensure portions add to 100%, and that 6129 white is properly recovered. 6130 6131 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 6132 Patch c/o Stanislav Brabec <[email protected]> 6133 61342000-09-30 Frank Warmerdam <warmerda@cs46980-c> 6135 6136 * Modified TIFFClientOpen() to emit an error on an attempt to 6137 open a comperessed file for update (O_RDWR/r+) access. This is 6138 because the compressor/decompressor code gets very confused when 6139 the mode is O_RDWR, assuming this means writing only. See 6140 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 6141 61422000-09-27 Frank Warmerdam <warmerda@cs46980-c> 6143 6144 * Added GNULDdso target an`d switched linux and freebsd to use it. 6145 61462000-09-26 Frank Warmerdam <warmerda@cs46980-c> 6147 6148 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 6149 of EXPAND1D() as per bug 11 (from Roman). 6150 61512000-09-25 Frank Warmerdam <warmerda@cs46980-c> 6152 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 6153 cygwin compatibility. 6154 6155 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 6156 be a proper fix to the buffer sizing problem. See 6157 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 6158 6159 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 6160 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 6161 Thanks to Nick Lamb <[email protected]> for reporting the 6162 bug and proving the patch. 6163 61642000-09-18 Frank Warmerdam <warmerda@cs46980-c> 6165 6166 * Fixed tif_jpeg.c so avoid destroying the decompressor before 6167 we are done access data thanks to bug report from: 6168 Michael Eckstein <[email protected]>. 6169 6170 * Reverted tif_flush change. 6171 61722000-09-14 Frank Warmerdam <warmerda@cs46980-c> 6173 6174 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 6175 error when TIFF_BEENWRITING is not set. This ensures that the 6176 directory contents can still be flushed by TIFFFlush(). 6177 61782000-08-14 Frank Warmerdam <[email protected]> 6179 6180 * tif_open.c: Don't set MMAP for O_RDWR files. 6181 6182 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 6183 so that files opened for update can be strip chopped too. 6184 6185 * tif_read.c: fixed up bug with files missing rowsperstrip and 6186 the strips per separation fix done a few weeks ago. 6187 61882000-07-17 Frank Warmerdam <warmerda@cs46980-c> 6189 6190 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 6191 SAMPLEFORMAT_COMPLEXINT. 6192 61932000-07-13 Mike Welles <[email protected]> 6194 6195 * index.html, bugs.html: added bugzilla info. 6196 61972000-07-12 Frank Warmerdam <[email protected]> 6198 6199 * tif_read.c: fix subtle bug with determining the number of 6200 rows for strips that are the last strip in a separation but 6201 not the last strip of all in TIFFReadEncodedStrip(). 6202 6203 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 6204 Peter Skarpetis <[email protected]> 6205 62062000-06-15 Frank Warmerdam <[email protected]> 6207 6208 * Modified tiffio.h logic with regard to including windows.h. It 6209 won't include it when building with __CYGWIN__. 6210 62112000-05-11 Frank Warmerdam <warmerda@cs46980-c> 6212 6213 * README: update to mention www.libtiff.org, don't list Sam's old 6214 email address. 6215 6216 * configure: Fixed DSO test for Linux as per patch from 6217 Jan Van Buggenhout <[email protected]>. 6218 62192000-04-21 Frank Warmerdam <[email protected]> 6220 6221 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 6222 one tile/strip images with an offset, and byte count of zero. These 6223 could be "unpopulated" images. 6224 62252000-04-18 Frank Warmerdam <[email protected]> 6226 6227 * contrib/addtiffo: Added "averaging" resampling option. 6228 6229 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 6230 6231Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 6232 6233 * tools/Makefile.in: Modified to install properly on SGI. 6234 62352000-04-12 Mike Welles <[email protected]> 6236 * configure: Fixed stupid mistake in libc6 test on Linux 6237 62382000-04-04 Mike Welles <[email protected]> 6239 * tif_win32.c: Applied patch to fix overreads and ovverwrites 6240 caught by BoundsChecker. From Arvan Pritchard 6241 <[email protected]> (untested). 6242 6243 * tif_getimage.c: Applied patch to silence VC6 warnings. From 6244 Arvan Pritchard <[email protected]> 6245 6246 * tif_lzw.c: Applied patch to silence VC6 warnings. From 6247 Arvan Pritchard <[email protected]> 6248 62492000-03-28 Frank Warmerdam <warmerda@cs46980-c> 6250 6251 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 6252 62532000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 6254 6255 * fax2ps: Fixed mixup of width and height in bounding box statement 6256 as per submission by Nalin Dahyabhai <[email protected]>. 6257 62582000-03-27 Mike Welles <[email protected]> 6259 6260 * fax2ps: Modified printruns to take uint32 instead of uint16. 6261 Patch courtesy of Bernt Herd <[email protected]> 6262 62632000-03-20 Mike Welles <[email protected]> 6264 6265 * configure: added test for libc6 for linux targets. Bug reported by 6266 Stanislav Brabec <[email protected]> 6267 6268 * Added 3.5 docs to html/Makefile.in. 6269 Thanks to Stanislav Brabec <[email protected]> 6270 6271 * configure: fixed bugs in sed scripts 6272 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 6273 fix submitted to Stanislav Brabec <[email protected]> 6274 6275 * tools/iptcutil was not in files list, and wasn't being 6276 added to tar archive. Updated Makefile.in. 6277 62782000-03-17 Frank Warmerdam <warmerda@cs46980-c> 6279 6280 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 6281 conversion for the run arrays. 6282 62832000-03-03 Frank Warmerdam <[email protected]> 6284 6285 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 6286 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 6287 62882000-03-02 Frank Warmerdam <[email protected]> 6289 6290 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 6291 6292 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 6293 to avoid overruns encountered with frle_bug.tif. 6294 6295Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 6296 6297 * Fixed tools/tiffcmp so that stopondiff testing works. 6298 Patch care of Joseph Orost <[email protected]>. 6299 63002000-01-28 <warmerda@CS46980-B> 6301 6302 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 6303 set to 1, and added default (off) setting in tiffconf.h. This 6304 should eventually be set by the configure script somehow. 6305 6306 The original work on all these 2-4GB changes was done by 6307 Peter Smith ([email protected]). 6308 6309 * Modified tif_win32.c to support 2-4GB seeks. 6310 6311 * tentatively changed toff_t to be unsigned instead of signed to 6312 facilitate support for 2-4GB files. 6313 6314 * Updated a variety of files to use toff_t. Fixed some mixups 6315 between toff_t and tsize_t. 6316 6317Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 6318 6319 * Largely reimplemented contrib/addtiffo to avoid temp files, 6320 updating the TIFF file in place. Fixed a few other bugs to. 6321 6322 * Set tif_rawdatasize to zero when freeing raw data buffer in 6323 TIFFWriteDirectory(). 6324 6325 * Enabled "REWRITE_HACK" in tif_write.c by default. 6326 6327 * Fix bug in tif_write.c when switching between reading one directory 6328 and writing to another. 6329 6330 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 6331 6332Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 6333 6334 * Added TIFFmemory(3t) functions to libtiff.def. 6335 6336Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 6337 6338 * Added libtiff/libtiff.def to TIFFILES distribution list. 6339 6340Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 6341 6342 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 6343 6344 * Altered descriptions in tools to reflect "by default" lzw not supported 6345 6346 * Updated index.html to note lzw compression kit. 6347 6348Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 6349 6350 * Added fax3sm_winnt.c to distribution list in Makefile.in. 6351 6352Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 6353 6354 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 6355 6356 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 6357 when LZW compression invoked. 6358 6359 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 6360 in tools to reflect removal of LZW compression 6361 6362Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 6363 6364 * Fixed bug that caused LZW (non) compression to segfault. Added 6365 warning about LZW compression removed being removed, and why. 6366 6367 * Added nostrip to install in tools/Makefile.in so that debugging 6368 symbols are kept. 6369 6370Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 6371 6372 * Added patch from Ivo Penzar <[email protected]>, 6373 supporting Adobe ZIP deflate. Untested. 6374 6375Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 6376 6377 * Made Packbits the default compression in tools/tiff2rgba.c instead 6378 of LZW. 6379 6380Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 6381 6382 * Added tif_luv to contrib/djgpp/Makefile.lib. 6383 6384Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 6385 6386 * Added zip creation to relase makefile target 6387 6388 * Added html for TIFFWriteTile.3t man page. 6389 6390Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 6391 6392 * Added some changes to tif_write.c to support rewriting existing 6393 fixed sized tiles and strips. Code mods disabled by default, only 6394 enabled if REWRITE_HACK is defined for now. 6395 6396Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 6397 6398 * Added TIFFWriteTile.3t man page. 6399 6400Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 6401 6402 * Added notes on use of makefile.vc in build.html, and fixed 6403 email subscription address. 6404 6405199-11-28 Mike Welles <[email protected]> 6406 6407 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 6408 6409 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 6410 from Bruce Carmeron <[email protected]> -- modifications of 6411 changes made by Frank (sun cc still complained on cast). 6412 6413 * Added tiffconf.h to install target per request from Bill 6414 Radcliffe <[email protected]>: "We need a way for ImageMagick to 6415 know features have been compiled into the TIFF library in order to 6416 handle things properly". 6417 6418Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 6419 6420 * fixed various VC++ warnings as suggested by Gilles Vollant 6421 <[email protected]>. 6422 6423Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 6424 6425 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 6426 not imply applications are responsible for image data swapping. 6427 64281999-11-22 Mike Welles <[email protected]> 6429 * HTML-ized the man pages, added to html/man 6430 6431 * Removed LZW Compression to comply with Unisys patent extortion. 6432 64331999-09-29 Mike Welles <[email protected]> 6434 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 6435 From Ivo Penzar <[email protected]. 6436 6437 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 6438 memory mapped files. <[email protected]> 6439 64401999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 6441 * Corrected alpha versioning. 6442 6443 * Removed distinction between alpha and release targets in Makefile.in. 6444 6445 * added release.stamp target, which tags cvs tree, and updates 6446 "RELEASE-DATE" 6447 6448 * added releasediff target, which diffs tree with source as of 6449 date in "RELEASE-DATE" 6450 6451 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 6452 away from alpha/non-alpha distinctions). 6453 6454 * updated html to reflect release 6455 64561999-09-23 <warmerda@CS46980-B> 6457 6458 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 6459 6460 * Added CYGWIN case in configure. 6461 6462Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 6463 6464 * Applied Francois Dagand's patch to handle fax decompression bug. 6465 (sizes >= 65536 were failing) 6466 6467Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 6468 6469 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 6470 by Christopher Lawton <[email protected]> 6471 6472Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 6473 6474 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 6475 Albert Chin-A-Young <[email protected]> 6476 6477 * Added TIFFReassignTagToIgnore() API on behalf of 6478 Bruce Cameron <[email protected]>. Man page still pending. 6479 6480Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 6481 6482 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 6483 files to provide for a rudimentary testsuite. 6484 6485 * Added contrib/tags back from old distribution ... fixed up a bit. 6486 64871999-08-16 <warmerda@CS46980-B> 6488 6489 * Added simple makefile.vc makefiles for building with MS VC++ 6490 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 6491 better solutions for some users. 6492 6493Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 6494 6495 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 6496 put it in tools since part of it is in C++. 6497 64981999-08-16 Michael L. Welles <[email protected]> 6499 6500 * Updated html/index.html with anon CVS instructions. 6501 6502Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 6503 6504 * pre-remove so link before softlink in LINUXdso action in 6505 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 6506 the first. 6507 6508 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 6509 colormaps owned by the TIFF handle itself when trying to fixup wrong 6510 (eight bit) colormaps. Corrected by maintaining a private copy of 6511 the colormap. 6512 6513 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 6514 tif_getimage.c. 6515 6516 * CVS Repository placed at remotesensing.org. ChangeLog added. 6517