12015-09-12 Bob Friesenhahn <[email protected]> 2 3 * libtiff 4.0.6 released. 4 5 * html/v4.0.6.html: Added release notes for 4.0.6. 6 72015-09-06 Bob Friesenhahn <[email protected]> 8 9 * tools/tiffgt.c: Silence glut API deprecation warnings on MacOS 10 X. Patch by Roger Leigh. 11 12 * Makefile.am: Added a 'coverity' rule to assist with Coverity 13 submissions. 14 15 * tools/tiff2pdf.c: Fix compiler warning about unused function 16 when JPEG is not available. 17 18 * tools/fax2ps.c (main): Detect failure to write to temporary 19 file. 20 212015-09-05 Bob Friesenhahn <[email protected]> 22 23 * libtiff/tif_dirread.c (TIFFReadDirEntryCheckRangeSlongSlong8): 24 Change implementation so that it does not sometimes overflow the 25 range of a 32-bit int and to avoid a signed vs unsigned compare 26 compiler warning. 27 (TIFF_INT64_MAX): Avoid use of platform-specific large constants. 28 (TIFF_UINT32_MAX): Avoid use of platform-specific large constants. 29 302015-09-01 Bob Friesenhahn <[email protected]> 31 32 * Makefile.am (distcheck-hook), configure.ac: Applied patches by 33 Roger Leigh (via tiff mailing list on 2015-09-01) to fix issue 34 with BSD make and to make use of cmake in 'distcheck' target 35 conditional on if cmake is available. 36 37 * CMakeLists.txt, Makefile.am, configure.ac: Applied patches by 38 Roger Leigh (via tiff mailing list on 2015-09-01). 39 40 CMake build is now included in 'distcheck' target. 41 42 Builds with CMake 2.8.9 and newer. 43 44 Tar is now resquested to use POSIX PAX format. 45 462015-08-31 Bob Friesenhahn <[email protected]> 47 48 * CMakeLists.txt, libtiff/test/Makefile.am: Applied patches by 49 Roger Leigh (via tiff mailing list on 2015-08-31. 50 51 CMake reads all version information directly from configure.ac to 52 avoid duplication of values. This basically greps over the file 53 for the LIBTIFF_* variables, then translates them to the form 54 needed for cmake. This includes the release version and libtool 55 shared library version information. 56 57 Make shared/static library building configurable. Currently it 58 always builds shared libraries, with static libs having a _static 59 suffix (copying zlib, but it means it's got a non-standard name). 60 CMake has a -DBUILD_SHARED_LIBS=ON|OFF option to select one or the 61 other, which is now used instead. There's now a single "tiff" 62 target to build either shared or static as required, and all the 63 tests and tools are linked with this. Note: the Windows tests fail 64 when linked with a static libtiff (says: libtiff.dll not found). 65 Not really a regression since this was not tested up to this 66 point, and it's likely the unit tests haven't (ever?) been run on 67 Windows with a static libtiff, so there's some additional 68 portability issue here to address. Works fine on UNIX systems, 69 and fine on Windows with the default to build a DLL. 70 71 Add a missing file which wasn't being distributed, causing unit 72 tests to fail. Note that "find . -name '*.cmake'" lists all the 73 CMake files which need distributing in addition to all the 74 CMakeLists.txt files (which now are distributed). 75 762015-08-31 Even Rouault <even.rouault at spatialys.com> 77 78 * libtiff/tif_predict.c: pedantic change to add explicit masking 79 with 0xff before casting to uchar in floating-point horizontal 80 differencing and accumulation routines. 81 822015-08-31 Even Rouault <even.rouault at spatialys.com> 83 84 * libtiff/tif_predict.c: fix generation of output with 16 bit 85 or 32 bit integer, when byte swapping is needed, in 86 horizontal predictor (#2521). Also fixes decoding when there is 87 a single pixel to code (unlikely case...) and byte swapping is 88 involved. 89 902015-08-30 Even Rouault <even.rouault at spatialys.com> 91 92 * libtiff/tif_lzw.c: make nextdata a unsigned type to avoid 93 undefined behaviour with shifts (gcc -fsanitize=shift) 94 952015-08-30 Even Rouault <even.rouault at spatialys.com> 96 97 * libtiff/tif_fax3.c, libtiff/tif_lzw.c, libtiff/tif_predict.c: 98 add explicit masking with 0xff before casting 99 to unsigned char (make icc -check=conversions happy) 100 101 * libtiff/tif_predict.c: operate on unsigned datatypes when 102 computing/applying differences to avoid undefined behaviour of 103 signed types (C standard compliance) 104 1052015-08-30 Bob Friesenhahn <[email protected]> 106 107 * configure.ac: libtiff 4.0.5 released. 108 1092015-08-29 Bob Friesenhahn <[email protected]> 110 111 * CMakeLists.txt: Applied patch by Roger Leigh (via tiff mailing 112 list on 2015-08-29) to add ld-version-script option to cmake build 113 to match autoconf. Note: defaults to 'on' to be ABI-compatible by 114 default with common Linux distribution builds. Note that the 115 autoconf configure script defaults to 'off'. 116 117 * html/build.html: Applied patch by Roger Leigh (via tiff mailing 118 list on 2015-08-29) to describe how to use CMake to build libtiff. 119 1202015-08-28 Bob Friesenhahn <[email protected]> 121 122 * html/v4.0.5.html: Added HTML file describing the changes which 123 will appear in the 4.0.5 release. 124 1252015-08-23 Bob Friesenhahn <[email protected]> 126 127 * libtiff/tiffiop.h: For MinGW comiles, make sure that build 128 supports necessary __MSVCRT_VERSION__ (at least at least 0x800). 129 Otherwise large files can not be supported for POSIX-style I/O. 130 131 * tools/fax2tiff.c (main): Eliminate a compiler warning in 64-bit 132 builds about cast to thandle_t. 133 134 * test/rewrite_tag.c (main): Does not require any arguments. 135 1362015-08-20 Bob Friesenhahn <[email protected]> 137 138 * tools/CMakeLists.txt, port/snprintf.c: Patch by Roger Leigh to 139 fix build issues when using Cmake due to Windows large file 140 changes. 141 1422015-08-18 Bob Friesenhahn <[email protected]> 143 144 * libtiff/tiffiop.h: First cut at supporting large files under 145 Microsoft Windows using tif_unix.c and the libtiff tools. This 146 only works if the Windows CDK is new enough to support the APIs 147 used (Visual C++ 2005 or later). Support for large files is not 148 actually tested yet. 149 1502015-08-15 Bob Friesenhahn <[email protected]> 151 152 * libtiff/tif_jpeg.c: Applied patch by Räisä Olli to assure that 153 client_data is initialized to a known value, and to report an 154 error on two memory allocation failures. 155 1562015-08-13 Bob Friesenhahn <[email protected]> 157 158 * CMakeLists.txt: Applied patch by Roger Leigh to fix libtiffxx 159 symbol versioning. Patch was mailed to libtiff list on Thu, 13 160 Aug 2015. 161 1622015-07-04 Bob Friesenhahn <[email protected]> 163 164 * cmake: Add d suffix to debug libraries with MSVC. Patch #3 of 3 165 by Roger Leigh posted to tiff list on Wed, 1 Jul 2015 15:58:20 166 +0100. 167 168 * cmake: Add extra warning flags. Patch #2 of 3 by Roger Leigh 169 posted to tiff list on Wed, 1 Jul 2015 15:58:20 +0100. 170 171 * cmake: Correct snprintf fallback for VS2015. Patch #1 of 3 by 172 Roger Leigh posted to tiff list on Wed, 1 Jul 2015 15:58:20 +0100. 173 1742015-06-24 Bob Friesenhahn <[email protected]> 175 176 * CMakeLists.txt: Add CMake patchset by Roger Leigh as posted to 177 libtiff mailing list on Mon, 22 Jun 2015 21:21:01 +0100. Several 178 corrections to ensure that the autotools build still works were 179 added by me. I have not yet tested the build using 'cmake' or 180 MSVC with 'nmake'. 181 1822015-06-21 Bob Friesenhahn <[email protected]> 183 184 * test/Makefile.am: tiff2rgba-quad-tile.jpg.sh depends on the JPEG 185 library so only execute if JPEG is available. 186 187 * libtiff 4.0.4 released. 188 189 * configure.ac: Add a HAVE_FOO Automake conditional for each 190 add-on library. 191 192 * test/Makefile.am (JPEG_DEPENDENT_CHECK_PROG): raw_decode 193 requires JPEG support to compile. Use Automake conditional to 194 only include it when JPEG support is available. 195 196 * html/build.html: Try to improve the nmake-based VC++ build 197 description. 198 199 * libtiff/tiffconf.vc.h: Build fixes based on testing. 200 201 * libtiff/tif_config.vc.h: Build fixes based on testing. 202 203 * libtiff/libtiff.def: TIFFRasterScanline does not exist so remove 204 export for it. 205 2062015-06-20 Bob Friesenhahn <[email protected]> 207 208 * libtiff/tif_config.vc.h: Make adjustments to match the new 209 definitions that configure produces, including for WIN64. Still 210 needs to be tested. 211 212 * configure.ac: For 64-bit MinGW, fix SSIZE_FORMAT formatting 213 specifier. 64-bit MinGW supports 'long long' but support for 214 'lld' is not assured by the run-time DLLs and so GCC warns. 215 Add TIFF_SIZE_T and TIFF_SIZE_FORMAT to provide a type definition 216 and printf format specifier to deal with printing values of 217 'size_t' type. In particular, this was necessary for WIN64. 218 Added a configure test for if the system headers provide 'optarg' 219 (normal case) and block out the many explicit 'extern' statements 220 in the utilities. This was found to be necessary under Windows 221 when getopt is in a DLL and the symbols are already imported with 222 dllimport via standard header files. 223 224 * test/raw_decode.c (XMD_H): Avoid conflicting typedefs for INT32 225 and boolean in MinGW build due to including jpeglib.h. 226 227 * test/rewrite_tag.c (main): Fix problem with location of variable 228 declaration. 229 230 * libtiff/libtiff.def: Added exports for TIFFGetConfiguredCODECs, 231 TIFFReadRGBAImageOriented, TIFFSetCompressionScheme, 232 TIFFSwabArrayOfTriples, TIFFVGetFieldDefaulted, _TIFFCheckRealloc, 233 TIFFRasterScanline, TIFFSetErrorHandlerExt, 234 TIFFSetWarningHandlerExt, TIFFNumberOfDirectories, 235 TIFFCreateCustomDirectory, TIFFCreateEXIFDirectory, 236 TIFFWriteCustomDirectory, _TIFFRewriteField as recommended by 237 Roger Leigh and justified by use in libtiff tests, documentation, 238 and changelog notes. Also sorted symbol list and removed 239 duplicate entries. 240 2412015-06-16 Bob Friesenhahn <[email protected]> 242 243 * libtiff/tif_getimage.c: Fix four Coverity issues related to 244 unintended sign extension. 245 2462015-06-16 Even Rouault <even.rouault at spatialys.com> 247 248 * libtiff/tif_unix.c: fix compilation with MSVC (fix by Jeff McKenna) 249 2502015-06-14 Lee Howard <[email protected]> 251 252 * libtiff/tif_unix.c: contribution from Vadim Zeitlin on 253 Bugzilla Bug #2510 fixes several harmless but still annoying 254 warnings 255 256 * configure: contribution from Ludolf Holzheid on Bugzilla 257 Bug #2498. Adds an option to select the file I/O style on 258 Windows hosts. 259 260 * libtiff/tif_getimage.c: contribution from Gary Cramblitt 261 on Bugzilla Bug #2409. Correct reading of certain tiled TIFFs. 262 263 * configure, configure.ac: contribution from Marcos H. Woehrmann 264 on Bugzilla Bug #2405. Correct shell equality operator. 265 266 * tools/tiffgt.c (raster_draw): contribution from Jay Berkenbilt 267 on Bugzilla Bug #2401. Appropriately call glFlush(). 268 269 * tools/tiff2pdf.c: change ColorTransform from "0" to "1" 270 following Bugzilla Bug #2150. 271 2722015-06-13 Lee Howard <[email protected]> 273 274 * libtiff/tif_lzw.c: contribution from Andy Cave - decode 275 files that contain consecutive CODE_CLEAR codes. 276 277 * tools/tiff2pdf.c: contribution from Antti S. Lankila on 278 Bugzilla Bug #2078. Suppress initial output of the header. 279 280 * tools/tiff2pdf.c: contribution from Yuriy M. Kaminskiy - 281 Take care in using the return value from snprintf(). 282 283 * tools/tiffcrop.c: contribution from Eduardo Robles Elvira - 284 correctly copy the compression tag from the source TIFF. 285 286 * tools/tiff2ps.c: contribution from Eduardo Robles Elvira - 287 correct sizing and scaling problems with output document. 288 2892015-06-10 Bob Friesenhahn <[email protected]> 290 291 * libtiff/tif_jpeg.c (JPEGDecode): Split JPEGDecode() into two 292 clean implementations in order to avoid pre-processor hell. Only 293 one of the implementations is used in a given build. 294 2952015-06-08 Even Rouault <even.rouault at spatialys.com> 296 297 * libtiff/tif_jpeg.c: Fix compilation in BITS_IN_JSAMPLE == 12 298 case 299 3002015-06-07 Bob Friesenhahn <[email protected]> 301 302 * libtiff/tif_write.c (TIFFWriteEncodedStrip): Fix Coverity 715975 303 "Division or modulo by zero". 304 (TIFFWriteEncodedTile): Fix Coverity 715976 and 715977 "Division 305 or modulo by zero". 306 (TIFFWriteRawStrip): Fix Coverity 715978 "Division or modulo by 307 zero". 308 (TIFFWriteScanline): Fix Coverity 715979 "Division or modulo by 309 zero". 310 311 * libtiff/tif_read.c (TIFFStartTile): Fix Coverity 715973 and 312 715974 "Division or modulo by zero". 313 3142015-05-31 Bob Friesenhahn <[email protected]> 315 316 * libtiff/tif_dir.c (TIFFNumberOfDirectories): Quiet Coverity 317 1134470 "Logically dead code" by making the roll-over check 318 explicit. 319 320 * libtiff/tif_luv.c (LogLuvDecodeTile): Fix Coverity 991227 321 "Division or modulo by zero". 322 (LogLuvDecodeStrip): Fix Coverity 991239 "Division or modulo by 323 zero". 324 (LogLuvEncodeStrip): Fix Coverity 991240 "Division or modulo by 325 zero". 326 (LogLuvEncodeTile): Fix Coverity 991241 "Division or modulo by 327 zero". 328 329 * libtiff/tif_dirread.c (TIFFReadDirEntryDoubleArray): Fix 330 Coverity 298626 "Logically dead code". 331 (TIFFReadDirEntryFloatArray): Fix Coverity 298627 "Logically dead 332 code". 333 (TIFFReadDirEntryIfd8Array): Fix Coverity 298628 "Logically dead 334 code". 335 (TIFFReadDirEntrySlong8Array): Fix Coverity 298629 "Logically dead 336 code" 337 338 * libtiff/tif_dir.c (TIFFNumberOfDirectories): Don't depend on ++ 339 operator precedenc in evaluation. Might quench Coverity 1134470 340 "Logically dead code". 341 342 * libtiff/tif_jpeg.c (JPEGDecode): Fix Coverity 602597 "Operands 343 don't affect result". This change uses ifdefs to include 344 applicable code based on properties of libjpeg. Still needs to be 345 re-tested with 12-bit "6b" and "MK1". 346 3472015-05-30 Bob Friesenhahn <[email protected]> 348 349 * libtiff/tif_dirwrite.c (_TIFFRewriteField): Fix Coverity 1024310 350 "Resource leak". 351 352 * libtiff/tif_ojpeg.c (OJPEGReadHeaderInfoSecStreamDht): Fix 353 Coverity 601720 "Resource leak". 354 355 * libtiff/tif_jpeg.c (JPEGCleanup): Fix Coverity 298624 356 "Dereference before null check". 357 358 * libtiff/tif_ojpeg.c (OJPEGReadBufferFill): Fix Coverity 603400 359 "Missing break in switch". 360 361 * contrib/addtiffo/tif_overview.c (TIFF_DownSample): Check buffer 362 size calculation for overflow. 363 364 * contrib/addtiffo/addtiffo.c (main): Possibly address Coverity 365 1024226 "Untrusted value as argument". 366 367 * tools/gif2tiff.c (readgifimage): Fix Coverity 1024222 "Untrusted 368 value as argument". 369 (checksignature): Fix Coverity 1024894 "Ignoring number of bytes 370 read". 371 (readextension): Fix Coverity 1024893 "Ignoring number of bytes 372 read". 373 (readgifimage): Fix Coverity 1024890 "Ignoring number of bytes 374 read". 375 (readraster): Fix Coverity 1024891 "Ignoring number of bytes 376 read". 377 (readgifimage): Fix Coverity 1024892 "Ignoring number of bytes 378 read". 379 380 * tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 1024181 381 "Structurally dead code". 382 383 * tools/raw2tiff.c (main): Fix Coverity 1024887 "Unchecked return 384 value from library". 385 (guessSize): Fix Coverity 1024888 "Unchecked return value from 386 library". 387 (guessSize): Fix Coverity 1214162 "Ignoring number of bytes read". 388 (guessSize): Fix Coverity 1024889 "Unchecked return value from 389 library". 390 391 * tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 298621 392 "Resource leak". 393 (t2p_readwrite_pdf_image): Fix Coverity 1024181 "Structurally dead 394 code". 395 (t2p_write_pdf): Fix Coverity 1227690 "Unused value". 396 3972015-05-29 Bob Friesenhahn <[email protected]> 398 399 * contrib/iptcutil/iptcutil.c (formatIPTC): Fix Coverity 1024468 400 "Infinite loop". 401 (formatIPTC): Fix Coverity 1024727 "Truncated stdio return value". 402 (formatIPTC): Fix Coverity 1214240 "Untrusted loop bound". 403 4042015-05-28 Bob Friesenhahn <[email protected]> 405 406 * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix 407 Coverity 298615 "Resource leak". 408 (TIFFGetOvrBlock): Fix Coverity 1024649 "Unintended sign 409 extension". 410 411 * tools/bmp2tiff.c (main): Fix Coverity 1024225 "Untrusted value 412 as argument". 413 (main): Fix Coverity 1024678 "Unchecked return value from 414 library". 415 (main): Fix Coverity 1024679 "Unchecked return value from 416 library". 417 (main): Fix Coverity 1214160 "Ignoring number of bytes read". 418 419 * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix 420 Coverity 298615 "Resource leak". 421 422 * tools/tiffcp.c: Fix Coverity 1024306, 1024307, 1024308, 1024309 423 "Resource leak". 424 425 * tools/tiffsplit.c (cpTiles): Fix Coverity 1024304 "Resource 426 leak". 427 (cpStrips): Fix Coverity 1024305 "Resource leak". 428 4292015-05-27 Bob Friesenhahn <[email protected]> 430 431 * tools/ras2tiff.c: Fix Sun Raster header definition to be safe 432 for 64-bit systems. Add some header validations. Should fix many 433 Coverity issues. 434 (main): Fix Coverity 1301206: "Integer handling issues (BAD_SHIFT)". 435 (main): Quiet Coverity 1024223 "Untrusted value as argument". 436 437 * tools/tiffmedian.c (GetInputLine): Fix Coverity 1024795 "Nesting 438 level does not match indentation". 439 (get_histogram): Quiet Coverity 1024386 "Out-of-bounds read". 440 This was a benign mis-diagnosis but added code to enforce against 441 buffer overflow. 442 443 * tools/tiffcrop.c (ROTATE_ANY): Fix Coverity 1294542 "Logical 444 vs. bitwise operator". 445 (readContigStripsIntoBuffer): Fix Coverity 1024545 "Division or 446 modulo by zero". 447 (readContigTilesIntoBuffer): Fix Coverity 1024586 "Logically dead 448 code". 449 (writeSingleSection): Fix Coverity 1024796 "Nesting level does not 450 match indentation". 451 (writeCroppedImage): Fix Coverity 1024797 "Nesting level does not 452 match indentation". 453 (loadImage): Fix Coverity 1299741 "Dereference before null check". 454 (loadImage): Fix Coverity 1299740 "Out-of-bounds write". 455 4562015-03-02 Even Rouault <[email protected]> 457 458 * tools/tiffdither.c: check memory allocations to avoid writing to 459 NULL pointer. Also check multiplication overflow. Fixes #2501, 460 CVE-2014-8128. Derived from patch by Petr Gajdos. 461 4622015-01-26 Even Rouault <[email protected]> 463 464 * add html/v4.0.4beta.html under version control 465 * HOWTO-RELEASE: write that cvs add html/vX.X.html must be used 466 4672015-01-26 Even Rouault <[email protected]> 468 469 * libtiff 4.0.4beta released 470 4712015-01-26 Even Rouault <[email protected]> 472 473 * automake: updated to 1.15 474 * libtool: updated to 2.4.5 475 4762015-01-22 Even Rouault <[email protected]> 477 478 * tools/tiff2pdf.c: Fix two crashes (oCERT-2014-013) 479 4802015-01-05 Frank Warmerdam <[email protected]> 481 482 * html/bugs.html: remove note about needing to email the tiff mailing 483 list administrator about being approved for membership, this appears 484 not to be true. 485 4862015-01-05 Olivier Paquet <[email protected]> 487 488 * tools/tiff2pdf.c: Fixed unsigned integer addition overflow detection. 489 4902015-01-03 Even Rouault <[email protected]> 491 492 * libtiff/tif_dirread.c: in TIFFCheckDirOffset(), avoid uint16 overflow 493 when reading more than 65535 directories, and effectively error out when 494 reaching that limit. 495 4962014-12-29 Even Rouault <[email protected]> 497 498 * libtiff/tif_jpeg.c: in JPEGFixupTags(), recognize SOF2, SOF9 and SOF10 499 markers to avoid emitting a warning (even if, according to the TechNote, 500 there are admitedly unusual/not recommended or even forbidden variants, but 501 they do work well with libjpeg for SOF2, and with libjpeg-turbo for SOF2, 502 SOF9 and SOF10). 503 Define in_color_space and input_components to the right values in 504 JPEGSetupEncode(), before calling jpeg_set_defaults(), as specified by 505 libjpeg API documentation, so as to be compatible with mozjpeg library. 506 Note: the default settings of mozjpeg will produce progressive scans, which 507 is forbidden by the TechNote. 508 5092014-12-29 Even Rouault <[email protected]> 510 511 * libtiff/tif_getimage.c: move test on vertical value of YCbCr subsampling. 512 to avoid buffer leak (fix previous fix, found by Coverity scan) 513 5142014-12-29 Even Rouault <[email protected]> 515 516 * libtiff/tif_next.c: add new tests to check that we don't read outside of 517 the compressed input stream buffer. 518 519 * libtiff/tif_getimage.c: in OJPEG case, fix checks on strile width/height 520 in the putcontig8bitYCbCr42tile, putcontig8bitYCbCr41tile and 521 putcontig8bitYCbCr21tile cases. 522 5232014-12-27 Even Rouault <[email protected]> 524 525 * libtiff/tif_dir.c: in TIFFDefaultDirectory(), reset any already existing 526 extented tags installed by user code through the extender mechaninm before 527 calling the extender callback (GDAL #5054) 528 5292014-12-26 Bob Friesenhahn <[email protected]> 530 531 * tools/tiffcrop.c: Fix warnings about variables set but not used. 532 533 * contrib/iptcutil/iptcutil.c: Fix warnings about variables set 534 but not used. 535 536 * tools/tiffgt.c: Fix warnings about unused parameters. 537 538 * libtiff/tif_stream.cxx: Fix warnings about unused parameters. 539 5402014-12-25 Even Rouault <[email protected]> 541 542 * libtiff/tif_getimage.c, libtiff/tif_ojpeg.c, libtiff/tif_zip.c: fix 543 various typos found by Debian lintian tool (GDAL #5756) 544 5452014-12-24 Even Rouault <[email protected]> 546 547 * libtiff/tif_getimage.c: avoid divide by zero on invalid YCbCr subsampling. 548 http://bugzilla.maptools.org/show_bug.cgi?id=2235 549 5502014-12-24 Even Rouault <[email protected]> 551 552 * tools/tiff2pdf.c: fix buffer overflow on some YCbCr JPEG compressed images. 553 http://bugzilla.maptools.org/show_bug.cgi?id=2445 554 5552014-12-24 Even Rouault <[email protected]> 556 557 * tools/tiff2pdf.c: fix buffer overflow on YCbCr JPEG compressed image. 558 Derived from patch by Petr Gajdos, 559 http://bugzilla.maptools.org/show_bug.cgi?id=2443 560 5612014-12-23 Even Rouault <[email protected]> 562 563 * libtiff/tif_dirread.c: In EstimateStripByteCounts(), check return code 564 of _TIFFFillStriles(). This solves crashing bug on corrupted 565 images generated by afl. 566 5672014-12-23 Even Rouault <[email protected]> 568 569 * libtiff/tif_read.c: fix several invalid comparisons of a uint64 value with 570 <= 0 by casting it to int64 first. This solves crashing bug on corrupted 571 images generated by afl. 572 5732014-12-21 Bob Friesenhahn <[email protected]> 574 575 * tools/tiffdump.c: Guard against arithmetic overflow when 576 calculating allocation buffer sizes. 577 5782014-12-21 Even Rouault <[email protected]> 579 580 * tools/tiff2bw.c: when Photometric=RGB, the utility only works if 581 SamplesPerPixel = 3. Enforce that 582 http://bugzilla.maptools.org/show_bug.cgi?id=2485 (CVE-2014-8127) 583 5842014-12-21 Even Rouault <[email protected]> 585 586 * tools/pal2rgb.c, tools/thumbnail.c: fix crash by disabling TIFFTAG_INKNAMES 587 copying. The right fix would be to properly copy it, but not worth the burden 588 for those esoteric utilities. 589 http://bugzilla.maptools.org/show_bug.cgi?id=2484 (CVE-2014-8127) 590 5912014-12-21 Even Rouault <[email protected]> 592 593 * tools/thumbnail.c: fix out-of-buffer write 594 http://bugzilla.maptools.org/show_bug.cgi?id=2489 (CVE-2014-8128) 595 5962014-12-21 Even Rouault <[email protected]> 597 598 * tools/thumbnail.c, tools/tiffcmp.c: only read/write TIFFTAG_GROUP3OPTIONS 599 or TIFFTAG_GROUP4OPTIONS if compression is COMPRESSION_CCITTFAX3 or 600 COMPRESSION_CCITTFAX4 601 http://bugzilla.maptools.org/show_bug.cgi?id=2493 (CVE-2014-8128) 602 6032014-12-21 Even Rouault <[email protected]> 604 605 * libtiff/tif_next.c: check that BitsPerSample = 2. Fixes 606 http://bugzilla.maptools.org/show_bug.cgi?id=2487 (CVE-2014-8129) 607 6082014-12-21 Even Rouault <[email protected]> 609 610 * tools/tiff2pdf.c: check return code of TIFFGetField() when reading 611 TIFFTAG_SAMPLESPERPIXEL 612 6132014-12-21 Even Rouault <[email protected]> 614 615 * tools/tiffcp.c: fix crash when converting YCbCr JPEG-compressed to none. 616 Based on patch by Tomasz Buchert (http://bugzilla.maptools.org/show_bug.cgi?id=2480) 617 Description: fix for Debian bug #741451 618 tiffcp crashes when converting JPEG-encoded TIFF to a different 619 encoding (like none or lzw). For example this will probably fail: 620 tiffcp -c none jpeg_encoded_file.tif output.tif 621 The reason is that when the input file contains JPEG data, 622 the tiffcp code forces conversion to RGB space. However, 623 the output normally inherits YCbCr subsampling parameters 624 from the input, which leads to a smaller working buffer 625 than necessary. The buffer is subsequently overrun inside 626 cpStripToTile() (called from writeBufferToContigTiles). 627 Note that the resulting TIFF file would be scrambled even 628 if tiffcp wouldn't crash, since the output file would contain 629 RGB data intepreted as subsampled YCbCr values. 630 This patch fixes the problem by forcing RGB space on the output 631 TIF if the input is JPEG-encoded and output is *not* JPEG-encoded. 632 Author: Tomasz Buchert <[email protected]> 633 6342014-12-21 Even Rouault <[email protected]> 635 636 Fix various crasher bugs on fuzzed images. 637 * libtiff/tif_dir.c: TIFFSetField(): refuse to set negative values for 638 TIFFTAG_XRESOLUTION and TIFFTAG_YRESOLUTION that cause asserts when writing 639 the directory 640 * libtiff/tif_dirread.c: TIFFReadDirectory(): refuse to read ColorMap or 641 TransferFunction if BitsPerSample has not yet been read, otherwise reading 642 it later will cause user code to crash if BitsPerSample > 1 643 * libtiff/tif_getimage.c: TIFFRGBAImageOK(): return FALSE if LOGLUV with 644 SamplesPerPixel != 3, or if CIELAB with SamplesPerPixel != 3 or BitsPerSample != 8 645 * libtiff/tif_next.c: in the "run mode", use tilewidth for tiled images 646 instead of imagewidth to avoid crash 647 * tools/bmp2tiff.c: fix crash due to int overflow related to input BMP dimensions 648 * tools/tiff2pdf.c: fix crash due to invalid tile count (should likely be checked by 649 libtiff too). Detect invalid settings of BitsPerSample/SamplesPerPixel for CIELAB / ITULAB 650 * tools/tiffcrop.c: fix crash due to invalid TileWidth/TileHeight 651 * tools/tiffdump.c: fix crash due to overflow of entry count. 652 6532014-12-15 Even Rouault <[email protected]> 654 655 * libtiff/tif_jpeg.c: Fix regression introduced on 2010-05-07 that caused 656 all tiles/strips to include quantization tables even when the jpegtablesmode 657 had the JPEGTABLESMODE_QUANT bit set. 658 Also add explicit removal of Huffman tables when jpegtablesmode has the 659 JPEGTABLESMODE_HUFF bit set, which avoids Huffman tables to be emitted in the 660 first tile/strip (only useful in update scenarios. create-only was 661 fine) 662 6632014-12-09 Bob Friesenhahn <[email protected]> 664 665 * tools/tiff2pdf.c: Assure that memory size calculations for 666 _TIFFmalloc() do not overflow the range of tmsize_t. 667 6682014-12-07 Even Rouault <[email protected]> 669 670 * tools/thumbnail.c, tools/tiffcrop.c: "fix" heap read over-run found with 671 Valgrind and Address Sanitizer on test suite 672 6732014-12-07 Bob Friesenhahn <[email protected]> 674 675 * tools/tiff2pdf.c (t2p_read_tiff_init): TIFFTAG_TRANSFERFUNCTION 676 tag can return one channel, with the other two channels set to 677 NULL. The tiff2pdf code was expecting that other two channels 678 were duplicate pointers in the case where there is only one 679 channel. Detect this condition in order to avoid a crash, and 680 presumably perform correctly with just one channel. 681 6822014-12-06 Bob Friesenhahn <[email protected]> 683 684 * tools/tiffdump.c: Fix double-free bug. 685 6862014-11-27 Even Rouault <[email protected]> 687 688 * libtiff/tif_config.vc.h: no longer use "#define snprintf _snprintf" with 689 Visual Studio 2015 aka VC 14 aka MSVC 1900 690 6912014-11-20 Even Rouault <[email protected]> 692 693 * libtiff/tif_lzw.c: prevent potential null dereference of 694 sp->dec_codetab in LZWPreDecode (bug #2459) 695 696 * libtiff/tif_read.c: in TIFFReadBufferSetup(), avoid passing -1 size 697 to TIFFmalloc() if passed user buffer size is 0 (bug #2459) 698 699 * libtiff/tif_ojpeg.c: make Coverity happier (not a bug, #2459) 700 701 * libtiff/tif_dir.c: in _TIFFVGetField() and _TIFFVSetField(), make 702 Coverity happier (not a bug, #2459) 703 704 * libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make Coverity happier 705 (not a bug, #2459) 706 707 * tools/tiff2pdf.c: close PDF file (bug #2479) 708 709 * tools/fax2ps.c: check malloc()/realloc() result (bug #2470) 710 711 * tools/tiffdump.c: detect cycle in TIFF directory chaining (bug #2463) 712 and avoid passing a NULL pointer to read() if seek() failed before (bug #2459) 713 714 * tools/tiffcrop.c: fix segfault if bad value passed to -Z option 715 (bug #2459) and add missing va_end in dump_info (#2459) 716 717 * tools/gif2tif.c: apply patch for CVE-2013-4243 (#2451) 718 7192014-11-20 Even Rouault <[email protected]> 720 * libtiff/tif_jpeg.c: fix segfault in JPEGFixupTagsSubsampling() on 721 corrupted image where tif->tif_dir.td_stripoffset == NULL (bug #2471) 722 7232014-11-20 Even Rouault <[email protected]> 724 * automake: updated to 1.14.1 725 * libtool: updated to 2.4.3 726 * HOWTO-RELEASE: small update about autotools building order 727 7282014-10-20 Olivier Paquet <[email protected]> 729 * tools/tiff2pdf.c: Preserve input file directory order when pages 730 are tagged with the same page number. 731 7322014-08-31 Bob Friesenhahn <[email protected]> 733 734 * libtiff/tif_dirread.c (TIFFReadDirEntryOutputErr): Incorrect 735 count for tag should be a warning rather than an error since 736 errors terminate processing. 737 7382014-06-07 Bob Friesenhahn <[email protected]> 739 740 * tools/tiff2rgba.c (]): Fixed tiff2rgba usage message in that zip 741 was wrongly described. Fix suggested by Miguel Medalha. 742 7432014-05-06 Bob Friesenhahn <[email protected]> 744 745 * libtiff/tif_dirinfo.c (TIFFField) : Fix data type for 746 TIFFTAG_GLOBALPARAMETERSIFD tag. Patch by Steve Underwood. 747 Reviewed and forwarded by Lee Howard. 748 7492013-11-30 Frank Warmerdam <[email protected]> 750 751 * libtiff/tif_dir.c: fix last fix for TIFFNumberOfDirectories() 752 7532013-10-21 Frank Warmerdam <[email protected]> 754 755 * libtiff/tif_dir.c: generate error in case of directory count 756 overflow. 757 7582013-10-01 Frank Warmerdam <[email protected]> 759 760 * libtiff/tiff.h, libtiff/tif_dirinfo.c: add definitions for 761 TIFF/EP CFARepeatPatternDim and CFAPattern tags (bug #2457) 762 7632013-09-12 Bob Friesenhahn <[email protected]> 764 765 * libtiff/tif_dir.c (TIFFAdvanceDirectory): If nextdir is found to 766 be defective, then set it to zero before returning error in order 767 to terminate processing of truncated TIFF. Issue found and fix 768 suggested by Richard Nolde. 769 7702013-08-14 Frank Warmerdam <[email protected]> 771 772 * tools/gif2tiff.c: fix possible OOB write (#2452, CVE-2013-4244) 773 7742013-08-13 Frank Warmerdam <[email protected]> 775 776 * tools/gif2tiff.c: Be more careful about corrupt or 777 hostile input files (#2450, CVE-2013-4231) 778 779 * tools/tiff2pdf.c: terminate after failure of allocating 780 ycbcr buffer (bug #2449, CVE-2013-4232) 781 7822013-07-09 Frank Warmerdam <[email protected]> 783 784 * tools/tiffinfo.c: Default various values fetched with 785 TIFFGetField() to avoid being uninitialized. 786 7872013-05-02 Tom Lane <[email protected]> 788 789 * tools/tiff2pdf.c: Rewrite JPEG marker parsing in 790 t2p_process_jpeg_strip to be at least marginally competent. The 791 approach is still fundamentally flawed, but at least now it won't 792 stomp all over memory when given bogus input. Fixes CVE-2013-1960. 793 7942013-05-02 Tom Lane <[email protected]> 795 796 * contrib/dbs/xtiff/xtiff.c, libtiff/tif_codec.c, 797 libtiff/tif_dirinfo.c, tools/rgb2ycbcr.c, tools/tiff2bw.c, 798 tools/tiff2pdf.c, tools/tiff2ps.c, tools/tiffcrop.c, 799 tools/tiffdither.c: Enlarge some fixed-size buffers that weren't 800 large enough, and eliminate substantially all uses of sprintf(buf, 801 ...) in favor of using snprintf(buf, sizeof(buf), ...), so as to 802 protect against overflow of fixed-size buffers. This responds in 803 particular to CVE-2013-1961 concerning overflow in tiff2pdf.c's 804 t2p_write_pdf_page(), but in general it seems like a good idea to 805 deprecate use of sprintf(). 806 8072013-03-29 Bob Friesenhahn <[email protected]> 808 809 * configure.ac: Applied patch by Brad Smith to improve pkg-config 810 static linking by adding -lm to Libs.private when needed. 811 8122013-03-05 Tom Lane <[email protected]> 813 814 * html/man/tiff2ps.1.html, html/man/tiffcp.1.html, 815 html/man/tiffdither.1.html, man/tiff2ps.1, man/tiffcp.1, 816 man/tiffdither.1, tools/tiff2ps.c, tools/tiffcp.c, 817 tools/tiffdither.c: Sync tool usage printouts and man pages with 818 reality (quite a few options had escaped being documented in one 819 or both places). Per an old report from Miroslav Vadkerti. 820 8212013-01-25 Bob Friesenhahn <[email protected]> 822 823 * tools/tiff2ps.c:Fix bug in auto rotate option code. Once a 824 rotation angle was set by the auto rotate check, it was retained 825 for all pages that followed instead ofa being retested for each 826 page. Patch by Richard Nolde. 827 8282013-01-18 Frank Warmerdam <[email protected]> 829 830 * libtiff/tif_write.c: tmsize_t related casting warning fixed for 831 64bit linux. 832 833 * libtiff/tif_read.c: uint64/tmsize_t change for MSVC warnings. 834 http://bugzilla.maptools.org/show_bug.cgi?id=2427 835 8362012-12-20 Tom Lane <[email protected]> 837 838 * test/raw_decode.c: Relax raw_decode's pixel-value checks so that 839 it will pass with more versions of libjpeg. (There are at least 840 three in active use now, and JPEG_LIB_VERSION doesn't tell us 841 enough to uniquely identify expected results.) 842 8432012-12-12 Tom Lane <[email protected]> 844 845 * libtiff/tif_print.c: Fix TIFFPrintDirectory's handling of 846 field_passcount fields: it had the TIFF_VARIABLE and 847 TIFF_VARIABLE2 cases backwards. 848 8492012-12-10 Tom Lane <[email protected]> 850 851 * tools/ppm2tiff.c: Improve previous patch for CVE-2012-4564: 852 check the linebytes calculation too, get the max() calculation 853 straight, avoid redundant error messages, check for malloc 854 failure. 855 8562012-12-10 Tom Lane <[email protected]> 857 858 * libtiff/tif_pixarlog.c: Improve previous patch for CVE-2012-4447 859 (to enlarge tbuf for possible partial stride at end) so that 860 overflow in the integer addition is detected. Per gripe from 861 Huzaifa Sidhpurwala. 862 8632012-12-03 Bob Friesenhahn <[email protected]> 864 865 * tools/tiffset.c: tiffset now supports a -u option to unset a 866 tag. Patch by Zach Baker. See 867 http://bugzilla.maptools.org/show_bug.cgi?id=2419 868 8692012-11-18 Bob Friesenhahn <[email protected]> 870 871 * automake: Update Automake to 1.12.5 release. 872 873 * libtiff/tif_{unix,vms,win32}.c (_TIFFmalloc): ANSI C does not 874 require malloc() to return NULL pointer if requested allocation 875 size is zero. Assure that _TIFFmalloc does. 876 8772012-11-01 Frank Warmerdam <[email protected]> 878 879 * tools/ppm2tiff.c: avoid zero size buffer vulnerability. 880 CVE-2012-4564 - Thanks to Huzaifa Sidhpurwala of the 881 Red Hat Security Response team for the fix. 882 8832012-10-18 Frank Warmerdam <[email protected]> 884 885 * tif_zip.c: Avoid crash on NULL error messages. 886 8872012-09-22 Bob Friesenhahn <[email protected]> 888 889 * libtiff 4.0.3 released. 890 8912012-09-20 Bob Friesenhahn <[email protected]> 892 893 * Makefile.am: Update to Automake 1.12.4 894 8952012-08-19 Bob Friesenhahn <[email protected]> 896 897 * Makefile.in: Update to Automake 1.12.3 898 899 * libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add 900 some TIFF/FX support in libtiff. Add the tag definitions to 901 tiff.h. Add the related TIFF field definitions to tif_dirinfo.c, 902 and also fixes an error in a comment. Adds the photometric values 903 to tif_print.c, and fixes a bug. These changes are by Steve 904 Underwood. 905 9062012-08-13 Frank Warmerdam <[email protected]> 907 908 * libtiff/tif_write.c: Fix bug rewriting image tiles in a 909 compressed file: http://trac.osgeo.org/gdal/ticket/4771 910 9112012-08-02 Frank Warmerdam <[email protected]> 912 913 * libtiff/tif_dirread.c: report error in case of mismatch value 914 counts for tags (ie. DotRange). 915 9162012-07-26 Tom Lane <[email protected]> 917 918 * libtiff/{tiffio.h, tif_dirinfo.c, libtiff.def}: Add six new 919 functions TIFFFieldTag(), TIFFFieldName(), TIFFFieldDataType(), 920 TIFFFieldPassCount(), TIFFFieldReadCount(), TIFFFieldWriteCount() 921 as external accessors for the opaque type TIFFField. 922 923 * tools/tiffset.c: Make tiffset use the above functions instead of 924 relying on library private headers. 925 9262012-07-19 Tom Lane <[email protected]> 927 928 * tools/tiff2pdf.c: Fix two places where t2p_error didn't get set 929 after a malloc failure. No crash risk AFAICS, but the program 930 might not report exit code 1 as desired. h/t [email protected] 931 9322012-07-18 Tom Lane <[email protected]> 933 934 * tools/tiff2pdf.c: Fail when TIFFSetDirectory() fails. This 935 prevents core dumps or perhaps even arbitrary code execution when 936 processing a corrupt input file (CVE-2012-3401). 937 9382012-07-06 Bob Friesenhahn <[email protected]> 939 940 * test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+. 941 IJG JPEG 7+ uses a different upsampling algorithm which produces 942 different numeric results. 943 944 * libtiff/tif_jpeg.c (JPEGPreDecode): Patch from Even Rouault to 945 work with IJG JPEG 7+. 946 9472012-07-04 Bob Friesenhahn <[email protected]> 948 949 * test/raw_decode.c: Add changes so that test can run with build 950 directory outside of source directory. 951 9522012-07-02 Frank Warmerdam <[email protected]> 953 954 * libtiff/tif_jpeg.c: Fix handling when writing RGBA jpeg compressed 955 imagery (http://trac.osgeo.org/gdal/ticket/4732) 956 9572012-06-20 Frank Warmerdam <[email protected]> 958 959 * libtiff/tif_fax3.c: fix memory initialization of runs, only 960 partly done. 961 962 * libtiff/tif_pixarlog.c: Make sure tbuf is large enough for one 963 full "stride" past the end. 964 9652012-06-19 Frank Warmerdam <[email protected]> 966 967 * libtiff/tif_packbits.c: fix read past end of data buffer. 968 9692012-06-15 Frank Warmerdam <[email protected]> 970 971 * libtiff 4.0.2 released. 972 973 * tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable 974 warnings with clang. 975 9762012-06-15 Tom Lane <[email protected]> 977 978 * tools/tiff2pdf.c: Defend against integer overflows while 979 calculating required buffer sizes (CVE-2012-2113). 980 9812012-06-12 Frank Warmerdam <[email protected]> 982 983 * libtiff/tif_print.c: Be careful about printing corrupt inknames. 984 985 * libtiff/tif_fax3.c: Ensure runs array is initialized to zeros. 986 9872012-06-07 Frank Warmerdam <[email protected]> 988 989 * libtiff/tif_print.c: avoid pretty printing other fields when 990 we don't have the proper amount and type of data or if the field 991 is actually autodefined. 992 9932012-06-05 Frank Warmerdam <[email protected]> 994 995 * libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal 996 ycbcrsubsampling values result in a runtime error, not just an 997 assertion. 998 999 * tests/custom_dir.c: Add testing of EXIF and custom directory 1000 reading and writing. 1001 1002 * libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory() 1003 and TIFFCreateEXIFDirectory() functions. 1004 1005 * libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for 1006 PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING. Implement DOTRANGE 1007 differently. This is to avoid using special TIFFGetField/TIFFSetField 1008 rules for these fields in non-image directories (like EXIF). 1009 10102012-06-04 Frank Warmerdam <[email protected]> 1011 1012 * libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling 1013 in JPEGPreDecode(). If a fixup will be done it needs to be done sooner 1014 in JPEGFixupTagsSubsampling() or else buffer sized may be wrong. 1015 10162012-06-01 Frank Warmerdam <[email protected]> 1017 1018 * tools/tiffinfo.c: Do not try to read image data in EXIF directories. 1019 1020 * libtiff/tif_getimage.c: added support for _SEPARATED CMYK images. 1021 http://bugzilla.maptools.org/show_bug.cgi?id=2379 1022 1023 * libtiff/tif_unix.c: use strerror() to return a more specific error message 1024 on failed open. 1025 http://bugzilla.maptools.org/show_bug.cgi?id=2341 1026 1027 * libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs. 1028 http://bugzilla.maptools.org/show_bug.cgi?id=2386 1029 1030 * tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support 1031 for testing jpeg in tiff image decoding including the "raw" decode interface. 1032 10332012-05-31 Frank Warmerdam <[email protected]> 1034 1035 * libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in 1036 JPEGDecodeRaw() - mostly likely to occur when there is confusion about 1037 sampling values. 1038 1039 * libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed. 1040 1041 * libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval. 1042 http://bugzilla.maptools.org/show_bug.cgi?id=2398 1043 10442012-05-29 Frank Warmerdam <[email protected]> 1045 1046 * libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories, 1047 like EXIF directories. This fixes problems like a tag "320" existing in a custom directory getting 1048 processed as if it were a colormap when it isn't really. Damn the wide variety of argument formulations 1049 to get/set functions for different tags! 1050 1051 * libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata 1052 is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag. 1053 10542012-05-24 Frank Warmerdam <[email protected]> 1055 1056 * libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward 1057 accumulate" and overwrite the end by one word in at least some cases. 1058 10592012-05-23 Frank Warmerdam <[email protected]> 1060 1061 * libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs. 1062 1063 * tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files. 1064 1065 * libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on 1066 the same image. 1067 1068 * libtiff/tif_ojpeg.c: make things more resilient in the face of files without 1069 stripbytecounts or stripoffsets or where loading these fails. 1070 1071 * libtiff/tif_print.c: be careful about whether min/max values are singular 1072 or one per sample. 1073 1074 * libtiff/tif_print.c: Avoid confusion about count size when printing custom fields. 1075 May affect things like ISOSpeedRatings. 1076 1077 * libtiff/tif_dir.c: avoid one byte past end of ink names reading 1078 in some cases. 1079 10802012-05-19 Bob Friesenhahn <[email protected]> 1081 1082 * man/TIFFGetField.3tiff: Correct the 'count' field type in the 1083 example for how to retreive the value of unsupported tags. 1084 10852012-03-30 Frank Warmerdam <[email protected]> 1086 1087 * tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173) 1088 care of Tom Lane @ Red Hat. 1089 10902012-02-18 Bob Friesenhahn <[email protected]> 1091 1092 * libtiff 4.0.1 released. 1093 1094 * Update automake used to 1.11.3. 1095 1096 * libtiff/tiffio.h: Use double-underbar syntax in GCC printf 1097 attribute specification to lessen the risk of accidental macro 1098 substitution. Patch from Vincent Torri. 1099 11002012-01-31 Frank Warmerdam <[email protected]> 1101 1102 * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around 1103 assumption tag fetching is always successful. 1104 1105 * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL. 1106 11072012-01-22 Bob Friesenhahn <[email protected]> 1108 1109 * configure.ac: Add support for using library symbol versioning on 1110 ELF systems with the GNU linker. Support is enabled via 1111 --enable-ld-version-script. Disabled by default for now until 1112 there is a decision for how to deploy a libtiff with versioned 1113 symbols after libtiff 4.0.0 was already released. 1114 11152011-12-22 Bob Friesenhahn <[email protected]> 1116 1117 * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in 1118 1119 tif_win32.c. Patch by Edward Lam. 1120 1121 * configure.ac: Add libtiff private dependency on -llzma for 1122 pkg-config. Patch by Mark Brand. 1123 Updated Automake to 1.11.2. 1124 11252011-12-21 Bob Friesenhahn <[email protected]> 1126 1127 * libtiff 4.0.0 released. 1128 11292011-12-08 Frank Warmerdam <[email protected]> 1130 1131 * libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking 1132 of _TIFFFillStriles() results (#gdal 4372) 1133 11342011-12-07 Frank Warmerdam <[email protected]> 1135 1136 * libtiff/tif_dirread.c: fixes to deal with invalid files where 1137 _TIFFFillStriles() fails, and we try to chop up strips (gdal #4372) 1138 1139 * libtiff/tif_dirread.c: fix error reporting when there is no 1140 tag information struct and name (gdal #4373) 1141 11422011-10-22 Bob Friesenhahn <[email protected]> 1143 1144 * Update GNU libtool to 2.4.2. 1145 1146 * tools/tiffsplit.c (tiffcp): TIFFGetField count field should be 1147 uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe 1148 Deroulers. 1149 11502011-06-21 Frank Warmerdam <[email protected]> 1151 1152 * libtiff/libtiff.def: Restore TIFFMergeFieldInfo. 1153 11542011-05-31 Jim Meyering <[email protected]> 1155 1156 * libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also 1157 upon failure to allocate "resizeddata". 1158 * tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for 1159 allocation failure, not before. 1160 * libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path 1161 * tools/rgb2ycbcr.c (cvtRaster): unchecked malloc 1162 * libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark 1163 NULL-deref and possible overflow 1164 * tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written" 1165 * libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration 1166 and set of otherwise unused local, data_is_empty. 1167 * libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]: 1168 Diagnose out-of-memory failure and return 0 rather than 1169 dereferencing NULL. 1170 11712011-05-24 Frank Warmerdam <[email protected]> 1172 1173 * libtiff/tif_dirread.c: produce special error message for zero tag 1174 directories instead of error out on the malloc(0) failure. 1175 11762011-05-16 Frank Warmerdam <[email protected]> 1177 1178 * libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and 1179 related declarations as they are in active use by libraries 1180 such as libgeotiff, and work just fine. (#2315) 1181 11822011-04-20 Frank Warmerdam <[email protected]> 1183 1184 * libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete 1185 TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API. 1186 http://bugzilla.maptools.org/show_bug.cgi?id=2315 1187 1188 * libtiff/libtiff.def: add some missing (64bit) APIs. 1189 http://bugzilla.maptools.org/show_bug.cgi?id=2316 1190 11912011-04-09 Bob Friesenhahn <[email protected]> 1192 1193 * libtiff 4.0.0beta7 released. 1194 11952011-04-09 Bob Friesenhahn <[email protected]> 1196 1197 * configure.ac: Should use AC_CANONICAL_HOST since host specifies 1198 the run-time target whereas target is used to specify the final 1199 output target if the package is a build tool (like a compiler), 1200 which libtiff is not. Resolves libtiff bug 2307 "Use 1201 AC_CANONICAL_HOST macro". 1202 12032011-04-02 Bob Friesenhahn <[email protected]> 1204 1205 * configure.ac: Support configuring TIFF_INT64_FORMAT and 1206 TIFF_UINT64_FORMAT appropriately for MinGW32. 1207 1208 * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32 1209 printf conventions for 64-bit types because it uses the WIN32 CRT. 1210 1211 * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c, 1212 tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32 1213 printf conventions for 64-bit types because it uses the WIN32 CRT. 1214 1215 * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not 1216 understood by WIN32 CRT. 1217 1218 * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC. 1219 1220 * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since 1221 it is much more portable. Tmpfile is included in ISO/IEC 1222 9899:1990 and the WIN32 CRT. 1223 12242011-03-26 Frank Warmerdam <[email protected]> 1225 1226 * tools/tiffset.c: add -d and -sd switches to allow operation on 1227 a particular directory, not just the first (jef). 1228 12292011-03-21 Frank Warmerdam <[email protected]> 1230 1231 * libtiff/tif_thunder.c: Correct potential buffer overflow with 1232 thunder encoded files with wrong bitspersample set. The libtiff 1233 development team would like to thank Marin Barbella and TippingPoint's 1234 Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004, 1235 CVE-2011-1167). 1236 http://bugzilla.maptools.org/show_bug.cgi?id=2300 1237 12382011-03-10 Frank Warmerdam <[email protected]> 1239 1240 * libtiff/tif_fax3.h: Fix to last change allowing zero length 1241 runs at the start of a scanline - needed for legal cases. 1242 12432011-03-02 Frank Warmerdam <[email protected]> 1244 1245 * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 1246 a move left. Without this, a malicious input file can generate an 1247 indefinitely large series of runs without a0 ever reaching the right 1248 margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192. 1249 This is a modified version of a patch proposed by Drew Yao of Apple 1250 Product Security. It adds an unexpected() report, and disallows the 1251 equality case, since emitting a run without increasing a0 still allows 1252 buffer overrun. 1253 12542011-02-23 Frank Warmerdam <[email protected]> 1255 1256 * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296) 1257 1258 * tools/tiff2rgba.c: close source file on error to make leak 1259 detection easier. 1260 1261 * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails. 1262 1263 http://bugzilla.maptools.org/show_bug.cgi?id=2295 1264 12652011-02-22 Frank Warmerdam <[email protected]> 1266 1267 * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ 1268 _SUPPORT) 1269 12702011-02-18 Frank Warmerdam <[email protected]> 1271 1272 * configure.ac, configure: Added support for --enable-chunky-strip-read 1273 configure option to enable the experimental feature from a couple 1274 months ago for reading big strips in chunks. 1275 1276 * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 1277 tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c: 1278 Implement optional support for deferring the load of strip/tile 1279 offset and size tags for optimized scanning of directories. Enabled 1280 with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD 1281 #define in tif_config.h). 1282 12832011-02-11 Frank Warmerdam <[email protected]> 1284 1285 * libtiff/tif_print.c: remove unused variable. 1286 12872011-02-09 Frank Warmerdam <[email protected]> 1288 1289 * libtiff/tif_win32.c: avoid error/warning buffer overrun problem 1290 with non-console (popup message) builds on win32. 1291 1292 http://bugzilla.maptools.org/show_bug.cgi?id=2293 1293 12942011-01-24 Olivier Paquet <[email protected]> 1295 1296 * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c, 1297 tif_print.c, tiff.h, tiffiop.h} : Added support for 1298 TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different 1299 values for each sample. Presents the min/max of all samples by default for 1300 compatibility. TIFFSetField/TIFFGetField can be made to handle those tags 1301 as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag. 1302 http://www.asmail.be/msg0055458208.html 1303 13042011-01-06 Frank Warmerdam <[email protected]> 1305 1306 * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 1307 maintained. 1308 1309 * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 1310 for CHUNKY_STRIP_READ_SUPPORT. 1311 1312 * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained 1313 during JPEGPreDecode and JPEGDecode calls. 1314 * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 1315 as compression formats like JPEG keep 16 lines interleaved in a sense 1316 and might need to touch quite a bit of data. 1317 1318 http://trac.osgeo.org/gdal/ticket/3894 1319 13202011-01-03 Lee Howard <[email protected]> 1321 1322 * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images 1323 caused by commit on 2010-12-14. Submitted by e-mail from 1324 Even Rouault <[email protected]> 1325 13262010-12-31 Olivier Paquet <[email protected]> 1327 1328 * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE. 1329 http://bugzilla.maptools.org/show_bug.cgi?id=2266 1330 13312010-12-23 Andrey Kiselev <[email protected]> 1332 1333 * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the 1334 compression level parameter (preset) for Deflate and LZMA encoders, 1335 e.g "-c lzma:p1" or "-c zip:p9". 1336 1337 * libtiff/tif_lzma.c: Properly set the LZMA2 compression level 1338 (preset) in LZMAVSetField(). 1339 13402010-12-18 Bob Friesenhahn <[email protected]> 1341 1342 * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to 1343 Makefile. 1344 13452010-12-14 Andrey Kiselev <[email protected]> 1346 1347 * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h, 1348 tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new 1349 TIFF compression scheme LZMA reserving a new value 34925 for 1350 Compression tag. As per 1351 bug http://bugzilla.maptools.org/show_bug.cgi?id=2221 1352 13532010-12-14 Lee Howard <[email protected]> 1354 1355 * libtiff/tif_dirread.c: tolerate some cases where 1356 FIELD_COLORMAP is missing 1357 http://bugzilla.maptools.org/show_bug.cgi?id=2189 1358 13592010-12-14 Lee Howard <[email protected]> 1360 1361 * libtiff/tif_read.c: change read_ahead to tmsize_t 1362 http://bugzilla.maptools.org/show_bug.cgi?id=2222 1363 13642010-12-14 Lee Howard <[email protected]> 1365 1366 * configure.ac, libtiff/Makefile.am: Build tif_win32.c on 1367 Windows except on Cygwin 1368 http://bugzilla.maptools.org/show_bug.cgi?id=2224 1369 13702010-12-14 Lee Howard <[email protected]> 1371 1372 * tools/gif2tiff.c: fix buffer overrun 1373 http://bugzilla.maptools.org/show_bug.cgi?id=2270 1374 13752010-12-14 Lee Howard <[email protected]> 1376 1377 * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order 1378 to improve compatibility with various viewers 1379 submitted by e-mail from Dwight Kelly <[email protected]> 1380 13812010-12-13 Lee Howard <[email protected]> 1382 1383 * tools/fax2ps.c: be consistent with page-numbering 1384 http://bugzilla.maptools.org/show_bug.cgi?id=2225 1385 13862010-12-13 Lee Howard <[email protected]> 1387 1388 * libtiff/tif_color.c: prevent crash in handling bad TIFFs 1389 resolves CVE-2010-2595 1390 http://bugzilla.maptools.org/show_bug.cgi?id=2208 1391 13922010-12-13 Lee Howard <[email protected]> 1393 1394 * tools/tiffcrop.c: new release by Richard Nolde 1395 http://bugzilla.maptools.org/show_bug.cgi?id=2004 1396 13972010-12-12 Lee Howard <[email protected]> 1398 1399 * tools/tiff2pdf.c: fix colors for images with RGBA 1400 interleaved data 1401 http://bugzilla.maptools.org/show_bug.cgi?id=2250 1402 14032010-12-12 Lee Howard <[email protected]> 1404 1405 * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files 1406 http://bugzilla.maptools.org/show_bug.cgi?id=2164 1407 14082010-12-11 Lee Howard <[email protected]> 1409 1410 * tools/tiff2pdf.c: remove invalid duplication for Lab 1411 http://bugzilla.maptools.org/show_bug.cgi?id=2162 1412 14132010-12-11 Lee Howard <[email protected]> 1414 1415 * libtiff/tif_jpeg.c: fix use of clumplines calculation 1416 http://bugzilla.maptools.org/show_bug.cgi?id=2149 1417 14182010-12-11 Lee Howard <[email protected]> 1419 1420 * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp() 1421 http://bugzilla.maptools.org/show_bug.cgi?id=2118 1422 14232010-12-11 Lee Howard <[email protected]> 1424 1425 * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c, 1426 libtiff/tif_zip.c: fix build errors for VC6 1427 http://bugzilla.maptools.org/show_bug.cgi?id=2105 1428 14292010-12-11 Lee Howard <[email protected]> 1430 1431 * libtiff/tif_stream.cxx: warnings cleanup 1432 http://bugzilla.maptools.org/show_bug.cgi?id=2091 1433 * libtiff/tif_dirread.c: warnings cleanup 1434 http://bugzilla.maptools.org/show_bug.cgi?id=2092 1435 14362010-12-11 Lee Howard <[email protected]> 1437 1438 * tools/tiff2pdf.c: add fill-page option 1439 http://bugzilla.maptools.org/show_bug.cgi?id=2051 1440 14412010-12-11 Lee Howard <[email protected]> 1442 1443 * libtiff/tif_dirread.c: modify warnings 1444 http://bugzilla.maptools.org/show_bug.cgi?id=2016 1445 14462010-12-11 Lee Howard <[email protected]> 1447 1448 * libtiff/tif_ojpeg.c: fix buffer overflow on problem data 1449 http://bugzilla.maptools.org/show_bug.cgi?id=1999 1450 14512010-12-11 Lee Howard <[email protected]> 1452 1453 * tools/tiffinfoce.c: strip byte counts are uint64* now 1454 14552010-12-11 Lee Howard <[email protected]> 1456 1457 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero 1458 or missing byte-count tag 1459 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count 1460 per http://bugzilla.maptools.org/show_bug.cgi?id=1996 1461 14622010-12-08 Lee Howard <[email protected]> 1463 1464 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed 1465 TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994 1466 14672010-12-06 Lee Howard <[email protected]> 1468 1469 * libtiff/tif_open.c: Fix mode check before opening a file. 1470 http://bugzilla.maptools.org/show_bug.cgi?id=1906 1471 14722010-11-27 Bob Friesenhahn <[email protected]> 1473 1474 * libtiff-4.pc.in: Added libtiff pkg-config .pc file support. 1475 Patch by Vincent Torri. 1476 14772010-10-21 Frank Warmerdam <[email protected]> 1478 1479 * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler. 1480 1481 * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf. 1482 1483 * libtiff/libtiff.def: export _TIFFCheckMalloc for tools. 1484 14852010-09-25 Lee Howard <[email protected]> 1486 1487 * tools/tiff2ps.c: improvements and enhancements from Richard Nolde 1488 with additional command line options for Document Title, 1489 Document Creator, and Page Orientation 1490 14912010-07-13 Bob Friesenhahn <[email protected]> 1492 1493 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 1494 potentially unterminated buffer due to using an exceptionally long 1495 file name. 1496 14972010-07-08 Andrey Kiselev <[email protected]> 1498 1499 * tools/tiff2pdf.c: Fixed ID buffer filling in 1500 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 1501 15022010-07-07 Andrey Kiselev <[email protected]> 1503 1504 * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 1505 to expected value as the warning message suggests. As per bug 1506 http://bugzilla.maptools.org/show_bug.cgi?id=1963 1507 15082010-07-06 Andrey Kiselev <[email protected]> 1509 1510 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 1511 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 1512 which should be set by value. 1513 1514 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 1515 and _TIFFFieldWithName() if the tag is not found in the tag table. 1516 This should be normal situation and returned NULL value should be 1517 properly handled by the caller. 1518 15192010-07-02 Andrey Kiselev <[email protected]> 1520 1521 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 1522 integer type conversions. As per bug 1523 http://bugzilla.maptools.org/show_bug.cgi?id=2207 1524 1525 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 1526 WhitePoint tag as per bug 1527 http://bugzilla.maptools.org/show_bug.cgi?id=2042 1528 1529 * libtiff/tif_getimage.c: Check the number of samples per pixel when 1530 working with YCbCr image in PickContigCase(). As per bug 1531 http://bugzilla.maptools.org/show_bug.cgi?id=2216 1532 1533 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 1534 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 1535 we don't need any post-processing. That helps to reset the hook if we 1536 previously set this field to some other value and the hook was 1537 initialized accordingly. As per bug 1538 http://bugzilla.maptools.org/show_bug.cgi?id=2035 1539 15402010-07-01 Andrey Kiselev <[email protected]> 1541 1542 * tools/tiffgt.c: Properly check the raster buffer allocations for 1543 integer overflows. As per bug 1544 http://bugzilla.maptools.org/show_bug.cgi?id=2108 1545 1546 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 1547 upstream. 1548 1549 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 1550 multiply_32() and multiply_64() functions into tif_aux.c file and 1551 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 1552 15532010-06-30 Andrey Kiselev <[email protected]> 1554 1555 * tools/tiff2pdf.c: Better generation of ID field in 1556 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 1557 1558 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 1559 converting JPEG encoded tiles. 1560 1561 * tools/tiff2pdf.c: Better handling of string fields, use static 1562 string buffers instead of dynamically allocated, use strncpy() instead 1563 of strcpy(), control the string lengths. 1564 15652010-06-25 Andrey Kiselev <[email protected]> 1566 1567 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 1568 referencing to uninitialized memory in some cases (e.g. when tile size 1569 set bigger than the image size). 1570 15712010-06-15 Bob Friesenhahn <[email protected]> 1572 1573 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 1574 subsampled data since tiffcrop currently doesn't support it. Fix 1575 JPEG support. 1576 15772010-06-13 Frank Warmerdam <[email protected]> 1578 1579 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 1580 1581 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 1582 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 1583 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 1584 size is larger. Also, there are a bunch of places that try to 1585 memset() a malloc'd buffer before checking for malloc failure, which 1586 would result in core dump if there actually were a failure. (#2211) 1587 15882010-06-11 Bob Friesenhahn <[email protected]> 1589 1590 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 1591 avoid compiler warnings if parameter types are not sign 1592 consistent. 1593 1594 * libtiff 4.0.0alpha6 released. 1595 1596 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 1597 European page size dimensions. Added an option to allow the user 1598 to specify a custom page size on the command line. Fix the case 1599 where a page size specified with a fractional part was being 1600 coerced to an integer by retyping the variables that define the 1601 paper size. 1602 1603 * html/index.html: Update for the 3.9.3 release. 1604 1605 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 1606 YCbCr subsampled data since tiffcp currently doesn't support it. 1607 http://bugzilla.maptools.org/show_bug.cgi?id=2097 1608 1609 * Update libtool to version 2.2.10. 1610 16112010-06-10 Bob Friesenhahn <[email protected]> 1612 1613 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 1614 multiplier is zero. 1615 16162010-06-09 Bob Friesenhahn <[email protected]> 1617 1618 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 1619 CVE-2010-1411 was not complete. 1620 1621 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 1622 multiply two integers. Returns zero if there is an integer 1623 overflow. 1624 1625 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 1626 is reported when reading the input file. 1627 16282010-06-08 Bob Friesenhahn <[email protected]> 1629 1630 * Update libtool to version 2.2.8. 1631 1632 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 1633 buffer due to integer overflow in TIFFroundup() and several other 1634 potential overflows. In conjunction with the fix to TIFFhowmany(), 1635 fixes CVE-2010-1411. 1636 1637 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 1638 result in an integer overflow. This causes TIFFroundup() to also 1639 return zero if there would be an integer overflow. 1640 1641 * contrib: Add an emacs formatting mode footer to all source files 1642 so that emacs can be effectively used. 1643 16442010-06-03 Oliver Chen Feng <[email protected]> 1645 1646 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 1647 file PAGENUMBER value in sequence for users who care the page 1648 sequence, this will also prevent tiff2pdf from creating pdf file from 1649 the merged tiff file with wrong page sequence. 1650 16512010-05-08 Olivier Paquet <[email protected]> 1652 1653 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 1654 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 1655 * libtiff/tif_dirinfo.c: Use correct set_field_type for 1656 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 1657 http://bugzilla.maptools.org/show_bug.cgi?id=2192 1658 16592010-05-07 Frank Warmerdam <[email protected]> 1660 1661 * libtiff/tif_jpeg.c: Ensure that quality is always set in 1662 JPEGPreEncode(), not just when we want to output local tables. 1663 Otherwise the quality used during compression may not be right and 1664 might not match the tables in the tables tag. This bug only occurs 1665 when seeking between directories in the midst of writing blocks. 1666 http://trac.osgeo.org/gdal/ticket/3539 1667 16682010-05-06 Andrey Kiselev <[email protected]> 1669 1670 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 1671 Regenerated from the source. 1672 16732010-05-05 Olivier Paquet <[email protected]> 1674 1675 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 1676 had stopped working. Also made it always print 6 floats instead of 1677 2*SamplesPerPixel. 1678 http://bugzilla.maptools.org/show_bug.cgi?id=2191 1679 http://bugzilla.maptools.org/show_bug.cgi?id=2186 1680 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 1681 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 1682 16832010-05-05 Frank Warmerdam <[email protected]> 1684 1685 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 1686 if the jpeg table was written. This is a fix for the last fix on 04-21. 1687 16882010-04-21 Frank Warmerdam <[email protected]> 1689 1690 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 1691 JPEGSetupEncode() is called if the tables already seem to be 1692 established. This prevents spurious updates and rewriting of 1693 directories with jpegtables when doing updates to existing images. 1694 http://trac.osgeo.org/gdal/ticket/3539 1695 16962010-04-20 Olivier Paquet <[email protected]> 1697 1698 * libtiff/tif_dirinfo.c: Use correct set_field_type for 1699 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 1700 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 1701 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 1702 http://bugzilla.maptools.org/show_bug.cgi?id=2139 1703 17042010-04-10 Bob Friesenhahn <[email protected]> 1705 1706 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 1707 when the tag count value is zero. Error handling is still a 1708 regression since in 3.9.2, empty tags are skipped (with a warning) 1709 rather than returning a hard error and refusing to read the file. 1710 1711 * tools/ppm2tiff.c (main): While case for parsing comment line 1712 requires extra parenthesis to work as expected. Reported by 1713 Thomas Sinclair. 1714 17152010-04-02 Frank Warmerdam <[email protected]> 1716 1717 * libtiff/tif_read.c (primarily): Add support for 1718 CHUNKY_STRIP_READ_SUPPORT where large strips are 1719 read in chunks for applications using TIFFReadScanline(). 1720 This is intended to make it more practical work with very 1721 large compressed one-strip files. Feature is off by default. 1722 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 1723 http://trac.osgeo.org/gdal/ticket/3514 1724 17252010-03-31 Frank Warmerdam <[email protected]> 1726 1727 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 1728 directories so previously placed directories will be migrated to 1729 the end of file if needed. 1730 17312010-03-30 Frank Warmerdam <[email protected]> 1732 1733 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 1734 to support operating on strips/tiles of more than 256MB. 1735 http://trac.osgeo.org/gdal/ticket/3512 1736 17372010-03-10 Bob Friesenhahn <[email protected]> 1738 1739 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 1740 that it is clearly a memory allocation error message, and also 1741 includes the size of the allocation request. 1742 17432010-02-22 Lee Howard <[email protected]> 1744 1745 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 1746 the JPEG TIFF as is is not required in order to prevent it from 1747 being unused and filled with invalid data. (Leave it to be 1748 generated by later activity.) 1749 http://bugzilla.maptools.org/show_bug.cgi?id=2135 1750 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 1751 data rather than skipping them. This fixes the ability to view in 1752 Acrobat Reader, Evince, and Ghostscript. 1753 http://bugzilla.maptools.org/show_bug.cgi?id=2135 1754 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 1755 strips. 1756 http://bugzilla.maptools.org/show_bug.cgi?id=2029 1757 17582009-12-03 Frank Warmerdam <[email protected]> 1759 1760 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 1761 Made so that when working with downsampled images a stub function 1762 reporting an error is used for tif_decoderow. We cannot meaningfully 1763 support reading scanlines in this situation. (#1936) 1764 1765 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 1766 resetting of the upsampling values (gdal:#3259). 1767 http://bugzilla.maptools.org/show_bug.cgi?id=1936 1768 17692009-11-30 Frank Warmerdam <[email protected]> 1770 1771 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 1772 tools/ras2tiff.c: Fix resource leaks on error. 1773 http://bugzilla.maptools.org/show_bug.cgi?id=2121 1774 1775 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 1776 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 1777 of as a custom(generic) field to avoid a potential reentrancy problem. 1778 http://bugzilla.maptools.org/show_bug.cgi?id=2125 1779 1780 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 1781 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 1782 const, and display_sRGB static and const. 1783 http://bugzilla.maptools.org/show_bug.cgi?id=2124 1784 17852009-11-04 Bob Friesenhahn <[email protected]> 1786 1787 * libtiff 4.0.0alpha5 released. 1788 17892009-11-03 Bob Friesenhahn <[email protected]> 1790 1791 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 1792 version has undergone substantial testing with arbitrary sample 1793 bit depths. Also eliminates GCC compilation warnings. 1794 17952009-11-02 Bob Friesenhahn <[email protected]> 1796 1797 * port/libport.h: Add extern declarations for getopt standard 1798 globals. 1799 18002009-10-31 Bob Friesenhahn <[email protected]> 1801 1802 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 1803 noticed in 64-bit build of libtiff with Visual Studio 2005. 1804 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 1805 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 1806 1807 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 1808 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 1809 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 1810 http://bugzilla.maptools.org/show_bug.cgi?id=2068 1811 18122009-10-29 Bob Friesenhahn <[email protected]> 1813 1814 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 1815 pointer" warnings. 1816 18172009-10-28 Bob Friesenhahn <[email protected]> 1818 1819 * html/tools.html: Add manual page links, and a summary 1820 description of tiffcrop. 1821 18222009-10-07 Bob Friesenhahn <[email protected]> 1823 1824 * configure.ac: x86_64 should use the same fill order as i386. 1825 18262009-09-24 Bob Friesenhahn <[email protected]> 1827 1828 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 1829 Nolde. Major updates to add significant functionality for reading 1830 and writing tile based images with bit depths not a multiple of 8 1831 which cannot be handled by tiffcp. 1832 18332009-09-03 Bob Friesenhahn <[email protected]> 1834 1835 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 1836 do_fancy_upsampling=FALSE in order to read raw data. Resolves 1837 "Bug 2090 - OJPEG crash with libjpeg v7". 1838 http://bugzilla.maptools.org/show_bug.cgi?id=2090 1839 18402009-09-03 Frank Warmerdam <[email protected]> 1841 1842 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 1843 interface when stoponerror is set. 1844 http://bugzilla.maptools.org/show_bug.cgi?id=2071 1845 18462009-08-30 Bob Friesenhahn <[email protected]> 1847 1848 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 1849 fix build with gcc when using the "-Wformat 1850 -Werror=format-security" flags. 1851 18522009-08-29 Bob Friesenhahn <[email protected]> 1853 1854 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 1855 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 1856 utilities tests. 1857 18582009-08-28 Bob Friesenhahn <[email protected]> 1859 1860 * tools/tiffinfo.c: tiffinfo should return error status to the 1861 caller. Register a private error callback to accomplish that. 1862 1863 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 1864 PNM formats so that we will be able to test more of the tools. 1865 While adding these test images I notice that bmp2tiff and gif2tiff 1866 only support ancient versions of their respective formats. 1867 18682009-08-27 Bob Friesenhahn <[email protected]> 1869 1870 * libtiff 4.0.0alpha4 released. 1871 1872 * HOWTO-RELEASE: Improved release instructions. 1873 18742009-08-24 Bob Friesenhahn <[email protected]> 1875 1876 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 1877 fixes for "Bug 2023 - nroff errors in manual pages". 1878 http://bugzilla.maptools.org/show_bug.cgi?id=2023 1879 1880 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 1881 CVE-2009-2347 libtiff: integer overflows in various inter-color 1882 space conversion tools". 1883 http://bugzilla.maptools.org/show_bug.cgi?id=2079 1884 1885 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 1886 Berkenbilt for "Bug 2024 - possible null pointer dereference with 1887 one-line fix". 1888 http://bugzilla.maptools.org/show_bug.cgi?id=2024 1889 1890 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 1891 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 1892 segfault after setting tdir_tag = IGNORE". 1893 http://bugzilla.maptools.org/show_bug.cgi?id=1895 1894 18952009-08-23 Bob Friesenhahn <[email protected]> 1896 1897 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 1898 tiffcrop.sh into a collection of many specific tests. Re-wrote 1899 all of the existing tests to be based on some simple shell 1900 functions. Make distcheck works again. 1901 1902 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 1903 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 1904 tests under valgrind. 1905 19062009-08-21 Bob Friesenhahn <[email protected]> 1907 1908 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 1909 build. 1910 1911 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 1912 actually activated since it needed to be enabled in this 1913 Makefile.am. Also activated parallel-tests mode since it offers 1914 useful features such as per-test .log files and a summary test 1915 report .log file. 1916 19172009-08-20 Bob Friesenhahn <[email protected]> 1918 1919 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 1920 libtool 2.2.6. Enabled support for silent build rules 1921 (--enable-silent-rules or 'make V=0') and colorized tests. 1922 1923 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 1924 19252009-06-30 Frank Warmerdam <[email protected]> 1926 1927 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 1928 1929 * tools/tiffcp.c: add -c sgilog support. 1930 1931 * libtiff/tif_luv.c: correct return codes from encoderow to be 1932 1 on success instead of zero. 1933 http://bugzilla.maptools.org/show_bug.cgi?id=2069 1934 1935 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 1936 #1085 for a better underflow fix that errors properly. 1937 http://bugzilla.maptools.org/show_bug.cgi?id=2065 1938 http://bugzilla.maptools.org/show_bug.cgi?id=1985 1939 19402009-06-26 Frank Warmerdam <[email protected]> 1941 1942 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 1943 fails on oddly sized 12bit jpeg compressed ycbcr images. 1944 19452009-06-22 Frank Warmerdam <[email protected]> 1946 1947 * libtiff/tif_lzw.c: Fix buffer underflow bug. 1948 http://bugzilla.maptools.org/show_bug.cgi?id=2065 1949 19502009-06-21 Frank Warmerdam <[email protected]> 1951 1952 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 1953 for dual mode 8/12 bit jpeg support. 1954 19552009-06-03 Frank Warmerdam <[email protected]> 1956 1957 * libtiff/tif_write.c: do not override the planar configuration to be 1958 contig for one sample files if planar configuration is already set. 1959 http://bugzilla.maptools.org/show_bug.cgi?id=2057 1960 19612009-06-02 Frank Warmerdam <[email protected]> 1962 1963 * libtiff/libtiff.def: Add TIFFUnsetField. 1964 19652009-05-03 Frank Warmerdam <[email protected]> 1966 1967 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 1968 error reports to use "%s" as format string. 1969 http://trac.osgeo.org/gdal/ticket/2976 1970 19712009-03-12 Frank Warmerdam <[email protected]> 1972 1973 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 1974 for some codecs (#2020). 1975 19762009-02-12 Frank Warmerdam <[email protected]> 1977 1978 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 1979 http://bugzilla.maptools.org/show_bug.cgi?id=2005 1980 19812009-02-09 Frank Warmerdam <[email protected]> 1982 1983 * libtiff/tif_dirread.c: Improve allocation safety when allocated 1984 buffer for large tags. (#1998) Related to (#1993) 1985 19862009-02-06 Frank Warmerdam <[email protected]> 1987 1988 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 1989 test suite should pass. 1990 19912009-02-05 Frank Warmerdam <[email protected]> 1992 1993 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 1994 but at the 2GB boundary to avoid overflow on 32bit systems. 1995 http://bugzilla.maptools.org/show_bug.cgi?id=1993 1996 1997 * libtiff/tif_dirread.c: Remove some assertions that blow due to 1998 corrupt files rather than in response to library internal 1999 inconsistencies. 2000 http://bugzilla.maptools.org/show_bug.cgi?id=1995 2001 http://bugzilla.maptools.org/show_bug.cgi?id=1991 2002 2003 * libtiff/tif_dirread.c: Fixed testing for failed result from 2004 TIFFReadDirectoryFindFieldInfo(). 2005 http://bugzilla.maptools.org/show_bug.cgi?id=1992 2006 20072009-01-23 Frank Warmerdam <[email protected]> 2008 2009 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 2010 http://bugzilla.maptools.org/show_bug.cgi?id=1911 2011 2012 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 2013 2014 http://bugzilla.maptools.org/show_bug.cgi?id=1924 2015 2016 * tools/tiffcrop.c: initialize xres/yres values. 2017 2018 * test/*.sh - default ${srcdir} to local directory. 2019 2020 * test/common.sh - start verbose mode after common settings. 2021 2022 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 2023 avoid type mismatches on different platforms. 2024 http://bugzilla.maptools.org/show_bug.cgi?id=1889 2025 20262009-01-22 Frank Warmerdam <[email protected]> 2027 2028 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 2029 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 2030 2031 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 2032 defined, primarily to reduce prototype warnings on windows. 2033 2034 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 2035 about unused parameters, and uninitialized variables. 2036 20372009-01-21 Bob Friesenhahn <[email protected]> 2038 2039 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 2040 order to trace full execution detail while executing the test suite. 2041 20422009-01-20 Frank Warmerdam <[email protected]> 2043 2044 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 2045 20462009-01-20 Bob Friesenhahn <[email protected]> 2047 2048 * test/Makefile.am (CLEANFILES): Make sure that test output files 2049 are removed by 'make clean' 2050 2051 * Update autotools for 4.0.0 beta3 2052 2053 * 4.0.0 beta3 produced. 2054 20552009-01-12 Bob Friesenhahn <[email protected]> 2056 2057 * test/tiffcrop.sh: New test script for tiffcrop from Richard 2058 Nolde. 2059 2060 * tools/tiff2ps.c: Remove spurious message to stderr. 2061 20622009-01-11 Bob Friesenhahn <[email protected]> 2063 2064 * tools/tiff2ps.c: Incorporated significant functionality update 2065 from Richard Nolde. In particular, support for rotating the image 2066 by 90, 180, 270, and 'auto' has been added. 2067 2068 * man/tiffcrop.1: Incorporated documentation updates from Richard 2069 Nolde. 2070 2071 * tools/tiffcrop.c: Incorporated significant functionality update 2072 from Richard Nolde. 2073 20742008-12-31 Bob Friesenhahn <[email protected]> 2075 2076 * libtiff/tiffio.h: GCC will now validate format specifications 2077 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 2078 TIFFWarningExt() in order to reveal bugs. 2079 2080 * Many fixes throughout to work better as a 64-bit build. 2081 20822008-12-30 Bob Friesenhahn <[email protected]> 2083 2084 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 2085 tags now require 64-bit parameter rather than 32-bit. 2086 2087 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 2088 64-bit values. 2089 2090 * tools/thumbnail.c: Eliminate crash noticed while running test 2091 suite. 2092 20932008-12-29 Bob Friesenhahn <[email protected]> 2094 2095 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 2096 Initialize stack variables to avoid compiler warning. 2097 2098 * tools/tiffinfoce.c (main): Use toff_t for offset type when 2099 retrieving offset of EXIF IFD. 2100 2101 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 2102 TIFFClientOpen() callback and other external function definitions. 2103 2104 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 2105 type now. Fixes crash when dumping files containing an EXIF IFD. 2106 2107 * m4/libtool.m4: Update to libtool 2.2.6. 2108 21092008-12-21 Frank Warmerdam <[email protected]> 2110 2111 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 2112 2113 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 2114 strip for the last partial strip in a jpeg compressed file. 2115 http://bugzilla.maptools.org/show_bug.cgi?id=1981 2116 21172008-10-29 Frank Warmerdam <[email protected]> 2118 2119 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 2120 we take the shortcut to only update the strip/tile offsets in place. 2121 http://trac.osgeo.org/gdal/ticket/2621 2122 21232008-10-21 Andrey Kiselev <[email protected]> 2124 2125 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 2126 the older versions retained). 2127 21282008-10-09 Frank Warmerdam <[email protected]> 2129 2130 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 2131 IPP enabled version of libjpeg from Intel. 2132 http://bugzilla.maptools.org/show_bug.cgi?id=1951 2133 21342008-09-05 Andrey Kiselev <[email protected]> 2135 2136 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 2137 Required for libtiff 4.0. 2138 2139 * tools/tiffsplit.c: Use dynamically allocated array instead of static 2140 when constructing output file names. 2141 21422008-09-03 Andrey Kiselev <[email protected]> 2143 2144 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 2145 doing the filename/path construction. 2146 2147 * tools/tiff2pdf.c: More appropriate format string in 2148 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 2149 2150 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 2151 2152 http://bugzilla.maptools.org/show_bug.cgi?id=1929 2153 2154 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 2155 CVE-2008-2327 security issue. 2156 21572008-09-01 Frank Warmerdam <[email protected]> 2158 2159 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 2160 2161 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 2162 depending on whether the file is bigtiff or classic tiff. 2163 http://bugzilla.maptools.org/show_bug.cgi?id=1917 2164 21652008-08-12 Edward Lam <[email protected]> 2166 2167 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 2168 consistent (__int64) casting when testing if _lseeki64 has 2169 successfully seeked as requested. This is necessary for large 2170 file support to work since off_t is only 32-bit. 2171 21722008-07-29 Frank Warmerdam <[email protected]> 2173 2174 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 2175 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 2176 with control logic to return runtime errors (c/o Even Rouault) (#1927). 2177 21782008-06-17 Frank Warmerdam <[email protected]> 2179 2180 * tools/tiffcrop.c: Fix some portability problems. 2181 2182 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 2183 used in tif_jpeg.c. 2184 2185 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 2186 as TIFFOpen(). 2187 21882008-06-01 Frank Warmerdam <[email protected]> 2189 2190 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 2191 like Sparc/Solaris. 2192 http://bugzilla.maptools.org/show_bug.cgi?id=1892 2193 21942008-05-27 Frank Warmerdam <[email protected]> 2195 2196 * libtiff.def: Add TIFFFindField 2197 http://bugzilla.maptools.org/show_bug.cgi?id=1891 2198 21992008-05-26 Frank Warmerdam <[email protected]> 2200 2201 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 2202 2203 * li2008-04-15 Andrey Kiselev <[email protected]> 2204 2205btiff/tif_win32.c: Replace custom Win32 memory api with generic 2206 POSIX one. No apparent value to use of GlobalAlloc() in the modern 2207 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 2208 2209 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 2210 in windows version (care of Edward Lam). 2211 22122008-05-24 Frank Warmerdam <[email protected]> 2213 2214 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 2215 compression codec codes. 2216 2217 * tif_dirwrite.c: fix potential memory leak. 2218 2219 * tif_dirread.c: Fix unchecked malloc result. 2220 22212008-05-24 Bob Friesenhahn <[email protected]> 2222 2223 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 2224 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 2225 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 2226 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 2227 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 2228 suggestions from Lee Howard posted to the tiff list on 13 Sep 2229 2007. 2230 22312008-05-23 Frank Warmerdam <[email protected]> 2232 2233 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 2234 possible runtime problem reported by coverity. 2235 2236 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 2237 2238 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 2239 http://bugzilla.maptools.org/show_bug.cgi?id=1888 2240 2241 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 2242 2243 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 2244 2245 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 2246 Cleanup scanline allocation to avoid coverity warning. 2247 2248 * tools/thumbnail.c: Check for TIFFOpen() failure. 2249 22502008-05-18 Frank Warmerdam <[email protected]> 2251 2252 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 2253 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 2254 why this is needed. 2255 22562008-05-09 Bob Friesenhahn <[email protected]> 2257 2258 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 2259 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 2260 22612008-04-15 Andrey Kiselev <[email protected]> 2262 2263 * test/: Test suite updated. Everything is passed now. 2264 2265 * libtiff/tif_dirinfo.c: Fixed description of the 2266 TIFFTAG_NUMBEROFINKS tag. 2267 22682008-04-14 Andrey Kiselev <[email protected]> 2269 2270 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 2271 Get rid of some of "dereferencing type-punned" warnings by converting 2272 tdir_offset field of TIFFDirEntry structure into union. 2273 22742008-04-10 Andrey Kiselev <[email protected]> 2275 2276 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 2277 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 2278 from the public interface. Type of its 'count' parameter changed 2279 from uint32 to tmsize_t. 2280 2281 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 2282 of the tiff structure have the size_t type instead of uint32. 2283 22842008-04-09 Andrey Kiselev <[email protected]> 2285 2286 * tools/tiffdump.c: Added support for MSVS 6.0. 2287 2288 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 2289 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 2290 point values on MSVS 6.0 platform. 2291 22922008-03-14 Frank Warmerdam <[email protected]> 2293 2294 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 2295 TIFFReadDirEntryArray() since they are interfering with seemingly 2296 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 2297 22982008-02-09 Joris Van Damme <[email protected]> 2299 2300 * tif_dirread.c: Added handling for the case of number of values for 2301 PageNumber tag different from 2 (previously resulted in an assert 2302 indicating lack of handling and was forgotten about) 2303 23042008-02-01 Frank Warmerdam <[email protected]> 2305 2306 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 2307 the actual jpeg data stream if the first strip/tile has zero size. 2308 This is the case when GDAL creates a new file with zero sizes, closes 2309 and reopens it. 2310 23112008-01-07 Frank Warmerdam <[email protected]> 2312 2313 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 2314 23152008-01-01 Frank Warmerdam <[email protected]> 2316 2317 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 2318 2319 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 2320 targets. 2321 2322 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 2323 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 2324 (x64). 2325 2326 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 2327 and TIFFFieldWithName() now return TIFFField pointers instead of 2328 TIFFFieldInfo pointers. 2329 2330 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 2331 exist. This makes it compile again on Windows 2332 2333 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 2334 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 2335 2336 * test/rewrite_tag.c: New test for TIFFRewriteField(). 2337 23382007-12-31 Frank Warmerdam <[email protected]> 2339 2340 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 2341 rewrites one field "on disk" updating an existing directory 2342 entry. Lots of limitations still... 2343 2344 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 2345 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 2346 the strip offset/size values are dirty but nothing else about the 2347 directory is dirty. In flush handle "just stripmaps dirty" as a 2348 special case that just rewrites these values without otherwise 2349 modifying the directory on disk using TIFFRewriteField(). 2350 2351 We also modify logic so that in update mode the directory is not 2352 marked dirty on read, but only when something is changed. This 2353 means we need to keep track of updates to the stripmap stuff in 2354 TIFFAppendToStrip(). 2355 23562007-12-10 Frank Warmerdam <[email protected]> 2357 2358 * tif_jpeg.c: Improve ability to switch between encoding and decoding 2359 in the jpeg code (gdal bug #2033). 2360 23612007-11-23 Frank Warmerdam <[email protected]> 2362 2363 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 2364 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 2365 rawcp/rawcc buffer are for writing and thus may require flushing. 2366 Necessary to distinguish whether they need to be written to disk when 2367 in mixed read/write mode and doing a mixture of writing followed by 2368 reading. http://trac.osgeo.org/gdal/ticket/1758 2369 23702007-11-23 Andrey Kiselev <[email protected]> 2371 2372 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 2373 from Alexey Chupahin. 2374 23752007-11-02 Frank Warmerdam <[email protected]> 2376 2377 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 2378 establishing if an existing tile can be rewritten to the same location 2379 by comparing the current size to all the other blocks in the same 2380 directory. This is dangerous in many situations and can easily 2381 corrupt a file. (observed in esoteric GDAL situation that's hard to 2382 document). This change involves leaving the stripbytecount[] values 2383 unaltered till TIFFAppendToStrip(). Now we only write a block back 2384 to the same location it used to be at if the new data is the same 2385 size or smaller - otherwise we move it to the end of file. 2386 2387 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 2388 data when writing the directory just because we have BEENWRITING at 2389 some point in the past. This was causing odd junk to be written out 2390 in a tile of data when a single tile had an interleaving of reading 2391 and writing with reading last. (highlighted by gdal 2392 autotest/gcore/tif_write.py test 7. 2393 2394 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 2395 modifying callers buffer. 2396 http://trac.osgeo.org/gdal/ticket/1965 2397 2398 * tif_predict.c/h: more fixes related to last item, keeping a 2399 distinct pfunc for encode and decode cases as these were getting 2400 mixed up sometimes. 2401 http://trac.osgeo.org/gdal/ticket/1948 2402 24032007-11-01 Frank Warmerdam <[email protected]> 2404 2405 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 2406 predictor based encoding and decoding works in read-write update 2407 mode properly. 2408 http://trac.osgeo.org/gdal/ticket/1948 2409 24102007-10-24 Joris Van Damme <[email protected]> 2411 2412 * tif_dirread.c: Fixed problem with bogus file triggering 2413 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 2414 ChopUpSingleUncompressedStrip 2415 24162007-10-22 Joris Van Damme <[email protected]> 2417 2418 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 2419 at best, access violation at worst, when subsampled JPEG compressed imagery 2420 is decoded without the JPEG_COLORMODE feature 2421 24222007-10-11 Frank Warmerdam <[email protected]> 2423 2424 * html/index.html: Update "people responsible" section. 2425 24262007-10-05 Frank Warmerdam <[email protected]> 2427 2428 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 2429 as reported on the mailing list. 2430 24312007-10-01 Joris Van Damme <[email protected]> 2432 2433 * changed some more incorrect %lud printf flags to %lu 2434 24352007-09-29 Joris Van Damme <[email protected]> 2436 2437 * tif_dirread.c: Strip chopping interfered badly with uncompressed 2438 subsampled images because it tried to divide subsampled rowblocks, 2439 leading to all sorts of errors throughout the library for these 2440 images. Fixed by making strip chopping divide in row counts that 2441 are a multiple of vertical subsampling value. 2442 24432007-09-28 Joris Van Damme <[email protected]> 2444 2445 * tif_dirread.c: Logical cast working around compiler warning 2446 2447 * tif_read.c: Correction of some error flags and parameter lists 2448 24492007-09-27 Joris Van Damme <[email protected]> 2450 2451 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 2452 when dealing with large bitspersample values, shutting up purification 2453 tools that warn about truncation, though it remains incorrect and 2454 indicates a conceptual problem there. 2455 2456 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 2457 of first IFD) to proper place because it badly interfered with memory 2458 mapping, resulting in mapping flag even with dummy mapping functions 2459 that returned 0 whilst at the same time the mapping tif_size wasn't 2460 set, thus resulting in continuous incorrect beyond-eof errors. 2461 24622007-09-24 Joris Van Damme <[email protected]> 2463 2464 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 2465 inconsistent use of const in tiffFields and exifFields definition 2466 24672007-09-20 Frank Warmerdam <[email protected]> 2468 2469 * tif_dirwrite.c: Always write tile/strip offsets and sizes 2470 using LONG8 type when output format is BigTIFF. The 2471 TIFFWriteDirectoryTagLongLong8Array() function was restructured 2472 accordingly. 2473 2474 * tif_dirread.c: Improvements to error reporting text in 2475 TIFFFetchDirectory(). 2476 24772007-09-19 Bob Friesenhahn <[email protected]> 2478 2479 * test/images: Added a small collection of test images for use by 2480 test programs and scripts. 2481 * test/tiffinfo.sh: A trivial example test script. 2482 * test/common.sh: Added small script for setting the environment 2483 used by script-based tests. 2484 24852007-08-24 Frank Warmerdam <[email protected]> 2486 2487 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 2488 zero when writing directory contents to preserve the ability to 2489 rewrite directories in place, even in the middle of a directory 2490 chain. 2491 2492 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 2493 definitions that are missing. Existing definitions are silently 2494 ignored. 2495 2496 * tif_dirread.c: Add runtime error for fields for which no definition 2497 is found (in addition to an assert for developers) in 2498 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 2499 prudent. 2500 25012007-08-10 Joris Van Damme <[email protected]> 2502 2503 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 2504 from _TIFFRGBAImage structure to revert unwanted ABI change. 2505 25062007-08-10 Joris Van Damme <[email protected]> 2507 2508 * libtiff/tif_win32.c: use SetFilePointer instead of 2509 SetFilePointerEx, as per bug 2510 2511 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 2512 25132007-07-19 Andrey Kiselev <[email protected]> 2514 2515 * libtiff/tif_stream.cxx: Put all callback functions declarations 2516 inside extern "C" block. 2517 2518 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 2519 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 2520 formatter instead of "%lld" with MSVC compiler. 2521 2522 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 2523 _TIFFUInt64ToDouble() functions. 2524 25252007-07-18 Andrey Kiselev <[email protected]> 2526 2527 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 2528 integer constants. 2529 2530 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 2531 remove tif_config.h/tiffconf.h during cleaning. As per bug 2532 2533 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 2534 2535 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 2536 2537 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 2538 25392007-07-13 Andrey Kiselev <[email protected]> 2540 2541 * libtiff 4.0.0alpha released. 2542 25432007-07-12 Andrey Kiselev <[email protected]> 2544 2545 * tools/tiff2pdf.c: Added missed extern optind as per bug 2546 2547 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 2548 2549 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 2550 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 2551 extending scheme completed. 2552 25532007-07-11 Bob Friesenhahn <[email protected]> 2554 2555 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 2556 use standard C++ library size types and attempt to detect overflow 2557 cases. 2558 25592007-07-08 Andrey Kiselev <[email protected]> 2560 2561 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 2562 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 2563 tag extending scheme. Use the new scheme everywhere. 2564 2565 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 2566 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 2567 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 2568 TIFFFIeldInfo structure replaced with TIFFField structure. 2569 TIFFFieldInfo retained for the backward compatibility. 2570 25712007-07-05 Bob Friesenhahn <[email protected]> 2572 2573 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 2574 defined. 2575 25762007-07-04 Andrey Kiselev <[email protected]> 2577 2578 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 2579 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 2580 removed. 2581 2582 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 2583 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 2584 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 2585 These tags are not codec-specific and relate to image content, so 2586 process them as other normal tags. 2587 2588 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 2589 public tiffio.h to private tif_dir.h. 2590 2591 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 2592 outdated. 2593 25942007-07-03 Andrey Kiselev <[email protected]> 2595 2596 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 2597 tif_win3.c}: Obsoleted portability stuff removed. 2598 2599 * tools/tiff2ps.c: Added support 16-bit images as per bug 2600 2601 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 2602 2603 Patch from William Bader. 2604 2605 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 2606 significant upgrade of the whole utility as per bug 2607 2608 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 2609 2610 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 2611 PDF file using TIFFClientOpen() machinery as it is implemented 2612 by Leon Bottou. 2613 26142007-06-26 Bob Friesenhahn <[email protected]> 2615 2616 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 2617 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 2618 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 2619 allow returning -1 for errors. 2620 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 2621 26222007-06-25 Bob Friesenhahn <[email protected]> 2623 2624 * port/strtoull.c: New porting function in case strtoull() is not 2625 available on the target system. 2626 * configure.ac: Add configure support for determining sized types 2627 in a portable way and performing necessary substitutions in 2628 tif_config.h and tiffconf.h. Updated tiff.h to use the new 2629 definitions. 2630 26312007-04-27 Andrey Kiselev <[email protected]> 2632 2633 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 2634 2635 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 2636 26372007-04-07 Andrey Kiselev <[email protected]> 2638 2639 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 2640 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 2641 tif_predict.c, tif_zip.c}: Finally fix bug 2642 2643 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 2644 2645 by introducing _TIFFMergeFieldInfo() returning integer error status 2646 instead of void in case of problems with field merging (e.g., if the 2647 field with such a tag already registered). TIFFMergeFieldInfo() in 2648 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 2649 check returned value. 2650 26512007-04-07 Frank Warmerdam <[email protected]> 2652 2653 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 2654 blocks in TIFF_DownSample_Subsampled() (bug 1542). 2655 26562007-04-06 Frank Warmerdam <[email protected]> 2657 2658 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 2659 will convert from decompressor to compressor or compress to decompress 2660 if required by the force arguments. This works around a problem in 2661 where the JPEGFixupTestSubsampling() may cause a decompressor to 2662 be setup on a directory when later a compressor is required with the 2663 force flag set. Occurs with the addtiffo program for instance. 2664 26652007-04-06 Andrey Kiselev <[email protected]> 2666 2667 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 2668 functionality from Richard Nolde. As per bug 2669 2670 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 2671 26722007-03-28 Frank Warmerdam <[email protected]> 2673 2674 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 2675 26762007-03-17 Joris Van Damme <[email protected]> 2677 2678 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 2679 26802007-03-07 Joris Van Damme <[email protected]> 2681 2682 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 2683 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 2684 factor. This bug is mentioned in: 2685 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 2686 http://www.asmail.be/msg0054766825.html 2687 26882007-03-07 Joris Van Damme <[email protected]> 2689 2690 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 2691 2692 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 2693 unused arguments by standard C indication for the same 2694 26952007-02-27 Andrey Kiselev <[email protected]> 2696 2697 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 2698 counters in TIFFFetchData(). Should finally fix the issue 2699 2700 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 2701 27022007-02-24 Andrey Kiselev <[email protected]> 2703 2704 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 2705 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 2706 2707 * libtiff/tif_dirread.c: Added special function to handle 2708 SubjectDistance EXIF tag as per bug 2709 2710 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 2711 2712 * tools/tiff2pdf.c: Do not assume inches when the resolution units 2713 do not specified. As per bug 2714 2715 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 2716 2717 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 2718 it was set as infinite. As per bug 2719 2720 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 2721 2722 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 2723 by Richard Nolde. As per bug 2724 2725 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 2726 27272007-02-22 Andrey Kiselev <[email protected]> 2728 2729 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 2730 ExtraSamples == 999 produced by Corel Draw. As per bug 2731 2732 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 2733 2734 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 2735 changed from tsize_t to uint32 to be able to work with data arrays 2736 larger than 2GB. Fixes bug 2737 2738 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 2739 2740 Idea submitted by Matt Hancher. 2741 27422007-01-31 Andrey Kiselev <[email protected]> 2743 2744 * tools/tif2rgba.c: This utility does not work properly on big-endian 2745 architectures. It was fixed including the bug 2746 2747 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 2748 27492007-01-15 Mateusz Loskot <[email protected]> 2750 2751 * Submitted libtiff port for Windows CE platform 2752 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 2753 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 2754 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 2755 functons from tif_win32.c. 2756 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 2757 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 2758 standard header files for Windows CE build. 2759 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 2760 27612006-11-19 Frank Warmerdam <[email protected]> 2762 2763 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 2764 we move a strip. 2765 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 2766 27672006-10-13 Andrey Kiselev <[email protected]> 2768 2769 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 2770 in Gentoo bug (): 2771 2772 http://bugs.gentoo.org/show_bug.cgi?id=142383 2773 2774 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 2775 Though it is still far from the state of being working and useful. 2776 27772006-10-12 Andrey Kiselev <[email protected]> 2778 2779 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 2780 method. 2781 2782 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 2783 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 2784 2785 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 2786 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 2787 2788 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 2789 vulnerabilities, reported in Gentoo bug (): 2790 2791 http://bugs.gentoo.org/show_bug.cgi?id=142383 2792 27932006-09-28 Andrey Kiselev <[email protected]> 2794 2795 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 2796 vulnerabilities, as per Gentoo bug (): 2797 2798 http://bugs.gentoo.org/show_bug.cgi?id=142383 2799 28002006-09-27 Frank Warmerdam <[email protected]> 2801 2802 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 2803 encoding and decoding on the same read-write TIFF handle. The LZW 2804 code can now maintain encode and decode state at the same time. The 2805 ZIP code will switch back and forth as needed. 2806 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 2807 28082006-09-20 Frank Warmerdam <[email protected]> 2809 2810 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 2811 tif_config.vc.h for easier identification by folks using an IDE. 2812 28132006-07-25 Frank Warmerdam <[email protected]> 2814 2815 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 2816 28172006-07-19 Frank Warmerdam <[email protected]> 2818 2819 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 2820 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 2821 to bug report by Peng Gao with black strip at bottom of images. 2822 28232006-07-12 Frank Warmerdam <[email protected]> 2824 2825 * tif_dirwrite.c: make sure to use uint32 for wordcount in 2826 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 2827 It already seems to have been done for other field types. Needed 2828 for "tiffset" on files with geotiff ascii text. 2829 28302006-07-04 Bob Friesenhahn <[email protected]> 2831 2832 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 2833 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 2834 its use does not appear to be required, so use it only when it is 2835 available. 2836 28372006-06-24 Andrey Kiselev <[email protected]> 2838 2839 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 2840 2841 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 2842 function TIFFFetchDirectory() avoiding code duplication in 2843 TIFFReadDirectory() and TIFFReadCustomDirectory(). 2844 28452006-06-19 Frank Warmerdam <[email protected]> 2846 2847 * tools/tiff2pdf.c: Fix handling of -q values. 2848 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 2849 28502006-06-17 Frank Warmerdam <[email protected]> 2851 2852 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 2853 files. Modified TIFFReadDirectory() to not invoke 2854 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 2855 but one of them is zero. 2856 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 2857 28582006-06-08 Andrey Kiselev <[email protected]> 2859 2860 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 2861 checking code in the separate function TIFFCheckDirOffset(). 2862 2863 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 2864 2865 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 2866 2867 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 2868 2869 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 2870 2871 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 2872 2873 * tools/tiff2pdf.c: Fixed buffer overflow condition in 2874 t2p_write_pdf_string() as per bug 2875 2876 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 2877 28782006-06-07 Andrey Kiselev <[email protected]> 2879 2880 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 2881 support for JBIG compression scheme (34661 code) contributed by Lee 2882 Howard. As per bug 2883 2884 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 2885 2886 * configure, configure.ac: OJPEG support enabled by default. 2887 2888 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 2889 28902006-06-03 Bob Friesenhahn <[email protected]> 2891 2892 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 2893 TIFFPrintDirectory(). Joris Van Damme authored the fix. 2894 28952006-04-21 Andrey Kiselev <[email protected]> 2896 2897 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 2898 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 2899 2900 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 2901 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 2902 Added support for OpenVMS by Alexey Chupahin, [email protected]. 2903 29042006-04-20 Andrey Kiselev <[email protected]> 2905 2906 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 2907 Properly set the binary mode for stdin stream as per bug 2908 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 2909 2910 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 2911 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 2912 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 2913 tiffset.1}: Improvements in page formatting as per bug 2914 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 2915 2916 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 2917 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 2918 29192006-04-18 Frank Warmerdam <[email protected]> 2920 2921 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 2922 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 2923 29242006-04-12 Joris Van Damme <[email protected]> 2925 2926 * libtiff/tif_getimage.c: Added support for planarconfig separate 2927 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 2928 29292006-04-11 Joris Van Damme <[email protected]> 2930 2931 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 2932 - Conversion of unassociated alpha to associated alpha now done with 2933 more performant LUT, and calculation more correct 2934 - Conversion of 16bit data to 8bit data now done with 2935 more performant LUT, and calculation more correct 2936 - Bugfix of handling of 16bit RGB with unassociated alpha 2937 29382006-04-11 Joris Van Damme <[email protected]> 2939 2940 * libtiff/tif_getimage.c: 2941 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 2942 buffer for alpha strile and filled it, only to never read it back. 2943 Removed allocation and fill. 2944 - Minor rename of vars in gtTileSeparate and gtStripSeparate 2945 anticipating planned functionality extension 2946 29472006-04-08 Joris Van Damme <[email protected]> 2948 2949 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 2950 and pickTileSeparateCase to PickSeparateCase as both work on strips as 2951 well 2952 2953 * libtiff/tif_getimage.c: moved img->get selection from 2954 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 2955 logical hook for planned functionality extension 2956 29572006-04-08 Joris Van Damme <[email protected]> 2958 2959 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 2960 of inappropriate use of jpeg_abort instead of jpeg_destroy 2961 29622006-04-07 Joris Van Damme <[email protected]> 2963 2964 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 2965 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 2966 on subsampled images - this ought to get sorted when we feel brave 2967 enough to replace TIFFScanlineSize alltogether 2968 2969 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 2970 29712006-04-04 Joris Van Damme <[email protected]> 2972 2973 * libtiff/tiffio.h: added new type tstrile_t 2974 2975 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 2976 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 2977 toff_t* 2978 2979 * libtiff/tif_ojpeg.c: totally new implementation 2980 2981 * libtiff/tif_dirread.c: added several hacks to suit new support of 2982 OJPEG 2983 2984 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 2985 of OJPEG images in favor of tif_getimage.c native handling of 2986 YCbCr and desubsampling 2987 29882006-03-29 Frank Warmerdam <[email protected]> 2989 2990 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 2991 interpretation causes the "upsampled" flag to be recomputed. Fixes 2992 peculiar bug where photometric flag had to be set before jpegcolormode 2993 flag. 2994 29952006-03-25 Joris Van Damme <[email protected]> 2996 2997 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 2998 2999 * libtiff/tif_strip.c: temporarilly added two new versions of 3000 TIFFScanlineSize 3001 - TIFFNewScanlineSize: proposed new version, after all related 3002 issues and side-effects are sorted out 3003 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 3004 This needs further sorting out. 3005 30062006-03-25 Joris Van Damme <[email protected]> 3007 3008 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 3009 of last truncated strip data to TIFFWriteEncodedStrip 3010 30112006-03-25 Joris Van Damme <[email protected]> 3012 3013 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 3014 30152006-03-25 Joris Van Damme <[email protected]> 3016 3017 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 3018 3019 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 3020 3021 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 3022 prepare the path for new tif_ojpeg.c 3023 30242006-03-23 Andrey Kiselev <[email protected]> 3025 3026 * libtiff 3.8.2 released. 3027 3028 * tools/Makefile.am: Use runtime paths linker flags when rpath 3029 option enabled. 3030 30312006-03-21 Andrey Kiselev <[email protected]> 3032 3033 * libtiff/libtiff.def: Added missed exports as per bug 3034 http://bugzilla.remotesensing.org/attachment.cgi?id=337 3035 3036 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 3037 tools/Makefile.vc: Makefiles improvements as per bug 3038 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 3039 3040 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 3041 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 3042 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 3043 3044 * libtiff/tif_strip.c: Take subsampling in account when calculating 3045 TIFFScanlineSize(). 3046 3047 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 3048 30492006-03-17 Andrey Kiselev <[email protected]> 3050 3051 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 3052 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 3053 3054 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 3055 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 3056 30572006-03-16 Andrey Kiselev <[email protected]> 3058 3059 * libtiff/tiffiop.h: Added decalration for 3060 _TIFFSetDefaultCompressionState(). 3061 3062 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 3063 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 3064 codec cleanup methods. As per bug 3065 3066 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 3067 30682006-03-15 Andrey Kiselev <[email protected]> 3069 3070 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 3071 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 3072 3073 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 3074 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 3075 3076 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 3077 removed; move here the STRIP_SIZE_DEFAULT macro definition. 3078 3079 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 3080 macro definition. 3081 3082 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 3083 30842006-03-14 Andrey Kiselev <[email protected]> 3085 3086 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 3087 in TIFFReadDirectory, because it is always set at the start of 3088 function and we allow TIFFs without that tag set. 3089 30902005-03-13 Andrey Kiselev <[email protected]> 3091 3092 * libtiff 3.8.1 released. 3093 30942006-03-07 Andrey Kiselev <[email protected]> 3095 3096 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 3097 function as per bug 3098 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3099 3100 * libtiff/tif_dirread.c: More wise check for integer overflow 3101 condition as per bug 3102 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3103 3104 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 3105 Properly restore setfield/getfield methods in cleanup functions. As 3106 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3107 31082006-03-03 Andrey Kiselev <[email protected]> 3109 3110 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 3111 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 3112 3113 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 3114 TIFFPredictorCleanup() in codec cleanup methods. As per bug 3115 3116 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3117 3118 * libtiff/tif_dirread.c: Fixed integer overflow condition in 3119 TIFFFetchData() function. As per bug 3120 3121 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3122 31232006-03-01 Andrey Kiselev <[email protected]> 3124 3125 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 3126 TIFFSetField() method, not directly. As per bug 3127 3128 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 3129 3130 * tools/ppm2tiff.c: Added support for PBM files as per bug 3131 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 3132 31332006-02-27 Andrey Kiselev <[email protected]> 3134 3135 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 3136 to avoid crash as per bug 3137 3138 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 3139 31402006-02-26 Andrey Kiselev <[email protected]> 3141 3142 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 3143 t2p_sample_rgba_to_rgb() was used in place of each other, that was 3144 resulted in problems with RGBA images with associated alpha. 3145 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 3146 31472006-02-23 Andrey Kiselev <[email protected]> 3148 3149 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 3150 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 3151 3152 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 3153 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 3154 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 3155 3156 * tools/tiff2ps.c: Properly scale all the pages when converting 3157 multipage TIFF with /width/height/center options set. As per bug 3158 3159 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 3160 31612006-02-15 Andrey Kiselev <[email protected]> 3162 3163 * tools/tiff2pdf.c: Do not create output file until all option checks 3164 will be done. As per bug 3165 3166 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 3167 3168 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 3169 list of input files as per bug: 3170 3171 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 3172 31732006-02-09 Andrey Kiselev <[email protected]> 3174 3175 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 3176 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 3177 3178 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 3179 TIFFRGBAImage interface. 3180 3181 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 3182 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 3183 31842006-02-07 Frank Warmerdam <[email protected]> 3185 3186 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 3187 compressed TIFF files, per submission from Dan Cobra. 3188 31892006-02-07 Andrey Kiselev <[email protected]> 3190 3191 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 3192 cast values to avoid warnings. As per bug 3193 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 3194 3195 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 3196 appropriate. As per bug 3197 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 3198 3199 * libtiff/tif_aux.c: Fixed type of temporary variable in 3200 _TIFFCheckMalloc() as per bug 3201 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 3202 32032006-02-06 Andrey Kiselev <[email protected]> 3204 3205 * libtiff/tif_aux.c: Return static array when fetching default 3206 YCbCrCoefficients (another problem, reported a the 3207 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 3208 32092006-02-03 Andrey Kiselev <[email protected]> 3210 3211 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 3212 YCbCrSubsampling and DotRange tags as per bugs 3213 3214 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 3215 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 3216 3217 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 3218 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 3219 3220 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 3221 32222006-01-23 Andrey Kiselev <[email protected]> 3223 3224 * libtool related stuff updated from the 2.1a branch. 3225 32262006-01-11 Frank Warmerdam <[email protected]> 3227 3228 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 3229 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 3230 properly as per bug: 3231 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 3232 32332006-01-09 Bob Friesenhahn <[email protected]> 3234 3235 * configure.ac: Fix with_default_strip_size comparison as reported 3236 by Norihiko Murase. 3237 32382006-01-08 Bob Friesenhahn <[email protected]> 3239 3240 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 3241 incorrectly, tests were not actually testing the uninstalled 3242 libtiff. Now they are. 3243 32442006-01-04 Andrey Kiselev <[email protected]> 3245 3246 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 3247 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 3248 should be uint32 value. 3249 32502006-01-02 Bob Friesenhahn <[email protected]> 3251 3252 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 3253 be used if build directory is not the same as source directory. 3254 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 3255 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 3256 and re-sorted tag names in alphabetical order. 3257 32582005-12-29 Andrey Kiselev <[email protected]> 3259 3260 * libtiff 3.8.0 released. 3261 32622005-12-28 Bob Friesenhahn <[email protected]> 3263 3264 * tools/bmp2tiff.c (main): Fixed warning regarding returning 3265 inconsistent types from a condition. 3266 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 3267 format. 3268 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 3269 32702005-12-28 Joris Van Damme <[email protected]> 3271 3272 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 3273 32742005-12-27 Andrey Kiselev <[email protected]> 3275 3276 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 3277 windows.h, to reduce the compile time. 3278 32792005-12-26 Bob Friesenhahn <[email protected]> 3280 3281 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 3282 32832005-12-26 Andrey Kiselev <[email protected]> 3284 3285 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 3286 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 3287 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 3288 private functions to retrieve FieldInfo arrays. 3289 32902005-12-24 Bob Friesenhahn <[email protected]> 3291 3292 * html/build.html: Added some additional instructions for when 3293 building using MSVC under Windows. Also fixed two HTML syntax 3294 errors and used HTML Tidy to tidy up the HTML syntax and 3295 formatting. 3296 32972005-12-24 Andrey Kiselev <[email protected]> 3298 3299 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 3300 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 3301 StoNits tags custom. 3302 33032005-12-23 Andrey Kiselev <[email protected]> 3304 3305 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 3306 WhitePoint tag custom. 3307 3308 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 3309 33102005-12-23 Joris Van Damme <[email protected]> 3311 3312 * libtiff/tiffio.h: fixed typo that potentially resulted in 3313 redefininition of USE_WIN32_FILEIO 3314 3315 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 3316 calls in core LibTiff. 3317 33182005-12-21 Andrey Kiselev <[email protected]> 3319 3320 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 3321 Photoshop and ICCProfile tags custom. 3322 33232005-12-21 Joris Van Damme <[email protected]> 3324 3325 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 3326 newer code to get context indicator in error handler and still 3327 remain compatible with older code: Done TIFFError calls everywhere 3328 except in tools 3329 33302005-12-20 Andrey Kiselev <[email protected]> 3331 3332 * tools/tiffcp.c: Added many error reporting messages; fixed integer 3333 overflow as per bug 3334 3335 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 3336 33372005-12-16 Frank Warmerdam <[email protected]> 3338 3339 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 3340 YCbCr images in jpeg compressed TIFF files. 3341 33422005-12-14 Andrey Kiselev <[email protected]> 3343 3344 * tools/tiffcp.c: Return non-zero status when reading fails (again). 3345 33462005-12-13 Andrey Kiselev <[email protected]> 3347 3348 * tools/tiffcp.c: Return non-zero status when reading fails. 3349 33502005-12-12 Andrey Kiselev <[email protected]> 3351 3352 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 3353 33542005-12-09 Andrey Kiselev <[email protected]> 3355 3356 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 3357 custom. 3358 3359 * tools/tiffinfo.c: Print EXIF directory contents if exist. 3360 3361 * libtiff/tiff.h: Few EXIF tag numbers added. 3362 3363 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 3364 tiffio.h}: Preliminary support to read custom directories. New 3365 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 3366 33672005-12-07 Andrey Kiselev <[email protected]> 3368 3369 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 3370 More work to implement custom directory read support. 3371 3372 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 3373 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 3374 tags custom. 3375 33762005-12-05 Andrey Kiselev <[email protected]> 3377 3378 * libtiff/tif_dirread.c: One more workaround for broken 3379 StripByteCounts tag. Handle the case when StripByteCounts array filled 3380 with completely wrong values. 3381 33822005-11-30 Andrey Kiselev <[email protected]> 3383 3384 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 3385 in the TIFFOpenW() function as per bug 3386 3387 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 3388 3389 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 3390 functions as per bug 3391 3392 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 3393 33942005-11-20 Frank Warmerdam <[email protected]> 3395 3396 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 3397 for MS MDI format. 3398 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 3399 3400 * .cvsignore: many files added, and a few update according 3401 to suggestion of Brad HArds on tiff mailing list. 3402 34032005-11-03 Frank Warmerdam <[email protected]> 3404 3405 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 3406 public. 3407 34082005-10-31 Andrey Kiselev <[email protected]> 3409 3410 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 3411 as per bug 3412 3413 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 3414 3415 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 3416 as per bug 3417 3418 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 3419 3420 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 3421 problem as per bug 3422 3423 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 3424 3425 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 3426 3427 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 3428 3429 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 3430 ResolutionUnit tags modifiable during write process. As per bug 3431 3432 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 3433 3434 * tools/tiffsplit.c: Copy fax related fields over splitted parts 3435 as per bug 3436 3437 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 3438 34392005-10-21 Frank Warmerdam <[email protected]> 3440 3441 * tif_dirread.c: Don't try and split single strips into "0" strips 3442 in ChopUpSingleUncompressedStrip. This happens in some degenerate 3443 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 3444 34452005-10-20 Joris Van Damme <[email protected]> 3446 3447 * tif_fax3.c: changed 'at scanline ...' style warning/errors 3448 with incorrect use of tif_row, to 'at line ... of 3449 strip/tile ...' style 3450 34512005-10-15 Frank Warmerdam <[email protected]> 3452 3453 * tif_write.c: fixed setting of planarconfig as per bug report 3454 on the mailing list from Joris. 3455 34562005-10-07 Andrey Kiselev <[email protected]> 3457 3458 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 3459 tif_dirread.c}: Make the default strip size configurable via the 3460 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 3461 34622005-09-30 Bob Friesenhahn <[email protected]> 3463 3464 * html/support.html: Fixed link to documentation on Greg Ward's 3465 LogLuv TIFF format. 3466 34672005-09-28 Andrey Kiselev <[email protected]> 3468 3469 * tools/tiffdump.c: Fixed crash when reading malformed tags. 3470 34712005-09-20 Andrey Kiselev <[email protected]> 3472 3473 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 3474 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 3475 34762005-09-12 Andrey Kiselev <[email protected]> 3477 3478 * libtiff 3.7.4 released. 3479 3480 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 3481 from Patrick Welche (all scripts moved in the 'config' and 'm4' 3482 directories). 3483 34842005-09-12 Frank Warmerdam <[email protected]> 3485 3486 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 3487 34882005-09-05 Frank Warmerdam <[email protected]> 3489 3490 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 3491 also set it to NULL to avoid double free when re-setting custom 3492 string fields as per: 3493 3494 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 3495 34962005-08-12 Frank Warmerdam <[email protected]> 3497 3498 * libtiff/tif_print.c: avoid signed/unsigned warning. 3499 3500 * libtiff/tif_dirread.c: removed unused variable. 3501 35022005-07-30 Frank Warmerdam <[email protected]> 3503 3504 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 3505 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 3506 pass on bigendian (macosx) system. 3507 35082005-07-28 Andrey Kiselev <[email protected]> 3509 3510 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 3511 CheckMalloc() function to _TIFFCheckMalloc() and make it available 3512 globally as an internal helper routine. 3513 35142005-07-27 Andrey Kiselev <[email protected]> 3515 3516 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 3517 the custom tags handling code. 3518 35192005-07-26 Andrey Kiselev <[email protected]> 3520 3521 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 3522 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 3523 function, use TIFFFetchNormalTag() instead as per bug 3524 3525 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 3526 3527 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 3528 instead. 3529 3530 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 3531 3532 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3533 35342005-07-25 Andrey Kiselev <[email protected]> 3535 3536 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 3537 3538 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 3539 35402005-07-21 Andrey Kiselev <[email protected]> 3541 3542 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 3543 the TIFFWriteCheck() function in case of single band images (as per 3544 TIFF spec). 3545 35462005-07-12 Andrey Kiselev <[email protected]> 3547 3548 * SConstruct, libtiff/SConstruct: Added the first very preliminary 3549 support for SCons software building tool (http://www.scons.org/). 3550 This is experimental infrastructure and it will exist along with the 3551 autotools mechanics. 3552 35532005-07-07 Andrey Kiselev <[email protected]> 3554 3555 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 3556 the NetBSD source tree (the old 4-clause BSD license changed to 3557 the new 3-clause one). 3558 3559 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 3560 replacement module. 3561 3562 * port/dummy.c: Make the dummy function static. 3563 35642005-07-06 Andrey Kiselev <[email protected]> 3565 3566 * tools/tiffcp.c: Fixed WhitePoint tag copying. 3567 3568 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 3569 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 3570 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 3571 35722005-07-04 Andrey Kiselev <[email protected]> 3573 3574 * libtiff 3.7.3 released. 3575 3576 * configure, configure.ac: Do not use empty -R option when linking 3577 with --enable-rpath. 3578 35792005-07-01 Andrey Kiselev <[email protected]> 3580 3581 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 3582 reading the first IFD when needed. As per bug 3583 3584 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 3585 3586 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 3587 effects. 3588 35892005-06-23 Andrey Kiselev <[email protected]> 3590 3591 * tools/tiff2pdf.c: Print two characters per loop in the 3592 t2p_write_pdf_trailer(). As per bug 3593 3594 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 3595 3596 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 3597 per bug 3598 3599 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 3600 3601 * acinclude.m4: Updated to latest OpenGL test macros versions. 3602 3603 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 3604 platform. As per bug 3605 3606 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 3607 36082005-06-14 Andrey Kiselev <[email protected]> 3609 3610 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 3611 and YClipPathUnits tags. 3612 36132005-06-07 Andrey Kiselev <[email protected]> 3614 3615 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 3616 use pixel sized shift in contigous case. 3617 36182005-06-06 Andrey Kiselev <[email protected]> 3619 3620 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 3621 Make overviews working for contiguos images. 3622 36232005-06-03 Andrey Kiselev <[email protected]> 3624 3625 * libtiff/tif_open.c: Replace runtime endianess check with the compile 3626 time one. 3627 3628 * libtiff/tif_predict.c: Floating point predictor now works on 3629 big-endian hosts. 3630 36312005-06-01 Andrey Kiselev <[email protected]> 3632 3633 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 3634 ASCII values. 3635 3636 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 3637 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 3638 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 3639 TargetPrinter tags custom. 3640 3641 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 3642 TIFF_CODERSETUP flag (to fix memry leaks). 3643 3644 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 3645 allocating. 3646 36472005-05-26 Andrey Kiselev <[email protected]> 3648 3649 * configure.ac, libtiff/Makefile.am: Added workaround for 3650 OpenBSD/MirOS soname problem as per bug 3651 3652 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 3653 3654 * libtiff/tif_dirwrite.c: Use tdir_count when calling 3655 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 3656 per bug 3657 3658 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 3659 36602005-05-25 Andrey Kiselev <[email protected]> 3661 3662 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 3663 the fscanf() function. As per bug 3664 3665 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 3666 3667 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 3668 uint16 array when fetching the BYTE and SBYTE filds, so we should 3669 consider result as pointer to uint16 array and not as array of chars. 3670 As per bug 3671 3672 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 3673 3674 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 3675 3676 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 3677 3678 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 3679 mode in CreateFile() call as per bug 3680 3681 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 3682 3683 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 3684 libtiffxx libraries as per bug 3685 3686 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 3687 3688 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 3689 GDAL. 3690 36912005-05-23 Frank Warmerdam <[email protected]> 3692 3693 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 3694 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 3695 in directory. 3696 36972005-05-22 Frank Warmerdam <[email protected]> 3698 3699 * libtiff/tif_dirread.c: Changed the code that computes 3700 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 3701 zero. This is a common case with GDAL indicating a "null" tile/strip. 3702 37032005-05-17 Andrey Kiselev <[email protected]> 3704 3705 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 3706 37072005-05-06 Frank Warmerdam <[email protected]> 3708 3709 * libtiff/tif_dirread.c: Applied similar change to 3710 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 3711 3712 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 3713 3714 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 3715 37162005-05-06 Andrey Kiselev <[email protected]> 3717 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 3718 added new option '-b' to use interpolation in output PDF files (Bruno 3719 Ledoux). 3720 37212005-05-05 Frank Warmerdam <[email protected]> 3722 3723 * libtiff/tif_dirread.c: Ensure that broken files with too many 3724 values in PerSampleShorts work ok instead of crashing. 3725 3726 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 3727 37282005-04-27 Andrey Kiselev <[email protected]> 3729 3730 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 3731 input file. 3732 37332005-04-15 Andrey Kiselev <[email protected]> 3734 3735 * libtiff/tif_predict.c: Added ability to encode floating point 3736 predictor, as per TIFF Technical Note 3. 3737 37382005-04-14 Andrey Kiselev <[email protected]> 3739 3740 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 3741 floating point predictor, as per TIFF Technical Note 3. 3742 37432005-04-13 Andrey Kiselev <[email protected]> 3744 3745 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 3746 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 3747 swap 24-bit floating point values. 3748 3749 * libtiff/tiff.h: Added predictor constants. 3750 37512005-04-08 Andrey Kiselev <[email protected]> 3752 3753 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 3754 values in _TIFFVSetField() function. Inspired by the bug 3755 3756 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 3757 3758 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 3759 as per bug 3760 3761 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 3762 37632005-03-30 Andrey Kiselev <[email protected]> 3764 3765 * libtiff/tif_open.c: Do not read header in case the output file 3766 should be truncated (Ron). 3767 3768 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 3769 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 3770 3771 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 3772 37732005-03-22 Andrey Kiselev <[email protected]> 3774 3775 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 3776 rpath option. 3777 37782005-03-21 Andrey Kiselev <[email protected]> 3779 3780 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 3781 tags. 3782 37832005-03-18 Andrey Kiselev <[email protected]> 3784 3785 * libtiff/dirinfo.c: Added DNG tags. 3786 3787 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 3788 handling code. 3789 3790 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 3791 added DNG 1.1.0.0 tags. 3792 3793 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 3794 bug 3795 3796 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 3797 3798 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 3799 38002005-03-17 Andrey Kiselev <[email protected]> 3801 3802 * nmake.opt: Build with Win32 CRT library by default. 3803 3804 * tools/tiff2ps.c: Fixed typo in page size handling code. 3805 3806 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 3807 by value. 3808 3809 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 3810 38112005-03-15 Andrey Kiselev <[email protected]> 3812 3813 * libtiff 3.7.2 released. 3814 38152005-03-09 Andrey Kiselev <[email protected]> 3816 3817 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 3818 floating point data; complain on unsupported bit depths. 3819 38202005-03-05 Andrey Kiselev <[email protected]> 3821 3822 * tif_stream.cxx: Use ios namespace instead of ios_base to support 3823 GCC 2.95. 3824 3825 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 3826 Lee Howard for HylaFax DCS tag 3827 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 3828 38292005-03-04 Andrey Kiselev <[email protected]> 3830 3831 * configure, configure.ac: Use -rpath option instead of -R as per bug 3832 3833 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 3834 3835 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 3836 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 3837 software. As per bug 3838 3839 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 3840 3841 * nmake.opt, html/build.html: Add more comments, change the config 3842 file organization a bit as per bug 3843 3844 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 3845 3846 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 3847 as per bug 3848 3849 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 3850 38512005-03-03 Andrey Kiselev <[email protected]> 3852 3853 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 3854 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 3855 3856 * tools/fax2ps.c: Replace insecure mktemp() function with the 3857 tmpfile() as per bug 3858 3859 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 3860 38612005-02-04 Andrey Kiselev <[email protected]> 3862 3863 * libtiff/tiff.h: Changed the int8 definition to be always signed char 3864 as per bug 3865 3866 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 3867 3868 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 3869 block as per bug 3870 3871 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 3872 38732005-02-03 Bob Friesenhahn <[email protected]> 3874 3875 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 3876 display more correctly. Images display brighter than they should 3877 on a Sun workstation. 3878 38792005-02-03 Andrey Kiselev <[email protected]> 3880 3881 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 3882 suspicious values in the tags. As per bugs 3883 3884 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 3885 3886 and 3887 3888 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 3889 3890 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 3891 3892 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 3893 38942005-01-31 Bob Friesenhahn <[email protected]> 3895 3896 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 3897 (TIFFTAG_TILELENGTH): Corrected description. 3898 38992005-01-30 Andrey Kiselev <[email protected]> 3900 3901 * configure.ac: Fixes for --with-docdir option as per bug 3902 3903 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 3904 3905 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 3906 bug 3907 3908 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 3909 3910 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 3911 Michael Rinne and Edward Lam. 3912 39132005-01-15 Andrey Kiselev <[email protected]> 3914 3915 * configure.ac: Make the documentation directory location configurable 3916 via the --with-docdir option (as suggested by Jeremy C. Reed). 3917 3918 * libtiff/tif_color.c: Use double as the second argument of pow() 3919 function in TIFFCIELabToRGBInit(). As per bug 3920 3921 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 3922 3923 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 3924 integer as per bug 3925 3926 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 3927 3928 * libtiff/tif_getimage.c: Always fill the error message buffer in 3929 TIFFRGBAImageBegin() as per bug 3930 3931 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 3932 39332005-01-12 Andrey Kiselev <[email protected]> 3934 3935 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 3936 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 3937 tags as per bug 3938 3939 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 3940 3941 * libtiff/tif_win32.c: Fixed message formatting in functions 3942 Win32WarningHandler() and Win32ErrorHandler() as per bug 3943 3944 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 3945 3946 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 3947 per bug 3948 3949 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 3950 39512005-01-11 Andrey Kiselev <[email protected]> 3952 3953 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 3954 "C"' section as per bug 3955 3956 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 3957 3958 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 3959 compiler to avoid double definition of BSD types as per bug 3960 3961 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3962 3963 * libtiff/Makefile.am: Place the C++ stream API in the separate 3964 library called libtiffxx to avoid unneeded dependencies. Probably 3965 there will be more C++ API in the future. As per bugs 3966 3967 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 3968 3969 and 3970 3971 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 3972 39732005-01-05 Andrey Kiselev <[email protected]> 3974 3975 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 3976 wrong tag counts (Dmitry V. Levin, Martin Pitt). 3977 3978 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 3979 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 3980 39812004-12-25 Andrey Kiselev <[email protected]> 3982 3983 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 3984 RGB-images as per bug 3985 3986 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 3987 3988 3989 * tools/tiffset.c: Convert character option to integer value as per 3990 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 3991 39922004-12-20 Andrey Kiselev <[email protected]> 3993 3994 * libtiff 3.7.1 released. 3995 3996 * html/tiffset.1.html: Add missed manual page as per bug 3997 3998 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 3999 4000 * libtiff/tiff.h: Revert back libtiff data type definitions as per 4001 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 4002 40032004-12-19 Andrey Kiselev <[email protected]> 4004 4005 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 4006 checking for tag count in TIFFReadDirectory() function. As per bug 4007 4008 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 4009 4010 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 4011 CheckMallock() function. 4012 4013 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 4014 RGB-images as per bug 4015 4016 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 4017 40182004-12-15 Frank Warmerdam <[email protected]> 4019 4020 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 4021 SunPro compiler. 4022 40232004-12-11 Bob Friesenhahn <[email protected]> 4024 4025 * autogen.sh: aclocal and autoheader should be executed after 4026 libtoolize. Also add '-I .' to aclocal invocation to check 4027 current directory for macros. 4028 40292004-12-10 Andrey Kiselev <[email protected]> 4030 4031 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 4032 as per bugs 4033 4034 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 4035 4036 and 4037 4038 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 4039 40402004-12-04 Andrey Kiselev <[email protected]> 4041 4042 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 4043 4044 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 4045 4046 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 4047 mode as per bug 4048 4049 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 4050 4051 * libtiff/tif_config.in.vc: Removed unneded definitions for 4052 read/open/close/lseek functions to fix the 4053 4054 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 4055 40562004-12-03 Andrey Kiselev <[email protected]> 4057 4058 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 4059 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 4060 must be removed in the future, as it was never used properly. As per 4061 bug 4062 4063 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 4064 40652004-11-30 Bob Friesenhahn <[email protected]> 4066 4067 * libtiff/tif_jpeg.c: Added a work-around in order to allow 4068 compilation with the heavily modified version of libjpeg delivered 4069 with Cygwin. 4070 40712004-11-29 Andrey Kiselev <[email protected]> 4072 4073 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 4074 counts. As per bug 4075 4076 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 4077 4078 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 4079 4080 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 4081 40822004-11-28 Andrey Kiselev <[email protected]> 4083 4084 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 4085 on Windows. 4086 4087 * nmake.opt: Add missed DLLNAME variable. 4088 40892004-11-26 Frank Warmerdam <[email protected]> 4090 4091 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 4092 40932004-11-24 Andrey Kiselev <[email protected]> 4094 4095 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 4096 per bug 4097 4098 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 4099 4100 * man/tiffset.1: Added manual page for tiffset tool written by Jay 4101 Berkenbilt. As per bug 4102 4103 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 4104 41052004-11-23 Frank Warmerdam <[email protected]> 4106 4107 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 4108 41092004-11-21 Frank Warmerdam <[email protected]> 4110 4111 * html/document.html: Updated Adobe web links as per email from Joris. 4112 41132004-11-21 Andrey Kiselev <[email protected]> 4114 4115 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 4116 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 4117 use C++ streams should #include <tiffio.hxx>. 4118 41192004-11-13 Andrey Kiselev <[email protected]> 4120 4121 * libtiff/tiff.h: Added Adobe DNG tags. 4122 4123 * libtiff/tif_win32.c: Typo fixed. 4124 4125 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 4126 be compliant with the latest standard. Appropriate additions in 4127 makefiles now completed. 4128 41292004-11-11 Andrey Kiselev <[email protected]> 4130 4131 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 4132 different tag types. As per bug 4133 4134 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 4135 41362004-11-10 Andrey Kiselev <[email protected]> 4137 4138 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 4139 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 4140 41412004-11-09 Andrey Kiselev <[email protected]> 4142 4143 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 4144 41452004-11-07 Andrey Kiselev <[email protected]> 4146 4147 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 4148 contributed by Edward Lam (see 4149 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 4150 Though no changes in any makefiles yet. 4151 41522004-11-05 Frank Warmerdam <[email protected]> 4153 4154 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 4155 is bad. This is the callers responsibility. 4156 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 4157 41582004-11-05 Andrey Kiselev <[email protected]> 4159 4160 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 4161 function to work with the double byte strings (used to represent 4162 filenames in some locales). As per bug 4163 4164 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 4165 4166 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 4167 Compression tags of type LONG from broken TIFFS as per bug 4168 4169 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 4170 4171 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 4172 the writecount should have uint32 type. As per bug 4173 4174 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 4175 4176 * libtiff/tif_write.c: Fixed wrong if() statement in 4177 TIFFAppendToStrip() function as per bug 4178 4179 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 4180 41812004-11-04 Andrey Kiselev <[email protected]> 4182 4183 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 4184 field. The caller should supply a count when setting this field. As 4185 per bug 4186 4187 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 4188 4189 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 4190 uint32 count. Use this type everywhere. 4191 41922004-11-03 Frank Warmerdam <[email protected]> 4193 4194 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 4195 41962004-11-02 Frank Warmerdam <[email protected]> 4197 4198 * tools/tiff2rgba.c: removed extra newlines in usage message. 4199 42002004-10-30 Andrey Kiselev <[email protected]> 4201 4202 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 4203 4204 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 4205 tags (Tristan Hill). 4206 42072004-10-30 Frank Warmerdam <[email protected]> 4208 4209 * libtiff/tiffiop.h: added fallback definition of assert() if we 4210 don't have assert.h. 4211 42122004-10-29 Andrey Kiselev <[email protected]> 4213 4214 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 4215 choosing when the incorrect Group4Options tag set. As per bug 4216 4217 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 4218 4219 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 4220 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 4221 TIFFWriteNormalTag(). 4222 42232004-10-28 Andrey Kiselev <[email protected]> 4224 4225 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 4226 tags (Peter Fales). 4227 4228 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 4229 42302004-10-28 Frank Warmerdam <[email protected]> 4231 4232 * tools/tiff2pdf.c: added casts to avoid warnings. 4233 4234 * libtiff/libtiff.def: Added several more entry points required 4235 to link fax2tiff.c against the DLL on windows. 4236 42372004-10-27 Andrey Kiselev <[email protected]> 4238 4239 * configure, configure.ac: Added --enable-rpath option to embed linker 4240 paths into library binary. 4241 42422004-10-26 Andrey Kiselev <[email protected]> 4243 4244 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 4245 4246 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 4247 (Vladimir Nadvornik, Dmitry V. Levin). 4248 42492004-10-16 Andrey Kiselev <[email protected]> 4250 4251 * libtiff 3.7.0 released. 4252 42532004-10-15 Bob Friesenhahn <[email protected]> 4254 4255 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 4256 in this file so its inclusion is removed. Including stdio.h 4257 sometimes incurs an INT32 typedef conflict between MinGW's 4258 basetsd.h and libjpeg's jmorecfg.h. 4259 42602004-10-15 Andrey Kiselev <[email protected]> 4261 4262 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 4263 42642004-10-13 Bob Friesenhahn <[email protected]> 4265 4266 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 4267 conflict noticed under MinGW. 4268 * ltmain.sh: Fix for MinGW compilation. 4269 42702004-10-13 Frank Warmerdam <[email protected]> 4271 4272 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 4273 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 4274 42752004-10-12 Andrey Kiselev <[email protected]> 4276 4277 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 4278 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 4279 properly (Dmitry V. Levin, Marcus Meissner). 4280 42812004-10-11 Andrey Kiselev <[email protected]> 4282 4283 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 4284 to TIFF_IFD. 4285 42862004-10-10 Andrey Kiselev <[email protected]> 4287 4288 * tools/bmp2tif.c: Check the space allocation results. 4289 42902004-10-09 Andrey Kiselev <[email protected]> 4291 4292 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 4293 of the TIFFDirectory structure with the 0 instead of -1 to avoid 4294 confusing integer overflows in TIFFTileRowSize() for striped images. 4295 4296 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 4297 by Ross A. Finlayson. 4298 4299 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 4300 4301 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 4302 43032004-10-08 Frank Warmerdam <[email protected]> 4304 4305 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 4306 of tif_fieldinfo. 4307 4308 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 4309 43102004-10-04 Bob Friesenhahn <[email protected]> 4311 4312 * contrib/iptcutil/README: Added the missing README which goes 4313 along with iptcutil. 4314 43152004-10-03 Andrey Kiselev <[email protected]> 4316 4317 * libtiff/tif_compress.c: Improved error reporting in 4318 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 4319 43202004-10-02 Andrey Kiselev <[email protected]> 4321 4322 * libtiff 3.7.0beta2 released. 4323 4324 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 4325 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 4326 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 4327 allocations and integer overflows (Dmitry V. Levin). 4328 4329 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 4330 43312004-10-01 Frank Warmerdam <[email protected]> 4332 4333 * libtiff/tif_open.c: added a more informative message if a BigTIFF 4334 file is opened. 4335 43362004-09-30 Frank Warmerdam <[email protected]> 4337 4338 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 4339 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 4340 in the Adobe XMP Specification. 4341 43422004-09-29 Andrey Kiselev <[email protected]> 4343 4344 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 4345 memset(). 4346 4347 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 4348 from Dmitry V. Levin to fix possible integer overflow problems. 4349 43502004-09-28 Andrey Kiselev <[email protected]> 4351 4352 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 4353 (Dmitry V. Levin). 4354 43552004-09-26 Andrey Kiselev <[email protected]> 4356 4357 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 4358 Optimize checking for the strip bounds. 4359 4360 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 4361 TIFFRasterScanlineSize() functions report zero in the case of integer 4362 overflow now. Properly handle this case in TIFFReadDirectory() 4363 (patches from Dmitry V. Levin). 4364 43652004-09-25 Andrey Kiselev <[email protected]> 4366 4367 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 4368 macro where appropriate. 4369 4370 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 4371 noted by Gennady Khokhorin. 4372 4373 * libtiff/tif_dirread.c: Always check the return values, returned 4374 by the _TIFFmalloc() (Dmitry V. Levin). 4375 4376 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 4377 functions (Dmitry V. Levin). 4378 4379 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 4380 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 4381 TIFFGrowStrips() (found by Dmitry V. Levin). 4382 43832004-09-24 Andrey Kiselev <[email protected]> 4384 4385 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 4386 to get the list of configured codecs. 4387 4388 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 4389 Dmitry V. Levin. 4390 43912004-09-23 Andrey Kiselev <[email protected]> 4392 4393 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 4394 possible integer overflow in CheckMalloc() function. 4395 43962004-09-22 Andrey Kiselev <[email protected]> 4397 4398 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 4399 of plain TIFFhowmany() where appropriate. 4400 44012004-09-21 Andrey Kiselev <[email protected]> 4402 4403 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 4404 44052004-09-19 Andrey Kiselev <[email protected]> 4406 4407 * libtiff 3.7.0beta released. 4408 4409 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 4410 overruns fixed, as noted by Chris Evans. 4411 44122004-09-14 Bob Friesenhahn <[email protected]> 4413 4414 * commit: Added a script to make it more convenient to commit 4415 updates. The CVS commit message is extracted from this ChangeLog 4416 file. 4417 44182004-09-14 Andrey Kiselev <[email protected]> 4419 4420 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 4421 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 4422 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 4423 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 4424 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 4425 tif_config.h.in, tiffiop.h}: 4426 Get rid of BSD data types (u_char, u_short, u_int, u_long). 4427 44282004-09-13 Bob Friesenhahn <[email protected]> 4429 4430 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 4431 specification. Reference libtiff bug tracking system to submit 4432 private tag additions. 4433 44342004-09-12 Bob Friesenhahn <[email protected]> 4435 4436 * tools/tiffgt.c: Include "tif_config.h". 4437 4438 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 4439 tiffgt. This results in the 'compile' script being added to the 4440 project. 4441 4442 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 4443 required to find OpenGL headers necessary to build tiffgt. Also 4444 ensure that the libtiff that we built is used rather than some other 4445 libtiff installed on the system. 4446 44472004-09-12 Andrey Kiselev <[email protected]> 4448 4449 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 4450 libraries. 4451 44522004-09-11 Bob Friesenhahn <[email protected]> 4453 4454 * configure.ac: Pass library configuration defines via 4455 tif_config.h rather than extending CPPFLAGS. Configure a 4456 libtiff/tiffconf.h in order to satisfy application requirements 4457 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 4458 this causes failure to build on systems which properly respect 4459 this request. 4460 4461 * libtiff/tiffconf.h.in: New file to act as the template for the 4462 configured tiffconf.h 4463 4464 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 4465 44662004-09-10 Frank Warmerdam <[email protected]> 4467 4468 * html/internals.html: Split off a discussion of adding new tags 4469 into addingtags.html. 4470 44712004-09-10 Andrey Kiselev <[email protected]> 4472 4473 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 4474 4475 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 4476 4477 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4478 4479 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 4480 4481 * libtiff/tif_dirread.c: Don't reject to read tags of the 4482 SamplesPerPixel size when the tag count is greater than number of 4483 samples as per bug 4484 4485 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 4486 4487 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 4488 defining int8/uint8/... etc. types. As per bug 4489 4490 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 4491 44922004-09-09 Frank Warmerdam <[email protected]> 4493 4494 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 4495 to avoid compile warnings about getopt() and a few other things. 4496 44972004-09-02 Andrey Kiselev <[email protected]> 4498 4499 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 4500 assigning magic in TIFFFetchFloat(). 4501 45022004-09-01 Andrey Kiselev <[email protected]> 4503 4504 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 4505 to avoid requirement for tiffiop.h inclusion in some applications. See 4506 here 4507 4508 http://www.asmail.be/msg0054799560.html 4509 4510 for details. 4511 4512 * tools/fax2tiff.c: Use the new functions in the code. 4513 45142004-08-25 Andrey Kiselev <[email protected]> 4515 4516 * tools/tiff2pdf.c: Initialize arrays properly. 4517 4518 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 4519 properly initialize array in PSDataBW(). 4520 45212004-08-24 Andrey Kiselev <[email protected]> 4522 4523 * tools/tiff2pdf.c: More fixes for bug 4524 4525 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4526 4527 from Ross Finlayson. 4528 45292004-08-23 Andrey Kiselev <[email protected]> 4530 4531 * tools/tiff2ps.c: Fixed problem with uninitialized values. 4532 4533 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 4534 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 4535 4536 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 4537 4538 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4539 45402004-08-20 Andrey Kiselev <[email protected]> 4541 4542 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 4543 that the input file has compression, photometric interpretation, 4544 etcetra, tags or if not than a more descriptive error is returned. 4545 4546 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 4547 code, responsible for tag data type checking. 4548 45492004-08-19 Andrey Kiselev <[email protected]> 4550 4551 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 4552 variable as per bug 4553 4554 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 4555 45562004-08-16 Andrey Kiselev <[email protected]> 4557 4558 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 4559 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 4560 45612004-08-01 Andrey Kiselev <[email protected]> 4562 4563 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 4564 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 4565 45662004-07-24 Andrey Kiselev <[email protected]> 4567 4568 * libtiff/tif_lzw.c: LZW compression code is merged back from the 4569 separate package. All libtiff tools are updated to not advertise an 4570 abcence of LZW support. 4571 45722004-07-12 Andrey Kiselev <[email protected]> 4573 4574 * libtiff/tiffio.h: Revert thandle_t back to void* type. 4575 45762004-07-11 Andrey Kiselev <[email protected]> 4577 4578 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 4579 messages, as suggested by Bernd Herd. 4580 45812004-07-03 Andrey Kiselev <[email protected]> 4582 4583 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 4584 when setting custom tags by value. Reported by Eric Fieleke. 4585 45862004-06-14 Andrey Kiselev <[email protected]> 4587 4588 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 4589 45902004-06-08 Andrey Kiselev <[email protected]> 4591 4592 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 4593 into TIFFs. 4594 45952004-06-07 Andrey Kiselev <[email protected]> 4596 4597 * libtiff 3.7.0alpha released. 4598 45992004-06-06 Andrey Kiselev <[email protected]> 4600 4601 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 4602 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 4603 ones :-). 4604 4605 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 4606 problems in 64-bit environment). 4607 46082004-06-05 Andrey Kiselev <[email protected]> 4609 4610 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 4611 Tags can be supplied by the mnemonic name or number. 4612 4613 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 4614 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 4615 46162004-05-27 Andrey Kiselev <[email protected]> 4617 4618 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 4619 markers as per bug 4620 4621 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 4622 46232004-05-24 Andrey Kiselev <[email protected]> 4624 4625 * tools/tiffsplit.c: Don't forget to copy Photometric 4626 Interpretation tag. 4627 46282004-05-20 Andrey Kiselev <[email protected]> 4629 4630 * libtiff/{tif_open.c, tiffio.h}: New function added: 4631 TIFFIsBigEndian(). Function returns nonzero if given was file written 4632 in big-endian order. 4633 4634 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 4635 files. Now output files will be written using the same byte order 4636 flag as in the input image. See 4637 4638 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 4639 4640 for details. 4641 46422004-05-19 Frank Warmerdam <[email protected]> 4643 4644 * libtiff/tif_print.c: added (untested) support for printing 4645 SSHORT, SLONG and SRATIONAL fields. 4646 4647 * tools/tiffcp.c: close output file on normal exit. 4648 46492004-05-17 Andrey Kiselev <[email protected]> 4650 4651 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 4652 if compression type mismatches. See 4653 4654 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 4655 46562004-04-30 Andrey Kiselev <[email protected]> 4657 4658 * libtiff/tif_strip.c: Never return 0 from the 4659 TIFFNumberOfStrips(). 4660 46612004-04-29 Andrey Kiselev <[email protected]> 4662 4663 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 4664 store single SampleFormat value for multisampled images. See 4665 4666 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 4667 46682004-04-25 Andrey Kiselev <[email protected]> 4669 4670 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 4671 int16 and int32 types to avoid complains on some compilers. Details at 4672 4673 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4674 46752004-04-20 Andrey Kiselev <[email protected]> 4676 4677 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 4678 4679 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 4680 46812004-04-14 Andrey Kiselev <[email protected]> 4682 4683 * libtiff/tif_write.c: Allow in-place updating of the compressed 4684 images (don't work properly with all codecs). For details see GDAL bug 4685 4686 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 4687 46882004-04-06 Andrey Kiselev <[email protected]> 4689 4690 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 4691 in the Intergarph JPEG compressed TIFF images as per bug: 4692 4693 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 4694 46952004-04-04 Frank Warmerdam <[email protected]> 4696 4697 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 4698 via bad2. 4699 47002004-03-26 Andrey Kiselev <[email protected]> 4701 4702 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 4703 JPEG compression of grayscale images. 4704 4705 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 4706 present in the input image. 4707 47082004-03-19 Andrey Kiselev <[email protected]> 4709 4710 * {many}: The first attempt to switch to autotools. 4711 47122004-03-03 Andrey Kiselev <[email protected]> 4713 4714 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 4715 TIFFClientOpen() when the appropriate client functions was not 4716 supplied by user. 4717 47182004-03-02 Frank Warmerdam <[email protected]> 4719 4720 * tools/ycbcr.c: fixed main() declaration as per: 4721 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 4722 47232004-02-26 Andrey Kiselev <[email protected]> 4724 4725 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 4726 images. Reported by Artem Mirolubov. 4727 4728 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 4729 tag type in TIFFFetchNormalTag() as per bug 4730 4731 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 4732 47332004-02-17 Frank Warmerdam <[email protected]> 4734 4735 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 4736 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 4737 47382004-02-05 Andrey Kiselev <[email protected]> 4739 4740 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 4741 bug 4742 4743 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 4744 4745 But we need more work on fax codec to support update mode. 4746 47472004-01-30 Frank Warmerdam <[email protected]> 4748 4749 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 4750 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 4751 Scott Reynolds. 4752 47532004-01-29 Andrey Kiselev <[email protected]> 4754 4755 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 4756 and TIFFTAG_INDEXED as per bug 4757 4758 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 4759 4760 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 4761 NULL before proceeding further as per bug 4762 4763 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 4764 4765 Check results, returned by the TIFFFdOpen() before returning and close 4766 file if TIFFFdOpen() failed as per bug 4767 4768 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4769 4770 * libtiff/tif_open.c: More fixes for 4771 4772 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4773 47742004-01-28 Andrey Kiselev <[email protected]> 4775 4776 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 4777 TIFFCleanup() from the TIFFClose() in order to fix the bug 4778 4779 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4780 4781 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 4782 InkNames tag as per bug 4783 4784 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 4785 4786 Memory leak fixed. 4787 47882004-01-21 Frank Warmerdam <[email protected]> 4789 4790 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 4791 are field_passcount=TRUE properly. Arguably anonymous custom tags 4792 should be declared as passcount=FALSE, but I don't want to change 4793 that without a careful review. 4794 47952004-01-20 Andrey Kiselev <[email protected]> 4796 4797 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 4798 stripped image in TIFFWriteBufferSetup(). As per bug 4799 4800 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 4801 48022004-01-11 Andrey Kiselev <[email protected]> 4803 4804 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 4805 patch from Gerben Koopmans. 4806 4807 * libtiff/tif_dirread.c: Check field_passcount value before setting 4808 the value of undefined type, patch from Gerben Koopmans. 4809 48102004-01-02 Andrey Kiselev <[email protected]> 4811 4812 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 4813 non-RGB images. 4814 48152003-12-31 Andrey Kiselev <[email protected]> 4816 4817 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 4818 pointer passed. Patch supplied by Larry Grill. 4819 4820 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 4821 suggested by Jeremy C. Reed. 4822 48232003-12-26 Andrey Kiselev <[email protected]> 4824 4825 * libtiff 3.6.1 released. 4826 48272003-12-24 Andrey Kiselev <[email protected]> 4828 4829 * config.guess, config.sub: Updated from the recent upstream. 4830 48312003-12-22 Andrey Kiselev <[email protected]> 4832 4833 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 4834 More cleanups in color conversion interface, added appropriate manual 4835 page. 4836 48372003-12-19 Andrey Kiselev <[email protected]> 4838 4839 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 4840 per bug 4841 4842 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 4843 4844 * tools/tiff2ps.c: Added support for alpha channel. Fixes 4845 4846 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 4847 4848 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 4849 Interface for Lab->RGB color conversion is finally cleaned up. 4850 Added support for ReferenceBlackWhite tag handling when converted from 4851 YCbCr color space. The latter closes 4852 4853 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 4854 48552003-12-07 Andrey Kiselev <[email protected]> 4856 4857 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 4858 4859 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 4860 library. 4861 48622003-12-06 Andrey Kiselev <[email protected]> 4863 4864 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 4865 file and properly use it for CIE Lab->RGB transform. 4866 48672003-12-04 Andrey Kiselev <[email protected]> 4868 4869 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 4870 conversion routines now in the tif_color.c module. New function 4871 TIFFYCbCrtoRGB() available in TIFF API. 4872 4873 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 4874 48752003-12-03 Andrey Kiselev <[email protected]> 4876 4877 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 4878 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 4879 module. 4880 4881 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 4882 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 4883 Finally resolved problems with orientation handling. TIFFRGBAImage 4884 interface now properly supports all possible orientations, i.e. images 4885 will be flipped both in horizontal and vertical directions if 4886 required. 'Known bugs' section now removed from the appropriate manual 4887 pages. Closed bug entry: 4888 4889 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 4890 48912003-12-02 Andrey Kiselev <[email protected]> 4892 4893 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 4894 function calls as per bug 4895 4896 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 4897 48982003-11-28 Ross Finlayson <[email protected]> 4899 4900 * tools/tiff2pdf.c: Some bugs fixed. 4901 49022003-11-27 Andrey Kiselev <[email protected]> 4903 4904 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 4905 reported by Antonio Scuri. 4906 4907 * man/tiff2pdf.1: Few improvements in page layout. 4908 4909 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 4910 Added support fpr tiff2pdf manual page. 4911 49122003-11-26 Ross Finlayson <[email protected]> 4913 4914 * /man/tiff2pdf.1: File added to repository. 4915 49162003-11-26 Andrey Kiselev <[email protected]> 4917 4918 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 4919 Added support fpr tiff2pdf utility. 4920 49212003-11-25 Ross Finlayson <[email protected]> 4922 4923 * /tools/tiff2pdf.c: File added to repository. 4924 49252003-11-22 Andrey Kiselev <[email protected]> 4926 4927 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 4928 49292003-11-21 Andrey Kiselev <[email protected]> 4930 4931 * /tools/raw2tiff.c: #include <getopt.h> removed. 4932 4933 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 4934 sgigt utility removed and replaced with the completely rewritten 4935 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 4936 there is a lot of things to improve. 4937 4938 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 4939 extract the fields from the OJPEG files. Patch supplied by Ross 4940 Finlayson. 4941 4942 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 4943 Added new function TIFFIsCODECConfigured(), suggested by Ross 4944 Finlayson. 4945 49462003-11-18 Andrey Kiselev <[email protected]> 4947 4948 * libtiff/tif_dirinfo.c: Implemented binary search in 4949 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 4950 4951 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 4952 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 4953 49542003-11-17 Frank Warmerdam <[email protected]> 4955 4956 * tif_dirread.c: do not mark all anonymously defined tags to be 4957 IGNOREd. 4958 49592003-11-17 Andrey Kiselev <[email protected]> 4960 4961 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 4962 TIFFDataWidth() function insted of tiffDataWidth array. 4963 49642003-11-16 Andrey Kiselev <[email protected]> 4965 4966 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 4967 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 4968 49692003-11-15 Frank Warmerdam <[email protected]> 4970 4971 * Makefile.in: fixed missing backslash for tif_color.c in list. 4972 49732003-11-13 Andrey Kiselev <[email protected]> 4974 4975 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 4976 New color space conversion code: CIE L*a*b* 1976 images now supported 4977 by the TIFFRGBAImage interface. All introduced routines go to new 4978 module tif_color.c. Eventually all color conversion functions should 4979 be moved there. 4980 49812003-11-12 Andrey Kiselev <[email protected]> 4982 4983 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 4984 with the reverse byte order (it is reported by the magic header 4985 field). Problem reported by Andreas Wiesmann. 4986 4987 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 4988 calculation function. Guessing mechanics now documented in manual page. 4989 49902003-11-11 Andrey Kiselev <[email protected]> 4991 4992 * tools/raw2tiff.c: Implemented image size guessing using 4993 correlation coefficient calculation between two neighbour lines. 4994 49952003-11-09 Frank Warmerdam <[email protected]> 4996 4997 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 4998 planarconfig_contig case in TIFFComputeTile(). 4999 5000 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 5001 50022003-11-09 Andrey Kiselev <[email protected]> 5003 5004 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 5005 50062003-11-07 Andrey Kiselev <[email protected]> 5007 5008 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 5009 Added TIFFRawStripSize() function as suggested by Chris Hanson. 5010 50112003-11-03 Andrey Kiselev <[email protected]> 5012 5013 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 5014 per bug 5015 5016 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 5017 50182003-10-29 Andrey Kiselev <[email protected]> 5019 5020 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 5021 5022 * html/build.html: Added note about GNU make requirement. 5023 50242003-10-25 Andrey Kiselev <[email protected]> 5025 5026 * Makefile.in: Fixes in using MAKEFLAGS as per bug 5027 5028 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 5029 5030 * port/install.sh.in: Option -p added to the mkdir command to create 5031 all directory tree structure before installing. 5032 50332003-10-18 Andrey Kiselev <[email protected]> 5034 5035 * /tools/tiff2ps.c: #include <strings.h> replaced with the 5036 #include <string.h>. 5037 50382003-10-16 Andrey Kiselev <[email protected]> 5039 5040 * Makefile.in: Add an absolute path to the test_pics.sh call. 5041 50422003-10-12 Andrey Kiselev <[email protected]> 5043 5044 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 5045 typedefs. 5046 50472003-10-09 Andrey Kiselev <[email protected]> 5048 5049 * configure, libtiff/{Makefile.in, mkversion.c}: 5050 Relative buildings fixed. 5051 5052 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 5053 rule. 5054 50552003-10-07 Andrey Kiselev <[email protected]> 5056 5057 * Makefile.in: Added missed v3.6.0.html. 5058 5059 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 5060 ORIENTATION_BOTLEFT. 5061 50622003-10-04 Andrey Kiselev <[email protected]> 5063 5064 * 3.6.0 final release. 5065 50662003-10-03 Andrey Kiselev <[email protected]> 5067 5068 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 5069 function TIFFReadRGBAImageOriented() implemented to retrieve raster 5070 array with user-specified origin position as suggested by Jason Frank. 5071 See 5072 5073 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 5074 5075 for details. 5076 5077 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 5078 instead of TIFFReadRGBAImage(). 5079 5080 * tools/tiff2ps.c: Fixed possible endless loop as per bug 5081 5082 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 5083 50842003-09-30 Andrey Kiselev <[email protected]> 5085 5086 * libtiff/tif_dirread.c: Check field counter against number of fields 5087 in order to fix 5088 5089 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 5090 5091 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 5092 5093 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 5094 50952003-09-25 Andrey Kiselev <[email protected]> 5096 5097 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 5098 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 5099 5100 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 5101 51022003-09-23 Andrey Kiselev <[email protected]> 5103 5104 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 5105 5106 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 5107 51082003-08-21 Andrey Kiselev <[email protected]> 5109 5110 * tools/tiffmedian.c: int declaration replaced with the uint32 to 5111 support large images as per bug 5112 5113 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 5114 51152003-08-12 Andrey Kiselev <[email protected]> 5116 5117 * libtiff/Makefile.in: Fixed problem with building in different 5118 directory. 5119 5120 * tools/tiff2ps.c: Added missing #include <strings.h>. 5121 5122 * libtiff/tif_dirwrite.c: More fixes for custom tags code 5123 from Ashley Dreier. 5124 51252003-08-07 Andrey Kiselev <[email protected]> 5126 5127 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 5128 Patch submitted by Balatoni Denes (with corrections from Tom 5129 Kacvinsky). 5130 5131 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 5132 being used. Reported by Tom Kacvinsky. 5133 5134 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 5135 reported by Ashley Dreier. 5136 5137 * libtiff/tif_print.c: Fixed problem with float tags reading, support 5138 for printing RATIONAL and BYTE tags added. 5139 51402003-08-05 Andrey Kiselev <[email protected]> 5141 5142 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 5143 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 5144 problems with predictor initialization. Remove O_RDONLY check during 5145 state block allocation to be able open LZW compressed files in update 5146 mode. 5147 5148 Problem exist for libtiff version of the tif_lzw.c module. One from 5149 lzw-compression-kit hasn't such troubles. 5150 51512003-08-04 Frank Warmerdam <[email protected]> 5152 5153 * libtiff/tif_write.c: modified tif_write.c so that the various 5154 encoded write functions use tif_postdecode() to apply byte order 5155 swapping (swab) to the application passed data buffer if the same 5156 would be done when reading. This allows us to write pixel data with 5157 more than 8 bits per sample to existing files of a non-native byte 5158 order. One side effect of this change is the applications buffer 5159 itself is altered in this case by the act of writing. 5160 5161 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 5162 51632003-07-25 Frank Warmerdam <[email protected]> 5164 5165 * libtiff/tif_open.c: avoid signed/unsigned casting warning 5166 initializing typemask as per patch from J.A. Strother. 5167 5168 * tools/tiffcp.c: fixed signed/unsigned casting warning. 5169 5170 * libtiff/tif_print.c: dos2unix conversion. 5171 5172 * tools/tiffsplit.c: increased the maximum number of pages that 5173 can be split. Patch provided by Andrew J. Montalenti. 5174 51752003-07-11 Andrey Kiselev <[email protected]> 5176 5177 * tools/raw2tiff.c: Added option `-p' to explicitly select color 5178 space of input image data. Closes 5179 5180 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 5181 51822003-07-08 Frank Warmerdam <[email protected]> 5183 5184 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 5185 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 5186 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 5187 avoid casting warning at /W4. 5188 51892003-07-03 Andrey Kiselev <[email protected]> 5190 5191 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 5192 51932003-06-30 Andrey Kiselev <[email protected]> 5194 5195 * libtiff/tif_pixarlog.c: Unused variables removed. 5196 5197 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 5198 EstimateStripByteCounts() as per bug 5199 5200 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 5201 5202 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 5203 64-bit architectures as per bug 5204 5205 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 5206 5207 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 5208 unknown data type. 5209 52102003-06-19 Frank Warmerdam <[email protected]> 5211 5212 * libtiff/tif_print.c: fixed some serious bugs when printing 5213 custom tags ... almost certain to crash. 5214 5215 * libtiff/tif_dirread.c: Don't ignore custom fields that are 5216 autodefined. Not sure how this got to be like this. 5217 52182003-06-18 Andrey Kiselev <[email protected]> 5219 5220 * 3.6.0 Beta2 released. 5221 5222 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 5223 comparing as per bug 5224 5225 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 5226 5227 `-z' option now can be used to set the number of reported different 5228 bytes. 5229 52302003-06-09 Andrey Kiselev <[email protected]> 5231 5232 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 5233 to -r option to get the entire image as one strip. See 5234 5235 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 5236 5237 for details. 5238 52392003-06-04 Andrey Kiselev <[email protected]> 5240 5241 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 5242 values as per bug 5243 5244 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 5245 52462003-05-27 Frank Warmerdam <[email protected]> 5247 5248 * libtiff/tif_jpeg.c: modified segment_height calculation to always 5249 be a full height tile for tiled images. Also changed error to just 5250 be a warning. 5251 52522003-05-25 Andrey Kiselev <[email protected]> 5253 5254 * tools/fax2tiff.c: Page numbering fixed, as per bug 5255 5256 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 5257 52582003-05-20 Andrey Kiselev <[email protected]> 5259 5260 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 5261 configure, Makefile.in: Switched back to the old behaviour. Likely 5262 better solution should be found for OJPEG support. 5263 52642003-05-11 Andrey Kiselev <[email protected]> 5265 5266 * libtiff/mkversion.c: Fixed problem with wrong string size when 5267 reading RELEASE-DATE file. 5268 52692003-05-07 Andrey Kiselev <[email protected]> 5270 5271 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 5272 index was out of range. 5273 52742003-05-06 Andrey Kiselev <[email protected]> 5275 5276 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 5277 configure, Makefile.in: Improved libtiff compilation with OJPEG 5278 support. Now no need for patching IJG JPEG library, hack requred by 5279 libtiff will be compiled and used in-place. Implemented with 5280 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 5281 5282 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 5283 TIFFVGetFieldDefaulted() function. 5284 52852003-05-05 Andrey Kiselev <[email protected]> 5286 5287 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 5288 comments. 5289 5290 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 5291 was not copied from source image. 5292 5293 * libtiff/getimage.c: Workaround for some images without correct 5294 info about alpha channel as per bug 5295 5296 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 5297 52982003-04-29 Andrey Kiselev <[email protected]> 5299 5300 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 5301 It basically allows one to use the /flateDecode filter for ZIP 5302 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 5303 5304 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 5305 5306 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 5307 as per bug 5308 5309 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 5310 53112003-04-17 Andrey Kiselev <[email protected]> 5312 5313 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 5314 due to problems with multidirectory images. Quality of error messages 5315 improved. 5316 53172003-04-16 Andrey Kiselev <[email protected]> 5318 5319 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 5320 encoded images. See bug entries 5321 5322 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 5323 5324 and 5325 5326 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 5327 5328 * libtiff/tif_dirread.c: Additional check for StripByteCounts 5329 correctness. Fixes 5330 5331 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 5332 53332003-03-12 Andrey Kiselev <[email protected]> 5334 5335 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 5336 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 5337 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 5338 tiffmedian.c}: Added library version reporting facility to all tools. 5339 53402003-03-06 Frank Warmerdam <[email protected]> 5341 5342 * port/install.sh.in: Fixed problems with install producing paths 5343 like ///usr/local/lib on cygwin. 5344 53452003-02-27 Andrey Kiselev <[email protected]> 5346 5347 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 5348 raw input page. Patch supplied by Julien Gaulmin. See 5349 5350 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 5351 5352 for details. 5353 53542003-02-26 Frank Warmerdam <[email protected]> 5355 5356 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 5357 responsible for byte swapping complex image data. 5358 5359 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 5360 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 5361 53622003-02-07 Andrey Kiselev <[email protected]> 5363 5364 * tools/ppm2tiff.c: Fixed problem with too many arguments. 5365 53662003-02-04 Andrey Kiselev <[email protected]> 5367 5368 * tools/raw2tiff.c: Memory leak fixed. 5369 53702003-02-03 Andrey Kiselev <[email protected]> 5371 5372 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 5373 (thanks, Julien!). More switches for fax2tiff tool for better control 5374 of input and output. Details at 5375 5376 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 5377 53782003-02-03 Frank Warmerdam <[email protected]> 5379 5380 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 5381 library so that we can check if there is already any tile/strip data 5382 before deciding between creating a compressor or a decompressor. 5383 53842003-01-31 Frank Warmerdam <[email protected]> 5385 5386 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 5387 a pre-existing compressed image. That is, image writing to 5388 pre-existing compressed images is not allowed. 5389 5390 * libtiff/tif_open.c: Removed error if opening a compressed file 5391 in update mode. 5392 5393 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 5394 53952003-01-31 Andrey Kiselev <[email protected]> 5396 5397 * config.guess, config.sub: Updated to recent upstream versions. 5398 53992003-01-15 Frank Warmerdam <[email protected]> 5400 5401 * cut 3.6.0 Beta release. 5402 54032002-12-20 Andrey Kiselev <[email protected]> 5404 5405 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 5406 in wrong way as per bug 5407 5408 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 5409 54102002-12-17 Frank Warmerdam <[email protected]> 5411 5412 * libtiff/tif_dirread.c: Allow wrong sized arrays in 5413 TIFFFetchStripThing(). 5414 5415 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 5416 54172002-12-02 Frank Warmerdam <[email protected]> 5418 5419 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 5420 Was using realloc even first time. Fix by Igor Venevtsev. 5421 54222002-11-30 Frank Warmerdam <[email protected]> 5423 5424 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 5425 field value. 5426 5427 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 5428 tags in TIFFVGetField() ... added missing break. 5429 54302002-10-14 Frank Warmerdam <[email protected]> 5431 5432 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 5433 the scanline buffer long enough when writing rgb triplets. 5434 The scanline needs to be 3 X the number of dots or else it will 5435 contain an incomplete triplet and programs that try to separate 5436 the eps by redefining the colorimage operator will get messed up. 5437 Patch supplied by William Bader. 5438 5439 * Makefile.in: added tif_extension.c to file list as per 5440 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 5441 54422002-10-11 Andrey Kiselev <[email protected]> 5443 5444 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 5445 large files (>2GiB) supporting. New option in the config.site: 5446 LARGEFILE="yes". Should be enough for I/O of the large files. 5447 54482002-10-10 Frank Warmerdam <[email protected]> 5449 5450 * libtiff/html/v3.6.0.html: new release notes. 5451 5452 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 5453 link for Andrey. Pointer to v3.6.0.html. 5454 5455 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 5456 54572002-10-07 Andrey Kiselev <[email protected]> 5458 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 5459 (thanks, Sebastian!). New switches: 5460 -b # for a bottom margin of # inches 5461 -c center image 5462 -l # for a left margin of # inches 5463 -r rotate the image by 180 degrees 5464 New features merged with code for shrinking/overlapping. 5465 Previously added -c and -n switches (for overriding PS units) renamed 5466 in -x and -y respectively. 5467 5468 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 5469 5470 * html/man/*.html: Updated from actual manual pages. 5471 54722002-10-06 Frank Warmerdam <[email protected]> 5473 5474 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 5475 size on windows. Use #define boolean hack. 5476 5477 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 5478 5479 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 5480 USING_VISUALAGE is defined. 5481 5482 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5483 54842002-10-03 Frank Warmerdam <[email protected]> 5485 5486 * libtiff/tiff.h: added COMPRESSION_JP2000. 5487 54882002-10-02 Andrey Kiselev <[email protected]> 5489 5490 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 5491 by the TIFFFetchByteArray() function. Should finally resolve 5492 5493 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5494 5495 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 5496 5497 * html/Makefile.in: New targets added: html and groffhtml for 5498 producing HTML representations of the manual pages automatically. 5499 html target uses man2html tool, groffhtml uses groff tool. 5500 55012002-09-29 Frank Warmerdam <[email protected]> 5502 5503 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 5504 from John H. DuBois III. 5505 55062002-09-15 Andrey Kiselev <[email protected]> 5507 5508 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 5509 manual page for raw2tiff(1) tool. 5510 55112002-09-12 Andrey Kiselev <[email protected]> 5512 5513 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 5514 the tiffio.h header file. 5515 5516 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 5517 manual page for TIFFDataWidth() function 5518 55192002-09-08 Frank Warmerdam <[email protected]> 5520 5521 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 5522 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 5523 5524 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 5525 since we are unable to properly include the amount to skip. 5526 5527 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 5528 55292002-09-02 Andrey Kiselev <[email protected]> 5530 5531 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 5532 in TIFFFetchByteArray(). Problem described at 5533 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5534 55352002-08-22 Andrey Kiselev <[email protected]> 5536 5537 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 5538 in _TIFFSetupFieldInfo() function. 5539 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 5540 5541 * /libtiff/tif_lzw.c: Additional consistency checking added in 5542 LZWDecode() and LZWDecodeCompat(). 5543 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 5544 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5545 5546 * /libtiff/tif_lzw.c: 5547 Added check for valid code lengths in LZWDecode() and 5548 LZWDecodeCompat(). Fixes 5549 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 5550 55512002-08-16 Andrey Kiselev <[email protected]> 5552 5553 * /libtiff/{Makefile.vc, libtiff.def}: 5554 Missed declarations added. 5555 55562002-08-15 Frank Warmerdam <[email protected]> 5557 5558 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 5559 return code from the underlying pick function. 5560 5561 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 5562 5563 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 5564 with FIELD_CUSTOM as mentioned in bug 169. 5565 5566 * tif_close.c: added logic to free dynamically created anonymous 5567 field definitions to correct a small memory leak. 5568 5569 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 5570 55712002-08-10 Andrey Kiselev <[email protected]> 5572 5573 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 5574 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 5575 55762002-07-31 Frank Warmerdam <[email protected]> 5577 5578 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 5579 JPEGDecode() as per bugzilla bug (issue 1): 5580 5581 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 5582 5583 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 5584 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 5585 present in the tiff tags. 5586 5587 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 5588 5589 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 5590 TIFFWriteScanline() now set tif_row explicitly in case the codec has 5591 fooled with the value. 5592 5593 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 5594 55952002-06-22 Andrey Kiselev <[email protected]> 5596 5597 * /tools/tiff2ps.c: Added workaround for some software that may crash 5598 when last strip of image contains fewer number of scanlines than 5599 specified by the `/Height' variable. See 5600 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 5601 for explanation. 5602 56032002-06-21 Andrey Kiselev <[email protected]> 5604 5605 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 5606 splitting long images in several pages. See 5607 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 5608 Patch granted by John Williams <[email protected]>. 5609 56102002-06-11 Frank Warmerdam <[email protected]> 5611 5612 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 5613 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 5614 This one is described in: 5615 5616 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 5617 5618 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 5619 5620 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 5621 56222002-05-10 Andrey Kiselev <[email protected]> 5623 5624 * tools/tiff2ps: New commandline switches to override resolution 5625 units obtained from the input file. Closes 5626 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 5627 56282002-04-26 Andrey Kiselev <[email protected]> 5629 5630 * libtiff/libtiff.def: Added missed declaration. 5631 56322002-04-22 Andrey Kiselev <[email protected]> 5633 5634 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 5635 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 5636 56372002-04-20 Andrey Kiselev <[email protected]> 5638 5639 * libtiff/tif_open.c: Pointers to custom procedures 5640 in TIFFClientOpen() are checked to be not NULL-pointers. 5641 56422002-04-18 Andrey Kiselev <[email protected]> 5643 5644 * libtiff/libtiff.def: Added missed declarations. 5645 5646 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 5647 56482002-04-16 Andrey Kiselev <[email protected]> 5649 5650 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 5651 Should finally close 5652 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5653 56542002-04-10 Andrey Kiselev <[email protected]> 5655 5656 * tools/tiff2ps: Division by zero fixed. 5657 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 5658 56592002-04-09 Andrey Kiselev <[email protected]> 5660 5661 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 5662 TIFFCheckpointDirectory() routine added. 5663 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 5664 5665 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 5666 for the new function. 5667 56682002-04-08 Andrey Kiselev <[email protected]> 5669 5670 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 5671 additional members tif->tif_decodestatus and tif->tif_encodestatus 5672 for correct handling of unconfigured codecs (we should not try to read 5673 data or to define data size without correct codecs). 5674 5675 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 5676 changed. Now it has used tif->tif_decodestatus and 5677 tif->tif_encodestatus. 5678 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 5679 case of __cvs_8.tif test image). 5680 5681 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 5682 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 5683 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 5684 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 5685 56862002-04-04 Andrey Kiselev <[email protected]> 5687 5688 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 5689 replaced by warnings. Now libtiff should read corrupted LZW-compressed 5690 files by skipping bad strips. 5691 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5692 56932002-04-03 Frank Warmerdam <[email protected]> 5694 5695 * libtiff/tif_dirwrite.c: Removed some dead code. 5696 5697 * libtiff/*: Cleanup some warnings. 5698 5699 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 5700 for variable length FIELD_CUSTOM values. Was int * but should be 5701 u_short *. 5702 57032002-04-01 Andrey Kiselev <[email protected]> 5704 5705 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 5706 utility (at cpStripToTile routine). 5707 57082002-03-27 Frank Warmerdam <[email protected]> 5709 5710 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 5711 5712 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 5713 5714 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 5715 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 5716 5717 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 5718 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 5719 57202002-03-26 Dwight Kelly <[email protected]> 5721 5722 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 5723 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 5724 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 5725 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 5726 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 5727 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 5728 57292002-03-26 Andrey Kiselev <[email protected]> 5730 5731 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 5732 now also uses TIFFRGBAImageOK before reading. This is additional fix 5733 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 5734 57352002-03-25 Andrey Kiselev <[email protected]> 5736 5737 * libtiff/: tif_getimage.c: Additional check for supported 5738 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 5739 TIFFRGBAImageOK before reading. 5740 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 5741 57422002-03-15 Andrey Kiselev <[email protected]> 5743 5744 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 5745 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 5746 TIFFDataType sizes instead of working with tiffDataWidth array 5747 directly. Should prevent out-of-borders bugs in case of unknown or 5748 broken data types. EstimateStripByteCounts routine modified, so it 5749 won't work when tags with uknown sizes founded. 5750 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 5751 57522002-03-13 Andrey Kiselev <[email protected]> 5753 5754 * libtiff/tif_getimage.c: Added support for correct handling 5755 `Orientation' tag in gtTileContig. Should be added in other gt* 5756 functions as well, but I have not images for testing yet. Partially 5757 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 5758 57592002-03-10 Andrey Kiselev <[email protected]> 5760 5761 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 5762 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 5763 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 5764 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 5765 57662002-03-08 Andrey Kiselev <[email protected]> 5767 5768 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 5769 be stripped when installing, utility binaries will do. Closes 5770 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 5771 57722002-02-28 Frank Warmerdam <[email protected]> 5773 5774 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 5775 5776 * man/libtiff.3t: added copyright tag info. 5777 57782002-02-11 Frank Warmerdam <[email protected]> 5779 5780 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 5781 5782 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 5783 5784 * man/Makefile.in: Patch DESTDIR handling 5785 5786 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 5787 5788 * configure: OpenBSD changes for Sparc64 and DSO version. 5789 5790 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 5791 57922002-02-05 Frank Warmerdam <[email protected]> 5793 5794 * config.site/configure: added support for OJPEG=yes option to enable 5795 OJPEG support from config.site. 5796 57972002-01-27 Frank Warmerdam <[email protected]> 5798 5799 * html/document.html: fixed links for TIFf 6 docs. 5800 58012002-01-18 Frank Warmerdam <[email protected]> 5802 5803 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 5804 5805 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 5806 decodestrip function returns anything not greater than zero as per 5807 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 5808 5809 * configure: Modify CheckForBigEndian so it can work in a cross 5810 compiled situation. 5811 58122002-01-16 Frank Warmerdam <[email protected]> 5813 5814 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 5815 5816 * tools/tiffset.c: fix bug in error reporting. 5817 5818 * tools/tiffcp.c: fix several warnings that show up with -Wall. 5819 58202002-01-04 Frank Warmerdam <[email protected]> 5821 5822 * libtiff/tif_jpeg.c: fixed computation of segment_width for 5823 tiles files to avoid error about it not matching the 5824 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 5825 size.") for ITIFF files. Apparently the problem was incorporated since 5826 3.5.5, presumably during the OJPEG/JPEG work recently. 5827 58282001-12-15 Frank Warmerdam <[email protected]> 5829 5830 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 5831 5832 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 5833 5834 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 5835 (defined in tiffconf.h - 1 by default) then the RGBA interface 5836 will assume that a fourth extra sample is ASSOCALPHA if the 5837 EXTRASAMPLE value isn't set for it. This changes the behaviour of 5838 the library, but makes it work better with RGBA files produced by 5839 lots of applications that don't mark the alpha values properly. 5840 5841 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 5842 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 5843 58442001-12-12 Frank Warmerdam <[email protected]> 5845 5846 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 5847 override those from tiff directory. This makes this work with 5848 ImageGear generated files. 5849 58502001-12-07 Frank Warmerdam <[email protected]> 5851 5852 * html/Makefile.in: added missing images per bug 92. 5853 5854 * port/Makefile.in: fixed clean target per bug 92. 5855 58562001-11-28 Frank Warmerdam <[email protected]> 5857 5858 * Reissue 3.5.7 release. 5859 5860 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 5861 YYYYMMDD so that it is increasing over time. 5862 5863 * Makefile.in: Ensure that tiffvers.h is regenerated in the 5864 make release target. 5865 5866 * Makefile.in: added libtiff/tiffvers.h to the release file list. 5867 58682001-11-23 Frank Warmerdam <[email protected]> 5869 5870 * added html/v3.5.7.html, updated html/index.html. 5871 5872 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 5873 58742001-11-15 Frank Warmerdam <[email protected]> 5875 5876 * configure: fixed test for -lm. 5877 58782001-11-02 Frank Warmerdam <[email protected]> 5879 5880 * Added PHOTOMETRIC_ITULAB as per bug 90. 5881 5882 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 5883 58842001-10-10 Frank Warmerdam <[email protected]> 5885 5886 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 5887 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 5888 in keeping with TIFF 6.0 standard in tiff.h 5889 5890 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 5891 58922001-09-26 Frank Warmerdam <[email protected]> 5893 5894 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 5895 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 5896 58972001-09-24 Frank Warmerdam <[email protected]> 5898 5899 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 5900 5901 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 5902 5903 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 5904 error about LZW not being available. 5905 5906 * libtiff/tif_dir.c: propagate failure to initialize compression 5907 back from TIFFSetField() as an error status, so applications can 5908 detect failure. 5909 5910 * libtiff/tif_dir.c: removed the auto replacement of 5911 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 5912 5913 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 5914 from CVS as they are all supposed to be auto-generated by configure. 5915 59162001-09-22 Frank Warmerdam <[email protected]> 5917 5918 * libtiff/tif_ojpeg.c: new update from Scott. 5919 59202001-09-09 Frank Warmerdam <[email protected]> 5921 5922 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 5923 always use the "safe" version, even if there is a very slight 5924 cost in performance. 5925 5926 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 5927 5928 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 5929 in two places. 5930 5931 * libtiff/tif_getimage.c: Fixed problem with reading strips or 5932 tiles that don't start on a tile boundary. Fix contributed by 5933 Josep Vallverdu (from HP), and further described in bug 47. 5934 5935 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 5936 5937 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 5938 5939 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 5940 59412001-09-06 Frank Warmerdam <[email protected]> 5942 5943 * libtiff/tif_packbits.c: fixed memory overrun error. 5944 5945 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 5946 59472001-08-31 Frank Warmerdam <[email protected]> 5948 5949 * libtiff/tif_getimage.c: relax handling of contig case where 5950 there are extra samples that are supposed to be ignored. This 5951 should now work for 8bit greyscale or palletted images. 5952 5953 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 5954 59552001-08-28 Frank Warmerdam <[email protected]> 5956 5957 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 5958 images with more than four samples per pixel. See: 5959 5960 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 5961 59622001-08-10 Frank Warmerdam <[email protected]> 5963 5964 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 5965 in TIFFReadRGBATile() to avoid issues in cases of overlapping 5966 buffers. See Bug 69 in Bugzilla. 5967 5968 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 5969 5970 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 5971 59722001-08-09 Frank Warmerdam <[email protected]> 5973 5974 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 5975 when checking for 64 bit architectures as per bugzilla bug 67. 5976 59772001-07-27 Frank Warmerdam <[email protected]> 5978 5979 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 5980 bug 66. 5981 59822001-07-20 Frank Warmerdam <[email protected]> 5983 5984 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 5985 has been included. 5986 59872001-07-19 Frank Warmerdam <[email protected]> 5988 5989 * libtiff/tif_open.c: Seek back to zero after failed read, 5990 before writing header. 5991 59922001-07-18 Frank Warmerdam <[email protected]> 5993 5994 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 5995 much better. Now depends on having patched libjpeg as per 5996 patch in contrib/ojpeg/*. 5997 59982001-07-17 Frank Warmerdam <[email protected]> 5999 6000 * */Makefile.in: added DESTDIR support. 6001 6002 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 6003 60042001-07-16 Frank Warmerdam <[email protected]> 6005 6006 * configure, libtiff/Makefile.in: applied OpenBSD patches 6007 as per: 6008 6009 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 6010 60112001-06-28 Frank Warmerdam <[email protected]> 6012 6013 * libtiff/tif_getimage.c: Fixed so that failure is properly 6014 reported by gtTileContig, gtStripContig, gtTileSeparate and 6015 gtStripSeparate. 6016 6017 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 6018 6019 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 6020 Updated bug section of tiffcmp.1 to note tiled file issues. 6021 6022 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 6023 60242001-06-22 Frank Warmerdam <[email protected]> 6025 6026 * configure: Changes for DSO generation on AIX provided by 6027 John Marquart <[email protected]>. 6028 6029 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 6030 on Darwin thanks to Robert Krajewski ([email protected]) and 6031 Keisuke Fujii ([email protected]). 6032 60332001-06-13 Frank Warmerdam <[email protected]> 6034 6035 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 6036 6037 * man/tiff2rgba.1: new 6038 60392001-05-22 Frank Warmerdam <[email protected]> 6040 6041 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 6042 60432001-05-13 Frank Warmerdam <[email protected]> 6044 6045 * libtiff/tools/thumbnail.c: changed default output compression 6046 to packbits from LZW since LZW isn't generally available. 6047 60482001-05-12 Frank Warmerdam <[email protected]> 6049 6050 * libtiff/tif_ojpeg.c: New. 6051 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 6052 to OJPEG support. 6053 6054 Scott Marovich <[email protected]> supplied OJPEG support. 6055 60562001-05-11 Frank Warmerdam <[email protected]> 6057 6058 * tiff.h: removed, it duplicates libtiff/tiff.h. 6059 60602001-05-08 Frank Warmerdam <[email protected]> 6061 6062 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 6063 ensure everything is in order. 6064 6065 * libtiff/libtiff.def: added TIFFCreateDirectory and 6066 TIFFDefaultStripSize as per: 6067 6068 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 6069 60702001-05-02 Frank Warmerdam <[email protected]> 6071 6072 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 6073 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 6074 force use of uint32 counts instead of short counts. 6075 6076 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 6077 case of writing TIFF_BYTE/TIFF_SBYTE fields. 6078 6079 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 6080 60812001-05-01 Frank Warmerdam <[email protected]> 6082 6083 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 6084 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 6085 60862001-04-05 Frank Warmerdam <[email protected]> 6087 6088 * tiffio.h: removed C++ style comment. 6089 6090 * configure: fixed up SCRIPT_SH/SHELL handling. 6091 6092 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 6093 6094 * config.guess: documented more variables as per bug 40. 6095 60962001-04-03 Frank Warmerdam <[email protected]> 6097 6098 * configure, *Makefile.in: Various changes to improve configuration 6099 for HP/UX specifically, and also in general. They include: 6100 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 6101 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 6102 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 6103 - Use -${MAKEFLAGS} in sub makes from makefiles. 6104 6105 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 6106 61072001-04-02 Frank Warmerdam <[email protected]> 6108 6109 * libtiff/tiff.h: Applied hac to try and resolve the problem 6110 with the inttypes.h include file on AIX. 6111 6112 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 6113 6114 * VERSION: update to 3.5.7 beta in preparation for release. 6115 6116 * configure/config.site: modified to check if -lm is needed for 6117 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 6118 6119 * config.guess: updated wholesale to an FSF version apparently 6120 from 1998 (as opposed to 1994). This is mainly inspired by 6121 providing for MacOS X support. 6122 61232001-03-29 Frank Warmerdam <[email protected]> 6124 6125 * configure, Makefile.in, etc: added support for OPTIMIZER being 6126 set from config.site. 6127 61282001-03-28 Frank Warmerdam <[email protected]> 6129 6130 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 6131 6132 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 6133 sizes. It fixes two problems: 6134 6135 Without scaling (-S) the fax is now centered on the page size specified 6136 with -H and/or -W. Before, fax2ps was using an obscure and practially 6137 useless algorithm to allocate the image relative to Letter sized paper 6138 which sometime sled to useless whitespace on the paper, while at the 6139 same time cutting of the faxes printable area at the opposite border. 6140 6141 Second, scaling now preserves aspect ratio, which makes unusual faxes 6142 (in particular short ones) print properly. 6143 6144 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 6145 6146 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 6147 Bruce A. Mallett. See check message for detailed information 6148 on all the changes, including a faster encoder, fixes for level 6149 2 PostScript, and support for the imagemask operator. 6150 61512001-03-27 Frank Warmerdam <[email protected]> 6152 6153 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 6154 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 6155 6156 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 6157 61582001-03-16 Frank Warmerdam <[email protected]> 6159 6160 * tif_dirinfo.c: moved definition of copyright tag in field list. 6161 Apparently they have to be in sorted order by tag id. 6162 61632001-03-13 Frank Warmerdam <[email protected]> 6164 6165 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 6166 images in RGBA interface. 6167 61682001-03-02 Frank Warmerdam <[email protected]> 6169 6170 * Added TIFFTAG_COPYRIGHT support. 6171 61722001-02-19 Frank Warmerdam <[email protected]> 6173 6174 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 6175 with support for extracting subimages with the ,n syntax, and also 6176 adding the -b bias removal flag. 6177 61782001-02-16 Frank Warmerdam <[email protected]> 6179 6180 * libtiff/libtiff.def: Brent Roman submitted new version adding 6181 serveral missing entry points. 6182 6183 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 6184 Some sort of weird VMS thing. 6185 6186 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 6187 6188 * tif_luv.c/tiff.h/tiffio.h: 6189 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 6190 ([email protected]). He writes: 6191 6192 1) I improved the gamut-mapping function in tif_luv.c for imaginary 6193 colors, because some images were being super-saturated on the input 6194 side and this resulted in some strange color shifts in the output. 6195 6196 2) I added a psuedotag in tiff.h to control random dithering during 6197 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 6198 on for 24-bit LogLuv output. Dithering improves the average color 6199 accuracy over the image. 6200 6201 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 6202 tiffio.h, to expose internal routines for converting between LogLuv and 6203 XYZ coordinates. This is helpful for writing more efficient, 6204 specialized conversion routines, especially for reading LogLuv files. 6205 6206 Changes applied with minor edits. 6207 62082001-01-23 Frank Warmerdam <[email protected]> 6209 6210 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 6211 whether we are encoding or decoding. This is to ensure graceful 6212 recovery if TIFFClientOpen() discovers an attempt to open a compressed 6213 file for "r+" access, and subsequently close it, as it resets the 6214 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 6215 compressor's concept of whether it is in encode or decode mode. 6216 62172001-01-08 Mike Welles <[email protected]> 6218 6219 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 6220 62212001-01-07 Frank Warmerdam <[email protected]> 6222 6223 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 6224 as per bug report by Patrick Connor. 6225 62262000-12-28 Frank Warmerdam <[email protected]> 6227 6228 * Added RELEASE-DATE file to release file list. 6229 6230 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 6231 62322000-12-22 Mike Welles <[email protected]> 6233 * added link to CVS mirror from index.html 6234 6235 * updated html/internals.html to note that LZW compression is 6236 not supported by default. 6237 62382000-12-22 Frank Warmerdam <[email protected]> 6239 6240 * updated html/libtiff.html to not point at Niles' old JPL web site 6241 for the man pages, point at www.libtiff.org. 6242 62432000-12-21 Frank Warmerdam <[email protected]> 6244 6245 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 6246 Leonard Rosenthol <[email protected]>. May interfere 6247 with correct building on older systems. If so, please let me know. 6248 62492000-12-19 Mike Welles <[email protected]> 6250 6251 * Took out LZW Encoding from tif_lzw.c 6252 6253 * Created HOWTO-RELEASE 6254 6255 * Created html/v3.5.6.html 6256 6257 * updated index.html 6258 62592000-12-01 Frank Warmerdam <[email protected]> 6260 6261 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 6262 Patches supplied by Frank Cringle <[email protected]> 6263 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 6264 62652000-11-24 Frank Warmerdam <[email protected]> 6266 6267 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 6268 target so that the private headers required by libgeotiff can be 6269 installed with the others. They are not installed by default. 6270 6271 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 6272 targets so libtiff.so will be built with an explicit dependency 6273 on libm.so. 6274 6275 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 6276 libtiff.so.3.5.5. 6277 6278 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 6279 file, or ALPHA version logic. Added stuff about DIST_POINT in 6280 place of DIST_TYPE and the alpha release number stuff. 6281 62822000-11-22 Frank Warmerdam <[email protected]> 6283 6284 * I have applied a patch from Steffen Moeller <[email protected]> to 6285 the configure script so that it now accepts the --prefix, and 6286 --exec-prefix directives. 6287 62882000-11-13 Frank Warmerdam <warmerda@cs46980-c> 6289 6290 * I have made a variety of modifications in an effort to ensure the 6291 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 6292 file which seems to be updated regularly. 6293 6294 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 6295 version include file. 6296 o renamed version.h to tiffvers.h because we now have to install it 6297 with the public libtiff include files. 6298 o include tiffvers.h in tiffio.h. 6299 o updated tif_version.c to use tiffvers.h. 6300 o Updated Makefile.in accordingly. 6301 6302 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 6303 I have updated the win32 detection rules in tiffcomp.h. 6304 63052000-10-20 Frank Warmerdam <warmerda@cs46980-c> 6306 6307 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 6308 the strip/tile width and height aren't multiples of the sampling size. 6309 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 6310 Some patches from Rick LaMont of Dot C Software. 6311 6312 * Modified tif_packbits.c encoder to avoid compressing more 6313 data than provided if rowsize doesn't factor into provided data 6314 (such as occurs for YCbCr). 6315 63162000-10-19 Frank Warmerdam <warmerda@cs46980-c> 6317 6318 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 6319 roundup if rows_per_strip not a multiple of vertical sample size. 6320 63212000-10-16 Frank Warmerdam <warmerda@cs46980-c> 6322 6323 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 6324 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 6325 from [email protected]. 6326 6327 * Modified tif_packbits.c decoding to avoid overrunning the 6328 output buffer, and to issue a warning if data needs to be 6329 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 6330 63312000-10-12 Frank Warmerdam <warmerda@cs46980-c> 6332 6333 * Modified tiff2bw to ensure portions add to 100%, and that 6334 white is properly recovered. 6335 6336 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 6337 Patch c/o Stanislav Brabec <[email protected]> 6338 63392000-09-30 Frank Warmerdam <warmerda@cs46980-c> 6340 6341 * Modified TIFFClientOpen() to emit an error on an attempt to 6342 open a comperessed file for update (O_RDWR/r+) access. This is 6343 because the compressor/decompressor code gets very confused when 6344 the mode is O_RDWR, assuming this means writing only. See 6345 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 6346 63472000-09-27 Frank Warmerdam <warmerda@cs46980-c> 6348 6349 * Added GNULDdso target an`d switched linux and freebsd to use it. 6350 63512000-09-26 Frank Warmerdam <warmerda@cs46980-c> 6352 6353 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 6354 of EXPAND1D() as per bug 11 (from Roman). 6355 63562000-09-25 Frank Warmerdam <warmerda@cs46980-c> 6357 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 6358 cygwin compatibility. 6359 6360 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 6361 be a proper fix to the buffer sizing problem. See 6362 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 6363 6364 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 6365 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 6366 Thanks to Nick Lamb <[email protected]> for reporting the 6367 bug and proving the patch. 6368 63692000-09-18 Frank Warmerdam <warmerda@cs46980-c> 6370 6371 * Fixed tif_jpeg.c so avoid destroying the decompressor before 6372 we are done access data thanks to bug report from: 6373 Michael Eckstein <[email protected]>. 6374 6375 * Reverted tif_flush change. 6376 63772000-09-14 Frank Warmerdam <warmerda@cs46980-c> 6378 6379 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 6380 error when TIFF_BEENWRITING is not set. This ensures that the 6381 directory contents can still be flushed by TIFFFlush(). 6382 63832000-08-14 Frank Warmerdam <[email protected]> 6384 6385 * tif_open.c: Don't set MMAP for O_RDWR files. 6386 6387 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 6388 so that files opened for update can be strip chopped too. 6389 6390 * tif_read.c: fixed up bug with files missing rowsperstrip and 6391 the strips per separation fix done a few weeks ago. 6392 63932000-07-17 Frank Warmerdam <warmerda@cs46980-c> 6394 6395 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 6396 SAMPLEFORMAT_COMPLEXINT. 6397 63982000-07-13 Mike Welles <[email protected]> 6399 6400 * index.html, bugs.html: added bugzilla info. 6401 64022000-07-12 Frank Warmerdam <[email protected]> 6403 6404 * tif_read.c: fix subtle bug with determining the number of 6405 rows for strips that are the last strip in a separation but 6406 not the last strip of all in TIFFReadEncodedStrip(). 6407 6408 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 6409 Peter Skarpetis <[email protected]> 6410 64112000-06-15 Frank Warmerdam <[email protected]> 6412 6413 * Modified tiffio.h logic with regard to including windows.h. It 6414 won't include it when building with __CYGWIN__. 6415 64162000-05-11 Frank Warmerdam <warmerda@cs46980-c> 6417 6418 * README: update to mention www.libtiff.org, don't list Sam's old 6419 email address. 6420 6421 * configure: Fixed DSO test for Linux as per patch from 6422 Jan Van Buggenhout <[email protected]>. 6423 64242000-04-21 Frank Warmerdam <[email protected]> 6425 6426 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 6427 one tile/strip images with an offset, and byte count of zero. These 6428 could be "unpopulated" images. 6429 64302000-04-18 Frank Warmerdam <[email protected]> 6431 6432 * contrib/addtiffo: Added "averaging" resampling option. 6433 6434 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 6435 6436Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 6437 6438 * tools/Makefile.in: Modified to install properly on SGI. 6439 64402000-04-12 Mike Welles <[email protected]> 6441 * configure: Fixed stupid mistake in libc6 test on Linux 6442 64432000-04-04 Mike Welles <[email protected]> 6444 * tif_win32.c: Applied patch to fix overreads and ovverwrites 6445 caught by BoundsChecker. From Arvan Pritchard 6446 <[email protected]> (untested). 6447 6448 * tif_getimage.c: Applied patch to silence VC6 warnings. From 6449 Arvan Pritchard <[email protected]> 6450 6451 * tif_lzw.c: Applied patch to silence VC6 warnings. From 6452 Arvan Pritchard <[email protected]> 6453 64542000-03-28 Frank Warmerdam <warmerda@cs46980-c> 6455 6456 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 6457 64582000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 6459 6460 * fax2ps: Fixed mixup of width and height in bounding box statement 6461 as per submission by Nalin Dahyabhai <[email protected]>. 6462 64632000-03-27 Mike Welles <[email protected]> 6464 6465 * fax2ps: Modified printruns to take uint32 instead of uint16. 6466 Patch courtesy of Bernt Herd <[email protected]> 6467 64682000-03-20 Mike Welles <[email protected]> 6469 6470 * configure: added test for libc6 for linux targets. Bug reported by 6471 Stanislav Brabec <[email protected]> 6472 6473 * Added 3.5 docs to html/Makefile.in. 6474 Thanks to Stanislav Brabec <[email protected]> 6475 6476 * configure: fixed bugs in sed scripts 6477 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 6478 fix submitted to Stanislav Brabec <[email protected]> 6479 6480 * tools/iptcutil was not in files list, and wasn't being 6481 added to tar archive. Updated Makefile.in. 6482 64832000-03-17 Frank Warmerdam <warmerda@cs46980-c> 6484 6485 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 6486 conversion for the run arrays. 6487 64882000-03-03 Frank Warmerdam <[email protected]> 6489 6490 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 6491 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 6492 64932000-03-02 Frank Warmerdam <[email protected]> 6494 6495 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 6496 6497 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 6498 to avoid overruns encountered with frle_bug.tif. 6499 6500Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 6501 6502 * Fixed tools/tiffcmp so that stopondiff testing works. 6503 Patch care of Joseph Orost <[email protected]>. 6504 65052000-01-28 <warmerda@CS46980-B> 6506 6507 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 6508 set to 1, and added default (off) setting in tiffconf.h. This 6509 should eventually be set by the configure script somehow. 6510 6511 The original work on all these 2-4GB changes was done by 6512 Peter Smith ([email protected]). 6513 6514 * Modified tif_win32.c to support 2-4GB seeks. 6515 6516 * tentatively changed toff_t to be unsigned instead of signed to 6517 facilitate support for 2-4GB files. 6518 6519 * Updated a variety of files to use toff_t. Fixed some mixups 6520 between toff_t and tsize_t. 6521 6522Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 6523 6524 * Largely reimplemented contrib/addtiffo to avoid temp files, 6525 updating the TIFF file in place. Fixed a few other bugs to. 6526 6527 * Set tif_rawdatasize to zero when freeing raw data buffer in 6528 TIFFWriteDirectory(). 6529 6530 * Enabled "REWRITE_HACK" in tif_write.c by default. 6531 6532 * Fix bug in tif_write.c when switching between reading one directory 6533 and writing to another. 6534 6535 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 6536 6537Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 6538 6539 * Added TIFFmemory(3t) functions to libtiff.def. 6540 6541Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 6542 6543 * Added libtiff/libtiff.def to TIFFILES distribution list. 6544 6545Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 6546 6547 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 6548 6549 * Altered descriptions in tools to reflect "by default" lzw not supported 6550 6551 * Updated index.html to note lzw compression kit. 6552 6553Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 6554 6555 * Added fax3sm_winnt.c to distribution list in Makefile.in. 6556 6557Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 6558 6559 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 6560 6561 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 6562 when LZW compression invoked. 6563 6564 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 6565 in tools to reflect removal of LZW compression 6566 6567Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 6568 6569 * Fixed bug that caused LZW (non) compression to segfault. Added 6570 warning about LZW compression removed being removed, and why. 6571 6572 * Added nostrip to install in tools/Makefile.in so that debugging 6573 symbols are kept. 6574 6575Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 6576 6577 * Added patch from Ivo Penzar <[email protected]>, 6578 supporting Adobe ZIP deflate. Untested. 6579 6580Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 6581 6582 * Made Packbits the default compression in tools/tiff2rgba.c instead 6583 of LZW. 6584 6585Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 6586 6587 * Added tif_luv to contrib/djgpp/Makefile.lib. 6588 6589Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 6590 6591 * Added zip creation to relase makefile target 6592 6593 * Added html for TIFFWriteTile.3t man page. 6594 6595Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 6596 6597 * Added some changes to tif_write.c to support rewriting existing 6598 fixed sized tiles and strips. Code mods disabled by default, only 6599 enabled if REWRITE_HACK is defined for now. 6600 6601Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 6602 6603 * Added TIFFWriteTile.3t man page. 6604 6605Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 6606 6607 * Added notes on use of makefile.vc in build.html, and fixed 6608 email subscription address. 6609 6610199-11-28 Mike Welles <[email protected]> 6611 6612 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 6613 6614 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 6615 from Bruce Carmeron <[email protected]> -- modifications of 6616 changes made by Frank (sun cc still complained on cast). 6617 6618 * Added tiffconf.h to install target per request from Bill 6619 Radcliffe <[email protected]>: "We need a way for ImageMagick to 6620 know features have been compiled into the TIFF library in order to 6621 handle things properly". 6622 6623Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 6624 6625 * fixed various VC++ warnings as suggested by Gilles Vollant 6626 <[email protected]>. 6627 6628Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 6629 6630 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 6631 not imply applications are responsible for image data swapping. 6632 66331999-11-22 Mike Welles <[email protected]> 6634 * HTML-ized the man pages, added to html/man 6635 6636 * Removed LZW Compression to comply with Unisys patent extortion. 6637 66381999-09-29 Mike Welles <[email protected]> 6639 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 6640 From Ivo Penzar <[email protected]. 6641 6642 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 6643 memory mapped files. <[email protected]> 6644 66451999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 6646 * Corrected alpha versioning. 6647 6648 * Removed distinction between alpha and release targets in Makefile.in. 6649 6650 * added release.stamp target, which tags cvs tree, and updates 6651 "RELEASE-DATE" 6652 6653 * added releasediff target, which diffs tree with source as of 6654 date in "RELEASE-DATE" 6655 6656 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 6657 away from alpha/non-alpha distinctions). 6658 6659 * updated html to reflect release 6660 66611999-09-23 <warmerda@CS46980-B> 6662 6663 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 6664 6665 * Added CYGWIN case in configure. 6666 6667Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 6668 6669 * Applied Francois Dagand's patch to handle fax decompression bug. 6670 (sizes >= 65536 were failing) 6671 6672Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 6673 6674 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 6675 by Christopher Lawton <[email protected]> 6676 6677Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 6678 6679 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 6680 Albert Chin-A-Young <[email protected]> 6681 6682 * Added TIFFReassignTagToIgnore() API on behalf of 6683 Bruce Cameron <[email protected]>. Man page still pending. 6684 6685Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 6686 6687 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 6688 files to provide for a rudimentary testsuite. 6689 6690 * Added contrib/tags back from old distribution ... fixed up a bit. 6691 66921999-08-16 <warmerda@CS46980-B> 6693 6694 * Added simple makefile.vc makefiles for building with MS VC++ 6695 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 6696 better solutions for some users. 6697 6698Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 6699 6700 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 6701 put it in tools since part of it is in C++. 6702 67031999-08-16 Michael L. Welles <[email protected]> 6704 6705 * Updated html/index.html with anon CVS instructions. 6706 6707Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 6708 6709 * pre-remove so link before softlink in LINUXdso action in 6710 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 6711 the first. 6712 6713 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 6714 colormaps owned by the TIFF handle itself when trying to fixup wrong 6715 (eight bit) colormaps. Corrected by maintaining a private copy of 6716 the colormap. 6717 6718 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 6719 tif_getimage.c. 6720 6721 * CVS Repository placed at remotesensing.org. ChangeLog added. 6722