12016-09-17 Even Rouault <even.rouault at spatialys.com> 2 3 * libtiff/tif_lzma.c: typo fix in comment 4 52016-09-04 Even Rouault <even.rouault at spatialys.com> 6 7 * libtiff/*.c: fix warnings raised by clang 3.9 -Wcomma 8 92016-09-03 Even Rouault <even.rouault at spatialys.com> 10 11 * libtiff/tif_dirwrite.c, libtiff/tif_color.c: fix warnings raised 12 by GCC 5 / clang -Wfloat-conversion 13 142016-08-16 Even Rouault <even.rouault at spatialys.com> 15 16 * tools/tiffcrop.c: fix C99'ism. 17 182016-08-15 Even Rouault <even.rouault at spatialys.com> 19 20 * tools/tiff2bw.c: fix weight computation that could result of color 21 value overflow (no security implication). Fix bugzilla #2550. 22 Patch by Frank Freudenberg. 23 242016-08-15 Even Rouault <even.rouault at spatialys.com> 25 26 * tools/rgb2ycbcr.c: validate values of -v and -h parameters to 27 avoid potential divide by zero. Fixes CVE-2016-3623 (bugzilla #2569) 28 292016-08-15 Even Rouault <even.rouault at spatialys.com> 30 31 * tools/tiffcrop.c: Fix out-of-bounds write in loadImage(). 32 From patch libtiff-CVE-2016-3991.patch from 33 libtiff-4.0.3-25.el7_2.src.rpm by Nikola Forro (bugzilla #2543) 34 352016-08-15 Even Rouault <even.rouault at spatialys.com> 36 37 * libtiff/tif_pixarlog.c: Fix write buffer overflow in PixarLogEncode 38 if more input samples are provided than expected by PixarLogSetupEncode. 39 Idea based on libtiff-CVE-2016-3990.patch from 40 libtiff-4.0.3-25.el7_2.src.rpm by Nikola Forro, but with different and 41 simpler check. (bugzilla #2544) 42 432016-08-15 Even Rouault <even.rouault at spatialys.com> 44 45 * tools/tiff2rgba.c: Fix integer overflow in size of allocated 46 buffer, when -b mode is enabled, that could result in out-of-bounds 47 write. Based initially on patch tiff-CVE-2016-3945.patch from 48 libtiff-4.0.3-25.el7_2.src.rpm by Nikola Forro, with correction for 49 invalid tests that rejected valid files. (bugzilla #2545) 50 512016-07-11 Even Rouault <even.rouault at spatialys.com> 52 53 * tools/tiffcrop.c: Avoid access outside of stack allocated array 54 on a tiled separate TIFF with more than 8 samples per pixel. 55 Reported by Kaixiang Zhang of the Cloud Security Team, Qihoo 360 56 (CVE-2016-5321 / CVE-2016-5323 , bugzilla #2558 / #2559) 57 582016-07-10 Even Rouault <even.rouault at spatialys.com> 59 60 * libtiff/tif_read.c: Fix out-of-bounds read on 61 memory-mapped files in TIFFReadRawStrip1() and TIFFReadRawTile1() 62 when stripoffset is beyond tmsize_t max value (reported by 63 Mathias Svensson) 64 652016-07-10 Even Rouault <even.rouault at spatialys.com> 66 67 * tools/tiffdump.c: fix a few misaligned 64-bit reads warned 68 by -fsanitize 69 702016-07-03 Even Rouault <even.rouault at spatialys.com> 71 72 * libtiff/tif_read.c: make TIFFReadEncodedStrip() and 73 TIFFReadEncodedTile() directly use user provided buffer when 74 no compression (and other conditions) to save a memcpy(). 75 76 * libtiff/tif_write.c: make TIFFWriteEncodedStrip() and 77 TIFFWriteEncodedTile() directly use user provided buffer when 78 no compression to save a memcpy(). 79 802016-07-01 Even Rouault <even.rouault at spatialys.com> 81 82 * libtiff/tif_luv.c: validate that for COMPRESSION_SGILOG and 83 PHOTOMETRIC_LOGL, there is only one sample per pixel. Avoid 84 potential invalid memory write on corrupted/unexpected images when 85 using the TIFFRGBAImageBegin() interface (reported by 86 Clay Wood) 87 882016-06-28 Even Rouault <even.rouault at spatialys.com> 89 90 * libtiff/tif_pixarlog.c: fix potential buffer write overrun in 91 PixarLogDecode() on corrupted/unexpected images (reported by Mathias Svensson) 92 (CVE-2016-5875) 93 942016-06-15 Bob Friesenhahn <[email protected]> 95 96 * libtiff/libtiff.def: Added _TIFFMultiply32 and _TIFFMultiply64 97 to libtiff.def 98 992016-06-05 Bob Friesenhahn <[email protected]> 100 101 * tools/Makefile.am: The libtiff tools bmp2tiff, gif2tiff, 102 ras2tiff, sgi2tiff, sgisv, and ycbcr are completely removed from 103 the distribution. The libtiff tools rgb2ycbcr and thumbnail are 104 only built in the build tree for testing. Old files are put in 105 new 'archive' subdirectory of the source repository, but not in 106 distribution archives. These changes are made in order to lessen 107 the maintenance burden. 108 1092016-05-10 Bob Friesenhahn <[email protected]> 110 111 * libtiff/tif_config.vc.h (HAVE_SNPRINTF): Add a '1' to the 112 HAVE_SNPRINTF definition.' 113 1142016-05-09 Bob Friesenhahn <[email protected]> 115 116 * libtiff/tif_config.vc.h (HAVE_SNPRINTF): Applied patch by Edward 117 Lam to define HAVE_SNPRINTF for Visual Studio 2015. 118 1192016-04-27 Even Rouault <even.rouault at spatialys.com> 120 121 * libtiff/tif_dirread.c: when compiled with DEFER_STRILE_LOAD, 122 fix regression, introduced on 2014-12-23, when reading a one-strip 123 file without a StripByteCounts tag. GDAL #6490 124 1252016-04-07 Bob Friesenhahn <[email protected]> 126 127 * html/bugs.html: Replace Andrey Kiselev with Bob Friesenhahn for 128 purposes of security issue reporting. 129 1302016-01-23 Even Rouault <even.rouault at spatialys.com> 131 132 * libtiff/*: upstream typo fixes (mostly contributed by Kurt Schwehr) 133 coming from GDAL internal libtiff 134 1352016-01-09 Even Rouault <even.rouault at spatialys.com> 136 137 * libtiff/tif_fax3.h: make Param member of TIFFFaxTabEnt structure 138 a uint16 to reduce size of the binary. 139 1402016-01-03 Even Rouault <even.rouault at spatialys.com> 141 142 * libtiff/tif_read.c, tif_dirread.c: fix indentation issues raised 143 by GCC 6 -Wmisleading-indentation 144 1452015-12-27 Even Rouault <even.rouault at spatialys.com> 146 147 * libtiff/tif_pixarlog.c: avoid zlib error messages to pass a NULL 148 string to %s formatter, which is undefined behaviour in sprintf(). 149 1502015-12-27 Even Rouault <even.rouault at spatialys.com> 151 152 * libtiff/tif_next.c: fix potential out-of-bound write in NeXTDecode() 153 triggered by http://lcamtuf.coredump.cx/afl/vulns/libtiff5.tif 154 (bugzilla #2508) 155 1562015-12-27 Even Rouault <even.rouault at spatialys.com> 157 158 * libtiff/tif_luv.c: fix potential out-of-bound writes in decode 159 functions in non debug builds by replacing assert()s by regular if 160 checks (bugzilla #2522). 161 Fix potential out-of-bound reads in case of short input data. 162 1632015-12-26 Even Rouault <even.rouault at spatialys.com> 164 165 * libtiff/tif_getimage.c: fix out-of-bound reads in TIFFRGBAImage 166 interface in case of unsupported values of SamplesPerPixel/ExtraSamples 167 for LogLUV / CIELab. Add explicit call to TIFFRGBAImageOK() in 168 TIFFRGBAImageBegin(). Fix CVE-2015-8665 reported by limingxing and 169 CVE-2015-8683 reported by zzf of Alibaba. 170 1712015-12-21 Even Rouault <even.rouault at spatialys.com> 172 173 * libtiff/tif_dirread.c: workaround false positive warning of Clang Static 174 Analyzer about null pointer dereference in TIFFCheckDirOffset(). 175 1762015-12-19 Even Rouault <even.rouault at spatialys.com> 177 178 * libtiff/tif_fax3.c: remove dead assignment in Fax3PutEOLgdal(). Found 179 by Clang Static Analyzer 180 1812015-12-18 Even Rouault <even.rouault at spatialys.com> 182 183 * libtiff/tif_dirwrite.c: fix truncation to 32 bit of file offsets in 184 TIFFLinkDirectory() and TIFFWriteDirectorySec() when aligning directory 185 offsets on a even offset (affects BigTIFF). This was a regression of the 186 changeset of 2015-10-19. 187 1882015-12-12 Even Rouault <even.rouault at spatialys.com> 189 190 * libtiff/tif_write.c: TIFFWriteEncodedStrip() and TIFFWriteEncodedTile() 191 should return -1 in case of failure of tif_encodestrip() as documented 192 * libtiff/tif_dumpmode.c: DumpModeEncode() should return 0 in case of 193 failure so that the above mentionned functions detect the error. 194 1952015-12-06 Even Rouault <even.rouault at spatialys.com> 196 197 * libtiff/uvcode.h: const'ify uv_code array 198 1992015-12-06 Even Rouault <even.rouault at spatialys.com> 200 201 * libtiff/tif_dirinfo.c: const'ify tiffFields, exifFields, 202 tiffFieldArray and exifFieldArray arrays 203 2042015-12-06 Even Rouault <even.rouault at spatialys.com> 205 206 * libtiff/tif_print.c: constify photoNames and orientNames arrays 207 2082015-12-06 Even Rouault <even.rouault at spatialys.com> 209 210 * libtiff/tif_close.c, libtiff/tif_extension.c : rename link 211 variable to avoid -Wshadow warnings 212 2132015-11-22 Even Rouault <even.rouault at spatialys.com> 214 215 * libtiff/*.c: fix typos in comments (patch by Kurt Schwehr) 216 2172015-11-22 Even Rouault <even.rouault at spatialys.com> 218 219 * libtiff/*.c: fix MSVC warnings related to cast shortening and 220 assignment within conditional expression 221 2222015-11-18 Even Rouault <even.rouault at spatialys.com> 223 224 * libtiff/*.c: fix clang -Wshorten-64-to-32 warnings 225 2262015-11-18 Even Rouault <even.rouault at spatialys.com> 227 228 * libtiff/tif_dirread.c: initialize double* data at line 3693 to NULL 229 to please MSVC 2013 230 2312015-11-17 Even Rouault <even.rouault at spatialys.com> 232 233 * libtiff/tif_dirread.c: prevent reading ColorMap or TransferFunction 234 if BitsPerPixel > 24, so as to avoid huge memory allocation and file 235 read attempts 236 2372015-11-02 Even Rouault <even.rouault at spatialys.com> 238 239 * libtiff/tif_dirread.c: remove duplicated assignment (reported by 240 Clang static analyzer) 241 2422015-10-28 Even Rouault <even.rouault at spatialys.com> 243 244 * libtiff/tif_dir.c, libtiff/tif_dirinfo.c, libtiff/tif_compress.c, 245 libtiff/tif_jpeg_12.c: suppress warnings about 'no previous 246 declaration/prototype' 247 2482015-10-19 Even Rouault <even.rouault at spatialys.com> 249 250 * libtiff/tiffiop.h, libtiff/tif_dirwrite.c: suffix constants by U to fix 251 'warning: negative integer implicitly converted to unsigned type' warning 252 (part of -Wconversion) 253 2542015-10-17 Even Rouault <even.rouault at spatialys.com> 255 256 * libtiff/tif_dir.c, libtiff/tif_dirread.c, libtiff/tif_getimage.c, 257 libtiff/tif_print.c: fix -Wshadow warnings (only in libtiff/) 258 2592015-09-12 Bob Friesenhahn <[email protected]> 260 261 * libtiff 4.0.6 released. 262 263 * html/v4.0.6.html: Added release notes for 4.0.6. 264 2652015-09-06 Bob Friesenhahn <[email protected]> 266 267 * tools/tiffgt.c: Silence glut API deprecation warnings on MacOS 268 X. Patch by Roger Leigh. 269 270 * Makefile.am: Added a 'coverity' rule to assist with Coverity 271 submissions. 272 273 * tools/tiff2pdf.c: Fix compiler warning about unused function 274 when JPEG is not available. 275 276 * tools/fax2ps.c (main): Detect failure to write to temporary 277 file. 278 2792015-09-05 Bob Friesenhahn <[email protected]> 280 281 * libtiff/tif_dirread.c (TIFFReadDirEntryCheckRangeSlongSlong8): 282 Change implementation so that it does not sometimes overflow the 283 range of a 32-bit int and to avoid a signed vs unsigned compare 284 compiler warning. 285 (TIFF_INT64_MAX): Avoid use of platform-specific large constants. 286 (TIFF_UINT32_MAX): Avoid use of platform-specific large constants. 287 2882015-09-01 Bob Friesenhahn <[email protected]> 289 290 * Makefile.am (distcheck-hook), configure.ac: Applied patches by 291 Roger Leigh (via tiff mailing list on 2015-09-01) to fix issue 292 with BSD make and to make use of cmake in 'distcheck' target 293 conditional on if cmake is available. 294 295 * CMakeLists.txt, Makefile.am, configure.ac: Applied patches by 296 Roger Leigh (via tiff mailing list on 2015-09-01). 297 298 CMake build is now included in 'distcheck' target. 299 300 Builds with CMake 2.8.9 and newer. 301 302 Tar is now resquested to use POSIX PAX format. 303 3042015-08-31 Bob Friesenhahn <[email protected]> 305 306 * CMakeLists.txt, libtiff/test/Makefile.am: Applied patches by 307 Roger Leigh (via tiff mailing list on 2015-08-31. 308 309 CMake reads all version information directly from configure.ac to 310 avoid duplication of values. This basically greps over the file 311 for the LIBTIFF_* variables, then translates them to the form 312 needed for cmake. This includes the release version and libtool 313 shared library version information. 314 315 Make shared/static library building configurable. Currently it 316 always builds shared libraries, with static libs having a _static 317 suffix (copying zlib, but it means it's got a non-standard name). 318 CMake has a -DBUILD_SHARED_LIBS=ON|OFF option to select one or the 319 other, which is now used instead. There's now a single "tiff" 320 target to build either shared or static as required, and all the 321 tests and tools are linked with this. Note: the Windows tests fail 322 when linked with a static libtiff (says: libtiff.dll not found). 323 Not really a regression since this was not tested up to this 324 point, and it's likely the unit tests haven't (ever?) been run on 325 Windows with a static libtiff, so there's some additional 326 portability issue here to address. Works fine on UNIX systems, 327 and fine on Windows with the default to build a DLL. 328 329 Add a missing file which wasn't being distributed, causing unit 330 tests to fail. Note that "find . -name '*.cmake'" lists all the 331 CMake files which need distributing in addition to all the 332 CMakeLists.txt files (which now are distributed). 333 3342015-08-31 Even Rouault <even.rouault at spatialys.com> 335 336 * libtiff/tif_predict.c: pedantic change to add explicit masking 337 with 0xff before casting to uchar in floating-point horizontal 338 differencing and accumulation routines. 339 3402015-08-31 Even Rouault <even.rouault at spatialys.com> 341 342 * libtiff/tif_predict.c: fix generation of output with 16 bit 343 or 32 bit integer, when byte swapping is needed, in 344 horizontal predictor (#2521). Also fixes decoding when there is 345 a single pixel to code (unlikely case...) and byte swapping is 346 involved. 347 3482015-08-30 Even Rouault <even.rouault at spatialys.com> 349 350 * libtiff/tif_lzw.c: make nextdata a unsigned type to avoid 351 undefined behaviour with shifts (gcc -fsanitize=shift) 352 3532015-08-30 Even Rouault <even.rouault at spatialys.com> 354 355 * libtiff/tif_fax3.c, libtiff/tif_lzw.c, libtiff/tif_predict.c: 356 add explicit masking with 0xff before casting 357 to unsigned char (make icc -check=conversions happy) 358 359 * libtiff/tif_predict.c: operate on unsigned datatypes when 360 computing/applying differences to avoid undefined behaviour of 361 signed types (C standard compliance) 362 3632015-08-30 Bob Friesenhahn <[email protected]> 364 365 * configure.ac: libtiff 4.0.5 released. 366 3672015-08-29 Bob Friesenhahn <[email protected]> 368 369 * CMakeLists.txt: Applied patch by Roger Leigh (via tiff mailing 370 list on 2015-08-29) to add ld-version-script option to cmake build 371 to match autoconf. Note: defaults to 'on' to be ABI-compatible by 372 default with common Linux distribution builds. Note that the 373 autoconf configure script defaults to 'off'. 374 375 * html/build.html: Applied patch by Roger Leigh (via tiff mailing 376 list on 2015-08-29) to describe how to use CMake to build libtiff. 377 3782015-08-28 Bob Friesenhahn <[email protected]> 379 380 * html/v4.0.5.html: Added HTML file describing the changes which 381 will appear in the 4.0.5 release. 382 3832015-08-23 Bob Friesenhahn <[email protected]> 384 385 * libtiff/tiffiop.h: For MinGW comiles, make sure that build 386 supports necessary __MSVCRT_VERSION__ (at least at least 0x800). 387 Otherwise large files can not be supported for POSIX-style I/O. 388 389 * tools/fax2tiff.c (main): Eliminate a compiler warning in 64-bit 390 builds about cast to thandle_t. 391 392 * test/rewrite_tag.c (main): Does not require any arguments. 393 3942015-08-20 Bob Friesenhahn <[email protected]> 395 396 * tools/CMakeLists.txt, port/snprintf.c: Patch by Roger Leigh to 397 fix build issues when using Cmake due to Windows large file 398 changes. 399 4002015-08-18 Bob Friesenhahn <[email protected]> 401 402 * libtiff/tiffiop.h: First cut at supporting large files under 403 Microsoft Windows using tif_unix.c and the libtiff tools. This 404 only works if the Windows CDK is new enough to support the APIs 405 used (Visual C++ 2005 or later). Support for large files is not 406 actually tested yet. 407 4082015-08-15 Bob Friesenhahn <[email protected]> 409 410 * libtiff/tif_jpeg.c: Applied patch by Räisä Olli to assure that 411 client_data is initialized to a known value, and to report an 412 error on two memory allocation failures. 413 4142015-08-13 Bob Friesenhahn <[email protected]> 415 416 * CMakeLists.txt: Applied patch by Roger Leigh to fix libtiffxx 417 symbol versioning. Patch was mailed to libtiff list on Thu, 13 418 Aug 2015. 419 4202015-07-04 Bob Friesenhahn <[email protected]> 421 422 * cmake: Add d suffix to debug libraries with MSVC. Patch #3 of 3 423 by Roger Leigh posted to tiff list on Wed, 1 Jul 2015 15:58:20 424 +0100. 425 426 * cmake: Add extra warning flags. Patch #2 of 3 by Roger Leigh 427 posted to tiff list on Wed, 1 Jul 2015 15:58:20 +0100. 428 429 * cmake: Correct snprintf fallback for VS2015. Patch #1 of 3 by 430 Roger Leigh posted to tiff list on Wed, 1 Jul 2015 15:58:20 +0100. 431 4322015-06-24 Bob Friesenhahn <[email protected]> 433 434 * CMakeLists.txt: Add CMake patchset by Roger Leigh as posted to 435 libtiff mailing list on Mon, 22 Jun 2015 21:21:01 +0100. Several 436 corrections to ensure that the autotools build still works were 437 added by me. I have not yet tested the build using 'cmake' or 438 MSVC with 'nmake'. 439 4402015-06-21 Bob Friesenhahn <[email protected]> 441 442 * test/Makefile.am: tiff2rgba-quad-tile.jpg.sh depends on the JPEG 443 library so only execute if JPEG is available. 444 445 * libtiff 4.0.4 released. 446 447 * configure.ac: Add a HAVE_FOO Automake conditional for each 448 add-on library. 449 450 * test/Makefile.am (JPEG_DEPENDENT_CHECK_PROG): raw_decode 451 requires JPEG support to compile. Use Automake conditional to 452 only include it when JPEG support is available. 453 454 * html/build.html: Try to improve the nmake-based VC++ build 455 description. 456 457 * libtiff/tiffconf.vc.h: Build fixes based on testing. 458 459 * libtiff/tif_config.vc.h: Build fixes based on testing. 460 461 * libtiff/libtiff.def: TIFFRasterScanline does not exist so remove 462 export for it. 463 4642015-06-20 Bob Friesenhahn <[email protected]> 465 466 * libtiff/tif_config.vc.h: Make adjustments to match the new 467 definitions that configure produces, including for WIN64. Still 468 needs to be tested. 469 470 * configure.ac: For 64-bit MinGW, fix SSIZE_FORMAT formatting 471 specifier. 64-bit MinGW supports 'long long' but support for 472 'lld' is not assured by the run-time DLLs and so GCC warns. 473 Add TIFF_SIZE_T and TIFF_SIZE_FORMAT to provide a type definition 474 and printf format specifier to deal with printing values of 475 'size_t' type. In particular, this was necessary for WIN64. 476 Added a configure test for if the system headers provide 'optarg' 477 (normal case) and block out the many explicit 'extern' statements 478 in the utilities. This was found to be necessary under Windows 479 when getopt is in a DLL and the symbols are already imported with 480 dllimport via standard header files. 481 482 * test/raw_decode.c (XMD_H): Avoid conflicting typedefs for INT32 483 and boolean in MinGW build due to including jpeglib.h. 484 485 * test/rewrite_tag.c (main): Fix problem with location of variable 486 declaration. 487 488 * libtiff/libtiff.def: Added exports for TIFFGetConfiguredCODECs, 489 TIFFReadRGBAImageOriented, TIFFSetCompressionScheme, 490 TIFFSwabArrayOfTriples, TIFFVGetFieldDefaulted, _TIFFCheckRealloc, 491 TIFFRasterScanline, TIFFSetErrorHandlerExt, 492 TIFFSetWarningHandlerExt, TIFFNumberOfDirectories, 493 TIFFCreateCustomDirectory, TIFFCreateEXIFDirectory, 494 TIFFWriteCustomDirectory, _TIFFRewriteField as recommended by 495 Roger Leigh and justified by use in libtiff tests, documentation, 496 and changelog notes. Also sorted symbol list and removed 497 duplicate entries. 498 4992015-06-16 Bob Friesenhahn <[email protected]> 500 501 * libtiff/tif_getimage.c: Fix four Coverity issues related to 502 unintended sign extension. 503 5042015-06-16 Even Rouault <even.rouault at spatialys.com> 505 506 * libtiff/tif_unix.c: fix compilation with MSVC (fix by Jeff McKenna) 507 5082015-06-14 Lee Howard <[email protected]> 509 510 * libtiff/tif_unix.c: contribution from Vadim Zeitlin on 511 Bugzilla Bug #2510 fixes several harmless but still annoying 512 warnings 513 514 * configure: contribution from Ludolf Holzheid on Bugzilla 515 Bug #2498. Adds an option to select the file I/O style on 516 Windows hosts. 517 518 * libtiff/tif_getimage.c: contribution from Gary Cramblitt 519 on Bugzilla Bug #2409. Correct reading of certain tiled TIFFs. 520 521 * configure, configure.ac: contribution from Marcos H. Woehrmann 522 on Bugzilla Bug #2405. Correct shell equality operator. 523 524 * tools/tiffgt.c (raster_draw): contribution from Jay Berkenbilt 525 on Bugzilla Bug #2401. Appropriately call glFlush(). 526 527 * tools/tiff2pdf.c: change ColorTransform from "0" to "1" 528 following Bugzilla Bug #2150. 529 5302015-06-13 Lee Howard <[email protected]> 531 532 * libtiff/tif_lzw.c: contribution from Andy Cave - decode 533 files that contain consecutive CODE_CLEAR codes. 534 535 * tools/tiff2pdf.c: contribution from Antti S. Lankila on 536 Bugzilla Bug #2078. Suppress initial output of the header. 537 538 * tools/tiff2pdf.c: contribution from Yuriy M. Kaminskiy - 539 Take care in using the return value from snprintf(). 540 541 * tools/tiffcrop.c: contribution from Eduardo Robles Elvira - 542 correctly copy the compression tag from the source TIFF. 543 544 * tools/tiff2ps.c: contribution from Eduardo Robles Elvira - 545 correct sizing and scaling problems with output document. 546 5472015-06-10 Bob Friesenhahn <[email protected]> 548 549 * libtiff/tif_jpeg.c (JPEGDecode): Split JPEGDecode() into two 550 clean implementations in order to avoid pre-processor hell. Only 551 one of the implementations is used in a given build. 552 5532015-06-08 Even Rouault <even.rouault at spatialys.com> 554 555 * libtiff/tif_jpeg.c: Fix compilation in BITS_IN_JSAMPLE == 12 556 case 557 5582015-06-07 Bob Friesenhahn <[email protected]> 559 560 * libtiff/tif_write.c (TIFFWriteEncodedStrip): Fix Coverity 715975 561 "Division or modulo by zero". 562 (TIFFWriteEncodedTile): Fix Coverity 715976 and 715977 "Division 563 or modulo by zero". 564 (TIFFWriteRawStrip): Fix Coverity 715978 "Division or modulo by 565 zero". 566 (TIFFWriteScanline): Fix Coverity 715979 "Division or modulo by 567 zero". 568 569 * libtiff/tif_read.c (TIFFStartTile): Fix Coverity 715973 and 570 715974 "Division or modulo by zero". 571 5722015-05-31 Bob Friesenhahn <[email protected]> 573 574 * libtiff/tif_dir.c (TIFFNumberOfDirectories): Quiet Coverity 575 1134470 "Logically dead code" by making the roll-over check 576 explicit. 577 578 * libtiff/tif_luv.c (LogLuvDecodeTile): Fix Coverity 991227 579 "Division or modulo by zero". 580 (LogLuvDecodeStrip): Fix Coverity 991239 "Division or modulo by 581 zero". 582 (LogLuvEncodeStrip): Fix Coverity 991240 "Division or modulo by 583 zero". 584 (LogLuvEncodeTile): Fix Coverity 991241 "Division or modulo by 585 zero". 586 587 * libtiff/tif_dirread.c (TIFFReadDirEntryDoubleArray): Fix 588 Coverity 298626 "Logically dead code". 589 (TIFFReadDirEntryFloatArray): Fix Coverity 298627 "Logically dead 590 code". 591 (TIFFReadDirEntryIfd8Array): Fix Coverity 298628 "Logically dead 592 code". 593 (TIFFReadDirEntrySlong8Array): Fix Coverity 298629 "Logically dead 594 code" 595 596 * libtiff/tif_dir.c (TIFFNumberOfDirectories): Don't depend on ++ 597 operator precedenc in evaluation. Might quench Coverity 1134470 598 "Logically dead code". 599 600 * libtiff/tif_jpeg.c (JPEGDecode): Fix Coverity 602597 "Operands 601 don't affect result". This change uses ifdefs to include 602 applicable code based on properties of libjpeg. Still needs to be 603 re-tested with 12-bit "6b" and "MK1". 604 6052015-05-30 Bob Friesenhahn <[email protected]> 606 607 * libtiff/tif_dirwrite.c (_TIFFRewriteField): Fix Coverity 1024310 608 "Resource leak". 609 610 * libtiff/tif_ojpeg.c (OJPEGReadHeaderInfoSecStreamDht): Fix 611 Coverity 601720 "Resource leak". 612 613 * libtiff/tif_jpeg.c (JPEGCleanup): Fix Coverity 298624 614 "Dereference before null check". 615 616 * libtiff/tif_ojpeg.c (OJPEGReadBufferFill): Fix Coverity 603400 617 "Missing break in switch". 618 619 * contrib/addtiffo/tif_overview.c (TIFF_DownSample): Check buffer 620 size calculation for overflow. 621 622 * contrib/addtiffo/addtiffo.c (main): Possibly address Coverity 623 1024226 "Untrusted value as argument". 624 625 * tools/gif2tiff.c (readgifimage): Fix Coverity 1024222 "Untrusted 626 value as argument". 627 (checksignature): Fix Coverity 1024894 "Ignoring number of bytes 628 read". 629 (readextension): Fix Coverity 1024893 "Ignoring number of bytes 630 read". 631 (readgifimage): Fix Coverity 1024890 "Ignoring number of bytes 632 read". 633 (readraster): Fix Coverity 1024891 "Ignoring number of bytes 634 read". 635 (readgifimage): Fix Coverity 1024892 "Ignoring number of bytes 636 read". 637 638 * tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 1024181 639 "Structurally dead code". 640 641 * tools/raw2tiff.c (main): Fix Coverity 1024887 "Unchecked return 642 value from library". 643 (guessSize): Fix Coverity 1024888 "Unchecked return value from 644 library". 645 (guessSize): Fix Coverity 1214162 "Ignoring number of bytes read". 646 (guessSize): Fix Coverity 1024889 "Unchecked return value from 647 library". 648 649 * tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 298621 650 "Resource leak". 651 (t2p_readwrite_pdf_image): Fix Coverity 1024181 "Structurally dead 652 code". 653 (t2p_write_pdf): Fix Coverity 1227690 "Unused value". 654 6552015-05-29 Bob Friesenhahn <[email protected]> 656 657 * contrib/iptcutil/iptcutil.c (formatIPTC): Fix Coverity 1024468 658 "Infinite loop". 659 (formatIPTC): Fix Coverity 1024727 "Truncated stdio return value". 660 (formatIPTC): Fix Coverity 1214240 "Untrusted loop bound". 661 6622015-05-28 Bob Friesenhahn <[email protected]> 663 664 * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix 665 Coverity 298615 "Resource leak". 666 (TIFFGetOvrBlock): Fix Coverity 1024649 "Unintended sign 667 extension". 668 669 * tools/bmp2tiff.c (main): Fix Coverity 1024225 "Untrusted value 670 as argument". 671 (main): Fix Coverity 1024678 "Unchecked return value from 672 library". 673 (main): Fix Coverity 1024679 "Unchecked return value from 674 library". 675 (main): Fix Coverity 1214160 "Ignoring number of bytes read". 676 677 * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix 678 Coverity 298615 "Resource leak". 679 680 * tools/tiffcp.c: Fix Coverity 1024306, 1024307, 1024308, 1024309 681 "Resource leak". 682 683 * tools/tiffsplit.c (cpTiles): Fix Coverity 1024304 "Resource 684 leak". 685 (cpStrips): Fix Coverity 1024305 "Resource leak". 686 6872015-05-27 Bob Friesenhahn <[email protected]> 688 689 * tools/ras2tiff.c: Fix Sun Raster header definition to be safe 690 for 64-bit systems. Add some header validations. Should fix many 691 Coverity issues. 692 (main): Fix Coverity 1301206: "Integer handling issues (BAD_SHIFT)". 693 (main): Quiet Coverity 1024223 "Untrusted value as argument". 694 695 * tools/tiffmedian.c (GetInputLine): Fix Coverity 1024795 "Nesting 696 level does not match indentation". 697 (get_histogram): Quiet Coverity 1024386 "Out-of-bounds read". 698 This was a benign mis-diagnosis but added code to enforce against 699 buffer overflow. 700 701 * tools/tiffcrop.c (ROTATE_ANY): Fix Coverity 1294542 "Logical 702 vs. bitwise operator". 703 (readContigStripsIntoBuffer): Fix Coverity 1024545 "Division or 704 modulo by zero". 705 (readContigTilesIntoBuffer): Fix Coverity 1024586 "Logically dead 706 code". 707 (writeSingleSection): Fix Coverity 1024796 "Nesting level does not 708 match indentation". 709 (writeCroppedImage): Fix Coverity 1024797 "Nesting level does not 710 match indentation". 711 (loadImage): Fix Coverity 1299741 "Dereference before null check". 712 (loadImage): Fix Coverity 1299740 "Out-of-bounds write". 713 7142015-03-02 Even Rouault <[email protected]> 715 716 * tools/tiffdither.c: check memory allocations to avoid writing to 717 NULL pointer. Also check multiplication overflow. Fixes #2501, 718 CVE-2014-8128. Derived from patch by Petr Gajdos. 719 7202015-01-26 Even Rouault <[email protected]> 721 722 * add html/v4.0.4beta.html under version control 723 * HOWTO-RELEASE: write that cvs add html/vX.X.html must be used 724 7252015-01-26 Even Rouault <[email protected]> 726 727 * libtiff 4.0.4beta released 728 7292015-01-26 Even Rouault <[email protected]> 730 731 * automake: updated to 1.15 732 * libtool: updated to 2.4.5 733 7342015-01-22 Even Rouault <[email protected]> 735 736 * tools/tiff2pdf.c: Fix two crashes (oCERT-2014-013) 737 7382015-01-05 Frank Warmerdam <[email protected]> 739 740 * html/bugs.html: remove note about needing to email the tiff mailing 741 list administrator about being approved for membership, this appears 742 not to be true. 743 7442015-01-05 Olivier Paquet <[email protected]> 745 746 * tools/tiff2pdf.c: Fixed unsigned integer addition overflow detection. 747 7482015-01-03 Even Rouault <[email protected]> 749 750 * libtiff/tif_dirread.c: in TIFFCheckDirOffset(), avoid uint16 overflow 751 when reading more than 65535 directories, and effectively error out when 752 reaching that limit. 753 7542014-12-29 Even Rouault <[email protected]> 755 756 * libtiff/tif_jpeg.c: in JPEGFixupTags(), recognize SOF2, SOF9 and SOF10 757 markers to avoid emitting a warning (even if, according to the TechNote, 758 there are admitedly unusual/not recommended or even forbidden variants, but 759 they do work well with libjpeg for SOF2, and with libjpeg-turbo for SOF2, 760 SOF9 and SOF10). 761 Define in_color_space and input_components to the right values in 762 JPEGSetupEncode(), before calling jpeg_set_defaults(), as specified by 763 libjpeg API documentation, so as to be compatible with mozjpeg library. 764 Note: the default settings of mozjpeg will produce progressive scans, which 765 is forbidden by the TechNote. 766 7672014-12-29 Even Rouault <[email protected]> 768 769 * libtiff/tif_getimage.c: move test on vertical value of YCbCr subsampling. 770 to avoid buffer leak (fix previous fix, found by Coverity scan) 771 7722014-12-29 Even Rouault <[email protected]> 773 774 * libtiff/tif_next.c: add new tests to check that we don't read outside of 775 the compressed input stream buffer. 776 777 * libtiff/tif_getimage.c: in OJPEG case, fix checks on strile width/height 778 in the putcontig8bitYCbCr42tile, putcontig8bitYCbCr41tile and 779 putcontig8bitYCbCr21tile cases. 780 7812014-12-27 Even Rouault <[email protected]> 782 783 * libtiff/tif_dir.c: in TIFFDefaultDirectory(), reset any already existing 784 extented tags installed by user code through the extender mechaninm before 785 calling the extender callback (GDAL #5054) 786 7872014-12-26 Bob Friesenhahn <[email protected]> 788 789 * tools/tiffcrop.c: Fix warnings about variables set but not used. 790 791 * contrib/iptcutil/iptcutil.c: Fix warnings about variables set 792 but not used. 793 794 * tools/tiffgt.c: Fix warnings about unused parameters. 795 796 * libtiff/tif_stream.cxx: Fix warnings about unused parameters. 797 7982014-12-25 Even Rouault <[email protected]> 799 800 * libtiff/tif_getimage.c, libtiff/tif_ojpeg.c, libtiff/tif_zip.c: fix 801 various typos found by Debian lintian tool (GDAL #5756) 802 8032014-12-24 Even Rouault <[email protected]> 804 805 * libtiff/tif_getimage.c: avoid divide by zero on invalid YCbCr subsampling. 806 http://bugzilla.maptools.org/show_bug.cgi?id=2235 807 8082014-12-24 Even Rouault <[email protected]> 809 810 * tools/tiff2pdf.c: fix buffer overflow on some YCbCr JPEG compressed images. 811 http://bugzilla.maptools.org/show_bug.cgi?id=2445 812 8132014-12-24 Even Rouault <[email protected]> 814 815 * tools/tiff2pdf.c: fix buffer overflow on YCbCr JPEG compressed image. 816 Derived from patch by Petr Gajdos, 817 http://bugzilla.maptools.org/show_bug.cgi?id=2443 818 8192014-12-23 Even Rouault <[email protected]> 820 821 * libtiff/tif_dirread.c: In EstimateStripByteCounts(), check return code 822 of _TIFFFillStriles(). This solves crashing bug on corrupted 823 images generated by afl. 824 8252014-12-23 Even Rouault <[email protected]> 826 827 * libtiff/tif_read.c: fix several invalid comparisons of a uint64 value with 828 <= 0 by casting it to int64 first. This solves crashing bug on corrupted 829 images generated by afl. 830 8312014-12-21 Bob Friesenhahn <[email protected]> 832 833 * tools/tiffdump.c: Guard against arithmetic overflow when 834 calculating allocation buffer sizes. 835 8362014-12-21 Even Rouault <[email protected]> 837 838 * tools/tiff2bw.c: when Photometric=RGB, the utility only works if 839 SamplesPerPixel = 3. Enforce that 840 http://bugzilla.maptools.org/show_bug.cgi?id=2485 (CVE-2014-8127) 841 8422014-12-21 Even Rouault <[email protected]> 843 844 * tools/pal2rgb.c, tools/thumbnail.c: fix crash by disabling TIFFTAG_INKNAMES 845 copying. The right fix would be to properly copy it, but not worth the burden 846 for those esoteric utilities. 847 http://bugzilla.maptools.org/show_bug.cgi?id=2484 (CVE-2014-8127) 848 8492014-12-21 Even Rouault <[email protected]> 850 851 * tools/thumbnail.c: fix out-of-buffer write 852 http://bugzilla.maptools.org/show_bug.cgi?id=2489 (CVE-2014-8128) 853 8542014-12-21 Even Rouault <[email protected]> 855 856 * tools/thumbnail.c, tools/tiffcmp.c: only read/write TIFFTAG_GROUP3OPTIONS 857 or TIFFTAG_GROUP4OPTIONS if compression is COMPRESSION_CCITTFAX3 or 858 COMPRESSION_CCITTFAX4 859 http://bugzilla.maptools.org/show_bug.cgi?id=2493 (CVE-2014-8128) 860 8612014-12-21 Even Rouault <[email protected]> 862 863 * libtiff/tif_next.c: check that BitsPerSample = 2. Fixes 864 http://bugzilla.maptools.org/show_bug.cgi?id=2487 (CVE-2014-8129) 865 8662014-12-21 Even Rouault <[email protected]> 867 868 * tools/tiff2pdf.c: check return code of TIFFGetField() when reading 869 TIFFTAG_SAMPLESPERPIXEL 870 8712014-12-21 Even Rouault <[email protected]> 872 873 * tools/tiffcp.c: fix crash when converting YCbCr JPEG-compressed to none. 874 Based on patch by Tomasz Buchert (http://bugzilla.maptools.org/show_bug.cgi?id=2480) 875 Description: fix for Debian bug #741451 876 tiffcp crashes when converting JPEG-encoded TIFF to a different 877 encoding (like none or lzw). For example this will probably fail: 878 tiffcp -c none jpeg_encoded_file.tif output.tif 879 The reason is that when the input file contains JPEG data, 880 the tiffcp code forces conversion to RGB space. However, 881 the output normally inherits YCbCr subsampling parameters 882 from the input, which leads to a smaller working buffer 883 than necessary. The buffer is subsequently overrun inside 884 cpStripToTile() (called from writeBufferToContigTiles). 885 Note that the resulting TIFF file would be scrambled even 886 if tiffcp wouldn't crash, since the output file would contain 887 RGB data intepreted as subsampled YCbCr values. 888 This patch fixes the problem by forcing RGB space on the output 889 TIF if the input is JPEG-encoded and output is *not* JPEG-encoded. 890 Author: Tomasz Buchert <[email protected]> 891 8922014-12-21 Even Rouault <[email protected]> 893 894 Fix various crasher bugs on fuzzed images. 895 * libtiff/tif_dir.c: TIFFSetField(): refuse to set negative values for 896 TIFFTAG_XRESOLUTION and TIFFTAG_YRESOLUTION that cause asserts when writing 897 the directory 898 * libtiff/tif_dirread.c: TIFFReadDirectory(): refuse to read ColorMap or 899 TransferFunction if BitsPerSample has not yet been read, otherwise reading 900 it later will cause user code to crash if BitsPerSample > 1 901 * libtiff/tif_getimage.c: TIFFRGBAImageOK(): return FALSE if LOGLUV with 902 SamplesPerPixel != 3, or if CIELAB with SamplesPerPixel != 3 or BitsPerSample != 8 903 * libtiff/tif_next.c: in the "run mode", use tilewidth for tiled images 904 instead of imagewidth to avoid crash 905 * tools/bmp2tiff.c: fix crash due to int overflow related to input BMP dimensions 906 * tools/tiff2pdf.c: fix crash due to invalid tile count (should likely be checked by 907 libtiff too). Detect invalid settings of BitsPerSample/SamplesPerPixel for CIELAB / ITULAB 908 * tools/tiffcrop.c: fix crash due to invalid TileWidth/TileHeight 909 * tools/tiffdump.c: fix crash due to overflow of entry count. 910 9112014-12-15 Even Rouault <[email protected]> 912 913 * libtiff/tif_jpeg.c: Fix regression introduced on 2010-05-07 that caused 914 all tiles/strips to include quantization tables even when the jpegtablesmode 915 had the JPEGTABLESMODE_QUANT bit set. 916 Also add explicit removal of Huffman tables when jpegtablesmode has the 917 JPEGTABLESMODE_HUFF bit set, which avoids Huffman tables to be emitted in the 918 first tile/strip (only useful in update scenarios. create-only was 919 fine) 920 9212014-12-09 Bob Friesenhahn <[email protected]> 922 923 * tools/tiff2pdf.c: Assure that memory size calculations for 924 _TIFFmalloc() do not overflow the range of tmsize_t. 925 9262014-12-07 Even Rouault <[email protected]> 927 928 * tools/thumbnail.c, tools/tiffcrop.c: "fix" heap read over-run found with 929 Valgrind and Address Sanitizer on test suite 930 9312014-12-07 Bob Friesenhahn <[email protected]> 932 933 * tools/tiff2pdf.c (t2p_read_tiff_init): TIFFTAG_TRANSFERFUNCTION 934 tag can return one channel, with the other two channels set to 935 NULL. The tiff2pdf code was expecting that other two channels 936 were duplicate pointers in the case where there is only one 937 channel. Detect this condition in order to avoid a crash, and 938 presumably perform correctly with just one channel. 939 9402014-12-06 Bob Friesenhahn <[email protected]> 941 942 * tools/tiffdump.c: Fix double-free bug. 943 9442014-11-27 Even Rouault <[email protected]> 945 946 * libtiff/tif_config.vc.h: no longer use "#define snprintf _snprintf" with 947 Visual Studio 2015 aka VC 14 aka MSVC 1900 948 9492014-11-20 Even Rouault <[email protected]> 950 951 * libtiff/tif_lzw.c: prevent potential null dereference of 952 sp->dec_codetab in LZWPreDecode (bug #2459) 953 954 * libtiff/tif_read.c: in TIFFReadBufferSetup(), avoid passing -1 size 955 to TIFFmalloc() if passed user buffer size is 0 (bug #2459) 956 957 * libtiff/tif_ojpeg.c: make Coverity happier (not a bug, #2459) 958 959 * libtiff/tif_dir.c: in _TIFFVGetField() and _TIFFVSetField(), make 960 Coverity happier (not a bug, #2459) 961 962 * libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make Coverity happier 963 (not a bug, #2459) 964 965 * tools/tiff2pdf.c: close PDF file (bug #2479) 966 967 * tools/fax2ps.c: check malloc()/realloc() result (bug #2470) 968 969 * tools/tiffdump.c: detect cycle in TIFF directory chaining (bug #2463) 970 and avoid passing a NULL pointer to read() if seek() failed before (bug #2459) 971 972 * tools/tiffcrop.c: fix segfault if bad value passed to -Z option 973 (bug #2459) and add missing va_end in dump_info (#2459) 974 975 * tools/gif2tif.c: apply patch for CVE-2013-4243 (#2451) 976 9772014-11-20 Even Rouault <[email protected]> 978 * libtiff/tif_jpeg.c: fix segfault in JPEGFixupTagsSubsampling() on 979 corrupted image where tif->tif_dir.td_stripoffset == NULL (bug #2471) 980 9812014-11-20 Even Rouault <[email protected]> 982 * automake: updated to 1.14.1 983 * libtool: updated to 2.4.3 984 * HOWTO-RELEASE: small update about autotools building order 985 9862014-10-20 Olivier Paquet <[email protected]> 987 * tools/tiff2pdf.c: Preserve input file directory order when pages 988 are tagged with the same page number. 989 9902014-08-31 Bob Friesenhahn <[email protected]> 991 992 * libtiff/tif_dirread.c (TIFFReadDirEntryOutputErr): Incorrect 993 count for tag should be a warning rather than an error since 994 errors terminate processing. 995 9962014-06-07 Bob Friesenhahn <[email protected]> 997 998 * tools/tiff2rgba.c (]): Fixed tiff2rgba usage message in that zip 999 was wrongly described. Fix suggested by Miguel Medalha. 1000 10012014-05-06 Bob Friesenhahn <[email protected]> 1002 1003 * libtiff/tif_dirinfo.c (TIFFField) : Fix data type for 1004 TIFFTAG_GLOBALPARAMETERSIFD tag. Patch by Steve Underwood. 1005 Reviewed and forwarded by Lee Howard. 1006 10072013-11-30 Frank Warmerdam <[email protected]> 1008 1009 * libtiff/tif_dir.c: fix last fix for TIFFNumberOfDirectories() 1010 10112013-10-21 Frank Warmerdam <[email protected]> 1012 1013 * libtiff/tif_dir.c: generate error in case of directory count 1014 overflow. 1015 10162013-10-01 Frank Warmerdam <[email protected]> 1017 1018 * libtiff/tiff.h, libtiff/tif_dirinfo.c: add definitions for 1019 TIFF/EP CFARepeatPatternDim and CFAPattern tags (bug #2457) 1020 10212013-09-12 Bob Friesenhahn <[email protected]> 1022 1023 * libtiff/tif_dir.c (TIFFAdvanceDirectory): If nextdir is found to 1024 be defective, then set it to zero before returning error in order 1025 to terminate processing of truncated TIFF. Issue found and fix 1026 suggested by Richard Nolde. 1027 10282013-08-14 Frank Warmerdam <[email protected]> 1029 1030 * tools/gif2tiff.c: fix possible OOB write (#2452, CVE-2013-4244) 1031 10322013-08-13 Frank Warmerdam <[email protected]> 1033 1034 * tools/gif2tiff.c: Be more careful about corrupt or 1035 hostile input files (#2450, CVE-2013-4231) 1036 1037 * tools/tiff2pdf.c: terminate after failure of allocating 1038 ycbcr buffer (bug #2449, CVE-2013-4232) 1039 10402013-07-09 Frank Warmerdam <[email protected]> 1041 1042 * tools/tiffinfo.c: Default various values fetched with 1043 TIFFGetField() to avoid being uninitialized. 1044 10452013-05-02 Tom Lane <[email protected]> 1046 1047 * tools/tiff2pdf.c: Rewrite JPEG marker parsing in 1048 t2p_process_jpeg_strip to be at least marginally competent. The 1049 approach is still fundamentally flawed, but at least now it won't 1050 stomp all over memory when given bogus input. Fixes CVE-2013-1960. 1051 10522013-05-02 Tom Lane <[email protected]> 1053 1054 * contrib/dbs/xtiff/xtiff.c, libtiff/tif_codec.c, 1055 libtiff/tif_dirinfo.c, tools/rgb2ycbcr.c, tools/tiff2bw.c, 1056 tools/tiff2pdf.c, tools/tiff2ps.c, tools/tiffcrop.c, 1057 tools/tiffdither.c: Enlarge some fixed-size buffers that weren't 1058 large enough, and eliminate substantially all uses of sprintf(buf, 1059 ...) in favor of using snprintf(buf, sizeof(buf), ...), so as to 1060 protect against overflow of fixed-size buffers. This responds in 1061 particular to CVE-2013-1961 concerning overflow in tiff2pdf.c's 1062 t2p_write_pdf_page(), but in general it seems like a good idea to 1063 deprecate use of sprintf(). 1064 10652013-03-29 Bob Friesenhahn <[email protected]> 1066 1067 * configure.ac: Applied patch by Brad Smith to improve pkg-config 1068 static linking by adding -lm to Libs.private when needed. 1069 10702013-03-05 Tom Lane <[email protected]> 1071 1072 * html/man/tiff2ps.1.html, html/man/tiffcp.1.html, 1073 html/man/tiffdither.1.html, man/tiff2ps.1, man/tiffcp.1, 1074 man/tiffdither.1, tools/tiff2ps.c, tools/tiffcp.c, 1075 tools/tiffdither.c: Sync tool usage printouts and man pages with 1076 reality (quite a few options had escaped being documented in one 1077 or both places). Per an old report from Miroslav Vadkerti. 1078 10792013-01-25 Bob Friesenhahn <[email protected]> 1080 1081 * tools/tiff2ps.c:Fix bug in auto rotate option code. Once a 1082 rotation angle was set by the auto rotate check, it was retained 1083 for all pages that followed instead ofa being retested for each 1084 page. Patch by Richard Nolde. 1085 10862013-01-18 Frank Warmerdam <[email protected]> 1087 1088 * libtiff/tif_write.c: tmsize_t related casting warning fixed for 1089 64bit linux. 1090 1091 * libtiff/tif_read.c: uint64/tmsize_t change for MSVC warnings. 1092 http://bugzilla.maptools.org/show_bug.cgi?id=2427 1093 10942012-12-20 Tom Lane <[email protected]> 1095 1096 * test/raw_decode.c: Relax raw_decode's pixel-value checks so that 1097 it will pass with more versions of libjpeg. (There are at least 1098 three in active use now, and JPEG_LIB_VERSION doesn't tell us 1099 enough to uniquely identify expected results.) 1100 11012012-12-12 Tom Lane <[email protected]> 1102 1103 * libtiff/tif_print.c: Fix TIFFPrintDirectory's handling of 1104 field_passcount fields: it had the TIFF_VARIABLE and 1105 TIFF_VARIABLE2 cases backwards. 1106 11072012-12-10 Tom Lane <[email protected]> 1108 1109 * tools/ppm2tiff.c: Improve previous patch for CVE-2012-4564: 1110 check the linebytes calculation too, get the max() calculation 1111 straight, avoid redundant error messages, check for malloc 1112 failure. 1113 11142012-12-10 Tom Lane <[email protected]> 1115 1116 * libtiff/tif_pixarlog.c: Improve previous patch for CVE-2012-4447 1117 (to enlarge tbuf for possible partial stride at end) so that 1118 overflow in the integer addition is detected. Per gripe from 1119 Huzaifa Sidhpurwala. 1120 11212012-12-03 Bob Friesenhahn <[email protected]> 1122 1123 * tools/tiffset.c: tiffset now supports a -u option to unset a 1124 tag. Patch by Zach Baker. See 1125 http://bugzilla.maptools.org/show_bug.cgi?id=2419 1126 11272012-11-18 Bob Friesenhahn <[email protected]> 1128 1129 * automake: Update Automake to 1.12.5 release. 1130 1131 * libtiff/tif_{unix,vms,win32}.c (_TIFFmalloc): ANSI C does not 1132 require malloc() to return NULL pointer if requested allocation 1133 size is zero. Assure that _TIFFmalloc does. 1134 11352012-11-01 Frank Warmerdam <[email protected]> 1136 1137 * tools/ppm2tiff.c: avoid zero size buffer vulnerability. 1138 CVE-2012-4564 - Thanks to Huzaifa Sidhpurwala of the 1139 Red Hat Security Response team for the fix. 1140 11412012-10-18 Frank Warmerdam <[email protected]> 1142 1143 * tif_zip.c: Avoid crash on NULL error messages. 1144 11452012-09-22 Bob Friesenhahn <[email protected]> 1146 1147 * libtiff 4.0.3 released. 1148 11492012-09-20 Bob Friesenhahn <[email protected]> 1150 1151 * Makefile.am: Update to Automake 1.12.4 1152 11532012-08-19 Bob Friesenhahn <[email protected]> 1154 1155 * Makefile.in: Update to Automake 1.12.3 1156 1157 * libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add 1158 some TIFF/FX support in libtiff. Add the tag definitions to 1159 tiff.h. Add the related TIFF field definitions to tif_dirinfo.c, 1160 and also fixes an error in a comment. Adds the photometric values 1161 to tif_print.c, and fixes a bug. These changes are by Steve 1162 Underwood. 1163 11642012-08-13 Frank Warmerdam <[email protected]> 1165 1166 * libtiff/tif_write.c: Fix bug rewriting image tiles in a 1167 compressed file: http://trac.osgeo.org/gdal/ticket/4771 1168 11692012-08-02 Frank Warmerdam <[email protected]> 1170 1171 * libtiff/tif_dirread.c: report error in case of mismatch value 1172 counts for tags (ie. DotRange). 1173 11742012-07-26 Tom Lane <[email protected]> 1175 1176 * libtiff/{tiffio.h, tif_dirinfo.c, libtiff.def}: Add six new 1177 functions TIFFFieldTag(), TIFFFieldName(), TIFFFieldDataType(), 1178 TIFFFieldPassCount(), TIFFFieldReadCount(), TIFFFieldWriteCount() 1179 as external accessors for the opaque type TIFFField. 1180 1181 * tools/tiffset.c: Make tiffset use the above functions instead of 1182 relying on library private headers. 1183 11842012-07-19 Tom Lane <[email protected]> 1185 1186 * tools/tiff2pdf.c: Fix two places where t2p_error didn't get set 1187 after a malloc failure. No crash risk AFAICS, but the program 1188 might not report exit code 1 as desired. h/t [email protected] 1189 11902012-07-18 Tom Lane <[email protected]> 1191 1192 * tools/tiff2pdf.c: Fail when TIFFSetDirectory() fails. This 1193 prevents core dumps or perhaps even arbitrary code execution when 1194 processing a corrupt input file (CVE-2012-3401). 1195 11962012-07-06 Bob Friesenhahn <[email protected]> 1197 1198 * test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+. 1199 IJG JPEG 7+ uses a different upsampling algorithm which produces 1200 different numeric results. 1201 1202 * libtiff/tif_jpeg.c (JPEGPreDecode): Patch from Even Rouault to 1203 work with IJG JPEG 7+. 1204 12052012-07-04 Bob Friesenhahn <[email protected]> 1206 1207 * test/raw_decode.c: Add changes so that test can run with build 1208 directory outside of source directory. 1209 12102012-07-02 Frank Warmerdam <[email protected]> 1211 1212 * libtiff/tif_jpeg.c: Fix handling when writing RGBA jpeg compressed 1213 imagery (http://trac.osgeo.org/gdal/ticket/4732) 1214 12152012-06-20 Frank Warmerdam <[email protected]> 1216 1217 * libtiff/tif_fax3.c: fix memory initialization of runs, only 1218 partly done. 1219 1220 * libtiff/tif_pixarlog.c: Make sure tbuf is large enough for one 1221 full "stride" past the end. 1222 12232012-06-19 Frank Warmerdam <[email protected]> 1224 1225 * libtiff/tif_packbits.c: fix read past end of data buffer. 1226 12272012-06-15 Frank Warmerdam <[email protected]> 1228 1229 * libtiff 4.0.2 released. 1230 1231 * tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable 1232 warnings with clang. 1233 12342012-06-15 Tom Lane <[email protected]> 1235 1236 * tools/tiff2pdf.c: Defend against integer overflows while 1237 calculating required buffer sizes (CVE-2012-2113). 1238 12392012-06-12 Frank Warmerdam <[email protected]> 1240 1241 * libtiff/tif_print.c: Be careful about printing corrupt inknames. 1242 1243 * libtiff/tif_fax3.c: Ensure runs array is initialized to zeros. 1244 12452012-06-07 Frank Warmerdam <[email protected]> 1246 1247 * libtiff/tif_print.c: avoid pretty printing other fields when 1248 we don't have the proper amount and type of data or if the field 1249 is actually autodefined. 1250 12512012-06-05 Frank Warmerdam <[email protected]> 1252 1253 * libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal 1254 ycbcrsubsampling values result in a runtime error, not just an 1255 assertion. 1256 1257 * tests/custom_dir.c: Add testing of EXIF and custom directory 1258 reading and writing. 1259 1260 * libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory() 1261 and TIFFCreateEXIFDirectory() functions. 1262 1263 * libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for 1264 PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING. Implement DOTRANGE 1265 differently. This is to avoid using special TIFFGetField/TIFFSetField 1266 rules for these fields in non-image directories (like EXIF). 1267 12682012-06-04 Frank Warmerdam <[email protected]> 1269 1270 * libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling 1271 in JPEGPreDecode(). If a fixup will be done it needs to be done sooner 1272 in JPEGFixupTagsSubsampling() or else buffer sized may be wrong. 1273 12742012-06-01 Frank Warmerdam <[email protected]> 1275 1276 * tools/tiffinfo.c: Do not try to read image data in EXIF directories. 1277 1278 * libtiff/tif_getimage.c: added support for _SEPARATED CMYK images. 1279 http://bugzilla.maptools.org/show_bug.cgi?id=2379 1280 1281 * libtiff/tif_unix.c: use strerror() to return a more specific error message 1282 on failed open. 1283 http://bugzilla.maptools.org/show_bug.cgi?id=2341 1284 1285 * libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs. 1286 http://bugzilla.maptools.org/show_bug.cgi?id=2386 1287 1288 * tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support 1289 for testing jpeg in tiff image decoding including the "raw" decode interface. 1290 12912012-05-31 Frank Warmerdam <[email protected]> 1292 1293 * libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in 1294 JPEGDecodeRaw() - mostly likely to occur when there is confusion about 1295 sampling values. 1296 1297 * libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed. 1298 1299 * libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval. 1300 http://bugzilla.maptools.org/show_bug.cgi?id=2398 1301 13022012-05-29 Frank Warmerdam <[email protected]> 1303 1304 * libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories, 1305 like EXIF directories. This fixes problems like a tag "320" existing in a custom directory getting 1306 processed as if it were a colormap when it isn't really. Damn the wide variety of argument formulations 1307 to get/set functions for different tags! 1308 1309 * libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata 1310 is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag. 1311 13122012-05-24 Frank Warmerdam <[email protected]> 1313 1314 * libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward 1315 accumulate" and overwrite the end by one word in at least some cases. 1316 13172012-05-23 Frank Warmerdam <[email protected]> 1318 1319 * libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs. 1320 1321 * tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files. 1322 1323 * libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on 1324 the same image. 1325 1326 * libtiff/tif_ojpeg.c: make things more resilient in the face of files without 1327 stripbytecounts or stripoffsets or where loading these fails. 1328 1329 * libtiff/tif_print.c: be careful about whether min/max values are singular 1330 or one per sample. 1331 1332 * libtiff/tif_print.c: Avoid confusion about count size when printing custom fields. 1333 May affect things like ISOSpeedRatings. 1334 1335 * libtiff/tif_dir.c: avoid one byte past end of ink names reading 1336 in some cases. 1337 13382012-05-19 Bob Friesenhahn <[email protected]> 1339 1340 * man/TIFFGetField.3tiff: Correct the 'count' field type in the 1341 example for how to retreive the value of unsupported tags. 1342 13432012-03-30 Frank Warmerdam <[email protected]> 1344 1345 * tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173) 1346 care of Tom Lane @ Red Hat. 1347 13482012-02-18 Bob Friesenhahn <[email protected]> 1349 1350 * libtiff 4.0.1 released. 1351 1352 * Update automake used to 1.11.3. 1353 1354 * libtiff/tiffio.h: Use double-underbar syntax in GCC printf 1355 attribute specification to lessen the risk of accidental macro 1356 substitution. Patch from Vincent Torri. 1357 13582012-01-31 Frank Warmerdam <[email protected]> 1359 1360 * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around 1361 assumption tag fetching is always successful. 1362 1363 * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL. 1364 13652012-01-22 Bob Friesenhahn <[email protected]> 1366 1367 * configure.ac: Add support for using library symbol versioning on 1368 ELF systems with the GNU linker. Support is enabled via 1369 --enable-ld-version-script. Disabled by default for now until 1370 there is a decision for how to deploy a libtiff with versioned 1371 symbols after libtiff 4.0.0 was already released. 1372 13732011-12-22 Bob Friesenhahn <[email protected]> 1374 1375 * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in 1376 1377 tif_win32.c. Patch by Edward Lam. 1378 1379 * configure.ac: Add libtiff private dependency on -llzma for 1380 pkg-config. Patch by Mark Brand. 1381 Updated Automake to 1.11.2. 1382 13832011-12-21 Bob Friesenhahn <[email protected]> 1384 1385 * libtiff 4.0.0 released. 1386 13872011-12-08 Frank Warmerdam <[email protected]> 1388 1389 * libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking 1390 of _TIFFFillStriles() results (#gdal 4372) 1391 13922011-12-07 Frank Warmerdam <[email protected]> 1393 1394 * libtiff/tif_dirread.c: fixes to deal with invalid files where 1395 _TIFFFillStriles() fails, and we try to chop up strips (gdal #4372) 1396 1397 * libtiff/tif_dirread.c: fix error reporting when there is no 1398 tag information struct and name (gdal #4373) 1399 14002011-10-22 Bob Friesenhahn <[email protected]> 1401 1402 * Update GNU libtool to 2.4.2. 1403 1404 * tools/tiffsplit.c (tiffcp): TIFFGetField count field should be 1405 uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe 1406 Deroulers. 1407 14082011-06-21 Frank Warmerdam <[email protected]> 1409 1410 * libtiff/libtiff.def: Restore TIFFMergeFieldInfo. 1411 14122011-05-31 Jim Meyering <[email protected]> 1413 1414 * libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also 1415 upon failure to allocate "resizeddata". 1416 * tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for 1417 allocation failure, not before. 1418 * libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path 1419 * tools/rgb2ycbcr.c (cvtRaster): unchecked malloc 1420 * libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark 1421 NULL-deref and possible overflow 1422 * tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written" 1423 * libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration 1424 and set of otherwise unused local, data_is_empty. 1425 * libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]: 1426 Diagnose out-of-memory failure and return 0 rather than 1427 dereferencing NULL. 1428 14292011-05-24 Frank Warmerdam <[email protected]> 1430 1431 * libtiff/tif_dirread.c: produce special error message for zero tag 1432 directories instead of error out on the malloc(0) failure. 1433 14342011-05-16 Frank Warmerdam <[email protected]> 1435 1436 * libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and 1437 related declarations as they are in active use by libraries 1438 such as libgeotiff, and work just fine. (#2315) 1439 14402011-04-20 Frank Warmerdam <[email protected]> 1441 1442 * libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete 1443 TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API. 1444 http://bugzilla.maptools.org/show_bug.cgi?id=2315 1445 1446 * libtiff/libtiff.def: add some missing (64bit) APIs. 1447 http://bugzilla.maptools.org/show_bug.cgi?id=2316 1448 14492011-04-09 Bob Friesenhahn <[email protected]> 1450 1451 * libtiff 4.0.0beta7 released. 1452 14532011-04-09 Bob Friesenhahn <[email protected]> 1454 1455 * configure.ac: Should use AC_CANONICAL_HOST since host specifies 1456 the run-time target whereas target is used to specify the final 1457 output target if the package is a build tool (like a compiler), 1458 which libtiff is not. Resolves libtiff bug 2307 "Use 1459 AC_CANONICAL_HOST macro". 1460 14612011-04-02 Bob Friesenhahn <[email protected]> 1462 1463 * configure.ac: Support configuring TIFF_INT64_FORMAT and 1464 TIFF_UINT64_FORMAT appropriately for MinGW32. 1465 1466 * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32 1467 printf conventions for 64-bit types because it uses the WIN32 CRT. 1468 1469 * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c, 1470 tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32 1471 printf conventions for 64-bit types because it uses the WIN32 CRT. 1472 1473 * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not 1474 understood by WIN32 CRT. 1475 1476 * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC. 1477 1478 * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since 1479 it is much more portable. Tmpfile is included in ISO/IEC 1480 9899:1990 and the WIN32 CRT. 1481 14822011-03-26 Frank Warmerdam <[email protected]> 1483 1484 * tools/tiffset.c: add -d and -sd switches to allow operation on 1485 a particular directory, not just the first (jef). 1486 14872011-03-21 Frank Warmerdam <[email protected]> 1488 1489 * libtiff/tif_thunder.c: Correct potential buffer overflow with 1490 thunder encoded files with wrong bitspersample set. The libtiff 1491 development team would like to thank Marin Barbella and TippingPoint's 1492 Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004, 1493 CVE-2011-1167). 1494 http://bugzilla.maptools.org/show_bug.cgi?id=2300 1495 14962011-03-10 Frank Warmerdam <[email protected]> 1497 1498 * libtiff/tif_fax3.h: Fix to last change allowing zero length 1499 runs at the start of a scanline - needed for legal cases. 1500 15012011-03-02 Frank Warmerdam <[email protected]> 1502 1503 * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 1504 a move left. Without this, a malicious input file can generate an 1505 indefinitely large series of runs without a0 ever reaching the right 1506 margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192. 1507 This is a modified version of a patch proposed by Drew Yao of Apple 1508 Product Security. It adds an unexpected() report, and disallows the 1509 equality case, since emitting a run without increasing a0 still allows 1510 buffer overrun. 1511 15122011-02-23 Frank Warmerdam <[email protected]> 1513 1514 * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296) 1515 1516 * tools/tiff2rgba.c: close source file on error to make leak 1517 detection easier. 1518 1519 * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails. 1520 1521 http://bugzilla.maptools.org/show_bug.cgi?id=2295 1522 15232011-02-22 Frank Warmerdam <[email protected]> 1524 1525 * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ 1526 _SUPPORT) 1527 15282011-02-18 Frank Warmerdam <[email protected]> 1529 1530 * configure.ac, configure: Added support for --enable-chunky-strip-read 1531 configure option to enable the experimental feature from a couple 1532 months ago for reading big strips in chunks. 1533 1534 * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 1535 tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c: 1536 Implement optional support for deferring the load of strip/tile 1537 offset and size tags for optimized scanning of directories. Enabled 1538 with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD 1539 #define in tif_config.h). 1540 15412011-02-11 Frank Warmerdam <[email protected]> 1542 1543 * libtiff/tif_print.c: remove unused variable. 1544 15452011-02-09 Frank Warmerdam <[email protected]> 1546 1547 * libtiff/tif_win32.c: avoid error/warning buffer overrun problem 1548 with non-console (popup message) builds on win32. 1549 1550 http://bugzilla.maptools.org/show_bug.cgi?id=2293 1551 15522011-01-24 Olivier Paquet <[email protected]> 1553 1554 * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c, 1555 tif_print.c, tiff.h, tiffiop.h} : Added support for 1556 TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different 1557 values for each sample. Presents the min/max of all samples by default for 1558 compatibility. TIFFSetField/TIFFGetField can be made to handle those tags 1559 as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag. 1560 http://www.asmail.be/msg0055458208.html 1561 15622011-01-06 Frank Warmerdam <[email protected]> 1563 1564 * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 1565 maintained. 1566 1567 * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 1568 for CHUNKY_STRIP_READ_SUPPORT. 1569 1570 * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained 1571 during JPEGPreDecode and JPEGDecode calls. 1572 * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 1573 as compression formats like JPEG keep 16 lines interleaved in a sense 1574 and might need to touch quite a bit of data. 1575 1576 http://trac.osgeo.org/gdal/ticket/3894 1577 15782011-01-03 Lee Howard <[email protected]> 1579 1580 * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images 1581 caused by commit on 2010-12-14. Submitted by e-mail from 1582 Even Rouault <[email protected]> 1583 15842010-12-31 Olivier Paquet <[email protected]> 1585 1586 * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE. 1587 http://bugzilla.maptools.org/show_bug.cgi?id=2266 1588 15892010-12-23 Andrey Kiselev <[email protected]> 1590 1591 * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the 1592 compression level parameter (preset) for Deflate and LZMA encoders, 1593 e.g "-c lzma:p1" or "-c zip:p9". 1594 1595 * libtiff/tif_lzma.c: Properly set the LZMA2 compression level 1596 (preset) in LZMAVSetField(). 1597 15982010-12-18 Bob Friesenhahn <[email protected]> 1599 1600 * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to 1601 Makefile. 1602 16032010-12-14 Andrey Kiselev <[email protected]> 1604 1605 * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h, 1606 tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new 1607 TIFF compression scheme LZMA reserving a new value 34925 for 1608 Compression tag. As per 1609 bug http://bugzilla.maptools.org/show_bug.cgi?id=2221 1610 16112010-12-14 Lee Howard <[email protected]> 1612 1613 * libtiff/tif_dirread.c: tolerate some cases where 1614 FIELD_COLORMAP is missing 1615 http://bugzilla.maptools.org/show_bug.cgi?id=2189 1616 16172010-12-14 Lee Howard <[email protected]> 1618 1619 * libtiff/tif_read.c: change read_ahead to tmsize_t 1620 http://bugzilla.maptools.org/show_bug.cgi?id=2222 1621 16222010-12-14 Lee Howard <[email protected]> 1623 1624 * configure.ac, libtiff/Makefile.am: Build tif_win32.c on 1625 Windows except on Cygwin 1626 http://bugzilla.maptools.org/show_bug.cgi?id=2224 1627 16282010-12-14 Lee Howard <[email protected]> 1629 1630 * tools/gif2tiff.c: fix buffer overrun 1631 http://bugzilla.maptools.org/show_bug.cgi?id=2270 1632 16332010-12-14 Lee Howard <[email protected]> 1634 1635 * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order 1636 to improve compatibility with various viewers 1637 submitted by e-mail from Dwight Kelly <[email protected]> 1638 16392010-12-13 Lee Howard <[email protected]> 1640 1641 * tools/fax2ps.c: be consistent with page-numbering 1642 http://bugzilla.maptools.org/show_bug.cgi?id=2225 1643 16442010-12-13 Lee Howard <[email protected]> 1645 1646 * libtiff/tif_color.c: prevent crash in handling bad TIFFs 1647 resolves CVE-2010-2595 1648 http://bugzilla.maptools.org/show_bug.cgi?id=2208 1649 16502010-12-13 Lee Howard <[email protected]> 1651 1652 * tools/tiffcrop.c: new release by Richard Nolde 1653 http://bugzilla.maptools.org/show_bug.cgi?id=2004 1654 16552010-12-12 Lee Howard <[email protected]> 1656 1657 * tools/tiff2pdf.c: fix colors for images with RGBA 1658 interleaved data 1659 http://bugzilla.maptools.org/show_bug.cgi?id=2250 1660 16612010-12-12 Lee Howard <[email protected]> 1662 1663 * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files 1664 http://bugzilla.maptools.org/show_bug.cgi?id=2164 1665 16662010-12-11 Lee Howard <[email protected]> 1667 1668 * tools/tiff2pdf.c: remove invalid duplication for Lab 1669 http://bugzilla.maptools.org/show_bug.cgi?id=2162 1670 16712010-12-11 Lee Howard <[email protected]> 1672 1673 * libtiff/tif_jpeg.c: fix use of clumplines calculation 1674 http://bugzilla.maptools.org/show_bug.cgi?id=2149 1675 16762010-12-11 Lee Howard <[email protected]> 1677 1678 * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp() 1679 http://bugzilla.maptools.org/show_bug.cgi?id=2118 1680 16812010-12-11 Lee Howard <[email protected]> 1682 1683 * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c, 1684 libtiff/tif_zip.c: fix build errors for VC6 1685 http://bugzilla.maptools.org/show_bug.cgi?id=2105 1686 16872010-12-11 Lee Howard <[email protected]> 1688 1689 * libtiff/tif_stream.cxx: warnings cleanup 1690 http://bugzilla.maptools.org/show_bug.cgi?id=2091 1691 * libtiff/tif_dirread.c: warnings cleanup 1692 http://bugzilla.maptools.org/show_bug.cgi?id=2092 1693 16942010-12-11 Lee Howard <[email protected]> 1695 1696 * tools/tiff2pdf.c: add fill-page option 1697 http://bugzilla.maptools.org/show_bug.cgi?id=2051 1698 16992010-12-11 Lee Howard <[email protected]> 1700 1701 * libtiff/tif_dirread.c: modify warnings 1702 http://bugzilla.maptools.org/show_bug.cgi?id=2016 1703 17042010-12-11 Lee Howard <[email protected]> 1705 1706 * libtiff/tif_ojpeg.c: fix buffer overflow on problem data 1707 http://bugzilla.maptools.org/show_bug.cgi?id=1999 1708 17092010-12-11 Lee Howard <[email protected]> 1710 1711 * tools/tiffinfoce.c: strip byte counts are uint64* now 1712 17132010-12-11 Lee Howard <[email protected]> 1714 1715 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero 1716 or missing byte-count tag 1717 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count 1718 per http://bugzilla.maptools.org/show_bug.cgi?id=1996 1719 17202010-12-08 Lee Howard <[email protected]> 1721 1722 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed 1723 TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994 1724 17252010-12-06 Lee Howard <[email protected]> 1726 1727 * libtiff/tif_open.c: Fix mode check before opening a file. 1728 http://bugzilla.maptools.org/show_bug.cgi?id=1906 1729 17302010-11-27 Bob Friesenhahn <[email protected]> 1731 1732 * libtiff-4.pc.in: Added libtiff pkg-config .pc file support. 1733 Patch by Vincent Torri. 1734 17352010-10-21 Frank Warmerdam <[email protected]> 1736 1737 * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler. 1738 1739 * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf. 1740 1741 * libtiff/libtiff.def: export _TIFFCheckMalloc for tools. 1742 17432010-09-25 Lee Howard <[email protected]> 1744 1745 * tools/tiff2ps.c: improvements and enhancements from Richard Nolde 1746 with additional command line options for Document Title, 1747 Document Creator, and Page Orientation 1748 17492010-07-13 Bob Friesenhahn <[email protected]> 1750 1751 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 1752 potentially unterminated buffer due to using an exceptionally long 1753 file name. 1754 17552010-07-08 Andrey Kiselev <[email protected]> 1756 1757 * tools/tiff2pdf.c: Fixed ID buffer filling in 1758 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 1759 17602010-07-07 Andrey Kiselev <[email protected]> 1761 1762 * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 1763 to expected value as the warning message suggests. As per bug 1764 http://bugzilla.maptools.org/show_bug.cgi?id=1963 1765 17662010-07-06 Andrey Kiselev <[email protected]> 1767 1768 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 1769 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 1770 which should be set by value. 1771 1772 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 1773 and _TIFFFieldWithName() if the tag is not found in the tag table. 1774 This should be normal situation and returned NULL value should be 1775 properly handled by the caller. 1776 17772010-07-02 Andrey Kiselev <[email protected]> 1778 1779 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 1780 integer type conversions. As per bug 1781 http://bugzilla.maptools.org/show_bug.cgi?id=2207 1782 1783 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 1784 WhitePoint tag as per bug 1785 http://bugzilla.maptools.org/show_bug.cgi?id=2042 1786 1787 * libtiff/tif_getimage.c: Check the number of samples per pixel when 1788 working with YCbCr image in PickContigCase(). As per bug 1789 http://bugzilla.maptools.org/show_bug.cgi?id=2216 1790 1791 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 1792 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 1793 we don't need any post-processing. That helps to reset the hook if we 1794 previously set this field to some other value and the hook was 1795 initialized accordingly. As per bug 1796 http://bugzilla.maptools.org/show_bug.cgi?id=2035 1797 17982010-07-01 Andrey Kiselev <[email protected]> 1799 1800 * tools/tiffgt.c: Properly check the raster buffer allocations for 1801 integer overflows. As per bug 1802 http://bugzilla.maptools.org/show_bug.cgi?id=2108 1803 1804 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 1805 upstream. 1806 1807 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 1808 multiply_32() and multiply_64() functions into tif_aux.c file and 1809 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 1810 18112010-06-30 Andrey Kiselev <[email protected]> 1812 1813 * tools/tiff2pdf.c: Better generation of ID field in 1814 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 1815 1816 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 1817 converting JPEG encoded tiles. 1818 1819 * tools/tiff2pdf.c: Better handling of string fields, use static 1820 string buffers instead of dynamically allocated, use strncpy() instead 1821 of strcpy(), control the string lengths. 1822 18232010-06-25 Andrey Kiselev <[email protected]> 1824 1825 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 1826 referencing to uninitialized memory in some cases (e.g. when tile size 1827 set bigger than the image size). 1828 18292010-06-15 Bob Friesenhahn <[email protected]> 1830 1831 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 1832 subsampled data since tiffcrop currently doesn't support it. Fix 1833 JPEG support. 1834 18352010-06-13 Frank Warmerdam <[email protected]> 1836 1837 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 1838 1839 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 1840 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 1841 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 1842 size is larger. Also, there are a bunch of places that try to 1843 memset() a malloc'd buffer before checking for malloc failure, which 1844 would result in core dump if there actually were a failure. (#2211) 1845 18462010-06-11 Bob Friesenhahn <[email protected]> 1847 1848 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 1849 avoid compiler warnings if parameter types are not sign 1850 consistent. 1851 1852 * libtiff 4.0.0alpha6 released. 1853 1854 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 1855 European page size dimensions. Added an option to allow the user 1856 to specify a custom page size on the command line. Fix the case 1857 where a page size specified with a fractional part was being 1858 coerced to an integer by retyping the variables that define the 1859 paper size. 1860 1861 * html/index.html: Update for the 3.9.3 release. 1862 1863 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 1864 YCbCr subsampled data since tiffcp currently doesn't support it. 1865 http://bugzilla.maptools.org/show_bug.cgi?id=2097 1866 1867 * Update libtool to version 2.2.10. 1868 18692010-06-10 Bob Friesenhahn <[email protected]> 1870 1871 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 1872 multiplier is zero. 1873 18742010-06-09 Bob Friesenhahn <[email protected]> 1875 1876 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 1877 CVE-2010-1411 was not complete. 1878 1879 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 1880 multiply two integers. Returns zero if there is an integer 1881 overflow. 1882 1883 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 1884 is reported when reading the input file. 1885 18862010-06-08 Bob Friesenhahn <[email protected]> 1887 1888 * Update libtool to version 2.2.8. 1889 1890 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 1891 buffer due to integer overflow in TIFFroundup() and several other 1892 potential overflows. In conjunction with the fix to TIFFhowmany(), 1893 fixes CVE-2010-1411. 1894 1895 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 1896 result in an integer overflow. This causes TIFFroundup() to also 1897 return zero if there would be an integer overflow. 1898 1899 * contrib: Add an emacs formatting mode footer to all source files 1900 so that emacs can be effectively used. 1901 19022010-06-03 Oliver Chen Feng <[email protected]> 1903 1904 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 1905 file PAGENUMBER value in sequence for users who care the page 1906 sequence, this will also prevent tiff2pdf from creating pdf file from 1907 the merged tiff file with wrong page sequence. 1908 19092010-05-08 Olivier Paquet <[email protected]> 1910 1911 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 1912 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 1913 * libtiff/tif_dirinfo.c: Use correct set_field_type for 1914 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 1915 http://bugzilla.maptools.org/show_bug.cgi?id=2192 1916 19172010-05-07 Frank Warmerdam <[email protected]> 1918 1919 * libtiff/tif_jpeg.c: Ensure that quality is always set in 1920 JPEGPreEncode(), not just when we want to output local tables. 1921 Otherwise the quality used during compression may not be right and 1922 might not match the tables in the tables tag. This bug only occurs 1923 when seeking between directories in the midst of writing blocks. 1924 http://trac.osgeo.org/gdal/ticket/3539 1925 19262010-05-06 Andrey Kiselev <[email protected]> 1927 1928 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 1929 Regenerated from the source. 1930 19312010-05-05 Olivier Paquet <[email protected]> 1932 1933 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 1934 had stopped working. Also made it always print 6 floats instead of 1935 2*SamplesPerPixel. 1936 http://bugzilla.maptools.org/show_bug.cgi?id=2191 1937 http://bugzilla.maptools.org/show_bug.cgi?id=2186 1938 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 1939 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 1940 19412010-05-05 Frank Warmerdam <[email protected]> 1942 1943 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 1944 if the jpeg table was written. This is a fix for the last fix on 04-21. 1945 19462010-04-21 Frank Warmerdam <[email protected]> 1947 1948 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 1949 JPEGSetupEncode() is called if the tables already seem to be 1950 established. This prevents spurious updates and rewriting of 1951 directories with jpegtables when doing updates to existing images. 1952 http://trac.osgeo.org/gdal/ticket/3539 1953 19542010-04-20 Olivier Paquet <[email protected]> 1955 1956 * libtiff/tif_dirinfo.c: Use correct set_field_type for 1957 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 1958 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 1959 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 1960 http://bugzilla.maptools.org/show_bug.cgi?id=2139 1961 19622010-04-10 Bob Friesenhahn <[email protected]> 1963 1964 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 1965 when the tag count value is zero. Error handling is still a 1966 regression since in 3.9.2, empty tags are skipped (with a warning) 1967 rather than returning a hard error and refusing to read the file. 1968 1969 * tools/ppm2tiff.c (main): While case for parsing comment line 1970 requires extra parenthesis to work as expected. Reported by 1971 Thomas Sinclair. 1972 19732010-04-02 Frank Warmerdam <[email protected]> 1974 1975 * libtiff/tif_read.c (primarily): Add support for 1976 CHUNKY_STRIP_READ_SUPPORT where large strips are 1977 read in chunks for applications using TIFFReadScanline(). 1978 This is intended to make it more practical work with very 1979 large compressed one-strip files. Feature is off by default. 1980 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 1981 http://trac.osgeo.org/gdal/ticket/3514 1982 19832010-03-31 Frank Warmerdam <[email protected]> 1984 1985 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 1986 directories so previously placed directories will be migrated to 1987 the end of file if needed. 1988 19892010-03-30 Frank Warmerdam <[email protected]> 1990 1991 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 1992 to support operating on strips/tiles of more than 256MB. 1993 http://trac.osgeo.org/gdal/ticket/3512 1994 19952010-03-10 Bob Friesenhahn <[email protected]> 1996 1997 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 1998 that it is clearly a memory allocation error message, and also 1999 includes the size of the allocation request. 2000 20012010-02-22 Lee Howard <[email protected]> 2002 2003 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 2004 the JPEG TIFF as is is not required in order to prevent it from 2005 being unused and filled with invalid data. (Leave it to be 2006 generated by later activity.) 2007 http://bugzilla.maptools.org/show_bug.cgi?id=2135 2008 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 2009 data rather than skipping them. This fixes the ability to view in 2010 Acrobat Reader, Evince, and Ghostscript. 2011 http://bugzilla.maptools.org/show_bug.cgi?id=2135 2012 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 2013 strips. 2014 http://bugzilla.maptools.org/show_bug.cgi?id=2029 2015 20162009-12-03 Frank Warmerdam <[email protected]> 2017 2018 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 2019 Made so that when working with downsampled images a stub function 2020 reporting an error is used for tif_decoderow. We cannot meaningfully 2021 support reading scanlines in this situation. (#1936) 2022 2023 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 2024 resetting of the upsampling values (gdal:#3259). 2025 http://bugzilla.maptools.org/show_bug.cgi?id=1936 2026 20272009-11-30 Frank Warmerdam <[email protected]> 2028 2029 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 2030 tools/ras2tiff.c: Fix resource leaks on error. 2031 http://bugzilla.maptools.org/show_bug.cgi?id=2121 2032 2033 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 2034 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 2035 of as a custom(generic) field to avoid a potential reentrancy problem. 2036 http://bugzilla.maptools.org/show_bug.cgi?id=2125 2037 2038 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 2039 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 2040 const, and display_sRGB static and const. 2041 http://bugzilla.maptools.org/show_bug.cgi?id=2124 2042 20432009-11-04 Bob Friesenhahn <[email protected]> 2044 2045 * libtiff 4.0.0alpha5 released. 2046 20472009-11-03 Bob Friesenhahn <[email protected]> 2048 2049 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 2050 version has undergone substantial testing with arbitrary sample 2051 bit depths. Also eliminates GCC compilation warnings. 2052 20532009-11-02 Bob Friesenhahn <[email protected]> 2054 2055 * port/libport.h: Add extern declarations for getopt standard 2056 globals. 2057 20582009-10-31 Bob Friesenhahn <[email protected]> 2059 2060 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 2061 noticed in 64-bit build of libtiff with Visual Studio 2005. 2062 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 2063 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 2064 2065 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 2066 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 2067 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 2068 http://bugzilla.maptools.org/show_bug.cgi?id=2068 2069 20702009-10-29 Bob Friesenhahn <[email protected]> 2071 2072 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 2073 pointer" warnings. 2074 20752009-10-28 Bob Friesenhahn <[email protected]> 2076 2077 * html/tools.html: Add manual page links, and a summary 2078 description of tiffcrop. 2079 20802009-10-07 Bob Friesenhahn <[email protected]> 2081 2082 * configure.ac: x86_64 should use the same fill order as i386. 2083 20842009-09-24 Bob Friesenhahn <[email protected]> 2085 2086 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 2087 Nolde. Major updates to add significant functionality for reading 2088 and writing tile based images with bit depths not a multiple of 8 2089 which cannot be handled by tiffcp. 2090 20912009-09-03 Bob Friesenhahn <[email protected]> 2092 2093 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 2094 do_fancy_upsampling=FALSE in order to read raw data. Resolves 2095 "Bug 2090 - OJPEG crash with libjpeg v7". 2096 http://bugzilla.maptools.org/show_bug.cgi?id=2090 2097 20982009-09-03 Frank Warmerdam <[email protected]> 2099 2100 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 2101 interface when stoponerror is set. 2102 http://bugzilla.maptools.org/show_bug.cgi?id=2071 2103 21042009-08-30 Bob Friesenhahn <[email protected]> 2105 2106 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 2107 fix build with gcc when using the "-Wformat 2108 -Werror=format-security" flags. 2109 21102009-08-29 Bob Friesenhahn <[email protected]> 2111 2112 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 2113 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 2114 utilities tests. 2115 21162009-08-28 Bob Friesenhahn <[email protected]> 2117 2118 * tools/tiffinfo.c: tiffinfo should return error status to the 2119 caller. Register a private error callback to accomplish that. 2120 2121 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 2122 PNM formats so that we will be able to test more of the tools. 2123 While adding these test images I notice that bmp2tiff and gif2tiff 2124 only support ancient versions of their respective formats. 2125 21262009-08-27 Bob Friesenhahn <[email protected]> 2127 2128 * libtiff 4.0.0alpha4 released. 2129 2130 * HOWTO-RELEASE: Improved release instructions. 2131 21322009-08-24 Bob Friesenhahn <[email protected]> 2133 2134 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 2135 fixes for "Bug 2023 - nroff errors in manual pages". 2136 http://bugzilla.maptools.org/show_bug.cgi?id=2023 2137 2138 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 2139 CVE-2009-2347 libtiff: integer overflows in various inter-color 2140 space conversion tools". 2141 http://bugzilla.maptools.org/show_bug.cgi?id=2079 2142 2143 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 2144 Berkenbilt for "Bug 2024 - possible null pointer dereference with 2145 one-line fix". 2146 http://bugzilla.maptools.org/show_bug.cgi?id=2024 2147 2148 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 2149 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 2150 segfault after setting tdir_tag = IGNORE". 2151 http://bugzilla.maptools.org/show_bug.cgi?id=1895 2152 21532009-08-23 Bob Friesenhahn <[email protected]> 2154 2155 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 2156 tiffcrop.sh into a collection of many specific tests. Re-wrote 2157 all of the existing tests to be based on some simple shell 2158 functions. Make distcheck works again. 2159 2160 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 2161 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 2162 tests under valgrind. 2163 21642009-08-21 Bob Friesenhahn <[email protected]> 2165 2166 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 2167 build. 2168 2169 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 2170 actually activated since it needed to be enabled in this 2171 Makefile.am. Also activated parallel-tests mode since it offers 2172 useful features such as per-test .log files and a summary test 2173 report .log file. 2174 21752009-08-20 Bob Friesenhahn <[email protected]> 2176 2177 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 2178 libtool 2.2.6. Enabled support for silent build rules 2179 (--enable-silent-rules or 'make V=0') and colorized tests. 2180 2181 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 2182 21832009-06-30 Frank Warmerdam <[email protected]> 2184 2185 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 2186 2187 * tools/tiffcp.c: add -c sgilog support. 2188 2189 * libtiff/tif_luv.c: correct return codes from encoderow to be 2190 1 on success instead of zero. 2191 http://bugzilla.maptools.org/show_bug.cgi?id=2069 2192 2193 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 2194 #1085 for a better underflow fix that errors properly. 2195 http://bugzilla.maptools.org/show_bug.cgi?id=2065 2196 http://bugzilla.maptools.org/show_bug.cgi?id=1985 2197 21982009-06-26 Frank Warmerdam <[email protected]> 2199 2200 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 2201 fails on oddly sized 12bit jpeg compressed ycbcr images. 2202 22032009-06-22 Frank Warmerdam <[email protected]> 2204 2205 * libtiff/tif_lzw.c: Fix buffer underflow bug. 2206 http://bugzilla.maptools.org/show_bug.cgi?id=2065 2207 22082009-06-21 Frank Warmerdam <[email protected]> 2209 2210 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 2211 for dual mode 8/12 bit jpeg support. 2212 22132009-06-03 Frank Warmerdam <[email protected]> 2214 2215 * libtiff/tif_write.c: do not override the planar configuration to be 2216 contig for one sample files if planar configuration is already set. 2217 http://bugzilla.maptools.org/show_bug.cgi?id=2057 2218 22192009-06-02 Frank Warmerdam <[email protected]> 2220 2221 * libtiff/libtiff.def: Add TIFFUnsetField. 2222 22232009-05-03 Frank Warmerdam <[email protected]> 2224 2225 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 2226 error reports to use "%s" as format string. 2227 http://trac.osgeo.org/gdal/ticket/2976 2228 22292009-03-12 Frank Warmerdam <[email protected]> 2230 2231 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 2232 for some codecs (#2020). 2233 22342009-02-12 Frank Warmerdam <[email protected]> 2235 2236 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 2237 http://bugzilla.maptools.org/show_bug.cgi?id=2005 2238 22392009-02-09 Frank Warmerdam <[email protected]> 2240 2241 * libtiff/tif_dirread.c: Improve allocation safety when allocated 2242 buffer for large tags. (#1998) Related to (#1993) 2243 22442009-02-06 Frank Warmerdam <[email protected]> 2245 2246 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 2247 test suite should pass. 2248 22492009-02-05 Frank Warmerdam <[email protected]> 2250 2251 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 2252 but at the 2GB boundary to avoid overflow on 32bit systems. 2253 http://bugzilla.maptools.org/show_bug.cgi?id=1993 2254 2255 * libtiff/tif_dirread.c: Remove some assertions that blow due to 2256 corrupt files rather than in response to library internal 2257 inconsistencies. 2258 http://bugzilla.maptools.org/show_bug.cgi?id=1995 2259 http://bugzilla.maptools.org/show_bug.cgi?id=1991 2260 2261 * libtiff/tif_dirread.c: Fixed testing for failed result from 2262 TIFFReadDirectoryFindFieldInfo(). 2263 http://bugzilla.maptools.org/show_bug.cgi?id=1992 2264 22652009-01-23 Frank Warmerdam <[email protected]> 2266 2267 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 2268 http://bugzilla.maptools.org/show_bug.cgi?id=1911 2269 2270 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 2271 2272 http://bugzilla.maptools.org/show_bug.cgi?id=1924 2273 2274 * tools/tiffcrop.c: initialize xres/yres values. 2275 2276 * test/*.sh - default ${srcdir} to local directory. 2277 2278 * test/common.sh - start verbose mode after common settings. 2279 2280 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 2281 avoid type mismatches on different platforms. 2282 http://bugzilla.maptools.org/show_bug.cgi?id=1889 2283 22842009-01-22 Frank Warmerdam <[email protected]> 2285 2286 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 2287 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 2288 2289 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 2290 defined, primarily to reduce prototype warnings on windows. 2291 2292 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 2293 about unused parameters, and uninitialized variables. 2294 22952009-01-21 Bob Friesenhahn <[email protected]> 2296 2297 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 2298 order to trace full execution detail while executing the test suite. 2299 23002009-01-20 Frank Warmerdam <[email protected]> 2301 2302 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 2303 23042009-01-20 Bob Friesenhahn <[email protected]> 2305 2306 * test/Makefile.am (CLEANFILES): Make sure that test output files 2307 are removed by 'make clean' 2308 2309 * Update autotools for 4.0.0 beta3 2310 2311 * 4.0.0 beta3 produced. 2312 23132009-01-12 Bob Friesenhahn <[email protected]> 2314 2315 * test/tiffcrop.sh: New test script for tiffcrop from Richard 2316 Nolde. 2317 2318 * tools/tiff2ps.c: Remove spurious message to stderr. 2319 23202009-01-11 Bob Friesenhahn <[email protected]> 2321 2322 * tools/tiff2ps.c: Incorporated significant functionality update 2323 from Richard Nolde. In particular, support for rotating the image 2324 by 90, 180, 270, and 'auto' has been added. 2325 2326 * man/tiffcrop.1: Incorporated documentation updates from Richard 2327 Nolde. 2328 2329 * tools/tiffcrop.c: Incorporated significant functionality update 2330 from Richard Nolde. 2331 23322008-12-31 Bob Friesenhahn <[email protected]> 2333 2334 * libtiff/tiffio.h: GCC will now validate format specifications 2335 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 2336 TIFFWarningExt() in order to reveal bugs. 2337 2338 * Many fixes throughout to work better as a 64-bit build. 2339 23402008-12-30 Bob Friesenhahn <[email protected]> 2341 2342 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 2343 tags now require 64-bit parameter rather than 32-bit. 2344 2345 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 2346 64-bit values. 2347 2348 * tools/thumbnail.c: Eliminate crash noticed while running test 2349 suite. 2350 23512008-12-29 Bob Friesenhahn <[email protected]> 2352 2353 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 2354 Initialize stack variables to avoid compiler warning. 2355 2356 * tools/tiffinfoce.c (main): Use toff_t for offset type when 2357 retrieving offset of EXIF IFD. 2358 2359 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 2360 TIFFClientOpen() callback and other external function definitions. 2361 2362 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 2363 type now. Fixes crash when dumping files containing an EXIF IFD. 2364 2365 * m4/libtool.m4: Update to libtool 2.2.6. 2366 23672008-12-21 Frank Warmerdam <[email protected]> 2368 2369 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 2370 2371 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 2372 strip for the last partial strip in a jpeg compressed file. 2373 http://bugzilla.maptools.org/show_bug.cgi?id=1981 2374 23752008-10-29 Frank Warmerdam <[email protected]> 2376 2377 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 2378 we take the shortcut to only update the strip/tile offsets in place. 2379 http://trac.osgeo.org/gdal/ticket/2621 2380 23812008-10-21 Andrey Kiselev <[email protected]> 2382 2383 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 2384 the older versions retained). 2385 23862008-10-09 Frank Warmerdam <[email protected]> 2387 2388 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 2389 IPP enabled version of libjpeg from Intel. 2390 http://bugzilla.maptools.org/show_bug.cgi?id=1951 2391 23922008-09-05 Andrey Kiselev <[email protected]> 2393 2394 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 2395 Required for libtiff 4.0. 2396 2397 * tools/tiffsplit.c: Use dynamically allocated array instead of static 2398 when constructing output file names. 2399 24002008-09-03 Andrey Kiselev <[email protected]> 2401 2402 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 2403 doing the filename/path construction. 2404 2405 * tools/tiff2pdf.c: More appropriate format string in 2406 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 2407 2408 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 2409 2410 http://bugzilla.maptools.org/show_bug.cgi?id=1929 2411 2412 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 2413 CVE-2008-2327 security issue. 2414 24152008-09-01 Frank Warmerdam <[email protected]> 2416 2417 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 2418 2419 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 2420 depending on whether the file is bigtiff or classic tiff. 2421 http://bugzilla.maptools.org/show_bug.cgi?id=1917 2422 24232008-08-12 Edward Lam <[email protected]> 2424 2425 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 2426 consistent (__int64) casting when testing if _lseeki64 has 2427 successfully seeked as requested. This is necessary for large 2428 file support to work since off_t is only 32-bit. 2429 24302008-07-29 Frank Warmerdam <[email protected]> 2431 2432 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 2433 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 2434 with control logic to return runtime errors (c/o Even Rouault) (#1927). 2435 24362008-06-17 Frank Warmerdam <[email protected]> 2437 2438 * tools/tiffcrop.c: Fix some portability problems. 2439 2440 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 2441 used in tif_jpeg.c. 2442 2443 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 2444 as TIFFOpen(). 2445 24462008-06-01 Frank Warmerdam <[email protected]> 2447 2448 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 2449 like Sparc/Solaris. 2450 http://bugzilla.maptools.org/show_bug.cgi?id=1892 2451 24522008-05-27 Frank Warmerdam <[email protected]> 2453 2454 * libtiff.def: Add TIFFFindField 2455 http://bugzilla.maptools.org/show_bug.cgi?id=1891 2456 24572008-05-26 Frank Warmerdam <[email protected]> 2458 2459 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 2460 2461 * li2008-04-15 Andrey Kiselev <[email protected]> 2462 2463btiff/tif_win32.c: Replace custom Win32 memory api with generic 2464 POSIX one. No apparent value to use of GlobalAlloc() in the modern 2465 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 2466 2467 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 2468 in windows version (care of Edward Lam). 2469 24702008-05-24 Frank Warmerdam <[email protected]> 2471 2472 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 2473 compression codec codes. 2474 2475 * tif_dirwrite.c: fix potential memory leak. 2476 2477 * tif_dirread.c: Fix unchecked malloc result. 2478 24792008-05-24 Bob Friesenhahn <[email protected]> 2480 2481 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 2482 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 2483 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 2484 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 2485 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 2486 suggestions from Lee Howard posted to the tiff list on 13 Sep 2487 2007. 2488 24892008-05-23 Frank Warmerdam <[email protected]> 2490 2491 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 2492 possible runtime problem reported by coverity. 2493 2494 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 2495 2496 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 2497 http://bugzilla.maptools.org/show_bug.cgi?id=1888 2498 2499 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 2500 2501 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 2502 2503 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 2504 Cleanup scanline allocation to avoid coverity warning. 2505 2506 * tools/thumbnail.c: Check for TIFFOpen() failure. 2507 25082008-05-18 Frank Warmerdam <[email protected]> 2509 2510 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 2511 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 2512 why this is needed. 2513 25142008-05-09 Bob Friesenhahn <[email protected]> 2515 2516 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 2517 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 2518 25192008-04-15 Andrey Kiselev <[email protected]> 2520 2521 * test/: Test suite updated. Everything is passed now. 2522 2523 * libtiff/tif_dirinfo.c: Fixed description of the 2524 TIFFTAG_NUMBEROFINKS tag. 2525 25262008-04-14 Andrey Kiselev <[email protected]> 2527 2528 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 2529 Get rid of some of "dereferencing type-punned" warnings by converting 2530 tdir_offset field of TIFFDirEntry structure into union. 2531 25322008-04-10 Andrey Kiselev <[email protected]> 2533 2534 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 2535 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 2536 from the public interface. Type of its 'count' parameter changed 2537 from uint32 to tmsize_t. 2538 2539 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 2540 of the tiff structure have the size_t type instead of uint32. 2541 25422008-04-09 Andrey Kiselev <[email protected]> 2543 2544 * tools/tiffdump.c: Added support for MSVS 6.0. 2545 2546 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 2547 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 2548 point values on MSVS 6.0 platform. 2549 25502008-03-14 Frank Warmerdam <[email protected]> 2551 2552 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 2553 TIFFReadDirEntryArray() since they are interfering with seemingly 2554 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 2555 25562008-02-09 Joris Van Damme <[email protected]> 2557 2558 * tif_dirread.c: Added handling for the case of number of values for 2559 PageNumber tag different from 2 (previously resulted in an assert 2560 indicating lack of handling and was forgotten about) 2561 25622008-02-01 Frank Warmerdam <[email protected]> 2563 2564 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 2565 the actual jpeg data stream if the first strip/tile has zero size. 2566 This is the case when GDAL creates a new file with zero sizes, closes 2567 and reopens it. 2568 25692008-01-07 Frank Warmerdam <[email protected]> 2570 2571 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 2572 25732008-01-01 Frank Warmerdam <[email protected]> 2574 2575 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 2576 2577 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 2578 targets. 2579 2580 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 2581 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 2582 (x64). 2583 2584 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 2585 and TIFFFieldWithName() now return TIFFField pointers instead of 2586 TIFFFieldInfo pointers. 2587 2588 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 2589 exist. This makes it compile again on Windows 2590 2591 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 2592 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 2593 2594 * test/rewrite_tag.c: New test for TIFFRewriteField(). 2595 25962007-12-31 Frank Warmerdam <[email protected]> 2597 2598 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 2599 rewrites one field "on disk" updating an existing directory 2600 entry. Lots of limitations still... 2601 2602 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 2603 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 2604 the strip offset/size values are dirty but nothing else about the 2605 directory is dirty. In flush handle "just stripmaps dirty" as a 2606 special case that just rewrites these values without otherwise 2607 modifying the directory on disk using TIFFRewriteField(). 2608 2609 We also modify logic so that in update mode the directory is not 2610 marked dirty on read, but only when something is changed. This 2611 means we need to keep track of updates to the stripmap stuff in 2612 TIFFAppendToStrip(). 2613 26142007-12-10 Frank Warmerdam <[email protected]> 2615 2616 * tif_jpeg.c: Improve ability to switch between encoding and decoding 2617 in the jpeg code (gdal bug #2033). 2618 26192007-11-23 Frank Warmerdam <[email protected]> 2620 2621 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 2622 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 2623 rawcp/rawcc buffer are for writing and thus may require flushing. 2624 Necessary to distinguish whether they need to be written to disk when 2625 in mixed read/write mode and doing a mixture of writing followed by 2626 reading. http://trac.osgeo.org/gdal/ticket/1758 2627 26282007-11-23 Andrey Kiselev <[email protected]> 2629 2630 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 2631 from Alexey Chupahin. 2632 26332007-11-02 Frank Warmerdam <[email protected]> 2634 2635 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 2636 establishing if an existing tile can be rewritten to the same location 2637 by comparing the current size to all the other blocks in the same 2638 directory. This is dangerous in many situations and can easily 2639 corrupt a file. (observed in esoteric GDAL situation that's hard to 2640 document). This change involves leaving the stripbytecount[] values 2641 unaltered till TIFFAppendToStrip(). Now we only write a block back 2642 to the same location it used to be at if the new data is the same 2643 size or smaller - otherwise we move it to the end of file. 2644 2645 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 2646 data when writing the directory just because we have BEENWRITING at 2647 some point in the past. This was causing odd junk to be written out 2648 in a tile of data when a single tile had an interleaving of reading 2649 and writing with reading last. (highlighted by gdal 2650 autotest/gcore/tif_write.py test 7. 2651 2652 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 2653 modifying callers buffer. 2654 http://trac.osgeo.org/gdal/ticket/1965 2655 2656 * tif_predict.c/h: more fixes related to last item, keeping a 2657 distinct pfunc for encode and decode cases as these were getting 2658 mixed up sometimes. 2659 http://trac.osgeo.org/gdal/ticket/1948 2660 26612007-11-01 Frank Warmerdam <[email protected]> 2662 2663 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 2664 predictor based encoding and decoding works in read-write update 2665 mode properly. 2666 http://trac.osgeo.org/gdal/ticket/1948 2667 26682007-10-24 Joris Van Damme <[email protected]> 2669 2670 * tif_dirread.c: Fixed problem with bogus file triggering 2671 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 2672 ChopUpSingleUncompressedStrip 2673 26742007-10-22 Joris Van Damme <[email protected]> 2675 2676 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 2677 at best, access violation at worst, when subsampled JPEG compressed imagery 2678 is decoded without the JPEG_COLORMODE feature 2679 26802007-10-11 Frank Warmerdam <[email protected]> 2681 2682 * html/index.html: Update "people responsible" section. 2683 26842007-10-05 Frank Warmerdam <[email protected]> 2685 2686 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 2687 as reported on the mailing list. 2688 26892007-10-01 Joris Van Damme <[email protected]> 2690 2691 * changed some more incorrect %lud printf flags to %lu 2692 26932007-09-29 Joris Van Damme <[email protected]> 2694 2695 * tif_dirread.c: Strip chopping interfered badly with uncompressed 2696 subsampled images because it tried to divide subsampled rowblocks, 2697 leading to all sorts of errors throughout the library for these 2698 images. Fixed by making strip chopping divide in row counts that 2699 are a multiple of vertical subsampling value. 2700 27012007-09-28 Joris Van Damme <[email protected]> 2702 2703 * tif_dirread.c: Logical cast working around compiler warning 2704 2705 * tif_read.c: Correction of some error flags and parameter lists 2706 27072007-09-27 Joris Van Damme <[email protected]> 2708 2709 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 2710 when dealing with large bitspersample values, shutting up purification 2711 tools that warn about truncation, though it remains incorrect and 2712 indicates a conceptual problem there. 2713 2714 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 2715 of first IFD) to proper place because it badly interfered with memory 2716 mapping, resulting in mapping flag even with dummy mapping functions 2717 that returned 0 whilst at the same time the mapping tif_size wasn't 2718 set, thus resulting in continuous incorrect beyond-eof errors. 2719 27202007-09-24 Joris Van Damme <[email protected]> 2721 2722 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 2723 inconsistent use of const in tiffFields and exifFields definition 2724 27252007-09-20 Frank Warmerdam <[email protected]> 2726 2727 * tif_dirwrite.c: Always write tile/strip offsets and sizes 2728 using LONG8 type when output format is BigTIFF. The 2729 TIFFWriteDirectoryTagLongLong8Array() function was restructured 2730 accordingly. 2731 2732 * tif_dirread.c: Improvements to error reporting text in 2733 TIFFFetchDirectory(). 2734 27352007-09-19 Bob Friesenhahn <[email protected]> 2736 2737 * test/images: Added a small collection of test images for use by 2738 test programs and scripts. 2739 * test/tiffinfo.sh: A trivial example test script. 2740 * test/common.sh: Added small script for setting the environment 2741 used by script-based tests. 2742 27432007-08-24 Frank Warmerdam <[email protected]> 2744 2745 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 2746 zero when writing directory contents to preserve the ability to 2747 rewrite directories in place, even in the middle of a directory 2748 chain. 2749 2750 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 2751 definitions that are missing. Existing definitions are silently 2752 ignored. 2753 2754 * tif_dirread.c: Add runtime error for fields for which no definition 2755 is found (in addition to an assert for developers) in 2756 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 2757 prudent. 2758 27592007-08-10 Joris Van Damme <[email protected]> 2760 2761 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 2762 from _TIFFRGBAImage structure to revert unwanted ABI change. 2763 27642007-08-10 Joris Van Damme <[email protected]> 2765 2766 * libtiff/tif_win32.c: use SetFilePointer instead of 2767 SetFilePointerEx, as per bug 2768 2769 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 2770 27712007-07-19 Andrey Kiselev <[email protected]> 2772 2773 * libtiff/tif_stream.cxx: Put all callback functions declarations 2774 inside extern "C" block. 2775 2776 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 2777 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 2778 formatter instead of "%lld" with MSVC compiler. 2779 2780 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 2781 _TIFFUInt64ToDouble() functions. 2782 27832007-07-18 Andrey Kiselev <[email protected]> 2784 2785 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 2786 integer constants. 2787 2788 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 2789 remove tif_config.h/tiffconf.h during cleaning. As per bug 2790 2791 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 2792 2793 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 2794 2795 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 2796 27972007-07-13 Andrey Kiselev <[email protected]> 2798 2799 * libtiff 4.0.0alpha released. 2800 28012007-07-12 Andrey Kiselev <[email protected]> 2802 2803 * tools/tiff2pdf.c: Added missed extern optind as per bug 2804 2805 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 2806 2807 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 2808 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 2809 extending scheme completed. 2810 28112007-07-11 Bob Friesenhahn <[email protected]> 2812 2813 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 2814 use standard C++ library size types and attempt to detect overflow 2815 cases. 2816 28172007-07-08 Andrey Kiselev <[email protected]> 2818 2819 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 2820 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 2821 tag extending scheme. Use the new scheme everywhere. 2822 2823 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 2824 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 2825 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 2826 TIFFFIeldInfo structure replaced with TIFFField structure. 2827 TIFFFieldInfo retained for the backward compatibility. 2828 28292007-07-05 Bob Friesenhahn <[email protected]> 2830 2831 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 2832 defined. 2833 28342007-07-04 Andrey Kiselev <[email protected]> 2835 2836 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 2837 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 2838 removed. 2839 2840 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 2841 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 2842 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 2843 These tags are not codec-specific and relate to image content, so 2844 process them as other normal tags. 2845 2846 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 2847 public tiffio.h to private tif_dir.h. 2848 2849 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 2850 outdated. 2851 28522007-07-03 Andrey Kiselev <[email protected]> 2853 2854 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 2855 tif_win3.c}: Obsoleted portability stuff removed. 2856 2857 * tools/tiff2ps.c: Added support 16-bit images as per bug 2858 2859 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 2860 2861 Patch from William Bader. 2862 2863 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 2864 significant upgrade of the whole utility as per bug 2865 2866 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 2867 2868 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 2869 PDF file using TIFFClientOpen() machinery as it is implemented 2870 by Leon Bottou. 2871 28722007-06-26 Bob Friesenhahn <[email protected]> 2873 2874 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 2875 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 2876 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 2877 allow returning -1 for errors. 2878 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 2879 28802007-06-25 Bob Friesenhahn <[email protected]> 2881 2882 * port/strtoull.c: New porting function in case strtoull() is not 2883 available on the target system. 2884 * configure.ac: Add configure support for determining sized types 2885 in a portable way and performing necessary substitutions in 2886 tif_config.h and tiffconf.h. Updated tiff.h to use the new 2887 definitions. 2888 28892007-04-27 Andrey Kiselev <[email protected]> 2890 2891 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 2892 2893 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 2894 28952007-04-07 Andrey Kiselev <[email protected]> 2896 2897 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 2898 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 2899 tif_predict.c, tif_zip.c}: Finally fix bug 2900 2901 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 2902 2903 by introducing _TIFFMergeFieldInfo() returning integer error status 2904 instead of void in case of problems with field merging (e.g., if the 2905 field with such a tag already registered). TIFFMergeFieldInfo() in 2906 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 2907 check returned value. 2908 29092007-04-07 Frank Warmerdam <[email protected]> 2910 2911 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 2912 blocks in TIFF_DownSample_Subsampled() (bug 1542). 2913 29142007-04-06 Frank Warmerdam <[email protected]> 2915 2916 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 2917 will convert from decompressor to compressor or compress to decompress 2918 if required by the force arguments. This works around a problem in 2919 where the JPEGFixupTestSubsampling() may cause a decompressor to 2920 be setup on a directory when later a compressor is required with the 2921 force flag set. Occurs with the addtiffo program for instance. 2922 29232007-04-06 Andrey Kiselev <[email protected]> 2924 2925 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 2926 functionality from Richard Nolde. As per bug 2927 2928 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 2929 29302007-03-28 Frank Warmerdam <[email protected]> 2931 2932 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 2933 29342007-03-17 Joris Van Damme <[email protected]> 2935 2936 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 2937 29382007-03-07 Joris Van Damme <[email protected]> 2939 2940 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 2941 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 2942 factor. This bug is mentioned in: 2943 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 2944 http://www.asmail.be/msg0054766825.html 2945 29462007-03-07 Joris Van Damme <[email protected]> 2947 2948 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 2949 2950 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 2951 unused arguments by standard C indication for the same 2952 29532007-02-27 Andrey Kiselev <[email protected]> 2954 2955 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 2956 counters in TIFFFetchData(). Should finally fix the issue 2957 2958 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 2959 29602007-02-24 Andrey Kiselev <[email protected]> 2961 2962 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 2963 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 2964 2965 * libtiff/tif_dirread.c: Added special function to handle 2966 SubjectDistance EXIF tag as per bug 2967 2968 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 2969 2970 * tools/tiff2pdf.c: Do not assume inches when the resolution units 2971 do not specified. As per bug 2972 2973 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 2974 2975 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 2976 it was set as infinite. As per bug 2977 2978 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 2979 2980 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 2981 by Richard Nolde. As per bug 2982 2983 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 2984 29852007-02-22 Andrey Kiselev <[email protected]> 2986 2987 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 2988 ExtraSamples == 999 produced by Corel Draw. As per bug 2989 2990 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 2991 2992 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 2993 changed from tsize_t to uint32 to be able to work with data arrays 2994 larger than 2GB. Fixes bug 2995 2996 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 2997 2998 Idea submitted by Matt Hancher. 2999 30002007-01-31 Andrey Kiselev <[email protected]> 3001 3002 * tools/tif2rgba.c: This utility does not work properly on big-endian 3003 architectures. It was fixed including the bug 3004 3005 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 3006 30072007-01-15 Mateusz Loskot <[email protected]> 3008 3009 * Submitted libtiff port for Windows CE platform 3010 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 3011 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 3012 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 3013 functons from tif_win32.c. 3014 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 3015 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 3016 standard header files for Windows CE build. 3017 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 3018 30192006-11-19 Frank Warmerdam <[email protected]> 3020 3021 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 3022 we move a strip. 3023 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 3024 30252006-10-13 Andrey Kiselev <[email protected]> 3026 3027 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 3028 in Gentoo bug (): 3029 3030 http://bugs.gentoo.org/show_bug.cgi?id=142383 3031 3032 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 3033 Though it is still far from the state of being working and useful. 3034 30352006-10-12 Andrey Kiselev <[email protected]> 3036 3037 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 3038 method. 3039 3040 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 3041 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 3042 3043 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 3044 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 3045 3046 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 3047 vulnerabilities, reported in Gentoo bug (): 3048 3049 http://bugs.gentoo.org/show_bug.cgi?id=142383 3050 30512006-09-28 Andrey Kiselev <[email protected]> 3052 3053 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 3054 vulnerabilities, as per Gentoo bug (): 3055 3056 http://bugs.gentoo.org/show_bug.cgi?id=142383 3057 30582006-09-27 Frank Warmerdam <[email protected]> 3059 3060 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 3061 encoding and decoding on the same read-write TIFF handle. The LZW 3062 code can now maintain encode and decode state at the same time. The 3063 ZIP code will switch back and forth as needed. 3064 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 3065 30662006-09-20 Frank Warmerdam <[email protected]> 3067 3068 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 3069 tif_config.vc.h for easier identification by folks using an IDE. 3070 30712006-07-25 Frank Warmerdam <[email protected]> 3072 3073 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 3074 30752006-07-19 Frank Warmerdam <[email protected]> 3076 3077 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 3078 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 3079 to bug report by Peng Gao with black strip at bottom of images. 3080 30812006-07-12 Frank Warmerdam <[email protected]> 3082 3083 * tif_dirwrite.c: make sure to use uint32 for wordcount in 3084 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 3085 It already seems to have been done for other field types. Needed 3086 for "tiffset" on files with geotiff ascii text. 3087 30882006-07-04 Bob Friesenhahn <[email protected]> 3089 3090 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 3091 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 3092 its use does not appear to be required, so use it only when it is 3093 available. 3094 30952006-06-24 Andrey Kiselev <[email protected]> 3096 3097 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 3098 3099 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 3100 function TIFFFetchDirectory() avoiding code duplication in 3101 TIFFReadDirectory() and TIFFReadCustomDirectory(). 3102 31032006-06-19 Frank Warmerdam <[email protected]> 3104 3105 * tools/tiff2pdf.c: Fix handling of -q values. 3106 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 3107 31082006-06-17 Frank Warmerdam <[email protected]> 3109 3110 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 3111 files. Modified TIFFReadDirectory() to not invoke 3112 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 3113 but one of them is zero. 3114 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 3115 31162006-06-08 Andrey Kiselev <[email protected]> 3117 3118 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 3119 checking code in the separate function TIFFCheckDirOffset(). 3120 3121 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 3122 3123 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 3124 3125 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 3126 3127 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 3128 3129 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 3130 3131 * tools/tiff2pdf.c: Fixed buffer overflow condition in 3132 t2p_write_pdf_string() as per bug 3133 3134 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 3135 31362006-06-07 Andrey Kiselev <[email protected]> 3137 3138 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 3139 support for JBIG compression scheme (34661 code) contributed by Lee 3140 Howard. As per bug 3141 3142 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 3143 3144 * configure, configure.ac: OJPEG support enabled by default. 3145 3146 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 3147 31482006-06-03 Bob Friesenhahn <[email protected]> 3149 3150 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 3151 TIFFPrintDirectory(). Joris Van Damme authored the fix. 3152 31532006-04-21 Andrey Kiselev <[email protected]> 3154 3155 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 3156 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 3157 3158 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 3159 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 3160 Added support for OpenVMS by Alexey Chupahin, [email protected]. 3161 31622006-04-20 Andrey Kiselev <[email protected]> 3163 3164 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 3165 Properly set the binary mode for stdin stream as per bug 3166 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 3167 3168 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 3169 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 3170 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 3171 tiffset.1}: Improvements in page formatting as per bug 3172 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 3173 3174 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 3175 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 3176 31772006-04-18 Frank Warmerdam <[email protected]> 3178 3179 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 3180 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 3181 31822006-04-12 Joris Van Damme <[email protected]> 3183 3184 * libtiff/tif_getimage.c: Added support for planarconfig separate 3185 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 3186 31872006-04-11 Joris Van Damme <[email protected]> 3188 3189 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 3190 - Conversion of unassociated alpha to associated alpha now done with 3191 more performant LUT, and calculation more correct 3192 - Conversion of 16bit data to 8bit data now done with 3193 more performant LUT, and calculation more correct 3194 - Bugfix of handling of 16bit RGB with unassociated alpha 3195 31962006-04-11 Joris Van Damme <[email protected]> 3197 3198 * libtiff/tif_getimage.c: 3199 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 3200 buffer for alpha strile and filled it, only to never read it back. 3201 Removed allocation and fill. 3202 - Minor rename of vars in gtTileSeparate and gtStripSeparate 3203 anticipating planned functionality extension 3204 32052006-04-08 Joris Van Damme <[email protected]> 3206 3207 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 3208 and pickTileSeparateCase to PickSeparateCase as both work on strips as 3209 well 3210 3211 * libtiff/tif_getimage.c: moved img->get selection from 3212 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 3213 logical hook for planned functionality extension 3214 32152006-04-08 Joris Van Damme <[email protected]> 3216 3217 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 3218 of inappropriate use of jpeg_abort instead of jpeg_destroy 3219 32202006-04-07 Joris Van Damme <[email protected]> 3221 3222 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 3223 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 3224 on subsampled images - this ought to get sorted when we feel brave 3225 enough to replace TIFFScanlineSize alltogether 3226 3227 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 3228 32292006-04-04 Joris Van Damme <[email protected]> 3230 3231 * libtiff/tiffio.h: added new type tstrile_t 3232 3233 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 3234 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 3235 toff_t* 3236 3237 * libtiff/tif_ojpeg.c: totally new implementation 3238 3239 * libtiff/tif_dirread.c: added several hacks to suit new support of 3240 OJPEG 3241 3242 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 3243 of OJPEG images in favor of tif_getimage.c native handling of 3244 YCbCr and desubsampling 3245 32462006-03-29 Frank Warmerdam <[email protected]> 3247 3248 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 3249 interpretation causes the "upsampled" flag to be recomputed. Fixes 3250 peculiar bug where photometric flag had to be set before jpegcolormode 3251 flag. 3252 32532006-03-25 Joris Van Damme <[email protected]> 3254 3255 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 3256 3257 * libtiff/tif_strip.c: temporarilly added two new versions of 3258 TIFFScanlineSize 3259 - TIFFNewScanlineSize: proposed new version, after all related 3260 issues and side-effects are sorted out 3261 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 3262 This needs further sorting out. 3263 32642006-03-25 Joris Van Damme <[email protected]> 3265 3266 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 3267 of last truncated strip data to TIFFWriteEncodedStrip 3268 32692006-03-25 Joris Van Damme <[email protected]> 3270 3271 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 3272 32732006-03-25 Joris Van Damme <[email protected]> 3274 3275 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 3276 3277 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 3278 3279 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 3280 prepare the path for new tif_ojpeg.c 3281 32822006-03-23 Andrey Kiselev <[email protected]> 3283 3284 * libtiff 3.8.2 released. 3285 3286 * tools/Makefile.am: Use runtime paths linker flags when rpath 3287 option enabled. 3288 32892006-03-21 Andrey Kiselev <[email protected]> 3290 3291 * libtiff/libtiff.def: Added missed exports as per bug 3292 http://bugzilla.remotesensing.org/attachment.cgi?id=337 3293 3294 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 3295 tools/Makefile.vc: Makefiles improvements as per bug 3296 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 3297 3298 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 3299 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 3300 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 3301 3302 * libtiff/tif_strip.c: Take subsampling in account when calculating 3303 TIFFScanlineSize(). 3304 3305 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 3306 33072006-03-17 Andrey Kiselev <[email protected]> 3308 3309 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 3310 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 3311 3312 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 3313 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 3314 33152006-03-16 Andrey Kiselev <[email protected]> 3316 3317 * libtiff/tiffiop.h: Added decalration for 3318 _TIFFSetDefaultCompressionState(). 3319 3320 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 3321 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 3322 codec cleanup methods. As per bug 3323 3324 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 3325 33262006-03-15 Andrey Kiselev <[email protected]> 3327 3328 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 3329 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 3330 3331 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 3332 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 3333 3334 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 3335 removed; move here the STRIP_SIZE_DEFAULT macro definition. 3336 3337 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 3338 macro definition. 3339 3340 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 3341 33422006-03-14 Andrey Kiselev <[email protected]> 3343 3344 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 3345 in TIFFReadDirectory, because it is always set at the start of 3346 function and we allow TIFFs without that tag set. 3347 33482005-03-13 Andrey Kiselev <[email protected]> 3349 3350 * libtiff 3.8.1 released. 3351 33522006-03-07 Andrey Kiselev <[email protected]> 3353 3354 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 3355 function as per bug 3356 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3357 3358 * libtiff/tif_dirread.c: More wise check for integer overflow 3359 condition as per bug 3360 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3361 3362 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 3363 Properly restore setfield/getfield methods in cleanup functions. As 3364 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3365 33662006-03-03 Andrey Kiselev <[email protected]> 3367 3368 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 3369 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 3370 3371 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 3372 TIFFPredictorCleanup() in codec cleanup methods. As per bug 3373 3374 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3375 3376 * libtiff/tif_dirread.c: Fixed integer overflow condition in 3377 TIFFFetchData() function. As per bug 3378 3379 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3380 33812006-03-01 Andrey Kiselev <[email protected]> 3382 3383 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 3384 TIFFSetField() method, not directly. As per bug 3385 3386 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 3387 3388 * tools/ppm2tiff.c: Added support for PBM files as per bug 3389 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 3390 33912006-02-27 Andrey Kiselev <[email protected]> 3392 3393 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 3394 to avoid crash as per bug 3395 3396 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 3397 33982006-02-26 Andrey Kiselev <[email protected]> 3399 3400 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 3401 t2p_sample_rgba_to_rgb() was used in place of each other, that was 3402 resulted in problems with RGBA images with associated alpha. 3403 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 3404 34052006-02-23 Andrey Kiselev <[email protected]> 3406 3407 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 3408 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 3409 3410 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 3411 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 3412 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 3413 3414 * tools/tiff2ps.c: Properly scale all the pages when converting 3415 multipage TIFF with /width/height/center options set. As per bug 3416 3417 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 3418 34192006-02-15 Andrey Kiselev <[email protected]> 3420 3421 * tools/tiff2pdf.c: Do not create output file until all option checks 3422 will be done. As per bug 3423 3424 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 3425 3426 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 3427 list of input files as per bug: 3428 3429 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 3430 34312006-02-09 Andrey Kiselev <[email protected]> 3432 3433 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 3434 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 3435 3436 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 3437 TIFFRGBAImage interface. 3438 3439 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 3440 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 3441 34422006-02-07 Frank Warmerdam <[email protected]> 3443 3444 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 3445 compressed TIFF files, per submission from Dan Cobra. 3446 34472006-02-07 Andrey Kiselev <[email protected]> 3448 3449 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 3450 cast values to avoid warnings. As per bug 3451 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 3452 3453 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 3454 appropriate. As per bug 3455 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 3456 3457 * libtiff/tif_aux.c: Fixed type of temporary variable in 3458 _TIFFCheckMalloc() as per bug 3459 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 3460 34612006-02-06 Andrey Kiselev <[email protected]> 3462 3463 * libtiff/tif_aux.c: Return static array when fetching default 3464 YCbCrCoefficients (another problem, reported a the 3465 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 3466 34672006-02-03 Andrey Kiselev <[email protected]> 3468 3469 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 3470 YCbCrSubsampling and DotRange tags as per bugs 3471 3472 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 3473 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 3474 3475 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 3476 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 3477 3478 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 3479 34802006-01-23 Andrey Kiselev <[email protected]> 3481 3482 * libtool related stuff updated from the 2.1a branch. 3483 34842006-01-11 Frank Warmerdam <[email protected]> 3485 3486 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 3487 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 3488 properly as per bug: 3489 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 3490 34912006-01-09 Bob Friesenhahn <[email protected]> 3492 3493 * configure.ac: Fix with_default_strip_size comparison as reported 3494 by Norihiko Murase. 3495 34962006-01-08 Bob Friesenhahn <[email protected]> 3497 3498 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 3499 incorrectly, tests were not actually testing the uninstalled 3500 libtiff. Now they are. 3501 35022006-01-04 Andrey Kiselev <[email protected]> 3503 3504 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 3505 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 3506 should be uint32 value. 3507 35082006-01-02 Bob Friesenhahn <[email protected]> 3509 3510 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 3511 be used if build directory is not the same as source directory. 3512 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 3513 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 3514 and re-sorted tag names in alphabetical order. 3515 35162005-12-29 Andrey Kiselev <[email protected]> 3517 3518 * libtiff 3.8.0 released. 3519 35202005-12-28 Bob Friesenhahn <[email protected]> 3521 3522 * tools/bmp2tiff.c (main): Fixed warning regarding returning 3523 inconsistent types from a condition. 3524 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 3525 format. 3526 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 3527 35282005-12-28 Joris Van Damme <[email protected]> 3529 3530 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 3531 35322005-12-27 Andrey Kiselev <[email protected]> 3533 3534 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 3535 windows.h, to reduce the compile time. 3536 35372005-12-26 Bob Friesenhahn <[email protected]> 3538 3539 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 3540 35412005-12-26 Andrey Kiselev <[email protected]> 3542 3543 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 3544 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 3545 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 3546 private functions to retrieve FieldInfo arrays. 3547 35482005-12-24 Bob Friesenhahn <[email protected]> 3549 3550 * html/build.html: Added some additional instructions for when 3551 building using MSVC under Windows. Also fixed two HTML syntax 3552 errors and used HTML Tidy to tidy up the HTML syntax and 3553 formatting. 3554 35552005-12-24 Andrey Kiselev <[email protected]> 3556 3557 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 3558 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 3559 StoNits tags custom. 3560 35612005-12-23 Andrey Kiselev <[email protected]> 3562 3563 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 3564 WhitePoint tag custom. 3565 3566 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 3567 35682005-12-23 Joris Van Damme <[email protected]> 3569 3570 * libtiff/tiffio.h: fixed typo that potentially resulted in 3571 redefininition of USE_WIN32_FILEIO 3572 3573 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 3574 calls in core LibTiff. 3575 35762005-12-21 Andrey Kiselev <[email protected]> 3577 3578 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 3579 Photoshop and ICCProfile tags custom. 3580 35812005-12-21 Joris Van Damme <[email protected]> 3582 3583 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 3584 newer code to get context indicator in error handler and still 3585 remain compatible with older code: Done TIFFError calls everywhere 3586 except in tools 3587 35882005-12-20 Andrey Kiselev <[email protected]> 3589 3590 * tools/tiffcp.c: Added many error reporting messages; fixed integer 3591 overflow as per bug 3592 3593 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 3594 35952005-12-16 Frank Warmerdam <[email protected]> 3596 3597 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 3598 YCbCr images in jpeg compressed TIFF files. 3599 36002005-12-14 Andrey Kiselev <[email protected]> 3601 3602 * tools/tiffcp.c: Return non-zero status when reading fails (again). 3603 36042005-12-13 Andrey Kiselev <[email protected]> 3605 3606 * tools/tiffcp.c: Return non-zero status when reading fails. 3607 36082005-12-12 Andrey Kiselev <[email protected]> 3609 3610 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 3611 36122005-12-09 Andrey Kiselev <[email protected]> 3613 3614 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 3615 custom. 3616 3617 * tools/tiffinfo.c: Print EXIF directory contents if exist. 3618 3619 * libtiff/tiff.h: Few EXIF tag numbers added. 3620 3621 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 3622 tiffio.h}: Preliminary support to read custom directories. New 3623 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 3624 36252005-12-07 Andrey Kiselev <[email protected]> 3626 3627 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 3628 More work to implement custom directory read support. 3629 3630 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 3631 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 3632 tags custom. 3633 36342005-12-05 Andrey Kiselev <[email protected]> 3635 3636 * libtiff/tif_dirread.c: One more workaround for broken 3637 StripByteCounts tag. Handle the case when StripByteCounts array filled 3638 with completely wrong values. 3639 36402005-11-30 Andrey Kiselev <[email protected]> 3641 3642 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 3643 in the TIFFOpenW() function as per bug 3644 3645 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 3646 3647 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 3648 functions as per bug 3649 3650 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 3651 36522005-11-20 Frank Warmerdam <[email protected]> 3653 3654 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 3655 for MS MDI format. 3656 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 3657 3658 * .cvsignore: many files added, and a few update according 3659 to suggestion of Brad HArds on tiff mailing list. 3660 36612005-11-03 Frank Warmerdam <[email protected]> 3662 3663 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 3664 public. 3665 36662005-10-31 Andrey Kiselev <[email protected]> 3667 3668 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 3669 as per bug 3670 3671 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 3672 3673 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 3674 as per bug 3675 3676 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 3677 3678 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 3679 problem as per bug 3680 3681 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 3682 3683 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 3684 3685 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 3686 3687 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 3688 ResolutionUnit tags modifiable during write process. As per bug 3689 3690 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 3691 3692 * tools/tiffsplit.c: Copy fax related fields over splitted parts 3693 as per bug 3694 3695 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 3696 36972005-10-21 Frank Warmerdam <[email protected]> 3698 3699 * tif_dirread.c: Don't try and split single strips into "0" strips 3700 in ChopUpSingleUncompressedStrip. This happens in some degenerate 3701 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 3702 37032005-10-20 Joris Van Damme <[email protected]> 3704 3705 * tif_fax3.c: changed 'at scanline ...' style warning/errors 3706 with incorrect use of tif_row, to 'at line ... of 3707 strip/tile ...' style 3708 37092005-10-15 Frank Warmerdam <[email protected]> 3710 3711 * tif_write.c: fixed setting of planarconfig as per bug report 3712 on the mailing list from Joris. 3713 37142005-10-07 Andrey Kiselev <[email protected]> 3715 3716 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 3717 tif_dirread.c}: Make the default strip size configurable via the 3718 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 3719 37202005-09-30 Bob Friesenhahn <[email protected]> 3721 3722 * html/support.html: Fixed link to documentation on Greg Ward's 3723 LogLuv TIFF format. 3724 37252005-09-28 Andrey Kiselev <[email protected]> 3726 3727 * tools/tiffdump.c: Fixed crash when reading malformed tags. 3728 37292005-09-20 Andrey Kiselev <[email protected]> 3730 3731 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 3732 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 3733 37342005-09-12 Andrey Kiselev <[email protected]> 3735 3736 * libtiff 3.7.4 released. 3737 3738 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 3739 from Patrick Welche (all scripts moved in the 'config' and 'm4' 3740 directories). 3741 37422005-09-12 Frank Warmerdam <[email protected]> 3743 3744 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 3745 37462005-09-05 Frank Warmerdam <[email protected]> 3747 3748 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 3749 also set it to NULL to avoid double free when re-setting custom 3750 string fields as per: 3751 3752 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 3753 37542005-08-12 Frank Warmerdam <[email protected]> 3755 3756 * libtiff/tif_print.c: avoid signed/unsigned warning. 3757 3758 * libtiff/tif_dirread.c: removed unused variable. 3759 37602005-07-30 Frank Warmerdam <[email protected]> 3761 3762 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 3763 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 3764 pass on bigendian (macosx) system. 3765 37662005-07-28 Andrey Kiselev <[email protected]> 3767 3768 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 3769 CheckMalloc() function to _TIFFCheckMalloc() and make it available 3770 globally as an internal helper routine. 3771 37722005-07-27 Andrey Kiselev <[email protected]> 3773 3774 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 3775 the custom tags handling code. 3776 37772005-07-26 Andrey Kiselev <[email protected]> 3778 3779 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 3780 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 3781 function, use TIFFFetchNormalTag() instead as per bug 3782 3783 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 3784 3785 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 3786 instead. 3787 3788 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 3789 3790 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3791 37922005-07-25 Andrey Kiselev <[email protected]> 3793 3794 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 3795 3796 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 3797 37982005-07-21 Andrey Kiselev <[email protected]> 3799 3800 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 3801 the TIFFWriteCheck() function in case of single band images (as per 3802 TIFF spec). 3803 38042005-07-12 Andrey Kiselev <[email protected]> 3805 3806 * SConstruct, libtiff/SConstruct: Added the first very preliminary 3807 support for SCons software building tool (http://www.scons.org/). 3808 This is experimental infrastructure and it will exist along with the 3809 autotools mechanics. 3810 38112005-07-07 Andrey Kiselev <[email protected]> 3812 3813 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 3814 the NetBSD source tree (the old 4-clause BSD license changed to 3815 the new 3-clause one). 3816 3817 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 3818 replacement module. 3819 3820 * port/dummy.c: Make the dummy function static. 3821 38222005-07-06 Andrey Kiselev <[email protected]> 3823 3824 * tools/tiffcp.c: Fixed WhitePoint tag copying. 3825 3826 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 3827 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 3828 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 3829 38302005-07-04 Andrey Kiselev <[email protected]> 3831 3832 * libtiff 3.7.3 released. 3833 3834 * configure, configure.ac: Do not use empty -R option when linking 3835 with --enable-rpath. 3836 38372005-07-01 Andrey Kiselev <[email protected]> 3838 3839 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 3840 reading the first IFD when needed. As per bug 3841 3842 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 3843 3844 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 3845 effects. 3846 38472005-06-23 Andrey Kiselev <[email protected]> 3848 3849 * tools/tiff2pdf.c: Print two characters per loop in the 3850 t2p_write_pdf_trailer(). As per bug 3851 3852 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 3853 3854 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 3855 per bug 3856 3857 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 3858 3859 * acinclude.m4: Updated to latest OpenGL test macros versions. 3860 3861 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 3862 platform. As per bug 3863 3864 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 3865 38662005-06-14 Andrey Kiselev <[email protected]> 3867 3868 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 3869 and YClipPathUnits tags. 3870 38712005-06-07 Andrey Kiselev <[email protected]> 3872 3873 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 3874 use pixel sized shift in contigous case. 3875 38762005-06-06 Andrey Kiselev <[email protected]> 3877 3878 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 3879 Make overviews working for contiguos images. 3880 38812005-06-03 Andrey Kiselev <[email protected]> 3882 3883 * libtiff/tif_open.c: Replace runtime endianess check with the compile 3884 time one. 3885 3886 * libtiff/tif_predict.c: Floating point predictor now works on 3887 big-endian hosts. 3888 38892005-06-01 Andrey Kiselev <[email protected]> 3890 3891 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 3892 ASCII values. 3893 3894 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 3895 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 3896 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 3897 TargetPrinter tags custom. 3898 3899 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 3900 TIFF_CODERSETUP flag (to fix memry leaks). 3901 3902 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 3903 allocating. 3904 39052005-05-26 Andrey Kiselev <[email protected]> 3906 3907 * configure.ac, libtiff/Makefile.am: Added workaround for 3908 OpenBSD/MirOS soname problem as per bug 3909 3910 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 3911 3912 * libtiff/tif_dirwrite.c: Use tdir_count when calling 3913 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 3914 per bug 3915 3916 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 3917 39182005-05-25 Andrey Kiselev <[email protected]> 3919 3920 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 3921 the fscanf() function. As per bug 3922 3923 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 3924 3925 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 3926 uint16 array when fetching the BYTE and SBYTE filds, so we should 3927 consider result as pointer to uint16 array and not as array of chars. 3928 As per bug 3929 3930 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 3931 3932 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 3933 3934 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 3935 3936 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 3937 mode in CreateFile() call as per bug 3938 3939 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 3940 3941 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 3942 libtiffxx libraries as per bug 3943 3944 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 3945 3946 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 3947 GDAL. 3948 39492005-05-23 Frank Warmerdam <[email protected]> 3950 3951 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 3952 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 3953 in directory. 3954 39552005-05-22 Frank Warmerdam <[email protected]> 3956 3957 * libtiff/tif_dirread.c: Changed the code that computes 3958 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 3959 zero. This is a common case with GDAL indicating a "null" tile/strip. 3960 39612005-05-17 Andrey Kiselev <[email protected]> 3962 3963 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 3964 39652005-05-06 Frank Warmerdam <[email protected]> 3966 3967 * libtiff/tif_dirread.c: Applied similar change to 3968 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 3969 3970 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 3971 3972 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 3973 39742005-05-06 Andrey Kiselev <[email protected]> 3975 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 3976 added new option '-b' to use interpolation in output PDF files (Bruno 3977 Ledoux). 3978 39792005-05-05 Frank Warmerdam <[email protected]> 3980 3981 * libtiff/tif_dirread.c: Ensure that broken files with too many 3982 values in PerSampleShorts work ok instead of crashing. 3983 3984 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 3985 39862005-04-27 Andrey Kiselev <[email protected]> 3987 3988 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 3989 input file. 3990 39912005-04-15 Andrey Kiselev <[email protected]> 3992 3993 * libtiff/tif_predict.c: Added ability to encode floating point 3994 predictor, as per TIFF Technical Note 3. 3995 39962005-04-14 Andrey Kiselev <[email protected]> 3997 3998 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 3999 floating point predictor, as per TIFF Technical Note 3. 4000 40012005-04-13 Andrey Kiselev <[email protected]> 4002 4003 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 4004 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 4005 swap 24-bit floating point values. 4006 4007 * libtiff/tiff.h: Added predictor constants. 4008 40092005-04-08 Andrey Kiselev <[email protected]> 4010 4011 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 4012 values in _TIFFVSetField() function. Inspired by the bug 4013 4014 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 4015 4016 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 4017 as per bug 4018 4019 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 4020 40212005-03-30 Andrey Kiselev <[email protected]> 4022 4023 * libtiff/tif_open.c: Do not read header in case the output file 4024 should be truncated (Ron). 4025 4026 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 4027 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 4028 4029 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 4030 40312005-03-22 Andrey Kiselev <[email protected]> 4032 4033 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 4034 rpath option. 4035 40362005-03-21 Andrey Kiselev <[email protected]> 4037 4038 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 4039 tags. 4040 40412005-03-18 Andrey Kiselev <[email protected]> 4042 4043 * libtiff/dirinfo.c: Added DNG tags. 4044 4045 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 4046 handling code. 4047 4048 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 4049 added DNG 1.1.0.0 tags. 4050 4051 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 4052 bug 4053 4054 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 4055 4056 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 4057 40582005-03-17 Andrey Kiselev <[email protected]> 4059 4060 * nmake.opt: Build with Win32 CRT library by default. 4061 4062 * tools/tiff2ps.c: Fixed typo in page size handling code. 4063 4064 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 4065 by value. 4066 4067 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 4068 40692005-03-15 Andrey Kiselev <[email protected]> 4070 4071 * libtiff 3.7.2 released. 4072 40732005-03-09 Andrey Kiselev <[email protected]> 4074 4075 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 4076 floating point data; complain on unsupported bit depths. 4077 40782005-03-05 Andrey Kiselev <[email protected]> 4079 4080 * tif_stream.cxx: Use ios namespace instead of ios_base to support 4081 GCC 2.95. 4082 4083 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 4084 Lee Howard for HylaFax DCS tag 4085 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 4086 40872005-03-04 Andrey Kiselev <[email protected]> 4088 4089 * configure, configure.ac: Use -rpath option instead of -R as per bug 4090 4091 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 4092 4093 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 4094 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 4095 software. As per bug 4096 4097 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 4098 4099 * nmake.opt, html/build.html: Add more comments, change the config 4100 file organization a bit as per bug 4101 4102 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 4103 4104 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 4105 as per bug 4106 4107 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 4108 41092005-03-03 Andrey Kiselev <[email protected]> 4110 4111 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 4112 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 4113 4114 * tools/fax2ps.c: Replace insecure mktemp() function with the 4115 tmpfile() as per bug 4116 4117 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 4118 41192005-02-04 Andrey Kiselev <[email protected]> 4120 4121 * libtiff/tiff.h: Changed the int8 definition to be always signed char 4122 as per bug 4123 4124 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 4125 4126 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 4127 block as per bug 4128 4129 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 4130 41312005-02-03 Bob Friesenhahn <[email protected]> 4132 4133 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 4134 display more correctly. Images display brighter than they should 4135 on a Sun workstation. 4136 41372005-02-03 Andrey Kiselev <[email protected]> 4138 4139 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 4140 suspicious values in the tags. As per bugs 4141 4142 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 4143 4144 and 4145 4146 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 4147 4148 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 4149 4150 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 4151 41522005-01-31 Bob Friesenhahn <[email protected]> 4153 4154 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 4155 (TIFFTAG_TILELENGTH): Corrected description. 4156 41572005-01-30 Andrey Kiselev <[email protected]> 4158 4159 * configure.ac: Fixes for --with-docdir option as per bug 4160 4161 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 4162 4163 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 4164 bug 4165 4166 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 4167 4168 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 4169 Michael Rinne and Edward Lam. 4170 41712005-01-15 Andrey Kiselev <[email protected]> 4172 4173 * configure.ac: Make the documentation directory location configurable 4174 via the --with-docdir option (as suggested by Jeremy C. Reed). 4175 4176 * libtiff/tif_color.c: Use double as the second argument of pow() 4177 function in TIFFCIELabToRGBInit(). As per bug 4178 4179 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 4180 4181 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 4182 integer as per bug 4183 4184 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 4185 4186 * libtiff/tif_getimage.c: Always fill the error message buffer in 4187 TIFFRGBAImageBegin() as per bug 4188 4189 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 4190 41912005-01-12 Andrey Kiselev <[email protected]> 4192 4193 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 4194 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 4195 tags as per bug 4196 4197 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 4198 4199 * libtiff/tif_win32.c: Fixed message formatting in functions 4200 Win32WarningHandler() and Win32ErrorHandler() as per bug 4201 4202 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 4203 4204 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 4205 per bug 4206 4207 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 4208 42092005-01-11 Andrey Kiselev <[email protected]> 4210 4211 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 4212 "C"' section as per bug 4213 4214 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 4215 4216 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 4217 compiler to avoid double definition of BSD types as per bug 4218 4219 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4220 4221 * libtiff/Makefile.am: Place the C++ stream API in the separate 4222 library called libtiffxx to avoid unneeded dependencies. Probably 4223 there will be more C++ API in the future. As per bugs 4224 4225 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 4226 4227 and 4228 4229 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 4230 42312005-01-05 Andrey Kiselev <[email protected]> 4232 4233 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 4234 wrong tag counts (Dmitry V. Levin, Martin Pitt). 4235 4236 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 4237 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 4238 42392004-12-25 Andrey Kiselev <[email protected]> 4240 4241 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 4242 RGB-images as per bug 4243 4244 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 4245 4246 4247 * tools/tiffset.c: Convert character option to integer value as per 4248 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 4249 42502004-12-20 Andrey Kiselev <[email protected]> 4251 4252 * libtiff 3.7.1 released. 4253 4254 * html/tiffset.1.html: Add missed manual page as per bug 4255 4256 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 4257 4258 * libtiff/tiff.h: Revert back libtiff data type definitions as per 4259 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 4260 42612004-12-19 Andrey Kiselev <[email protected]> 4262 4263 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 4264 checking for tag count in TIFFReadDirectory() function. As per bug 4265 4266 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 4267 4268 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 4269 CheckMallock() function. 4270 4271 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 4272 RGB-images as per bug 4273 4274 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 4275 42762004-12-15 Frank Warmerdam <[email protected]> 4277 4278 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 4279 SunPro compiler. 4280 42812004-12-11 Bob Friesenhahn <[email protected]> 4282 4283 * autogen.sh: aclocal and autoheader should be executed after 4284 libtoolize. Also add '-I .' to aclocal invocation to check 4285 current directory for macros. 4286 42872004-12-10 Andrey Kiselev <[email protected]> 4288 4289 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 4290 as per bugs 4291 4292 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 4293 4294 and 4295 4296 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 4297 42982004-12-04 Andrey Kiselev <[email protected]> 4299 4300 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 4301 4302 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 4303 4304 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 4305 mode as per bug 4306 4307 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 4308 4309 * libtiff/tif_config.in.vc: Removed unneded definitions for 4310 read/open/close/lseek functions to fix the 4311 4312 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 4313 43142004-12-03 Andrey Kiselev <[email protected]> 4315 4316 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 4317 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 4318 must be removed in the future, as it was never used properly. As per 4319 bug 4320 4321 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 4322 43232004-11-30 Bob Friesenhahn <[email protected]> 4324 4325 * libtiff/tif_jpeg.c: Added a work-around in order to allow 4326 compilation with the heavily modified version of libjpeg delivered 4327 with Cygwin. 4328 43292004-11-29 Andrey Kiselev <[email protected]> 4330 4331 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 4332 counts. As per bug 4333 4334 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 4335 4336 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 4337 4338 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 4339 43402004-11-28 Andrey Kiselev <[email protected]> 4341 4342 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 4343 on Windows. 4344 4345 * nmake.opt: Add missed DLLNAME variable. 4346 43472004-11-26 Frank Warmerdam <[email protected]> 4348 4349 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 4350 43512004-11-24 Andrey Kiselev <[email protected]> 4352 4353 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 4354 per bug 4355 4356 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 4357 4358 * man/tiffset.1: Added manual page for tiffset tool written by Jay 4359 Berkenbilt. As per bug 4360 4361 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 4362 43632004-11-23 Frank Warmerdam <[email protected]> 4364 4365 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 4366 43672004-11-21 Frank Warmerdam <[email protected]> 4368 4369 * html/document.html: Updated Adobe web links as per email from Joris. 4370 43712004-11-21 Andrey Kiselev <[email protected]> 4372 4373 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 4374 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 4375 use C++ streams should #include <tiffio.hxx>. 4376 43772004-11-13 Andrey Kiselev <[email protected]> 4378 4379 * libtiff/tiff.h: Added Adobe DNG tags. 4380 4381 * libtiff/tif_win32.c: Typo fixed. 4382 4383 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 4384 be compliant with the latest standard. Appropriate additions in 4385 makefiles now completed. 4386 43872004-11-11 Andrey Kiselev <[email protected]> 4388 4389 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 4390 different tag types. As per bug 4391 4392 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 4393 43942004-11-10 Andrey Kiselev <[email protected]> 4395 4396 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 4397 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 4398 43992004-11-09 Andrey Kiselev <[email protected]> 4400 4401 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 4402 44032004-11-07 Andrey Kiselev <[email protected]> 4404 4405 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 4406 contributed by Edward Lam (see 4407 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 4408 Though no changes in any makefiles yet. 4409 44102004-11-05 Frank Warmerdam <[email protected]> 4411 4412 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 4413 is bad. This is the callers responsibility. 4414 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 4415 44162004-11-05 Andrey Kiselev <[email protected]> 4417 4418 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 4419 function to work with the double byte strings (used to represent 4420 filenames in some locales). As per bug 4421 4422 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 4423 4424 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 4425 Compression tags of type LONG from broken TIFFS as per bug 4426 4427 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 4428 4429 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 4430 the writecount should have uint32 type. As per bug 4431 4432 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 4433 4434 * libtiff/tif_write.c: Fixed wrong if() statement in 4435 TIFFAppendToStrip() function as per bug 4436 4437 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 4438 44392004-11-04 Andrey Kiselev <[email protected]> 4440 4441 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 4442 field. The caller should supply a count when setting this field. As 4443 per bug 4444 4445 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 4446 4447 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 4448 uint32 count. Use this type everywhere. 4449 44502004-11-03 Frank Warmerdam <[email protected]> 4451 4452 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 4453 44542004-11-02 Frank Warmerdam <[email protected]> 4455 4456 * tools/tiff2rgba.c: removed extra newlines in usage message. 4457 44582004-10-30 Andrey Kiselev <[email protected]> 4459 4460 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 4461 4462 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 4463 tags (Tristan Hill). 4464 44652004-10-30 Frank Warmerdam <[email protected]> 4466 4467 * libtiff/tiffiop.h: added fallback definition of assert() if we 4468 don't have assert.h. 4469 44702004-10-29 Andrey Kiselev <[email protected]> 4471 4472 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 4473 choosing when the incorrect Group4Options tag set. As per bug 4474 4475 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 4476 4477 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 4478 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 4479 TIFFWriteNormalTag(). 4480 44812004-10-28 Andrey Kiselev <[email protected]> 4482 4483 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 4484 tags (Peter Fales). 4485 4486 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 4487 44882004-10-28 Frank Warmerdam <[email protected]> 4489 4490 * tools/tiff2pdf.c: added casts to avoid warnings. 4491 4492 * libtiff/libtiff.def: Added several more entry points required 4493 to link fax2tiff.c against the DLL on windows. 4494 44952004-10-27 Andrey Kiselev <[email protected]> 4496 4497 * configure, configure.ac: Added --enable-rpath option to embed linker 4498 paths into library binary. 4499 45002004-10-26 Andrey Kiselev <[email protected]> 4501 4502 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 4503 4504 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 4505 (Vladimir Nadvornik, Dmitry V. Levin). 4506 45072004-10-16 Andrey Kiselev <[email protected]> 4508 4509 * libtiff 3.7.0 released. 4510 45112004-10-15 Bob Friesenhahn <[email protected]> 4512 4513 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 4514 in this file so its inclusion is removed. Including stdio.h 4515 sometimes incurs an INT32 typedef conflict between MinGW's 4516 basetsd.h and libjpeg's jmorecfg.h. 4517 45182004-10-15 Andrey Kiselev <[email protected]> 4519 4520 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 4521 45222004-10-13 Bob Friesenhahn <[email protected]> 4523 4524 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 4525 conflict noticed under MinGW. 4526 * ltmain.sh: Fix for MinGW compilation. 4527 45282004-10-13 Frank Warmerdam <[email protected]> 4529 4530 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 4531 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 4532 45332004-10-12 Andrey Kiselev <[email protected]> 4534 4535 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 4536 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 4537 properly (Dmitry V. Levin, Marcus Meissner). 4538 45392004-10-11 Andrey Kiselev <[email protected]> 4540 4541 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 4542 to TIFF_IFD. 4543 45442004-10-10 Andrey Kiselev <[email protected]> 4545 4546 * tools/bmp2tif.c: Check the space allocation results. 4547 45482004-10-09 Andrey Kiselev <[email protected]> 4549 4550 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 4551 of the TIFFDirectory structure with the 0 instead of -1 to avoid 4552 confusing integer overflows in TIFFTileRowSize() for striped images. 4553 4554 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 4555 by Ross A. Finlayson. 4556 4557 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 4558 4559 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 4560 45612004-10-08 Frank Warmerdam <[email protected]> 4562 4563 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 4564 of tif_fieldinfo. 4565 4566 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 4567 45682004-10-04 Bob Friesenhahn <[email protected]> 4569 4570 * contrib/iptcutil/README: Added the missing README which goes 4571 along with iptcutil. 4572 45732004-10-03 Andrey Kiselev <[email protected]> 4574 4575 * libtiff/tif_compress.c: Improved error reporting in 4576 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 4577 45782004-10-02 Andrey Kiselev <[email protected]> 4579 4580 * libtiff 3.7.0beta2 released. 4581 4582 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 4583 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 4584 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 4585 allocations and integer overflows (Dmitry V. Levin). 4586 4587 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 4588 45892004-10-01 Frank Warmerdam <[email protected]> 4590 4591 * libtiff/tif_open.c: added a more informative message if a BigTIFF 4592 file is opened. 4593 45942004-09-30 Frank Warmerdam <[email protected]> 4595 4596 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 4597 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 4598 in the Adobe XMP Specification. 4599 46002004-09-29 Andrey Kiselev <[email protected]> 4601 4602 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 4603 memset(). 4604 4605 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 4606 from Dmitry V. Levin to fix possible integer overflow problems. 4607 46082004-09-28 Andrey Kiselev <[email protected]> 4609 4610 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 4611 (Dmitry V. Levin). 4612 46132004-09-26 Andrey Kiselev <[email protected]> 4614 4615 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 4616 Optimize checking for the strip bounds. 4617 4618 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 4619 TIFFRasterScanlineSize() functions report zero in the case of integer 4620 overflow now. Properly handle this case in TIFFReadDirectory() 4621 (patches from Dmitry V. Levin). 4622 46232004-09-25 Andrey Kiselev <[email protected]> 4624 4625 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 4626 macro where appropriate. 4627 4628 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 4629 noted by Gennady Khokhorin. 4630 4631 * libtiff/tif_dirread.c: Always check the return values, returned 4632 by the _TIFFmalloc() (Dmitry V. Levin). 4633 4634 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 4635 functions (Dmitry V. Levin). 4636 4637 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 4638 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 4639 TIFFGrowStrips() (found by Dmitry V. Levin). 4640 46412004-09-24 Andrey Kiselev <[email protected]> 4642 4643 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 4644 to get the list of configured codecs. 4645 4646 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 4647 Dmitry V. Levin. 4648 46492004-09-23 Andrey Kiselev <[email protected]> 4650 4651 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 4652 possible integer overflow in CheckMalloc() function. 4653 46542004-09-22 Andrey Kiselev <[email protected]> 4655 4656 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 4657 of plain TIFFhowmany() where appropriate. 4658 46592004-09-21 Andrey Kiselev <[email protected]> 4660 4661 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 4662 46632004-09-19 Andrey Kiselev <[email protected]> 4664 4665 * libtiff 3.7.0beta released. 4666 4667 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 4668 overruns fixed, as noted by Chris Evans. 4669 46702004-09-14 Bob Friesenhahn <[email protected]> 4671 4672 * commit: Added a script to make it more convenient to commit 4673 updates. The CVS commit message is extracted from this ChangeLog 4674 file. 4675 46762004-09-14 Andrey Kiselev <[email protected]> 4677 4678 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 4679 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 4680 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 4681 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 4682 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 4683 tif_config.h.in, tiffiop.h}: 4684 Get rid of BSD data types (u_char, u_short, u_int, u_long). 4685 46862004-09-13 Bob Friesenhahn <[email protected]> 4687 4688 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 4689 specification. Reference libtiff bug tracking system to submit 4690 private tag additions. 4691 46922004-09-12 Bob Friesenhahn <[email protected]> 4693 4694 * tools/tiffgt.c: Include "tif_config.h". 4695 4696 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 4697 tiffgt. This results in the 'compile' script being added to the 4698 project. 4699 4700 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 4701 required to find OpenGL headers necessary to build tiffgt. Also 4702 ensure that the libtiff that we built is used rather than some other 4703 libtiff installed on the system. 4704 47052004-09-12 Andrey Kiselev <[email protected]> 4706 4707 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 4708 libraries. 4709 47102004-09-11 Bob Friesenhahn <[email protected]> 4711 4712 * configure.ac: Pass library configuration defines via 4713 tif_config.h rather than extending CPPFLAGS. Configure a 4714 libtiff/tiffconf.h in order to satisfy application requirements 4715 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 4716 this causes failure to build on systems which properly respect 4717 this request. 4718 4719 * libtiff/tiffconf.h.in: New file to act as the template for the 4720 configured tiffconf.h 4721 4722 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 4723 47242004-09-10 Frank Warmerdam <[email protected]> 4725 4726 * html/internals.html: Split off a discussion of adding new tags 4727 into addingtags.html. 4728 47292004-09-10 Andrey Kiselev <[email protected]> 4730 4731 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 4732 4733 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 4734 4735 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4736 4737 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 4738 4739 * libtiff/tif_dirread.c: Don't reject to read tags of the 4740 SamplesPerPixel size when the tag count is greater than number of 4741 samples as per bug 4742 4743 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 4744 4745 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 4746 defining int8/uint8/... etc. types. As per bug 4747 4748 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 4749 47502004-09-09 Frank Warmerdam <[email protected]> 4751 4752 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 4753 to avoid compile warnings about getopt() and a few other things. 4754 47552004-09-02 Andrey Kiselev <[email protected]> 4756 4757 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 4758 assigning magic in TIFFFetchFloat(). 4759 47602004-09-01 Andrey Kiselev <[email protected]> 4761 4762 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 4763 to avoid requirement for tiffiop.h inclusion in some applications. See 4764 here 4765 4766 http://www.asmail.be/msg0054799560.html 4767 4768 for details. 4769 4770 * tools/fax2tiff.c: Use the new functions in the code. 4771 47722004-08-25 Andrey Kiselev <[email protected]> 4773 4774 * tools/tiff2pdf.c: Initialize arrays properly. 4775 4776 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 4777 properly initialize array in PSDataBW(). 4778 47792004-08-24 Andrey Kiselev <[email protected]> 4780 4781 * tools/tiff2pdf.c: More fixes for bug 4782 4783 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4784 4785 from Ross Finlayson. 4786 47872004-08-23 Andrey Kiselev <[email protected]> 4788 4789 * tools/tiff2ps.c: Fixed problem with uninitialized values. 4790 4791 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 4792 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 4793 4794 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 4795 4796 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4797 47982004-08-20 Andrey Kiselev <[email protected]> 4799 4800 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 4801 that the input file has compression, photometric interpretation, 4802 etcetra, tags or if not than a more descriptive error is returned. 4803 4804 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 4805 code, responsible for tag data type checking. 4806 48072004-08-19 Andrey Kiselev <[email protected]> 4808 4809 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 4810 variable as per bug 4811 4812 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 4813 48142004-08-16 Andrey Kiselev <[email protected]> 4815 4816 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 4817 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 4818 48192004-08-01 Andrey Kiselev <[email protected]> 4820 4821 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 4822 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 4823 48242004-07-24 Andrey Kiselev <[email protected]> 4825 4826 * libtiff/tif_lzw.c: LZW compression code is merged back from the 4827 separate package. All libtiff tools are updated to not advertise an 4828 abcence of LZW support. 4829 48302004-07-12 Andrey Kiselev <[email protected]> 4831 4832 * libtiff/tiffio.h: Revert thandle_t back to void* type. 4833 48342004-07-11 Andrey Kiselev <[email protected]> 4835 4836 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 4837 messages, as suggested by Bernd Herd. 4838 48392004-07-03 Andrey Kiselev <[email protected]> 4840 4841 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 4842 when setting custom tags by value. Reported by Eric Fieleke. 4843 48442004-06-14 Andrey Kiselev <[email protected]> 4845 4846 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 4847 48482004-06-08 Andrey Kiselev <[email protected]> 4849 4850 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 4851 into TIFFs. 4852 48532004-06-07 Andrey Kiselev <[email protected]> 4854 4855 * libtiff 3.7.0alpha released. 4856 48572004-06-06 Andrey Kiselev <[email protected]> 4858 4859 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 4860 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 4861 ones :-). 4862 4863 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 4864 problems in 64-bit environment). 4865 48662004-06-05 Andrey Kiselev <[email protected]> 4867 4868 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 4869 Tags can be supplied by the mnemonic name or number. 4870 4871 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 4872 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 4873 48742004-05-27 Andrey Kiselev <[email protected]> 4875 4876 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 4877 markers as per bug 4878 4879 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 4880 48812004-05-24 Andrey Kiselev <[email protected]> 4882 4883 * tools/tiffsplit.c: Don't forget to copy Photometric 4884 Interpretation tag. 4885 48862004-05-20 Andrey Kiselev <[email protected]> 4887 4888 * libtiff/{tif_open.c, tiffio.h}: New function added: 4889 TIFFIsBigEndian(). Function returns nonzero if given was file written 4890 in big-endian order. 4891 4892 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 4893 files. Now output files will be written using the same byte order 4894 flag as in the input image. See 4895 4896 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 4897 4898 for details. 4899 49002004-05-19 Frank Warmerdam <[email protected]> 4901 4902 * libtiff/tif_print.c: added (untested) support for printing 4903 SSHORT, SLONG and SRATIONAL fields. 4904 4905 * tools/tiffcp.c: close output file on normal exit. 4906 49072004-05-17 Andrey Kiselev <[email protected]> 4908 4909 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 4910 if compression type mismatches. See 4911 4912 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 4913 49142004-04-30 Andrey Kiselev <[email protected]> 4915 4916 * libtiff/tif_strip.c: Never return 0 from the 4917 TIFFNumberOfStrips(). 4918 49192004-04-29 Andrey Kiselev <[email protected]> 4920 4921 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 4922 store single SampleFormat value for multisampled images. See 4923 4924 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 4925 49262004-04-25 Andrey Kiselev <[email protected]> 4927 4928 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 4929 int16 and int32 types to avoid complains on some compilers. Details at 4930 4931 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4932 49332004-04-20 Andrey Kiselev <[email protected]> 4934 4935 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 4936 4937 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 4938 49392004-04-14 Andrey Kiselev <[email protected]> 4940 4941 * libtiff/tif_write.c: Allow in-place updating of the compressed 4942 images (don't work properly with all codecs). For details see GDAL bug 4943 4944 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 4945 49462004-04-06 Andrey Kiselev <[email protected]> 4947 4948 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 4949 in the Intergarph JPEG compressed TIFF images as per bug: 4950 4951 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 4952 49532004-04-04 Frank Warmerdam <[email protected]> 4954 4955 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 4956 via bad2. 4957 49582004-03-26 Andrey Kiselev <[email protected]> 4959 4960 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 4961 JPEG compression of grayscale images. 4962 4963 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 4964 present in the input image. 4965 49662004-03-19 Andrey Kiselev <[email protected]> 4967 4968 * {many}: The first attempt to switch to autotools. 4969 49702004-03-03 Andrey Kiselev <[email protected]> 4971 4972 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 4973 TIFFClientOpen() when the appropriate client functions was not 4974 supplied by user. 4975 49762004-03-02 Frank Warmerdam <[email protected]> 4977 4978 * tools/ycbcr.c: fixed main() declaration as per: 4979 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 4980 49812004-02-26 Andrey Kiselev <[email protected]> 4982 4983 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 4984 images. Reported by Artem Mirolubov. 4985 4986 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 4987 tag type in TIFFFetchNormalTag() as per bug 4988 4989 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 4990 49912004-02-17 Frank Warmerdam <[email protected]> 4992 4993 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 4994 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 4995 49962004-02-05 Andrey Kiselev <[email protected]> 4997 4998 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 4999 bug 5000 5001 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 5002 5003 But we need more work on fax codec to support update mode. 5004 50052004-01-30 Frank Warmerdam <[email protected]> 5006 5007 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 5008 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 5009 Scott Reynolds. 5010 50112004-01-29 Andrey Kiselev <[email protected]> 5012 5013 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 5014 and TIFFTAG_INDEXED as per bug 5015 5016 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 5017 5018 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 5019 NULL before proceeding further as per bug 5020 5021 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 5022 5023 Check results, returned by the TIFFFdOpen() before returning and close 5024 file if TIFFFdOpen() failed as per bug 5025 5026 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 5027 5028 * libtiff/tif_open.c: More fixes for 5029 5030 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 5031 50322004-01-28 Andrey Kiselev <[email protected]> 5033 5034 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 5035 TIFFCleanup() from the TIFFClose() in order to fix the bug 5036 5037 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 5038 5039 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 5040 InkNames tag as per bug 5041 5042 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 5043 5044 Memory leak fixed. 5045 50462004-01-21 Frank Warmerdam <[email protected]> 5047 5048 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 5049 are field_passcount=TRUE properly. Arguably anonymous custom tags 5050 should be declared as passcount=FALSE, but I don't want to change 5051 that without a careful review. 5052 50532004-01-20 Andrey Kiselev <[email protected]> 5054 5055 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 5056 stripped image in TIFFWriteBufferSetup(). As per bug 5057 5058 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 5059 50602004-01-11 Andrey Kiselev <[email protected]> 5061 5062 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 5063 patch from Gerben Koopmans. 5064 5065 * libtiff/tif_dirread.c: Check field_passcount value before setting 5066 the value of undefined type, patch from Gerben Koopmans. 5067 50682004-01-02 Andrey Kiselev <[email protected]> 5069 5070 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 5071 non-RGB images. 5072 50732003-12-31 Andrey Kiselev <[email protected]> 5074 5075 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 5076 pointer passed. Patch supplied by Larry Grill. 5077 5078 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 5079 suggested by Jeremy C. Reed. 5080 50812003-12-26 Andrey Kiselev <[email protected]> 5082 5083 * libtiff 3.6.1 released. 5084 50852003-12-24 Andrey Kiselev <[email protected]> 5086 5087 * config.guess, config.sub: Updated from the recent upstream. 5088 50892003-12-22 Andrey Kiselev <[email protected]> 5090 5091 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 5092 More cleanups in color conversion interface, added appropriate manual 5093 page. 5094 50952003-12-19 Andrey Kiselev <[email protected]> 5096 5097 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 5098 per bug 5099 5100 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 5101 5102 * tools/tiff2ps.c: Added support for alpha channel. Fixes 5103 5104 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 5105 5106 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 5107 Interface for Lab->RGB color conversion is finally cleaned up. 5108 Added support for ReferenceBlackWhite tag handling when converted from 5109 YCbCr color space. The latter closes 5110 5111 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 5112 51132003-12-07 Andrey Kiselev <[email protected]> 5114 5115 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 5116 5117 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 5118 library. 5119 51202003-12-06 Andrey Kiselev <[email protected]> 5121 5122 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 5123 file and properly use it for CIE Lab->RGB transform. 5124 51252003-12-04 Andrey Kiselev <[email protected]> 5126 5127 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 5128 conversion routines now in the tif_color.c module. New function 5129 TIFFYCbCrtoRGB() available in TIFF API. 5130 5131 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 5132 51332003-12-03 Andrey Kiselev <[email protected]> 5134 5135 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 5136 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 5137 module. 5138 5139 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 5140 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 5141 Finally resolved problems with orientation handling. TIFFRGBAImage 5142 interface now properly supports all possible orientations, i.e. images 5143 will be flipped both in horizontal and vertical directions if 5144 required. 'Known bugs' section now removed from the appropriate manual 5145 pages. Closed bug entry: 5146 5147 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 5148 51492003-12-02 Andrey Kiselev <[email protected]> 5150 5151 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 5152 function calls as per bug 5153 5154 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 5155 51562003-11-28 Ross Finlayson <[email protected]> 5157 5158 * tools/tiff2pdf.c: Some bugs fixed. 5159 51602003-11-27 Andrey Kiselev <[email protected]> 5161 5162 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 5163 reported by Antonio Scuri. 5164 5165 * man/tiff2pdf.1: Few improvements in page layout. 5166 5167 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 5168 Added support fpr tiff2pdf manual page. 5169 51702003-11-26 Ross Finlayson <[email protected]> 5171 5172 * /man/tiff2pdf.1: File added to repository. 5173 51742003-11-26 Andrey Kiselev <[email protected]> 5175 5176 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 5177 Added support fpr tiff2pdf utility. 5178 51792003-11-25 Ross Finlayson <[email protected]> 5180 5181 * /tools/tiff2pdf.c: File added to repository. 5182 51832003-11-22 Andrey Kiselev <[email protected]> 5184 5185 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 5186 51872003-11-21 Andrey Kiselev <[email protected]> 5188 5189 * /tools/raw2tiff.c: #include <getopt.h> removed. 5190 5191 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 5192 sgigt utility removed and replaced with the completely rewritten 5193 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 5194 there is a lot of things to improve. 5195 5196 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 5197 extract the fields from the OJPEG files. Patch supplied by Ross 5198 Finlayson. 5199 5200 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 5201 Added new function TIFFIsCODECConfigured(), suggested by Ross 5202 Finlayson. 5203 52042003-11-18 Andrey Kiselev <[email protected]> 5205 5206 * libtiff/tif_dirinfo.c: Implemented binary search in 5207 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 5208 5209 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 5210 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 5211 52122003-11-17 Frank Warmerdam <[email protected]> 5213 5214 * tif_dirread.c: do not mark all anonymously defined tags to be 5215 IGNOREd. 5216 52172003-11-17 Andrey Kiselev <[email protected]> 5218 5219 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 5220 TIFFDataWidth() function insted of tiffDataWidth array. 5221 52222003-11-16 Andrey Kiselev <[email protected]> 5223 5224 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 5225 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 5226 52272003-11-15 Frank Warmerdam <[email protected]> 5228 5229 * Makefile.in: fixed missing backslash for tif_color.c in list. 5230 52312003-11-13 Andrey Kiselev <[email protected]> 5232 5233 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 5234 New color space conversion code: CIE L*a*b* 1976 images now supported 5235 by the TIFFRGBAImage interface. All introduced routines go to new 5236 module tif_color.c. Eventually all color conversion functions should 5237 be moved there. 5238 52392003-11-12 Andrey Kiselev <[email protected]> 5240 5241 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 5242 with the reverse byte order (it is reported by the magic header 5243 field). Problem reported by Andreas Wiesmann. 5244 5245 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 5246 calculation function. Guessing mechanics now documented in manual page. 5247 52482003-11-11 Andrey Kiselev <[email protected]> 5249 5250 * tools/raw2tiff.c: Implemented image size guessing using 5251 correlation coefficient calculation between two neighbour lines. 5252 52532003-11-09 Frank Warmerdam <[email protected]> 5254 5255 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 5256 planarconfig_contig case in TIFFComputeTile(). 5257 5258 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 5259 52602003-11-09 Andrey Kiselev <[email protected]> 5261 5262 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 5263 52642003-11-07 Andrey Kiselev <[email protected]> 5265 5266 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 5267 Added TIFFRawStripSize() function as suggested by Chris Hanson. 5268 52692003-11-03 Andrey Kiselev <[email protected]> 5270 5271 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 5272 per bug 5273 5274 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 5275 52762003-10-29 Andrey Kiselev <[email protected]> 5277 5278 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 5279 5280 * html/build.html: Added note about GNU make requirement. 5281 52822003-10-25 Andrey Kiselev <[email protected]> 5283 5284 * Makefile.in: Fixes in using MAKEFLAGS as per bug 5285 5286 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 5287 5288 * port/install.sh.in: Option -p added to the mkdir command to create 5289 all directory tree structure before installing. 5290 52912003-10-18 Andrey Kiselev <[email protected]> 5292 5293 * /tools/tiff2ps.c: #include <strings.h> replaced with the 5294 #include <string.h>. 5295 52962003-10-16 Andrey Kiselev <[email protected]> 5297 5298 * Makefile.in: Add an absolute path to the test_pics.sh call. 5299 53002003-10-12 Andrey Kiselev <[email protected]> 5301 5302 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 5303 typedefs. 5304 53052003-10-09 Andrey Kiselev <[email protected]> 5306 5307 * configure, libtiff/{Makefile.in, mkversion.c}: 5308 Relative buildings fixed. 5309 5310 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 5311 rule. 5312 53132003-10-07 Andrey Kiselev <[email protected]> 5314 5315 * Makefile.in: Added missed v3.6.0.html. 5316 5317 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 5318 ORIENTATION_BOTLEFT. 5319 53202003-10-04 Andrey Kiselev <[email protected]> 5321 5322 * 3.6.0 final release. 5323 53242003-10-03 Andrey Kiselev <[email protected]> 5325 5326 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 5327 function TIFFReadRGBAImageOriented() implemented to retrieve raster 5328 array with user-specified origin position as suggested by Jason Frank. 5329 See 5330 5331 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 5332 5333 for details. 5334 5335 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 5336 instead of TIFFReadRGBAImage(). 5337 5338 * tools/tiff2ps.c: Fixed possible endless loop as per bug 5339 5340 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 5341 53422003-09-30 Andrey Kiselev <[email protected]> 5343 5344 * libtiff/tif_dirread.c: Check field counter against number of fields 5345 in order to fix 5346 5347 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 5348 5349 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 5350 5351 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 5352 53532003-09-25 Andrey Kiselev <[email protected]> 5354 5355 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 5356 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 5357 5358 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 5359 53602003-09-23 Andrey Kiselev <[email protected]> 5361 5362 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 5363 5364 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 5365 53662003-08-21 Andrey Kiselev <[email protected]> 5367 5368 * tools/tiffmedian.c: int declaration replaced with the uint32 to 5369 support large images as per bug 5370 5371 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 5372 53732003-08-12 Andrey Kiselev <[email protected]> 5374 5375 * libtiff/Makefile.in: Fixed problem with building in different 5376 directory. 5377 5378 * tools/tiff2ps.c: Added missing #include <strings.h>. 5379 5380 * libtiff/tif_dirwrite.c: More fixes for custom tags code 5381 from Ashley Dreier. 5382 53832003-08-07 Andrey Kiselev <[email protected]> 5384 5385 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 5386 Patch submitted by Balatoni Denes (with corrections from Tom 5387 Kacvinsky). 5388 5389 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 5390 being used. Reported by Tom Kacvinsky. 5391 5392 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 5393 reported by Ashley Dreier. 5394 5395 * libtiff/tif_print.c: Fixed problem with float tags reading, support 5396 for printing RATIONAL and BYTE tags added. 5397 53982003-08-05 Andrey Kiselev <[email protected]> 5399 5400 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 5401 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 5402 problems with predictor initialization. Remove O_RDONLY check during 5403 state block allocation to be able open LZW compressed files in update 5404 mode. 5405 5406 Problem exist for libtiff version of the tif_lzw.c module. One from 5407 lzw-compression-kit hasn't such troubles. 5408 54092003-08-04 Frank Warmerdam <[email protected]> 5410 5411 * libtiff/tif_write.c: modified tif_write.c so that the various 5412 encoded write functions use tif_postdecode() to apply byte order 5413 swapping (swab) to the application passed data buffer if the same 5414 would be done when reading. This allows us to write pixel data with 5415 more than 8 bits per sample to existing files of a non-native byte 5416 order. One side effect of this change is the applications buffer 5417 itself is altered in this case by the act of writing. 5418 5419 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 5420 54212003-07-25 Frank Warmerdam <[email protected]> 5422 5423 * libtiff/tif_open.c: avoid signed/unsigned casting warning 5424 initializing typemask as per patch from J.A. Strother. 5425 5426 * tools/tiffcp.c: fixed signed/unsigned casting warning. 5427 5428 * libtiff/tif_print.c: dos2unix conversion. 5429 5430 * tools/tiffsplit.c: increased the maximum number of pages that 5431 can be split. Patch provided by Andrew J. Montalenti. 5432 54332003-07-11 Andrey Kiselev <[email protected]> 5434 5435 * tools/raw2tiff.c: Added option `-p' to explicitly select color 5436 space of input image data. Closes 5437 5438 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 5439 54402003-07-08 Frank Warmerdam <[email protected]> 5441 5442 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 5443 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 5444 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 5445 avoid casting warning at /W4. 5446 54472003-07-03 Andrey Kiselev <[email protected]> 5448 5449 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 5450 54512003-06-30 Andrey Kiselev <[email protected]> 5452 5453 * libtiff/tif_pixarlog.c: Unused variables removed. 5454 5455 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 5456 EstimateStripByteCounts() as per bug 5457 5458 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 5459 5460 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 5461 64-bit architectures as per bug 5462 5463 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 5464 5465 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 5466 unknown data type. 5467 54682003-06-19 Frank Warmerdam <[email protected]> 5469 5470 * libtiff/tif_print.c: fixed some serious bugs when printing 5471 custom tags ... almost certain to crash. 5472 5473 * libtiff/tif_dirread.c: Don't ignore custom fields that are 5474 autodefined. Not sure how this got to be like this. 5475 54762003-06-18 Andrey Kiselev <[email protected]> 5477 5478 * 3.6.0 Beta2 released. 5479 5480 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 5481 comparing as per bug 5482 5483 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 5484 5485 `-z' option now can be used to set the number of reported different 5486 bytes. 5487 54882003-06-09 Andrey Kiselev <[email protected]> 5489 5490 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 5491 to -r option to get the entire image as one strip. See 5492 5493 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 5494 5495 for details. 5496 54972003-06-04 Andrey Kiselev <[email protected]> 5498 5499 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 5500 values as per bug 5501 5502 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 5503 55042003-05-27 Frank Warmerdam <[email protected]> 5505 5506 * libtiff/tif_jpeg.c: modified segment_height calculation to always 5507 be a full height tile for tiled images. Also changed error to just 5508 be a warning. 5509 55102003-05-25 Andrey Kiselev <[email protected]> 5511 5512 * tools/fax2tiff.c: Page numbering fixed, as per bug 5513 5514 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 5515 55162003-05-20 Andrey Kiselev <[email protected]> 5517 5518 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 5519 configure, Makefile.in: Switched back to the old behaviour. Likely 5520 better solution should be found for OJPEG support. 5521 55222003-05-11 Andrey Kiselev <[email protected]> 5523 5524 * libtiff/mkversion.c: Fixed problem with wrong string size when 5525 reading RELEASE-DATE file. 5526 55272003-05-07 Andrey Kiselev <[email protected]> 5528 5529 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 5530 index was out of range. 5531 55322003-05-06 Andrey Kiselev <[email protected]> 5533 5534 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 5535 configure, Makefile.in: Improved libtiff compilation with OJPEG 5536 support. Now no need for patching IJG JPEG library, hack requred by 5537 libtiff will be compiled and used in-place. Implemented with 5538 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 5539 5540 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 5541 TIFFVGetFieldDefaulted() function. 5542 55432003-05-05 Andrey Kiselev <[email protected]> 5544 5545 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 5546 comments. 5547 5548 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 5549 was not copied from source image. 5550 5551 * libtiff/getimage.c: Workaround for some images without correct 5552 info about alpha channel as per bug 5553 5554 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 5555 55562003-04-29 Andrey Kiselev <[email protected]> 5557 5558 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 5559 It basically allows one to use the /flateDecode filter for ZIP 5560 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 5561 5562 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 5563 5564 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 5565 as per bug 5566 5567 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 5568 55692003-04-17 Andrey Kiselev <[email protected]> 5570 5571 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 5572 due to problems with multidirectory images. Quality of error messages 5573 improved. 5574 55752003-04-16 Andrey Kiselev <[email protected]> 5576 5577 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 5578 encoded images. See bug entries 5579 5580 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 5581 5582 and 5583 5584 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 5585 5586 * libtiff/tif_dirread.c: Additional check for StripByteCounts 5587 correctness. Fixes 5588 5589 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 5590 55912003-03-12 Andrey Kiselev <[email protected]> 5592 5593 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 5594 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 5595 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 5596 tiffmedian.c}: Added library version reporting facility to all tools. 5597 55982003-03-06 Frank Warmerdam <[email protected]> 5599 5600 * port/install.sh.in: Fixed problems with install producing paths 5601 like ///usr/local/lib on cygwin. 5602 56032003-02-27 Andrey Kiselev <[email protected]> 5604 5605 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 5606 raw input page. Patch supplied by Julien Gaulmin. See 5607 5608 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 5609 5610 for details. 5611 56122003-02-26 Frank Warmerdam <[email protected]> 5613 5614 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 5615 responsible for byte swapping complex image data. 5616 5617 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 5618 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 5619 56202003-02-07 Andrey Kiselev <[email protected]> 5621 5622 * tools/ppm2tiff.c: Fixed problem with too many arguments. 5623 56242003-02-04 Andrey Kiselev <[email protected]> 5625 5626 * tools/raw2tiff.c: Memory leak fixed. 5627 56282003-02-03 Andrey Kiselev <[email protected]> 5629 5630 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 5631 (thanks, Julien!). More switches for fax2tiff tool for better control 5632 of input and output. Details at 5633 5634 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 5635 56362003-02-03 Frank Warmerdam <[email protected]> 5637 5638 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 5639 library so that we can check if there is already any tile/strip data 5640 before deciding between creating a compressor or a decompressor. 5641 56422003-01-31 Frank Warmerdam <[email protected]> 5643 5644 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 5645 a pre-existing compressed image. That is, image writing to 5646 pre-existing compressed images is not allowed. 5647 5648 * libtiff/tif_open.c: Removed error if opening a compressed file 5649 in update mode. 5650 5651 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 5652 56532003-01-31 Andrey Kiselev <[email protected]> 5654 5655 * config.guess, config.sub: Updated to recent upstream versions. 5656 56572003-01-15 Frank Warmerdam <[email protected]> 5658 5659 * cut 3.6.0 Beta release. 5660 56612002-12-20 Andrey Kiselev <[email protected]> 5662 5663 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 5664 in wrong way as per bug 5665 5666 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 5667 56682002-12-17 Frank Warmerdam <[email protected]> 5669 5670 * libtiff/tif_dirread.c: Allow wrong sized arrays in 5671 TIFFFetchStripThing(). 5672 5673 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 5674 56752002-12-02 Frank Warmerdam <[email protected]> 5676 5677 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 5678 Was using realloc even first time. Fix by Igor Venevtsev. 5679 56802002-11-30 Frank Warmerdam <[email protected]> 5681 5682 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 5683 field value. 5684 5685 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 5686 tags in TIFFVGetField() ... added missing break. 5687 56882002-10-14 Frank Warmerdam <[email protected]> 5689 5690 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 5691 the scanline buffer long enough when writing rgb triplets. 5692 The scanline needs to be 3 X the number of dots or else it will 5693 contain an incomplete triplet and programs that try to separate 5694 the eps by redefining the colorimage operator will get messed up. 5695 Patch supplied by William Bader. 5696 5697 * Makefile.in: added tif_extension.c to file list as per 5698 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 5699 57002002-10-11 Andrey Kiselev <[email protected]> 5701 5702 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 5703 large files (>2GiB) supporting. New option in the config.site: 5704 LARGEFILE="yes". Should be enough for I/O of the large files. 5705 57062002-10-10 Frank Warmerdam <[email protected]> 5707 5708 * libtiff/html/v3.6.0.html: new release notes. 5709 5710 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 5711 link for Andrey. Pointer to v3.6.0.html. 5712 5713 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 5714 57152002-10-07 Andrey Kiselev <[email protected]> 5716 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 5717 (thanks, Sebastian!). New switches: 5718 -b # for a bottom margin of # inches 5719 -c center image 5720 -l # for a left margin of # inches 5721 -r rotate the image by 180 degrees 5722 New features merged with code for shrinking/overlapping. 5723 Previously added -c and -n switches (for overriding PS units) renamed 5724 in -x and -y respectively. 5725 5726 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 5727 5728 * html/man/*.html: Updated from actual manual pages. 5729 57302002-10-06 Frank Warmerdam <[email protected]> 5731 5732 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 5733 size on windows. Use #define boolean hack. 5734 5735 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 5736 5737 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 5738 USING_VISUALAGE is defined. 5739 5740 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5741 57422002-10-03 Frank Warmerdam <[email protected]> 5743 5744 * libtiff/tiff.h: added COMPRESSION_JP2000. 5745 57462002-10-02 Andrey Kiselev <[email protected]> 5747 5748 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 5749 by the TIFFFetchByteArray() function. Should finally resolve 5750 5751 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5752 5753 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 5754 5755 * html/Makefile.in: New targets added: html and groffhtml for 5756 producing HTML representations of the manual pages automatically. 5757 html target uses man2html tool, groffhtml uses groff tool. 5758 57592002-09-29 Frank Warmerdam <[email protected]> 5760 5761 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 5762 from John H. DuBois III. 5763 57642002-09-15 Andrey Kiselev <[email protected]> 5765 5766 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 5767 manual page for raw2tiff(1) tool. 5768 57692002-09-12 Andrey Kiselev <[email protected]> 5770 5771 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 5772 the tiffio.h header file. 5773 5774 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 5775 manual page for TIFFDataWidth() function 5776 57772002-09-08 Frank Warmerdam <[email protected]> 5778 5779 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 5780 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 5781 5782 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 5783 since we are unable to properly include the amount to skip. 5784 5785 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 5786 57872002-09-02 Andrey Kiselev <[email protected]> 5788 5789 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 5790 in TIFFFetchByteArray(). Problem described at 5791 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5792 57932002-08-22 Andrey Kiselev <[email protected]> 5794 5795 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 5796 in _TIFFSetupFieldInfo() function. 5797 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 5798 5799 * /libtiff/tif_lzw.c: Additional consistency checking added in 5800 LZWDecode() and LZWDecodeCompat(). 5801 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 5802 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5803 5804 * /libtiff/tif_lzw.c: 5805 Added check for valid code lengths in LZWDecode() and 5806 LZWDecodeCompat(). Fixes 5807 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 5808 58092002-08-16 Andrey Kiselev <[email protected]> 5810 5811 * /libtiff/{Makefile.vc, libtiff.def}: 5812 Missed declarations added. 5813 58142002-08-15 Frank Warmerdam <[email protected]> 5815 5816 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 5817 return code from the underlying pick function. 5818 5819 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 5820 5821 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 5822 with FIELD_CUSTOM as mentioned in bug 169. 5823 5824 * tif_close.c: added logic to free dynamically created anonymous 5825 field definitions to correct a small memory leak. 5826 5827 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 5828 58292002-08-10 Andrey Kiselev <[email protected]> 5830 5831 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 5832 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 5833 58342002-07-31 Frank Warmerdam <[email protected]> 5835 5836 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 5837 JPEGDecode() as per bugzilla bug (issue 1): 5838 5839 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 5840 5841 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 5842 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 5843 present in the tiff tags. 5844 5845 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 5846 5847 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 5848 TIFFWriteScanline() now set tif_row explicitly in case the codec has 5849 fooled with the value. 5850 5851 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 5852 58532002-06-22 Andrey Kiselev <[email protected]> 5854 5855 * /tools/tiff2ps.c: Added workaround for some software that may crash 5856 when last strip of image contains fewer number of scanlines than 5857 specified by the `/Height' variable. See 5858 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 5859 for explanation. 5860 58612002-06-21 Andrey Kiselev <[email protected]> 5862 5863 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 5864 splitting long images in several pages. See 5865 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 5866 Patch granted by John Williams <[email protected]>. 5867 58682002-06-11 Frank Warmerdam <[email protected]> 5869 5870 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 5871 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 5872 This one is described in: 5873 5874 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 5875 5876 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 5877 5878 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 5879 58802002-05-10 Andrey Kiselev <[email protected]> 5881 5882 * tools/tiff2ps: New commandline switches to override resolution 5883 units obtained from the input file. Closes 5884 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 5885 58862002-04-26 Andrey Kiselev <[email protected]> 5887 5888 * libtiff/libtiff.def: Added missed declaration. 5889 58902002-04-22 Andrey Kiselev <[email protected]> 5891 5892 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 5893 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 5894 58952002-04-20 Andrey Kiselev <[email protected]> 5896 5897 * libtiff/tif_open.c: Pointers to custom procedures 5898 in TIFFClientOpen() are checked to be not NULL-pointers. 5899 59002002-04-18 Andrey Kiselev <[email protected]> 5901 5902 * libtiff/libtiff.def: Added missed declarations. 5903 5904 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 5905 59062002-04-16 Andrey Kiselev <[email protected]> 5907 5908 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 5909 Should finally close 5910 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5911 59122002-04-10 Andrey Kiselev <[email protected]> 5913 5914 * tools/tiff2ps: Division by zero fixed. 5915 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 5916 59172002-04-09 Andrey Kiselev <[email protected]> 5918 5919 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 5920 TIFFCheckpointDirectory() routine added. 5921 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 5922 5923 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 5924 for the new function. 5925 59262002-04-08 Andrey Kiselev <[email protected]> 5927 5928 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 5929 additional members tif->tif_decodestatus and tif->tif_encodestatus 5930 for correct handling of unconfigured codecs (we should not try to read 5931 data or to define data size without correct codecs). 5932 5933 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 5934 changed. Now it has used tif->tif_decodestatus and 5935 tif->tif_encodestatus. 5936 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 5937 case of __cvs_8.tif test image). 5938 5939 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 5940 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 5941 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 5942 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 5943 59442002-04-04 Andrey Kiselev <[email protected]> 5945 5946 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 5947 replaced by warnings. Now libtiff should read corrupted LZW-compressed 5948 files by skipping bad strips. 5949 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5950 59512002-04-03 Frank Warmerdam <[email protected]> 5952 5953 * libtiff/tif_dirwrite.c: Removed some dead code. 5954 5955 * libtiff/*: Cleanup some warnings. 5956 5957 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 5958 for variable length FIELD_CUSTOM values. Was int * but should be 5959 u_short *. 5960 59612002-04-01 Andrey Kiselev <[email protected]> 5962 5963 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 5964 utility (at cpStripToTile routine). 5965 59662002-03-27 Frank Warmerdam <[email protected]> 5967 5968 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 5969 5970 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 5971 5972 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 5973 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 5974 5975 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 5976 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 5977 59782002-03-26 Dwight Kelly <[email protected]> 5979 5980 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 5981 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 5982 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 5983 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 5984 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 5985 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 5986 59872002-03-26 Andrey Kiselev <[email protected]> 5988 5989 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 5990 now also uses TIFFRGBAImageOK before reading. This is additional fix 5991 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 5992 59932002-03-25 Andrey Kiselev <[email protected]> 5994 5995 * libtiff/: tif_getimage.c: Additional check for supported 5996 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 5997 TIFFRGBAImageOK before reading. 5998 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 5999 60002002-03-15 Andrey Kiselev <[email protected]> 6001 6002 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 6003 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 6004 TIFFDataType sizes instead of working with tiffDataWidth array 6005 directly. Should prevent out-of-borders bugs in case of unknown or 6006 broken data types. EstimateStripByteCounts routine modified, so it 6007 won't work when tags with uknown sizes founded. 6008 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 6009 60102002-03-13 Andrey Kiselev <[email protected]> 6011 6012 * libtiff/tif_getimage.c: Added support for correct handling 6013 `Orientation' tag in gtTileContig. Should be added in other gt* 6014 functions as well, but I have not images for testing yet. Partially 6015 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 6016 60172002-03-10 Andrey Kiselev <[email protected]> 6018 6019 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 6020 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 6021 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 6022 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 6023 60242002-03-08 Andrey Kiselev <[email protected]> 6025 6026 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 6027 be stripped when installing, utility binaries will do. Closes 6028 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 6029 60302002-02-28 Frank Warmerdam <[email protected]> 6031 6032 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 6033 6034 * man/libtiff.3t: added copyright tag info. 6035 60362002-02-11 Frank Warmerdam <[email protected]> 6037 6038 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 6039 6040 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 6041 6042 * man/Makefile.in: Patch DESTDIR handling 6043 6044 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 6045 6046 * configure: OpenBSD changes for Sparc64 and DSO version. 6047 6048 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 6049 60502002-02-05 Frank Warmerdam <[email protected]> 6051 6052 * config.site/configure: added support for OJPEG=yes option to enable 6053 OJPEG support from config.site. 6054 60552002-01-27 Frank Warmerdam <[email protected]> 6056 6057 * html/document.html: fixed links for TIFf 6 docs. 6058 60592002-01-18 Frank Warmerdam <[email protected]> 6060 6061 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 6062 6063 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 6064 decodestrip function returns anything not greater than zero as per 6065 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 6066 6067 * configure: Modify CheckForBigEndian so it can work in a cross 6068 compiled situation. 6069 60702002-01-16 Frank Warmerdam <[email protected]> 6071 6072 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 6073 6074 * tools/tiffset.c: fix bug in error reporting. 6075 6076 * tools/tiffcp.c: fix several warnings that show up with -Wall. 6077 60782002-01-04 Frank Warmerdam <[email protected]> 6079 6080 * libtiff/tif_jpeg.c: fixed computation of segment_width for 6081 tiles files to avoid error about it not matching the 6082 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 6083 size.") for ITIFF files. Apparently the problem was incorporated since 6084 3.5.5, presumably during the OJPEG/JPEG work recently. 6085 60862001-12-15 Frank Warmerdam <[email protected]> 6087 6088 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 6089 6090 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 6091 6092 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 6093 (defined in tiffconf.h - 1 by default) then the RGBA interface 6094 will assume that a fourth extra sample is ASSOCALPHA if the 6095 EXTRASAMPLE value isn't set for it. This changes the behaviour of 6096 the library, but makes it work better with RGBA files produced by 6097 lots of applications that don't mark the alpha values properly. 6098 6099 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 6100 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 6101 61022001-12-12 Frank Warmerdam <[email protected]> 6103 6104 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 6105 override those from tiff directory. This makes this work with 6106 ImageGear generated files. 6107 61082001-12-07 Frank Warmerdam <[email protected]> 6109 6110 * html/Makefile.in: added missing images per bug 92. 6111 6112 * port/Makefile.in: fixed clean target per bug 92. 6113 61142001-11-28 Frank Warmerdam <[email protected]> 6115 6116 * Reissue 3.5.7 release. 6117 6118 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 6119 YYYYMMDD so that it is increasing over time. 6120 6121 * Makefile.in: Ensure that tiffvers.h is regenerated in the 6122 make release target. 6123 6124 * Makefile.in: added libtiff/tiffvers.h to the release file list. 6125 61262001-11-23 Frank Warmerdam <[email protected]> 6127 6128 * added html/v3.5.7.html, updated html/index.html. 6129 6130 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 6131 61322001-11-15 Frank Warmerdam <[email protected]> 6133 6134 * configure: fixed test for -lm. 6135 61362001-11-02 Frank Warmerdam <[email protected]> 6137 6138 * Added PHOTOMETRIC_ITULAB as per bug 90. 6139 6140 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 6141 61422001-10-10 Frank Warmerdam <[email protected]> 6143 6144 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 6145 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 6146 in keeping with TIFF 6.0 standard in tiff.h 6147 6148 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 6149 61502001-09-26 Frank Warmerdam <[email protected]> 6151 6152 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 6153 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 6154 61552001-09-24 Frank Warmerdam <[email protected]> 6156 6157 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 6158 6159 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 6160 6161 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 6162 error about LZW not being available. 6163 6164 * libtiff/tif_dir.c: propagate failure to initialize compression 6165 back from TIFFSetField() as an error status, so applications can 6166 detect failure. 6167 6168 * libtiff/tif_dir.c: removed the auto replacement of 6169 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 6170 6171 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 6172 from CVS as they are all supposed to be auto-generated by configure. 6173 61742001-09-22 Frank Warmerdam <[email protected]> 6175 6176 * libtiff/tif_ojpeg.c: new update from Scott. 6177 61782001-09-09 Frank Warmerdam <[email protected]> 6179 6180 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 6181 always use the "safe" version, even if there is a very slight 6182 cost in performance. 6183 6184 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 6185 6186 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 6187 in two places. 6188 6189 * libtiff/tif_getimage.c: Fixed problem with reading strips or 6190 tiles that don't start on a tile boundary. Fix contributed by 6191 Josep Vallverdu (from HP), and further described in bug 47. 6192 6193 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 6194 6195 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 6196 6197 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 6198 61992001-09-06 Frank Warmerdam <[email protected]> 6200 6201 * libtiff/tif_packbits.c: fixed memory overrun error. 6202 6203 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 6204 62052001-08-31 Frank Warmerdam <[email protected]> 6206 6207 * libtiff/tif_getimage.c: relax handling of contig case where 6208 there are extra samples that are supposed to be ignored. This 6209 should now work for 8bit greyscale or palletted images. 6210 6211 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 6212 62132001-08-28 Frank Warmerdam <[email protected]> 6214 6215 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 6216 images with more than four samples per pixel. See: 6217 6218 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 6219 62202001-08-10 Frank Warmerdam <[email protected]> 6221 6222 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 6223 in TIFFReadRGBATile() to avoid issues in cases of overlapping 6224 buffers. See Bug 69 in Bugzilla. 6225 6226 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 6227 6228 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 6229 62302001-08-09 Frank Warmerdam <[email protected]> 6231 6232 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 6233 when checking for 64 bit architectures as per bugzilla bug 67. 6234 62352001-07-27 Frank Warmerdam <[email protected]> 6236 6237 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 6238 bug 66. 6239 62402001-07-20 Frank Warmerdam <[email protected]> 6241 6242 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 6243 has been included. 6244 62452001-07-19 Frank Warmerdam <[email protected]> 6246 6247 * libtiff/tif_open.c: Seek back to zero after failed read, 6248 before writing header. 6249 62502001-07-18 Frank Warmerdam <[email protected]> 6251 6252 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 6253 much better. Now depends on having patched libjpeg as per 6254 patch in contrib/ojpeg/*. 6255 62562001-07-17 Frank Warmerdam <[email protected]> 6257 6258 * */Makefile.in: added DESTDIR support. 6259 6260 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 6261 62622001-07-16 Frank Warmerdam <[email protected]> 6263 6264 * configure, libtiff/Makefile.in: applied OpenBSD patches 6265 as per: 6266 6267 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 6268 62692001-06-28 Frank Warmerdam <[email protected]> 6270 6271 * libtiff/tif_getimage.c: Fixed so that failure is properly 6272 reported by gtTileContig, gtStripContig, gtTileSeparate and 6273 gtStripSeparate. 6274 6275 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 6276 6277 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 6278 Updated bug section of tiffcmp.1 to note tiled file issues. 6279 6280 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 6281 62822001-06-22 Frank Warmerdam <[email protected]> 6283 6284 * configure: Changes for DSO generation on AIX provided by 6285 John Marquart <[email protected]>. 6286 6287 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 6288 on Darwin thanks to Robert Krajewski ([email protected]) and 6289 Keisuke Fujii ([email protected]). 6290 62912001-06-13 Frank Warmerdam <[email protected]> 6292 6293 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 6294 6295 * man/tiff2rgba.1: new 6296 62972001-05-22 Frank Warmerdam <[email protected]> 6298 6299 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 6300 63012001-05-13 Frank Warmerdam <[email protected]> 6302 6303 * libtiff/tools/thumbnail.c: changed default output compression 6304 to packbits from LZW since LZW isn't generally available. 6305 63062001-05-12 Frank Warmerdam <[email protected]> 6307 6308 * libtiff/tif_ojpeg.c: New. 6309 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 6310 to OJPEG support. 6311 6312 Scott Marovich <[email protected]> supplied OJPEG support. 6313 63142001-05-11 Frank Warmerdam <[email protected]> 6315 6316 * tiff.h: removed, it duplicates libtiff/tiff.h. 6317 63182001-05-08 Frank Warmerdam <[email protected]> 6319 6320 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 6321 ensure everything is in order. 6322 6323 * libtiff/libtiff.def: added TIFFCreateDirectory and 6324 TIFFDefaultStripSize as per: 6325 6326 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 6327 63282001-05-02 Frank Warmerdam <[email protected]> 6329 6330 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 6331 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 6332 force use of uint32 counts instead of short counts. 6333 6334 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 6335 case of writing TIFF_BYTE/TIFF_SBYTE fields. 6336 6337 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 6338 63392001-05-01 Frank Warmerdam <[email protected]> 6340 6341 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 6342 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 6343 63442001-04-05 Frank Warmerdam <[email protected]> 6345 6346 * tiffio.h: removed C++ style comment. 6347 6348 * configure: fixed up SCRIPT_SH/SHELL handling. 6349 6350 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 6351 6352 * config.guess: documented more variables as per bug 40. 6353 63542001-04-03 Frank Warmerdam <[email protected]> 6355 6356 * configure, *Makefile.in: Various changes to improve configuration 6357 for HP/UX specifically, and also in general. They include: 6358 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 6359 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 6360 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 6361 - Use -${MAKEFLAGS} in sub makes from makefiles. 6362 6363 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 6364 63652001-04-02 Frank Warmerdam <[email protected]> 6366 6367 * libtiff/tiff.h: Applied hac to try and resolve the problem 6368 with the inttypes.h include file on AIX. 6369 6370 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 6371 6372 * VERSION: update to 3.5.7 beta in preparation for release. 6373 6374 * configure/config.site: modified to check if -lm is needed for 6375 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 6376 6377 * config.guess: updated wholesale to an FSF version apparently 6378 from 1998 (as opposed to 1994). This is mainly inspired by 6379 providing for MacOS X support. 6380 63812001-03-29 Frank Warmerdam <[email protected]> 6382 6383 * configure, Makefile.in, etc: added support for OPTIMIZER being 6384 set from config.site. 6385 63862001-03-28 Frank Warmerdam <[email protected]> 6387 6388 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 6389 6390 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 6391 sizes. It fixes two problems: 6392 6393 Without scaling (-S) the fax is now centered on the page size specified 6394 with -H and/or -W. Before, fax2ps was using an obscure and practially 6395 useless algorithm to allocate the image relative to Letter sized paper 6396 which sometime sled to useless whitespace on the paper, while at the 6397 same time cutting of the faxes printable area at the opposite border. 6398 6399 Second, scaling now preserves aspect ratio, which makes unusual faxes 6400 (in particular short ones) print properly. 6401 6402 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 6403 6404 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 6405 Bruce A. Mallett. See check message for detailed information 6406 on all the changes, including a faster encoder, fixes for level 6407 2 PostScript, and support for the imagemask operator. 6408 64092001-03-27 Frank Warmerdam <[email protected]> 6410 6411 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 6412 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 6413 6414 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 6415 64162001-03-16 Frank Warmerdam <[email protected]> 6417 6418 * tif_dirinfo.c: moved definition of copyright tag in field list. 6419 Apparently they have to be in sorted order by tag id. 6420 64212001-03-13 Frank Warmerdam <[email protected]> 6422 6423 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 6424 images in RGBA interface. 6425 64262001-03-02 Frank Warmerdam <[email protected]> 6427 6428 * Added TIFFTAG_COPYRIGHT support. 6429 64302001-02-19 Frank Warmerdam <[email protected]> 6431 6432 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 6433 with support for extracting subimages with the ,n syntax, and also 6434 adding the -b bias removal flag. 6435 64362001-02-16 Frank Warmerdam <[email protected]> 6437 6438 * libtiff/libtiff.def: Brent Roman submitted new version adding 6439 serveral missing entry points. 6440 6441 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 6442 Some sort of weird VMS thing. 6443 6444 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 6445 6446 * tif_luv.c/tiff.h/tiffio.h: 6447 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 6448 ([email protected]). He writes: 6449 6450 1) I improved the gamut-mapping function in tif_luv.c for imaginary 6451 colors, because some images were being super-saturated on the input 6452 side and this resulted in some strange color shifts in the output. 6453 6454 2) I added a psuedotag in tiff.h to control random dithering during 6455 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 6456 on for 24-bit LogLuv output. Dithering improves the average color 6457 accuracy over the image. 6458 6459 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 6460 tiffio.h, to expose internal routines for converting between LogLuv and 6461 XYZ coordinates. This is helpful for writing more efficient, 6462 specialized conversion routines, especially for reading LogLuv files. 6463 6464 Changes applied with minor edits. 6465 64662001-01-23 Frank Warmerdam <[email protected]> 6467 6468 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 6469 whether we are encoding or decoding. This is to ensure graceful 6470 recovery if TIFFClientOpen() discovers an attempt to open a compressed 6471 file for "r+" access, and subsequently close it, as it resets the 6472 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 6473 compressor's concept of whether it is in encode or decode mode. 6474 64752001-01-08 Mike Welles <[email protected]> 6476 6477 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 6478 64792001-01-07 Frank Warmerdam <[email protected]> 6480 6481 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 6482 as per bug report by Patrick Connor. 6483 64842000-12-28 Frank Warmerdam <[email protected]> 6485 6486 * Added RELEASE-DATE file to release file list. 6487 6488 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 6489 64902000-12-22 Mike Welles <[email protected]> 6491 * added link to CVS mirror from index.html 6492 6493 * updated html/internals.html to note that LZW compression is 6494 not supported by default. 6495 64962000-12-22 Frank Warmerdam <[email protected]> 6497 6498 * updated html/libtiff.html to not point at Niles' old JPL web site 6499 for the man pages, point at www.libtiff.org. 6500 65012000-12-21 Frank Warmerdam <[email protected]> 6502 6503 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 6504 Leonard Rosenthol <[email protected]>. May interfere 6505 with correct building on older systems. If so, please let me know. 6506 65072000-12-19 Mike Welles <[email protected]> 6508 6509 * Took out LZW Encoding from tif_lzw.c 6510 6511 * Created HOWTO-RELEASE 6512 6513 * Created html/v3.5.6.html 6514 6515 * updated index.html 6516 65172000-12-01 Frank Warmerdam <[email protected]> 6518 6519 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 6520 Patches supplied by Frank Cringle <[email protected]> 6521 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 6522 65232000-11-24 Frank Warmerdam <[email protected]> 6524 6525 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 6526 target so that the private headers required by libgeotiff can be 6527 installed with the others. They are not installed by default. 6528 6529 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 6530 targets so libtiff.so will be built with an explicit dependency 6531 on libm.so. 6532 6533 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 6534 libtiff.so.3.5.5. 6535 6536 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 6537 file, or ALPHA version logic. Added stuff about DIST_POINT in 6538 place of DIST_TYPE and the alpha release number stuff. 6539 65402000-11-22 Frank Warmerdam <[email protected]> 6541 6542 * I have applied a patch from Steffen Moeller <[email protected]> to 6543 the configure script so that it now accepts the --prefix, and 6544 --exec-prefix directives. 6545 65462000-11-13 Frank Warmerdam <warmerda@cs46980-c> 6547 6548 * I have made a variety of modifications in an effort to ensure the 6549 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 6550 file which seems to be updated regularly. 6551 6552 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 6553 version include file. 6554 o renamed version.h to tiffvers.h because we now have to install it 6555 with the public libtiff include files. 6556 o include tiffvers.h in tiffio.h. 6557 o updated tif_version.c to use tiffvers.h. 6558 o Updated Makefile.in accordingly. 6559 6560 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 6561 I have updated the win32 detection rules in tiffcomp.h. 6562 65632000-10-20 Frank Warmerdam <warmerda@cs46980-c> 6564 6565 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 6566 the strip/tile width and height aren't multiples of the sampling size. 6567 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 6568 Some patches from Rick LaMont of Dot C Software. 6569 6570 * Modified tif_packbits.c encoder to avoid compressing more 6571 data than provided if rowsize doesn't factor into provided data 6572 (such as occurs for YCbCr). 6573 65742000-10-19 Frank Warmerdam <warmerda@cs46980-c> 6575 6576 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 6577 roundup if rows_per_strip not a multiple of vertical sample size. 6578 65792000-10-16 Frank Warmerdam <warmerda@cs46980-c> 6580 6581 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 6582 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 6583 from [email protected]. 6584 6585 * Modified tif_packbits.c decoding to avoid overrunning the 6586 output buffer, and to issue a warning if data needs to be 6587 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 6588 65892000-10-12 Frank Warmerdam <warmerda@cs46980-c> 6590 6591 * Modified tiff2bw to ensure portions add to 100%, and that 6592 white is properly recovered. 6593 6594 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 6595 Patch c/o Stanislav Brabec <[email protected]> 6596 65972000-09-30 Frank Warmerdam <warmerda@cs46980-c> 6598 6599 * Modified TIFFClientOpen() to emit an error on an attempt to 6600 open a comperessed file for update (O_RDWR/r+) access. This is 6601 because the compressor/decompressor code gets very confused when 6602 the mode is O_RDWR, assuming this means writing only. See 6603 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 6604 66052000-09-27 Frank Warmerdam <warmerda@cs46980-c> 6606 6607 * Added GNULDdso target an`d switched linux and freebsd to use it. 6608 66092000-09-26 Frank Warmerdam <warmerda@cs46980-c> 6610 6611 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 6612 of EXPAND1D() as per bug 11 (from Roman). 6613 66142000-09-25 Frank Warmerdam <warmerda@cs46980-c> 6615 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 6616 cygwin compatibility. 6617 6618 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 6619 be a proper fix to the buffer sizing problem. See 6620 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 6621 6622 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 6623 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 6624 Thanks to Nick Lamb <[email protected]> for reporting the 6625 bug and proving the patch. 6626 66272000-09-18 Frank Warmerdam <warmerda@cs46980-c> 6628 6629 * Fixed tif_jpeg.c so avoid destroying the decompressor before 6630 we are done access data thanks to bug report from: 6631 Michael Eckstein <[email protected]>. 6632 6633 * Reverted tif_flush change. 6634 66352000-09-14 Frank Warmerdam <warmerda@cs46980-c> 6636 6637 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 6638 error when TIFF_BEENWRITING is not set. This ensures that the 6639 directory contents can still be flushed by TIFFFlush(). 6640 66412000-08-14 Frank Warmerdam <[email protected]> 6642 6643 * tif_open.c: Don't set MMAP for O_RDWR files. 6644 6645 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 6646 so that files opened for update can be strip chopped too. 6647 6648 * tif_read.c: fixed up bug with files missing rowsperstrip and 6649 the strips per separation fix done a few weeks ago. 6650 66512000-07-17 Frank Warmerdam <warmerda@cs46980-c> 6652 6653 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 6654 SAMPLEFORMAT_COMPLEXINT. 6655 66562000-07-13 Mike Welles <[email protected]> 6657 6658 * index.html, bugs.html: added bugzilla info. 6659 66602000-07-12 Frank Warmerdam <[email protected]> 6661 6662 * tif_read.c: fix subtle bug with determining the number of 6663 rows for strips that are the last strip in a separation but 6664 not the last strip of all in TIFFReadEncodedStrip(). 6665 6666 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 6667 Peter Skarpetis <[email protected]> 6668 66692000-06-15 Frank Warmerdam <[email protected]> 6670 6671 * Modified tiffio.h logic with regard to including windows.h. It 6672 won't include it when building with __CYGWIN__. 6673 66742000-05-11 Frank Warmerdam <warmerda@cs46980-c> 6675 6676 * README: update to mention www.libtiff.org, don't list Sam's old 6677 email address. 6678 6679 * configure: Fixed DSO test for Linux as per patch from 6680 Jan Van Buggenhout <[email protected]>. 6681 66822000-04-21 Frank Warmerdam <[email protected]> 6683 6684 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 6685 one tile/strip images with an offset, and byte count of zero. These 6686 could be "unpopulated" images. 6687 66882000-04-18 Frank Warmerdam <[email protected]> 6689 6690 * contrib/addtiffo: Added "averaging" resampling option. 6691 6692 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 6693 6694Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 6695 6696 * tools/Makefile.in: Modified to install properly on SGI. 6697 66982000-04-12 Mike Welles <[email protected]> 6699 * configure: Fixed stupid mistake in libc6 test on Linux 6700 67012000-04-04 Mike Welles <[email protected]> 6702 * tif_win32.c: Applied patch to fix overreads and ovverwrites 6703 caught by BoundsChecker. From Arvan Pritchard 6704 <[email protected]> (untested). 6705 6706 * tif_getimage.c: Applied patch to silence VC6 warnings. From 6707 Arvan Pritchard <[email protected]> 6708 6709 * tif_lzw.c: Applied patch to silence VC6 warnings. From 6710 Arvan Pritchard <[email protected]> 6711 67122000-03-28 Frank Warmerdam <warmerda@cs46980-c> 6713 6714 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 6715 67162000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 6717 6718 * fax2ps: Fixed mixup of width and height in bounding box statement 6719 as per submission by Nalin Dahyabhai <[email protected]>. 6720 67212000-03-27 Mike Welles <[email protected]> 6722 6723 * fax2ps: Modified printruns to take uint32 instead of uint16. 6724 Patch courtesy of Bernt Herd <[email protected]> 6725 67262000-03-20 Mike Welles <[email protected]> 6727 6728 * configure: added test for libc6 for linux targets. Bug reported by 6729 Stanislav Brabec <[email protected]> 6730 6731 * Added 3.5 docs to html/Makefile.in. 6732 Thanks to Stanislav Brabec <[email protected]> 6733 6734 * configure: fixed bugs in sed scripts 6735 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 6736 fix submitted to Stanislav Brabec <[email protected]> 6737 6738 * tools/iptcutil was not in files list, and wasn't being 6739 added to tar archive. Updated Makefile.in. 6740 67412000-03-17 Frank Warmerdam <warmerda@cs46980-c> 6742 6743 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 6744 conversion for the run arrays. 6745 67462000-03-03 Frank Warmerdam <[email protected]> 6747 6748 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 6749 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 6750 67512000-03-02 Frank Warmerdam <[email protected]> 6752 6753 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 6754 6755 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 6756 to avoid overruns encountered with frle_bug.tif. 6757 6758Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 6759 6760 * Fixed tools/tiffcmp so that stopondiff testing works. 6761 Patch care of Joseph Orost <[email protected]>. 6762 67632000-01-28 <warmerda@CS46980-B> 6764 6765 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 6766 set to 1, and added default (off) setting in tiffconf.h. This 6767 should eventually be set by the configure script somehow. 6768 6769 The original work on all these 2-4GB changes was done by 6770 Peter Smith ([email protected]). 6771 6772 * Modified tif_win32.c to support 2-4GB seeks. 6773 6774 * tentatively changed toff_t to be unsigned instead of signed to 6775 facilitate support for 2-4GB files. 6776 6777 * Updated a variety of files to use toff_t. Fixed some mixups 6778 between toff_t and tsize_t. 6779 6780Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 6781 6782 * Largely reimplemented contrib/addtiffo to avoid temp files, 6783 updating the TIFF file in place. Fixed a few other bugs to. 6784 6785 * Set tif_rawdatasize to zero when freeing raw data buffer in 6786 TIFFWriteDirectory(). 6787 6788 * Enabled "REWRITE_HACK" in tif_write.c by default. 6789 6790 * Fix bug in tif_write.c when switching between reading one directory 6791 and writing to another. 6792 6793 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 6794 6795Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 6796 6797 * Added TIFFmemory(3t) functions to libtiff.def. 6798 6799Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 6800 6801 * Added libtiff/libtiff.def to TIFFILES distribution list. 6802 6803Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 6804 6805 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 6806 6807 * Altered descriptions in tools to reflect "by default" lzw not supported 6808 6809 * Updated index.html to note lzw compression kit. 6810 6811Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 6812 6813 * Added fax3sm_winnt.c to distribution list in Makefile.in. 6814 6815Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 6816 6817 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 6818 6819 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 6820 when LZW compression invoked. 6821 6822 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 6823 in tools to reflect removal of LZW compression 6824 6825Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 6826 6827 * Fixed bug that caused LZW (non) compression to segfault. Added 6828 warning about LZW compression removed being removed, and why. 6829 6830 * Added nostrip to install in tools/Makefile.in so that debugging 6831 symbols are kept. 6832 6833Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 6834 6835 * Added patch from Ivo Penzar <[email protected]>, 6836 supporting Adobe ZIP deflate. Untested. 6837 6838Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 6839 6840 * Made Packbits the default compression in tools/tiff2rgba.c instead 6841 of LZW. 6842 6843Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 6844 6845 * Added tif_luv to contrib/djgpp/Makefile.lib. 6846 6847Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 6848 6849 * Added zip creation to relase makefile target 6850 6851 * Added html for TIFFWriteTile.3t man page. 6852 6853Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 6854 6855 * Added some changes to tif_write.c to support rewriting existing 6856 fixed sized tiles and strips. Code mods disabled by default, only 6857 enabled if REWRITE_HACK is defined for now. 6858 6859Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 6860 6861 * Added TIFFWriteTile.3t man page. 6862 6863Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 6864 6865 * Added notes on use of makefile.vc in build.html, and fixed 6866 email subscription address. 6867 6868199-11-28 Mike Welles <[email protected]> 6869 6870 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 6871 6872 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 6873 from Bruce Carmeron <[email protected]> -- modifications of 6874 changes made by Frank (sun cc still complained on cast). 6875 6876 * Added tiffconf.h to install target per request from Bill 6877 Radcliffe <[email protected]>: "We need a way for ImageMagick to 6878 know features have been compiled into the TIFF library in order to 6879 handle things properly". 6880 6881Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 6882 6883 * fixed various VC++ warnings as suggested by Gilles Vollant 6884 <[email protected]>. 6885 6886Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 6887 6888 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 6889 not imply applications are responsible for image data swapping. 6890 68911999-11-22 Mike Welles <[email protected]> 6892 * HTML-ized the man pages, added to html/man 6893 6894 * Removed LZW Compression to comply with Unisys patent extortion. 6895 68961999-09-29 Mike Welles <[email protected]> 6897 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 6898 From Ivo Penzar <[email protected]. 6899 6900 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 6901 memory mapped files. <[email protected]> 6902 69031999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 6904 * Corrected alpha versioning. 6905 6906 * Removed distinction between alpha and release targets in Makefile.in. 6907 6908 * added release.stamp target, which tags cvs tree, and updates 6909 "RELEASE-DATE" 6910 6911 * added releasediff target, which diffs tree with source as of 6912 date in "RELEASE-DATE" 6913 6914 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 6915 away from alpha/non-alpha distinctions). 6916 6917 * updated html to reflect release 6918 69191999-09-23 <warmerda@CS46980-B> 6920 6921 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 6922 6923 * Added CYGWIN case in configure. 6924 6925Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 6926 6927 * Applied Francois Dagand's patch to handle fax decompression bug. 6928 (sizes >= 65536 were failing) 6929 6930Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 6931 6932 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 6933 by Christopher Lawton <[email protected]> 6934 6935Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 6936 6937 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 6938 Albert Chin-A-Young <[email protected]> 6939 6940 * Added TIFFReassignTagToIgnore() API on behalf of 6941 Bruce Cameron <[email protected]>. Man page still pending. 6942 6943Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 6944 6945 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 6946 files to provide for a rudimentary testsuite. 6947 6948 * Added contrib/tags back from old distribution ... fixed up a bit. 6949 69501999-08-16 <warmerda@CS46980-B> 6951 6952 * Added simple makefile.vc makefiles for building with MS VC++ 6953 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 6954 better solutions for some users. 6955 6956Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 6957 6958 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 6959 put it in tools since part of it is in C++. 6960 69611999-08-16 Michael L. Welles <[email protected]> 6962 6963 * Updated html/index.html with anon CVS instructions. 6964 6965Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 6966 6967 * pre-remove so link before softlink in LINUXdso action in 6968 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 6969 the first. 6970 6971 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 6972 colormaps owned by the TIFF handle itself when trying to fixup wrong 6973 (eight bit) colormaps. Corrected by maintaining a private copy of 6974 the colormap. 6975 6976 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 6977 tif_getimage.c. 6978 6979 * CVS Repository placed at remotesensing.org. ChangeLog added. 6980