12016-11-16 Even Rouault <even.rouault at spatialys.com> 2 3 * libtiff/tif_dirread.c: in TIFFFetchNormalTag(), do not dereference 4 NULL pointer when values of tags with TIFF_SETGET_C16_ASCII / TIFF_SETGET_C32_ASCII 5 access are 0-byte arrays. 6 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2593 (regression introduced 7 by previous fix done on 2016-11-11 for CVE-2016-9297). 8 Reported by Henri Salo. 9 102016-11-12 Bob Friesenhahn <[email protected]> 11 12 * tools/tiffinfo.c (TIFFReadContigTileData): Fix signed/unsigned 13 comparison warning. 14 (TIFFReadSeparateTileData): Fix signed/unsigned comparison 15 warning. 16 17 * tools/tiffcrop.c (readContigTilesIntoBuffer): Fix 18 signed/unsigned comparison warning. 19 20 * html/v4.0.7.html: Add a file to document the pending 4.0.7 21 release. 22 232016-11-11 Even Rouault <even.rouault at spatialys.com> 24 25 * tools/tiff2pdf.c: avoid undefined behaviour related to overlapping 26 of source and destination buffer in memcpy() call in 27 t2p_sample_rgbaa_to_rgb() 28 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2577 29 302016-11-11 Even Rouault <even.rouault at spatialys.com> 31 32 * tools/tiff2pdf.c: fix potential integer overflows on 32 bit builds 33 in t2p_read_tiff_size() 34 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2576 35 362016-11-11 Even Rouault <even.rouault at spatialys.com> 37 38 * libtiff/tif_aux.c: fix crash in TIFFVGetFieldDefaulted() 39 when requesting Predictor tag and that the zip/lzw codec is not 40 configured. 41 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2591 42 432016-11-11 Even Rouault <even.rouault at spatialys.com> 44 45 * libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make sure that 46 values of tags with TIFF_SETGET_C16_ASCII / TIFF_SETGET_C32_ASCII 47 access are null terminated, to avoid potential read outside buffer 48 in _TIFFPrintField(). 49 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2590 (CVE-2016-9297) 50 512016-11-11 Even Rouault <even.rouault at spatialys.com> 52 53 * libtiff/tif_dirread.c: reject images with OJPEG compression that 54 have no TileOffsets/StripOffsets tag, when OJPEG compression is 55 disabled. Prevent null pointer dereference in TIFFReadRawStrip1() 56 and other functions that expect td_stripbytecount to be non NULL. 57 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2585 58 592016-11-11 Even Rouault <even.rouault at spatialys.com> 60 61 * tools/tiffcrop.c: fix multiple uint32 overflows in 62 writeBufferToSeparateStrips(), writeBufferToContigTiles() and 63 writeBufferToSeparateTiles() that could cause heap buffer overflows. 64 Reported by Henri Salo from Nixu Corporation. 65 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2592 66 672016-11-10 Even Rouault <even.rouault at spatialys.com> 68 69 * libtiff/tif_strip.c: make TIFFNumberOfStrips() return the td->td_nstrips 70 value when it is non-zero, instead of recomputing it. This is needed in 71 TIFF_STRIPCHOP mode where td_nstrips is modified. Fixes a read outsize of 72 array in tiffsplit (or other utilities using TIFFNumberOfStrips()). 73 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2587 (CVE-2016-9273) 74 752016-11-04 Even Rouault <even.rouault at spatialys.com> 76 77 * libtiff/tif_predic.c: fix memory leaks in error code paths added in 78 previous commit (fix for MSVR 35105) 79 802016-10-31 Even Rouault <even.rouault at spatialys.com> 81 82 * libtiff/tif_predict.h, libtiff/tif_predict.c: 83 Replace assertions by runtime checks to avoid assertions in debug mode, 84 or buffer overflows in release mode. Can happen when dealing with 85 unusual tile size like YCbCr with subsampling. Reported as MSVR 35105 86 by Axel Souchet & Vishal Chauhan from the MSRC Vulnerabilities & Mitigations 87 team. 88 892016-10-26 Even Rouault <even.rouault at spatialys.com> 90 91 * tools/fax2tiff.c: fix segfault when specifying -r without 92 argument. Patch by Yuriy M. Kaminskiy. 93 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2572 94 952016-10-25 Even Rouault <even.rouault at spatialys.com> 96 97 * libtiff/tif_dir.c: discard values of SMinSampleValue and 98 SMaxSampleValue when they have been read and the value of 99 SamplesPerPixel is changed afterwards (like when reading a 100 OJPEG compressed image with a missing SamplesPerPixel tag, 101 and whose photometric is RGB or YCbCr, forcing SamplesPerPixel 102 being 3). Otherwise when rewriting the directory (for example 103 with tiffset, we will expect 3 values whereas the array had been 104 allocated with just one), thus causing a out of bound read access. 105 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2500 106 (CVE-2014-8127, duplicate: CVE-2016-3658) 107 108 * libtiff/tif_dirwrite.c: avoid null pointer dereference on td_stripoffset 109 when writing directory, if FIELD_STRIPOFFSETS was artificially set 110 for a hack case in OJPEG case. 111 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2500 112 (CVE-2014-8127, duplicate: CVE-2016-3658) 113 1142016-10-25 Even Rouault <even.rouault at spatialys.com> 115 116 * tools/tiffinfo.c: fix out-of-bound read on some tiled images. 117 (http://bugzilla.maptools.org/show_bug.cgi?id=2517) 118 119 * libtiff/tif_compress.c: make TIFFNoDecode() return 0 to indicate an 120 error and make upper level read routines treat it accordingly. 121 (linked to the test case of http://bugzilla.maptools.org/show_bug.cgi?id=2517) 122 1232016-10-14 Even Rouault <even.rouault at spatialys.com> 124 125 * tools/tiffcrop.c: fix out-of-bound read of up to 3 bytes in 126 readContigTilesIntoBuffer(). Reported as MSVR 35092 by Axel Souchet 127 & Vishal Chauhan from the MSRC Vulnerabilities & Mitigations team. 128 1292016-10-09 Even Rouault <even.rouault at spatialys.com> 130 131 * tools/tiff2pdf.c: fix write buffer overflow of 2 bytes on JPEG 132 compressed images. Reported by Tyler Bohan of Cisco Talos as 133 TALOS-CAN-0187 / CVE-2016-5652. 134 Also prevents writing 2 extra uninitialized bytes to the file stream. 135 1362016-10-08 Even Rouault <even.rouault at spatialys.com> 137 138 * tools/tiffcp.c: fix out-of-bounds write on tiled images with odd 139 tile width vs image width. Reported as MSVR 35103 140 by Axel Souchet and Vishal Chauhan from the MSRC Vulnerabilities & 141 Mitigations team. 142 1432016-10-08 Even Rouault <even.rouault at spatialys.com> 144 145 * tools/tiff2pdf.c: fix read -largely- outsize of buffer in 146 t2p_readwrite_pdf_image_tile(), causing crash, when reading a 147 JPEG compressed image with TIFFTAG_JPEGTABLES length being one. 148 Reported as MSVR 35101 by Axel Souchet and Vishal Chauhan from 149 the MSRC Vulnerabilities & Mitigations team. 150 1512016-10-08 Even Rouault <even.rouault at spatialys.com> 152 153 * tools/tiffcp.c: fix read of undefined variable in case of missing 154 required tags. Found on test case of MSVR 35100. 155 * tools/tiffcrop.c: fix read of undefined buffer in 156 readContigStripsIntoBuffer() due to uint16 overflow. Probably not a 157 security issue but I can be wrong. Reported as MSVR 35100 by Axel 158 Souchet from the MSRC Vulnerabilities & Mitigations team. 159 1602016-09-25 Bob Friesenhahn <[email protected]> 161 162 * html: Change as many remotesensing.org broken links to a working 163 URL as possible. 164 1652016-09-24 Bob Friesenhahn <[email protected]> 166 167 * libtiff/tif_getimage.c (TIFFRGBAImageOK): Reject attempts to 168 read floating point images. 169 170 * libtiff/tif_predict.c (PredictorSetup): Enforce bits-per-sample 171 requirements of floating point predictor (3). Fixes CVE-2016-3622 172 "Divide By Zero in the tiff2rgba tool." 173 1742016-09-23 Even Rouault <even.rouault at spatialys.com> 175 176 * tools/tiffcrop.c: fix various out-of-bounds write vulnerabilities 177 in heap or stack allocated buffers. Reported as MSVR 35093, 178 MSVR 35096 and MSVR 35097. Discovered by Axel Souchet and Vishal 179 Chauhan from the MSRC Vulnerabilities & Mitigations team. 180 * tools/tiff2pdf.c: fix out-of-bounds write vulnerabilities in 181 heap allocate buffer in t2p_process_jpeg_strip(). Reported as MSVR 182 35098. Discovered by Axel Souchet and Vishal Chauhan from the MSRC 183 Vulnerabilities & Mitigations team. 184 * libtiff/tif_pixarlog.c: fix out-of-bounds write vulnerabilities 185 in heap allocated buffers. Reported as MSVR 35094. Discovered by 186 Axel Souchet and Vishal Chauhan from the MSRC Vulnerabilities & 187 Mitigations team. 188 * libtiff/tif_write.c: fix issue in error code path of TIFFFlushData1() 189 that didn't reset the tif_rawcc and tif_rawcp members. I'm not 190 completely sure if that could happen in practice outside of the odd 191 behaviour of t2p_seekproc() of tiff2pdf). The report points that a 192 better fix could be to check the return value of TIFFFlushData1() in 193 places where it isn't done currently, but it seems this patch is enough. 194 Reported as MSVR 35095. Discovered by Axel Souchet & Vishal Chauhan & 195 Suha Can from the MSRC Vulnerabilities & Mitigations team. 196 1972016-09-20 Bob Friesenhahn <[email protected]> 198 199 * html/man/index.html: Comment out links to documentation for 200 abandoned utilities. 201 2022016-09-17 Even Rouault <even.rouault at spatialys.com> 203 204 * libtiff/tif_lzma.c: typo fix in comment 205 2062016-09-04 Even Rouault <even.rouault at spatialys.com> 207 208 * libtiff/*.c: fix warnings raised by clang 3.9 -Wcomma 209 2102016-09-03 Even Rouault <even.rouault at spatialys.com> 211 212 * libtiff/tif_dirwrite.c, libtiff/tif_color.c: fix warnings raised 213 by GCC 5 / clang -Wfloat-conversion 214 2152016-08-16 Even Rouault <even.rouault at spatialys.com> 216 217 * tools/tiffcrop.c: fix C99'ism. 218 2192016-08-15 Even Rouault <even.rouault at spatialys.com> 220 221 * tools/tiff2bw.c: fix weight computation that could result of color 222 value overflow (no security implication). Fix bugzilla #2550. 223 Patch by Frank Freudenberg. 224 2252016-08-15 Even Rouault <even.rouault at spatialys.com> 226 227 * tools/rgb2ycbcr.c: validate values of -v and -h parameters to 228 avoid potential divide by zero. Fixes CVE-2016-3623 (bugzilla #2569) 229 2302016-08-15 Even Rouault <even.rouault at spatialys.com> 231 232 * tools/tiffcrop.c: Fix out-of-bounds write in loadImage(). 233 From patch libtiff-CVE-2016-3991.patch from 234 libtiff-4.0.3-25.el7_2.src.rpm by Nikola Forro (bugzilla #2543) 235 2362016-08-15 Even Rouault <even.rouault at spatialys.com> 237 238 * libtiff/tif_pixarlog.c: Fix write buffer overflow in PixarLogEncode 239 if more input samples are provided than expected by PixarLogSetupEncode. 240 Idea based on libtiff-CVE-2016-3990.patch from 241 libtiff-4.0.3-25.el7_2.src.rpm by Nikola Forro, but with different and 242 simpler check. (bugzilla #2544) 243 2442016-08-15 Even Rouault <even.rouault at spatialys.com> 245 246 * tools/tiff2rgba.c: Fix integer overflow in size of allocated 247 buffer, when -b mode is enabled, that could result in out-of-bounds 248 write. Based initially on patch tiff-CVE-2016-3945.patch from 249 libtiff-4.0.3-25.el7_2.src.rpm by Nikola Forro, with correction for 250 invalid tests that rejected valid files. (bugzilla #2545) 251 2522016-07-11 Even Rouault <even.rouault at spatialys.com> 253 254 * tools/tiffcrop.c: Avoid access outside of stack allocated array 255 on a tiled separate TIFF with more than 8 samples per pixel. 256 Reported by Kaixiang Zhang of the Cloud Security Team, Qihoo 360 257 (CVE-2016-5321 / CVE-2016-5323 , bugzilla #2558 / #2559) 258 2592016-07-10 Even Rouault <even.rouault at spatialys.com> 260 261 * libtiff/tif_read.c: Fix out-of-bounds read on 262 memory-mapped files in TIFFReadRawStrip1() and TIFFReadRawTile1() 263 when stripoffset is beyond tmsize_t max value (reported by 264 Mathias Svensson) 265 2662016-07-10 Even Rouault <even.rouault at spatialys.com> 267 268 * tools/tiffdump.c: fix a few misaligned 64-bit reads warned 269 by -fsanitize 270 2712016-07-03 Even Rouault <even.rouault at spatialys.com> 272 273 * libtiff/tif_read.c: make TIFFReadEncodedStrip() and 274 TIFFReadEncodedTile() directly use user provided buffer when 275 no compression (and other conditions) to save a memcpy(). 276 277 * libtiff/tif_write.c: make TIFFWriteEncodedStrip() and 278 TIFFWriteEncodedTile() directly use user provided buffer when 279 no compression to save a memcpy(). 280 2812016-07-01 Even Rouault <even.rouault at spatialys.com> 282 283 * libtiff/tif_luv.c: validate that for COMPRESSION_SGILOG and 284 PHOTOMETRIC_LOGL, there is only one sample per pixel. Avoid 285 potential invalid memory write on corrupted/unexpected images when 286 using the TIFFRGBAImageBegin() interface (reported by 287 Clay Wood) 288 2892016-06-28 Even Rouault <even.rouault at spatialys.com> 290 291 * libtiff/tif_pixarlog.c: fix potential buffer write overrun in 292 PixarLogDecode() on corrupted/unexpected images (reported by Mathias Svensson) 293 (CVE-2016-5875) 294 2952016-06-15 Bob Friesenhahn <[email protected]> 296 297 * libtiff/libtiff.def: Added _TIFFMultiply32 and _TIFFMultiply64 298 to libtiff.def 299 3002016-06-05 Bob Friesenhahn <[email protected]> 301 302 * tools/Makefile.am: The libtiff tools bmp2tiff, gif2tiff, 303 ras2tiff, sgi2tiff, sgisv, and ycbcr are completely removed from 304 the distribution. The libtiff tools rgb2ycbcr and thumbnail are 305 only built in the build tree for testing. Old files are put in 306 new 'archive' subdirectory of the source repository, but not in 307 distribution archives. These changes are made in order to lessen 308 the maintenance burden. 309 3102016-05-10 Bob Friesenhahn <[email protected]> 311 312 * libtiff/tif_config.vc.h (HAVE_SNPRINTF): Add a '1' to the 313 HAVE_SNPRINTF definition.' 314 3152016-05-09 Bob Friesenhahn <[email protected]> 316 317 * libtiff/tif_config.vc.h (HAVE_SNPRINTF): Applied patch by Edward 318 Lam to define HAVE_SNPRINTF for Visual Studio 2015. 319 3202016-04-27 Even Rouault <even.rouault at spatialys.com> 321 322 * libtiff/tif_dirread.c: when compiled with DEFER_STRILE_LOAD, 323 fix regression, introduced on 2014-12-23, when reading a one-strip 324 file without a StripByteCounts tag. GDAL #6490 325 3262016-04-07 Bob Friesenhahn <[email protected]> 327 328 * html/bugs.html: Replace Andrey Kiselev with Bob Friesenhahn for 329 purposes of security issue reporting. 330 3312016-01-23 Even Rouault <even.rouault at spatialys.com> 332 333 * libtiff/*: upstream typo fixes (mostly contributed by Kurt Schwehr) 334 coming from GDAL internal libtiff 335 3362016-01-09 Even Rouault <even.rouault at spatialys.com> 337 338 * libtiff/tif_fax3.h: make Param member of TIFFFaxTabEnt structure 339 a uint16 to reduce size of the binary. 340 3412016-01-03 Even Rouault <even.rouault at spatialys.com> 342 343 * libtiff/tif_read.c, tif_dirread.c: fix indentation issues raised 344 by GCC 6 -Wmisleading-indentation 345 3462015-12-27 Even Rouault <even.rouault at spatialys.com> 347 348 * libtiff/tif_pixarlog.c: avoid zlib error messages to pass a NULL 349 string to %s formatter, which is undefined behaviour in sprintf(). 350 3512015-12-27 Even Rouault <even.rouault at spatialys.com> 352 353 * libtiff/tif_next.c: fix potential out-of-bound write in NeXTDecode() 354 triggered by http://lcamtuf.coredump.cx/afl/vulns/libtiff5.tif 355 (bugzilla #2508) 356 3572015-12-27 Even Rouault <even.rouault at spatialys.com> 358 359 * libtiff/tif_luv.c: fix potential out-of-bound writes in decode 360 functions in non debug builds by replacing assert()s by regular if 361 checks (bugzilla #2522). 362 Fix potential out-of-bound reads in case of short input data. 363 3642015-12-26 Even Rouault <even.rouault at spatialys.com> 365 366 * libtiff/tif_getimage.c: fix out-of-bound reads in TIFFRGBAImage 367 interface in case of unsupported values of SamplesPerPixel/ExtraSamples 368 for LogLUV / CIELab. Add explicit call to TIFFRGBAImageOK() in 369 TIFFRGBAImageBegin(). Fix CVE-2015-8665 reported by limingxing and 370 CVE-2015-8683 reported by zzf of Alibaba. 371 3722015-12-21 Even Rouault <even.rouault at spatialys.com> 373 374 * libtiff/tif_dirread.c: workaround false positive warning of Clang Static 375 Analyzer about null pointer dereference in TIFFCheckDirOffset(). 376 3772015-12-19 Even Rouault <even.rouault at spatialys.com> 378 379 * libtiff/tif_fax3.c: remove dead assignment in Fax3PutEOLgdal(). Found 380 by Clang Static Analyzer 381 3822015-12-18 Even Rouault <even.rouault at spatialys.com> 383 384 * libtiff/tif_dirwrite.c: fix truncation to 32 bit of file offsets in 385 TIFFLinkDirectory() and TIFFWriteDirectorySec() when aligning directory 386 offsets on a even offset (affects BigTIFF). This was a regression of the 387 changeset of 2015-10-19. 388 3892015-12-12 Even Rouault <even.rouault at spatialys.com> 390 391 * libtiff/tif_write.c: TIFFWriteEncodedStrip() and TIFFWriteEncodedTile() 392 should return -1 in case of failure of tif_encodestrip() as documented 393 * libtiff/tif_dumpmode.c: DumpModeEncode() should return 0 in case of 394 failure so that the above mentionned functions detect the error. 395 3962015-12-06 Even Rouault <even.rouault at spatialys.com> 397 398 * libtiff/uvcode.h: const'ify uv_code array 399 4002015-12-06 Even Rouault <even.rouault at spatialys.com> 401 402 * libtiff/tif_dirinfo.c: const'ify tiffFields, exifFields, 403 tiffFieldArray and exifFieldArray arrays 404 4052015-12-06 Even Rouault <even.rouault at spatialys.com> 406 407 * libtiff/tif_print.c: constify photoNames and orientNames arrays 408 4092015-12-06 Even Rouault <even.rouault at spatialys.com> 410 411 * libtiff/tif_close.c, libtiff/tif_extension.c : rename link 412 variable to avoid -Wshadow warnings 413 4142015-11-22 Even Rouault <even.rouault at spatialys.com> 415 416 * libtiff/*.c: fix typos in comments (patch by Kurt Schwehr) 417 4182015-11-22 Even Rouault <even.rouault at spatialys.com> 419 420 * libtiff/*.c: fix MSVC warnings related to cast shortening and 421 assignment within conditional expression 422 4232015-11-18 Even Rouault <even.rouault at spatialys.com> 424 425 * libtiff/*.c: fix clang -Wshorten-64-to-32 warnings 426 4272015-11-18 Even Rouault <even.rouault at spatialys.com> 428 429 * libtiff/tif_dirread.c: initialize double* data at line 3693 to NULL 430 to please MSVC 2013 431 4322015-11-17 Even Rouault <even.rouault at spatialys.com> 433 434 * libtiff/tif_dirread.c: prevent reading ColorMap or TransferFunction 435 if BitsPerPixel > 24, so as to avoid huge memory allocation and file 436 read attempts 437 4382015-11-02 Even Rouault <even.rouault at spatialys.com> 439 440 * libtiff/tif_dirread.c: remove duplicated assignment (reported by 441 Clang static analyzer) 442 4432015-10-28 Even Rouault <even.rouault at spatialys.com> 444 445 * libtiff/tif_dir.c, libtiff/tif_dirinfo.c, libtiff/tif_compress.c, 446 libtiff/tif_jpeg_12.c: suppress warnings about 'no previous 447 declaration/prototype' 448 4492015-10-19 Even Rouault <even.rouault at spatialys.com> 450 451 * libtiff/tiffiop.h, libtiff/tif_dirwrite.c: suffix constants by U to fix 452 'warning: negative integer implicitly converted to unsigned type' warning 453 (part of -Wconversion) 454 4552015-10-17 Even Rouault <even.rouault at spatialys.com> 456 457 * libtiff/tif_dir.c, libtiff/tif_dirread.c, libtiff/tif_getimage.c, 458 libtiff/tif_print.c: fix -Wshadow warnings (only in libtiff/) 459 4602015-09-12 Bob Friesenhahn <[email protected]> 461 462 * libtiff 4.0.6 released. 463 464 * html/v4.0.6.html: Added release notes for 4.0.6. 465 4662015-09-06 Bob Friesenhahn <[email protected]> 467 468 * tools/tiffgt.c: Silence glut API deprecation warnings on MacOS 469 X. Patch by Roger Leigh. 470 471 * Makefile.am: Added a 'coverity' rule to assist with Coverity 472 submissions. 473 474 * tools/tiff2pdf.c: Fix compiler warning about unused function 475 when JPEG is not available. 476 477 * tools/fax2ps.c (main): Detect failure to write to temporary 478 file. 479 4802015-09-05 Bob Friesenhahn <[email protected]> 481 482 * libtiff/tif_dirread.c (TIFFReadDirEntryCheckRangeSlongSlong8): 483 Change implementation so that it does not sometimes overflow the 484 range of a 32-bit int and to avoid a signed vs unsigned compare 485 compiler warning. 486 (TIFF_INT64_MAX): Avoid use of platform-specific large constants. 487 (TIFF_UINT32_MAX): Avoid use of platform-specific large constants. 488 4892015-09-01 Bob Friesenhahn <[email protected]> 490 491 * Makefile.am (distcheck-hook), configure.ac: Applied patches by 492 Roger Leigh (via tiff mailing list on 2015-09-01) to fix issue 493 with BSD make and to make use of cmake in 'distcheck' target 494 conditional on if cmake is available. 495 496 * CMakeLists.txt, Makefile.am, configure.ac: Applied patches by 497 Roger Leigh (via tiff mailing list on 2015-09-01). 498 499 CMake build is now included in 'distcheck' target. 500 501 Builds with CMake 2.8.9 and newer. 502 503 Tar is now resquested to use POSIX PAX format. 504 5052015-08-31 Bob Friesenhahn <[email protected]> 506 507 * CMakeLists.txt, libtiff/test/Makefile.am: Applied patches by 508 Roger Leigh (via tiff mailing list on 2015-08-31. 509 510 CMake reads all version information directly from configure.ac to 511 avoid duplication of values. This basically greps over the file 512 for the LIBTIFF_* variables, then translates them to the form 513 needed for cmake. This includes the release version and libtool 514 shared library version information. 515 516 Make shared/static library building configurable. Currently it 517 always builds shared libraries, with static libs having a _static 518 suffix (copying zlib, but it means it's got a non-standard name). 519 CMake has a -DBUILD_SHARED_LIBS=ON|OFF option to select one or the 520 other, which is now used instead. There's now a single "tiff" 521 target to build either shared or static as required, and all the 522 tests and tools are linked with this. Note: the Windows tests fail 523 when linked with a static libtiff (says: libtiff.dll not found). 524 Not really a regression since this was not tested up to this 525 point, and it's likely the unit tests haven't (ever?) been run on 526 Windows with a static libtiff, so there's some additional 527 portability issue here to address. Works fine on UNIX systems, 528 and fine on Windows with the default to build a DLL. 529 530 Add a missing file which wasn't being distributed, causing unit 531 tests to fail. Note that "find . -name '*.cmake'" lists all the 532 CMake files which need distributing in addition to all the 533 CMakeLists.txt files (which now are distributed). 534 5352015-08-31 Even Rouault <even.rouault at spatialys.com> 536 537 * libtiff/tif_predict.c: pedantic change to add explicit masking 538 with 0xff before casting to uchar in floating-point horizontal 539 differencing and accumulation routines. 540 5412015-08-31 Even Rouault <even.rouault at spatialys.com> 542 543 * libtiff/tif_predict.c: fix generation of output with 16 bit 544 or 32 bit integer, when byte swapping is needed, in 545 horizontal predictor (#2521). Also fixes decoding when there is 546 a single pixel to code (unlikely case...) and byte swapping is 547 involved. 548 5492015-08-30 Even Rouault <even.rouault at spatialys.com> 550 551 * libtiff/tif_lzw.c: make nextdata a unsigned type to avoid 552 undefined behaviour with shifts (gcc -fsanitize=shift) 553 5542015-08-30 Even Rouault <even.rouault at spatialys.com> 555 556 * libtiff/tif_fax3.c, libtiff/tif_lzw.c, libtiff/tif_predict.c: 557 add explicit masking with 0xff before casting 558 to unsigned char (make icc -check=conversions happy) 559 560 * libtiff/tif_predict.c: operate on unsigned datatypes when 561 computing/applying differences to avoid undefined behaviour of 562 signed types (C standard compliance) 563 5642015-08-30 Bob Friesenhahn <[email protected]> 565 566 * configure.ac: libtiff 4.0.5 released. 567 5682015-08-29 Bob Friesenhahn <[email protected]> 569 570 * CMakeLists.txt: Applied patch by Roger Leigh (via tiff mailing 571 list on 2015-08-29) to add ld-version-script option to cmake build 572 to match autoconf. Note: defaults to 'on' to be ABI-compatible by 573 default with common Linux distribution builds. Note that the 574 autoconf configure script defaults to 'off'. 575 576 * html/build.html: Applied patch by Roger Leigh (via tiff mailing 577 list on 2015-08-29) to describe how to use CMake to build libtiff. 578 5792015-08-28 Bob Friesenhahn <[email protected]> 580 581 * html/v4.0.5.html: Added HTML file describing the changes which 582 will appear in the 4.0.5 release. 583 5842015-08-23 Bob Friesenhahn <[email protected]> 585 586 * libtiff/tiffiop.h: For MinGW comiles, make sure that build 587 supports necessary __MSVCRT_VERSION__ (at least at least 0x800). 588 Otherwise large files can not be supported for POSIX-style I/O. 589 590 * tools/fax2tiff.c (main): Eliminate a compiler warning in 64-bit 591 builds about cast to thandle_t. 592 593 * test/rewrite_tag.c (main): Does not require any arguments. 594 5952015-08-20 Bob Friesenhahn <[email protected]> 596 597 * tools/CMakeLists.txt, port/snprintf.c: Patch by Roger Leigh to 598 fix build issues when using Cmake due to Windows large file 599 changes. 600 6012015-08-18 Bob Friesenhahn <[email protected]> 602 603 * libtiff/tiffiop.h: First cut at supporting large files under 604 Microsoft Windows using tif_unix.c and the libtiff tools. This 605 only works if the Windows CDK is new enough to support the APIs 606 used (Visual C++ 2005 or later). Support for large files is not 607 actually tested yet. 608 6092015-08-15 Bob Friesenhahn <[email protected]> 610 611 * libtiff/tif_jpeg.c: Applied patch by Räisä Olli to assure that 612 client_data is initialized to a known value, and to report an 613 error on two memory allocation failures. 614 6152015-08-13 Bob Friesenhahn <[email protected]> 616 617 * CMakeLists.txt: Applied patch by Roger Leigh to fix libtiffxx 618 symbol versioning. Patch was mailed to libtiff list on Thu, 13 619 Aug 2015. 620 6212015-07-04 Bob Friesenhahn <[email protected]> 622 623 * cmake: Add d suffix to debug libraries with MSVC. Patch #3 of 3 624 by Roger Leigh posted to tiff list on Wed, 1 Jul 2015 15:58:20 625 +0100. 626 627 * cmake: Add extra warning flags. Patch #2 of 3 by Roger Leigh 628 posted to tiff list on Wed, 1 Jul 2015 15:58:20 +0100. 629 630 * cmake: Correct snprintf fallback for VS2015. Patch #1 of 3 by 631 Roger Leigh posted to tiff list on Wed, 1 Jul 2015 15:58:20 +0100. 632 6332015-06-24 Bob Friesenhahn <[email protected]> 634 635 * CMakeLists.txt: Add CMake patchset by Roger Leigh as posted to 636 libtiff mailing list on Mon, 22 Jun 2015 21:21:01 +0100. Several 637 corrections to ensure that the autotools build still works were 638 added by me. I have not yet tested the build using 'cmake' or 639 MSVC with 'nmake'. 640 6412015-06-21 Bob Friesenhahn <[email protected]> 642 643 * test/Makefile.am: tiff2rgba-quad-tile.jpg.sh depends on the JPEG 644 library so only execute if JPEG is available. 645 646 * libtiff 4.0.4 released. 647 648 * configure.ac: Add a HAVE_FOO Automake conditional for each 649 add-on library. 650 651 * test/Makefile.am (JPEG_DEPENDENT_CHECK_PROG): raw_decode 652 requires JPEG support to compile. Use Automake conditional to 653 only include it when JPEG support is available. 654 655 * html/build.html: Try to improve the nmake-based VC++ build 656 description. 657 658 * libtiff/tiffconf.vc.h: Build fixes based on testing. 659 660 * libtiff/tif_config.vc.h: Build fixes based on testing. 661 662 * libtiff/libtiff.def: TIFFRasterScanline does not exist so remove 663 export for it. 664 6652015-06-20 Bob Friesenhahn <[email protected]> 666 667 * libtiff/tif_config.vc.h: Make adjustments to match the new 668 definitions that configure produces, including for WIN64. Still 669 needs to be tested. 670 671 * configure.ac: For 64-bit MinGW, fix SSIZE_FORMAT formatting 672 specifier. 64-bit MinGW supports 'long long' but support for 673 'lld' is not assured by the run-time DLLs and so GCC warns. 674 Add TIFF_SIZE_T and TIFF_SIZE_FORMAT to provide a type definition 675 and printf format specifier to deal with printing values of 676 'size_t' type. In particular, this was necessary for WIN64. 677 Added a configure test for if the system headers provide 'optarg' 678 (normal case) and block out the many explicit 'extern' statements 679 in the utilities. This was found to be necessary under Windows 680 when getopt is in a DLL and the symbols are already imported with 681 dllimport via standard header files. 682 683 * test/raw_decode.c (XMD_H): Avoid conflicting typedefs for INT32 684 and boolean in MinGW build due to including jpeglib.h. 685 686 * test/rewrite_tag.c (main): Fix problem with location of variable 687 declaration. 688 689 * libtiff/libtiff.def: Added exports for TIFFGetConfiguredCODECs, 690 TIFFReadRGBAImageOriented, TIFFSetCompressionScheme, 691 TIFFSwabArrayOfTriples, TIFFVGetFieldDefaulted, _TIFFCheckRealloc, 692 TIFFRasterScanline, TIFFSetErrorHandlerExt, 693 TIFFSetWarningHandlerExt, TIFFNumberOfDirectories, 694 TIFFCreateCustomDirectory, TIFFCreateEXIFDirectory, 695 TIFFWriteCustomDirectory, _TIFFRewriteField as recommended by 696 Roger Leigh and justified by use in libtiff tests, documentation, 697 and changelog notes. Also sorted symbol list and removed 698 duplicate entries. 699 7002015-06-16 Bob Friesenhahn <[email protected]> 701 702 * libtiff/tif_getimage.c: Fix four Coverity issues related to 703 unintended sign extension. 704 7052015-06-16 Even Rouault <even.rouault at spatialys.com> 706 707 * libtiff/tif_unix.c: fix compilation with MSVC (fix by Jeff McKenna) 708 7092015-06-14 Lee Howard <[email protected]> 710 711 * libtiff/tif_unix.c: contribution from Vadim Zeitlin on 712 Bugzilla Bug #2510 fixes several harmless but still annoying 713 warnings 714 715 * configure: contribution from Ludolf Holzheid on Bugzilla 716 Bug #2498. Adds an option to select the file I/O style on 717 Windows hosts. 718 719 * libtiff/tif_getimage.c: contribution from Gary Cramblitt 720 on Bugzilla Bug #2409. Correct reading of certain tiled TIFFs. 721 722 * configure, configure.ac: contribution from Marcos H. Woehrmann 723 on Bugzilla Bug #2405. Correct shell equality operator. 724 725 * tools/tiffgt.c (raster_draw): contribution from Jay Berkenbilt 726 on Bugzilla Bug #2401. Appropriately call glFlush(). 727 728 * tools/tiff2pdf.c: change ColorTransform from "0" to "1" 729 following Bugzilla Bug #2150. 730 7312015-06-13 Lee Howard <[email protected]> 732 733 * libtiff/tif_lzw.c: contribution from Andy Cave - decode 734 files that contain consecutive CODE_CLEAR codes. 735 736 * tools/tiff2pdf.c: contribution from Antti S. Lankila on 737 Bugzilla Bug #2078. Suppress initial output of the header. 738 739 * tools/tiff2pdf.c: contribution from Yuriy M. Kaminskiy - 740 Take care in using the return value from snprintf(). 741 742 * tools/tiffcrop.c: contribution from Eduardo Robles Elvira - 743 correctly copy the compression tag from the source TIFF. 744 745 * tools/tiff2ps.c: contribution from Eduardo Robles Elvira - 746 correct sizing and scaling problems with output document. 747 7482015-06-10 Bob Friesenhahn <[email protected]> 749 750 * libtiff/tif_jpeg.c (JPEGDecode): Split JPEGDecode() into two 751 clean implementations in order to avoid pre-processor hell. Only 752 one of the implementations is used in a given build. 753 7542015-06-08 Even Rouault <even.rouault at spatialys.com> 755 756 * libtiff/tif_jpeg.c: Fix compilation in BITS_IN_JSAMPLE == 12 757 case 758 7592015-06-07 Bob Friesenhahn <[email protected]> 760 761 * libtiff/tif_write.c (TIFFWriteEncodedStrip): Fix Coverity 715975 762 "Division or modulo by zero". 763 (TIFFWriteEncodedTile): Fix Coverity 715976 and 715977 "Division 764 or modulo by zero". 765 (TIFFWriteRawStrip): Fix Coverity 715978 "Division or modulo by 766 zero". 767 (TIFFWriteScanline): Fix Coverity 715979 "Division or modulo by 768 zero". 769 770 * libtiff/tif_read.c (TIFFStartTile): Fix Coverity 715973 and 771 715974 "Division or modulo by zero". 772 7732015-05-31 Bob Friesenhahn <[email protected]> 774 775 * libtiff/tif_dir.c (TIFFNumberOfDirectories): Quiet Coverity 776 1134470 "Logically dead code" by making the roll-over check 777 explicit. 778 779 * libtiff/tif_luv.c (LogLuvDecodeTile): Fix Coverity 991227 780 "Division or modulo by zero". 781 (LogLuvDecodeStrip): Fix Coverity 991239 "Division or modulo by 782 zero". 783 (LogLuvEncodeStrip): Fix Coverity 991240 "Division or modulo by 784 zero". 785 (LogLuvEncodeTile): Fix Coverity 991241 "Division or modulo by 786 zero". 787 788 * libtiff/tif_dirread.c (TIFFReadDirEntryDoubleArray): Fix 789 Coverity 298626 "Logically dead code". 790 (TIFFReadDirEntryFloatArray): Fix Coverity 298627 "Logically dead 791 code". 792 (TIFFReadDirEntryIfd8Array): Fix Coverity 298628 "Logically dead 793 code". 794 (TIFFReadDirEntrySlong8Array): Fix Coverity 298629 "Logically dead 795 code" 796 797 * libtiff/tif_dir.c (TIFFNumberOfDirectories): Don't depend on ++ 798 operator precedenc in evaluation. Might quench Coverity 1134470 799 "Logically dead code". 800 801 * libtiff/tif_jpeg.c (JPEGDecode): Fix Coverity 602597 "Operands 802 don't affect result". This change uses ifdefs to include 803 applicable code based on properties of libjpeg. Still needs to be 804 re-tested with 12-bit "6b" and "MK1". 805 8062015-05-30 Bob Friesenhahn <[email protected]> 807 808 * libtiff/tif_dirwrite.c (_TIFFRewriteField): Fix Coverity 1024310 809 "Resource leak". 810 811 * libtiff/tif_ojpeg.c (OJPEGReadHeaderInfoSecStreamDht): Fix 812 Coverity 601720 "Resource leak". 813 814 * libtiff/tif_jpeg.c (JPEGCleanup): Fix Coverity 298624 815 "Dereference before null check". 816 817 * libtiff/tif_ojpeg.c (OJPEGReadBufferFill): Fix Coverity 603400 818 "Missing break in switch". 819 820 * contrib/addtiffo/tif_overview.c (TIFF_DownSample): Check buffer 821 size calculation for overflow. 822 823 * contrib/addtiffo/addtiffo.c (main): Possibly address Coverity 824 1024226 "Untrusted value as argument". 825 826 * tools/gif2tiff.c (readgifimage): Fix Coverity 1024222 "Untrusted 827 value as argument". 828 (checksignature): Fix Coverity 1024894 "Ignoring number of bytes 829 read". 830 (readextension): Fix Coverity 1024893 "Ignoring number of bytes 831 read". 832 (readgifimage): Fix Coverity 1024890 "Ignoring number of bytes 833 read". 834 (readraster): Fix Coverity 1024891 "Ignoring number of bytes 835 read". 836 (readgifimage): Fix Coverity 1024892 "Ignoring number of bytes 837 read". 838 839 * tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 1024181 840 "Structurally dead code". 841 842 * tools/raw2tiff.c (main): Fix Coverity 1024887 "Unchecked return 843 value from library". 844 (guessSize): Fix Coverity 1024888 "Unchecked return value from 845 library". 846 (guessSize): Fix Coverity 1214162 "Ignoring number of bytes read". 847 (guessSize): Fix Coverity 1024889 "Unchecked return value from 848 library". 849 850 * tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 298621 851 "Resource leak". 852 (t2p_readwrite_pdf_image): Fix Coverity 1024181 "Structurally dead 853 code". 854 (t2p_write_pdf): Fix Coverity 1227690 "Unused value". 855 8562015-05-29 Bob Friesenhahn <[email protected]> 857 858 * contrib/iptcutil/iptcutil.c (formatIPTC): Fix Coverity 1024468 859 "Infinite loop". 860 (formatIPTC): Fix Coverity 1024727 "Truncated stdio return value". 861 (formatIPTC): Fix Coverity 1214240 "Untrusted loop bound". 862 8632015-05-28 Bob Friesenhahn <[email protected]> 864 865 * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix 866 Coverity 298615 "Resource leak". 867 (TIFFGetOvrBlock): Fix Coverity 1024649 "Unintended sign 868 extension". 869 870 * tools/bmp2tiff.c (main): Fix Coverity 1024225 "Untrusted value 871 as argument". 872 (main): Fix Coverity 1024678 "Unchecked return value from 873 library". 874 (main): Fix Coverity 1024679 "Unchecked return value from 875 library". 876 (main): Fix Coverity 1214160 "Ignoring number of bytes read". 877 878 * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix 879 Coverity 298615 "Resource leak". 880 881 * tools/tiffcp.c: Fix Coverity 1024306, 1024307, 1024308, 1024309 882 "Resource leak". 883 884 * tools/tiffsplit.c (cpTiles): Fix Coverity 1024304 "Resource 885 leak". 886 (cpStrips): Fix Coverity 1024305 "Resource leak". 887 8882015-05-27 Bob Friesenhahn <[email protected]> 889 890 * tools/ras2tiff.c: Fix Sun Raster header definition to be safe 891 for 64-bit systems. Add some header validations. Should fix many 892 Coverity issues. 893 (main): Fix Coverity 1301206: "Integer handling issues (BAD_SHIFT)". 894 (main): Quiet Coverity 1024223 "Untrusted value as argument". 895 896 * tools/tiffmedian.c (GetInputLine): Fix Coverity 1024795 "Nesting 897 level does not match indentation". 898 (get_histogram): Quiet Coverity 1024386 "Out-of-bounds read". 899 This was a benign mis-diagnosis but added code to enforce against 900 buffer overflow. 901 902 * tools/tiffcrop.c (ROTATE_ANY): Fix Coverity 1294542 "Logical 903 vs. bitwise operator". 904 (readContigStripsIntoBuffer): Fix Coverity 1024545 "Division or 905 modulo by zero". 906 (readContigTilesIntoBuffer): Fix Coverity 1024586 "Logically dead 907 code". 908 (writeSingleSection): Fix Coverity 1024796 "Nesting level does not 909 match indentation". 910 (writeCroppedImage): Fix Coverity 1024797 "Nesting level does not 911 match indentation". 912 (loadImage): Fix Coverity 1299741 "Dereference before null check". 913 (loadImage): Fix Coverity 1299740 "Out-of-bounds write". 914 9152015-03-02 Even Rouault <[email protected]> 916 917 * tools/tiffdither.c: check memory allocations to avoid writing to 918 NULL pointer. Also check multiplication overflow. Fixes #2501, 919 CVE-2014-8128. Derived from patch by Petr Gajdos. 920 9212015-01-26 Even Rouault <[email protected]> 922 923 * add html/v4.0.4beta.html under version control 924 * HOWTO-RELEASE: write that cvs add html/vX.X.html must be used 925 9262015-01-26 Even Rouault <[email protected]> 927 928 * libtiff 4.0.4beta released 929 9302015-01-26 Even Rouault <[email protected]> 931 932 * automake: updated to 1.15 933 * libtool: updated to 2.4.5 934 9352015-01-22 Even Rouault <[email protected]> 936 937 * tools/tiff2pdf.c: Fix two crashes (oCERT-2014-013) 938 9392015-01-05 Frank Warmerdam <[email protected]> 940 941 * html/bugs.html: remove note about needing to email the tiff mailing 942 list administrator about being approved for membership, this appears 943 not to be true. 944 9452015-01-05 Olivier Paquet <[email protected]> 946 947 * tools/tiff2pdf.c: Fixed unsigned integer addition overflow detection. 948 9492015-01-03 Even Rouault <[email protected]> 950 951 * libtiff/tif_dirread.c: in TIFFCheckDirOffset(), avoid uint16 overflow 952 when reading more than 65535 directories, and effectively error out when 953 reaching that limit. 954 9552014-12-29 Even Rouault <[email protected]> 956 957 * libtiff/tif_jpeg.c: in JPEGFixupTags(), recognize SOF2, SOF9 and SOF10 958 markers to avoid emitting a warning (even if, according to the TechNote, 959 there are admitedly unusual/not recommended or even forbidden variants, but 960 they do work well with libjpeg for SOF2, and with libjpeg-turbo for SOF2, 961 SOF9 and SOF10). 962 Define in_color_space and input_components to the right values in 963 JPEGSetupEncode(), before calling jpeg_set_defaults(), as specified by 964 libjpeg API documentation, so as to be compatible with mozjpeg library. 965 Note: the default settings of mozjpeg will produce progressive scans, which 966 is forbidden by the TechNote. 967 9682014-12-29 Even Rouault <[email protected]> 969 970 * libtiff/tif_getimage.c: move test on vertical value of YCbCr subsampling. 971 to avoid buffer leak (fix previous fix, found by Coverity scan) 972 9732014-12-29 Even Rouault <[email protected]> 974 975 * libtiff/tif_next.c: add new tests to check that we don't read outside of 976 the compressed input stream buffer. 977 978 * libtiff/tif_getimage.c: in OJPEG case, fix checks on strile width/height 979 in the putcontig8bitYCbCr42tile, putcontig8bitYCbCr41tile and 980 putcontig8bitYCbCr21tile cases. 981 9822014-12-27 Even Rouault <[email protected]> 983 984 * libtiff/tif_dir.c: in TIFFDefaultDirectory(), reset any already existing 985 extented tags installed by user code through the extender mechaninm before 986 calling the extender callback (GDAL #5054) 987 9882014-12-26 Bob Friesenhahn <[email protected]> 989 990 * tools/tiffcrop.c: Fix warnings about variables set but not used. 991 992 * contrib/iptcutil/iptcutil.c: Fix warnings about variables set 993 but not used. 994 995 * tools/tiffgt.c: Fix warnings about unused parameters. 996 997 * libtiff/tif_stream.cxx: Fix warnings about unused parameters. 998 9992014-12-25 Even Rouault <[email protected]> 1000 1001 * libtiff/tif_getimage.c, libtiff/tif_ojpeg.c, libtiff/tif_zip.c: fix 1002 various typos found by Debian lintian tool (GDAL #5756) 1003 10042014-12-24 Even Rouault <[email protected]> 1005 1006 * libtiff/tif_getimage.c: avoid divide by zero on invalid YCbCr subsampling. 1007 http://bugzilla.maptools.org/show_bug.cgi?id=2235 1008 10092014-12-24 Even Rouault <[email protected]> 1010 1011 * tools/tiff2pdf.c: fix buffer overflow on some YCbCr JPEG compressed images. 1012 http://bugzilla.maptools.org/show_bug.cgi?id=2445 1013 10142014-12-24 Even Rouault <[email protected]> 1015 1016 * tools/tiff2pdf.c: fix buffer overflow on YCbCr JPEG compressed image. 1017 Derived from patch by Petr Gajdos, 1018 http://bugzilla.maptools.org/show_bug.cgi?id=2443 1019 10202014-12-23 Even Rouault <[email protected]> 1021 1022 * libtiff/tif_dirread.c: In EstimateStripByteCounts(), check return code 1023 of _TIFFFillStriles(). This solves crashing bug on corrupted 1024 images generated by afl. 1025 10262014-12-23 Even Rouault <[email protected]> 1027 1028 * libtiff/tif_read.c: fix several invalid comparisons of a uint64 value with 1029 <= 0 by casting it to int64 first. This solves crashing bug on corrupted 1030 images generated by afl. 1031 10322014-12-21 Bob Friesenhahn <[email protected]> 1033 1034 * tools/tiffdump.c: Guard against arithmetic overflow when 1035 calculating allocation buffer sizes. 1036 10372014-12-21 Even Rouault <[email protected]> 1038 1039 * tools/tiff2bw.c: when Photometric=RGB, the utility only works if 1040 SamplesPerPixel = 3. Enforce that 1041 http://bugzilla.maptools.org/show_bug.cgi?id=2485 (CVE-2014-8127) 1042 10432014-12-21 Even Rouault <[email protected]> 1044 1045 * tools/pal2rgb.c, tools/thumbnail.c: fix crash by disabling TIFFTAG_INKNAMES 1046 copying. The right fix would be to properly copy it, but not worth the burden 1047 for those esoteric utilities. 1048 http://bugzilla.maptools.org/show_bug.cgi?id=2484 (CVE-2014-8127) 1049 10502014-12-21 Even Rouault <[email protected]> 1051 1052 * tools/thumbnail.c: fix out-of-buffer write 1053 http://bugzilla.maptools.org/show_bug.cgi?id=2489 (CVE-2014-8128) 1054 10552014-12-21 Even Rouault <[email protected]> 1056 1057 * tools/thumbnail.c, tools/tiffcmp.c: only read/write TIFFTAG_GROUP3OPTIONS 1058 or TIFFTAG_GROUP4OPTIONS if compression is COMPRESSION_CCITTFAX3 or 1059 COMPRESSION_CCITTFAX4 1060 http://bugzilla.maptools.org/show_bug.cgi?id=2493 (CVE-2014-8128) 1061 10622014-12-21 Even Rouault <[email protected]> 1063 1064 * libtiff/tif_next.c: check that BitsPerSample = 2. Fixes 1065 http://bugzilla.maptools.org/show_bug.cgi?id=2487 (CVE-2014-8129) 1066 10672014-12-21 Even Rouault <[email protected]> 1068 1069 * tools/tiff2pdf.c: check return code of TIFFGetField() when reading 1070 TIFFTAG_SAMPLESPERPIXEL 1071 10722014-12-21 Even Rouault <[email protected]> 1073 1074 * tools/tiffcp.c: fix crash when converting YCbCr JPEG-compressed to none. 1075 Based on patch by Tomasz Buchert (http://bugzilla.maptools.org/show_bug.cgi?id=2480) 1076 Description: fix for Debian bug #741451 1077 tiffcp crashes when converting JPEG-encoded TIFF to a different 1078 encoding (like none or lzw). For example this will probably fail: 1079 tiffcp -c none jpeg_encoded_file.tif output.tif 1080 The reason is that when the input file contains JPEG data, 1081 the tiffcp code forces conversion to RGB space. However, 1082 the output normally inherits YCbCr subsampling parameters 1083 from the input, which leads to a smaller working buffer 1084 than necessary. The buffer is subsequently overrun inside 1085 cpStripToTile() (called from writeBufferToContigTiles). 1086 Note that the resulting TIFF file would be scrambled even 1087 if tiffcp wouldn't crash, since the output file would contain 1088 RGB data intepreted as subsampled YCbCr values. 1089 This patch fixes the problem by forcing RGB space on the output 1090 TIF if the input is JPEG-encoded and output is *not* JPEG-encoded. 1091 Author: Tomasz Buchert <[email protected]> 1092 10932014-12-21 Even Rouault <[email protected]> 1094 1095 Fix various crasher bugs on fuzzed images. 1096 * libtiff/tif_dir.c: TIFFSetField(): refuse to set negative values for 1097 TIFFTAG_XRESOLUTION and TIFFTAG_YRESOLUTION that cause asserts when writing 1098 the directory 1099 * libtiff/tif_dirread.c: TIFFReadDirectory(): refuse to read ColorMap or 1100 TransferFunction if BitsPerSample has not yet been read, otherwise reading 1101 it later will cause user code to crash if BitsPerSample > 1 1102 * libtiff/tif_getimage.c: TIFFRGBAImageOK(): return FALSE if LOGLUV with 1103 SamplesPerPixel != 3, or if CIELAB with SamplesPerPixel != 3 or BitsPerSample != 8 1104 * libtiff/tif_next.c: in the "run mode", use tilewidth for tiled images 1105 instead of imagewidth to avoid crash 1106 * tools/bmp2tiff.c: fix crash due to int overflow related to input BMP dimensions 1107 * tools/tiff2pdf.c: fix crash due to invalid tile count (should likely be checked by 1108 libtiff too). Detect invalid settings of BitsPerSample/SamplesPerPixel for CIELAB / ITULAB 1109 * tools/tiffcrop.c: fix crash due to invalid TileWidth/TileHeight 1110 * tools/tiffdump.c: fix crash due to overflow of entry count. 1111 11122014-12-15 Even Rouault <[email protected]> 1113 1114 * libtiff/tif_jpeg.c: Fix regression introduced on 2010-05-07 that caused 1115 all tiles/strips to include quantization tables even when the jpegtablesmode 1116 had the JPEGTABLESMODE_QUANT bit set. 1117 Also add explicit removal of Huffman tables when jpegtablesmode has the 1118 JPEGTABLESMODE_HUFF bit set, which avoids Huffman tables to be emitted in the 1119 first tile/strip (only useful in update scenarios. create-only was 1120 fine) 1121 11222014-12-09 Bob Friesenhahn <[email protected]> 1123 1124 * tools/tiff2pdf.c: Assure that memory size calculations for 1125 _TIFFmalloc() do not overflow the range of tmsize_t. 1126 11272014-12-07 Even Rouault <[email protected]> 1128 1129 * tools/thumbnail.c, tools/tiffcrop.c: "fix" heap read over-run found with 1130 Valgrind and Address Sanitizer on test suite 1131 11322014-12-07 Bob Friesenhahn <[email protected]> 1133 1134 * tools/tiff2pdf.c (t2p_read_tiff_init): TIFFTAG_TRANSFERFUNCTION 1135 tag can return one channel, with the other two channels set to 1136 NULL. The tiff2pdf code was expecting that other two channels 1137 were duplicate pointers in the case where there is only one 1138 channel. Detect this condition in order to avoid a crash, and 1139 presumably perform correctly with just one channel. 1140 11412014-12-06 Bob Friesenhahn <[email protected]> 1142 1143 * tools/tiffdump.c: Fix double-free bug. 1144 11452014-11-27 Even Rouault <[email protected]> 1146 1147 * libtiff/tif_config.vc.h: no longer use "#define snprintf _snprintf" with 1148 Visual Studio 2015 aka VC 14 aka MSVC 1900 1149 11502014-11-20 Even Rouault <[email protected]> 1151 1152 * libtiff/tif_lzw.c: prevent potential null dereference of 1153 sp->dec_codetab in LZWPreDecode (bug #2459) 1154 1155 * libtiff/tif_read.c: in TIFFReadBufferSetup(), avoid passing -1 size 1156 to TIFFmalloc() if passed user buffer size is 0 (bug #2459) 1157 1158 * libtiff/tif_ojpeg.c: make Coverity happier (not a bug, #2459) 1159 1160 * libtiff/tif_dir.c: in _TIFFVGetField() and _TIFFVSetField(), make 1161 Coverity happier (not a bug, #2459) 1162 1163 * libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make Coverity happier 1164 (not a bug, #2459) 1165 1166 * tools/tiff2pdf.c: close PDF file (bug #2479) 1167 1168 * tools/fax2ps.c: check malloc()/realloc() result (bug #2470) 1169 1170 * tools/tiffdump.c: detect cycle in TIFF directory chaining (bug #2463) 1171 and avoid passing a NULL pointer to read() if seek() failed before (bug #2459) 1172 1173 * tools/tiffcrop.c: fix segfault if bad value passed to -Z option 1174 (bug #2459) and add missing va_end in dump_info (#2459) 1175 1176 * tools/gif2tif.c: apply patch for CVE-2013-4243 (#2451) 1177 11782014-11-20 Even Rouault <[email protected]> 1179 * libtiff/tif_jpeg.c: fix segfault in JPEGFixupTagsSubsampling() on 1180 corrupted image where tif->tif_dir.td_stripoffset == NULL (bug #2471) 1181 11822014-11-20 Even Rouault <[email protected]> 1183 * automake: updated to 1.14.1 1184 * libtool: updated to 2.4.3 1185 * HOWTO-RELEASE: small update about autotools building order 1186 11872014-10-20 Olivier Paquet <[email protected]> 1188 * tools/tiff2pdf.c: Preserve input file directory order when pages 1189 are tagged with the same page number. 1190 11912014-08-31 Bob Friesenhahn <[email protected]> 1192 1193 * libtiff/tif_dirread.c (TIFFReadDirEntryOutputErr): Incorrect 1194 count for tag should be a warning rather than an error since 1195 errors terminate processing. 1196 11972014-06-07 Bob Friesenhahn <[email protected]> 1198 1199 * tools/tiff2rgba.c (]): Fixed tiff2rgba usage message in that zip 1200 was wrongly described. Fix suggested by Miguel Medalha. 1201 12022014-05-06 Bob Friesenhahn <[email protected]> 1203 1204 * libtiff/tif_dirinfo.c (TIFFField) : Fix data type for 1205 TIFFTAG_GLOBALPARAMETERSIFD tag. Patch by Steve Underwood. 1206 Reviewed and forwarded by Lee Howard. 1207 12082013-11-30 Frank Warmerdam <[email protected]> 1209 1210 * libtiff/tif_dir.c: fix last fix for TIFFNumberOfDirectories() 1211 12122013-10-21 Frank Warmerdam <[email protected]> 1213 1214 * libtiff/tif_dir.c: generate error in case of directory count 1215 overflow. 1216 12172013-10-01 Frank Warmerdam <[email protected]> 1218 1219 * libtiff/tiff.h, libtiff/tif_dirinfo.c: add definitions for 1220 TIFF/EP CFARepeatPatternDim and CFAPattern tags (bug #2457) 1221 12222013-09-12 Bob Friesenhahn <[email protected]> 1223 1224 * libtiff/tif_dir.c (TIFFAdvanceDirectory): If nextdir is found to 1225 be defective, then set it to zero before returning error in order 1226 to terminate processing of truncated TIFF. Issue found and fix 1227 suggested by Richard Nolde. 1228 12292013-08-14 Frank Warmerdam <[email protected]> 1230 1231 * tools/gif2tiff.c: fix possible OOB write (#2452, CVE-2013-4244) 1232 12332013-08-13 Frank Warmerdam <[email protected]> 1234 1235 * tools/gif2tiff.c: Be more careful about corrupt or 1236 hostile input files (#2450, CVE-2013-4231) 1237 1238 * tools/tiff2pdf.c: terminate after failure of allocating 1239 ycbcr buffer (bug #2449, CVE-2013-4232) 1240 12412013-07-09 Frank Warmerdam <[email protected]> 1242 1243 * tools/tiffinfo.c: Default various values fetched with 1244 TIFFGetField() to avoid being uninitialized. 1245 12462013-05-02 Tom Lane <[email protected]> 1247 1248 * tools/tiff2pdf.c: Rewrite JPEG marker parsing in 1249 t2p_process_jpeg_strip to be at least marginally competent. The 1250 approach is still fundamentally flawed, but at least now it won't 1251 stomp all over memory when given bogus input. Fixes CVE-2013-1960. 1252 12532013-05-02 Tom Lane <[email protected]> 1254 1255 * contrib/dbs/xtiff/xtiff.c, libtiff/tif_codec.c, 1256 libtiff/tif_dirinfo.c, tools/rgb2ycbcr.c, tools/tiff2bw.c, 1257 tools/tiff2pdf.c, tools/tiff2ps.c, tools/tiffcrop.c, 1258 tools/tiffdither.c: Enlarge some fixed-size buffers that weren't 1259 large enough, and eliminate substantially all uses of sprintf(buf, 1260 ...) in favor of using snprintf(buf, sizeof(buf), ...), so as to 1261 protect against overflow of fixed-size buffers. This responds in 1262 particular to CVE-2013-1961 concerning overflow in tiff2pdf.c's 1263 t2p_write_pdf_page(), but in general it seems like a good idea to 1264 deprecate use of sprintf(). 1265 12662013-03-29 Bob Friesenhahn <[email protected]> 1267 1268 * configure.ac: Applied patch by Brad Smith to improve pkg-config 1269 static linking by adding -lm to Libs.private when needed. 1270 12712013-03-05 Tom Lane <[email protected]> 1272 1273 * html/man/tiff2ps.1.html, html/man/tiffcp.1.html, 1274 html/man/tiffdither.1.html, man/tiff2ps.1, man/tiffcp.1, 1275 man/tiffdither.1, tools/tiff2ps.c, tools/tiffcp.c, 1276 tools/tiffdither.c: Sync tool usage printouts and man pages with 1277 reality (quite a few options had escaped being documented in one 1278 or both places). Per an old report from Miroslav Vadkerti. 1279 12802013-01-25 Bob Friesenhahn <[email protected]> 1281 1282 * tools/tiff2ps.c:Fix bug in auto rotate option code. Once a 1283 rotation angle was set by the auto rotate check, it was retained 1284 for all pages that followed instead ofa being retested for each 1285 page. Patch by Richard Nolde. 1286 12872013-01-18 Frank Warmerdam <[email protected]> 1288 1289 * libtiff/tif_write.c: tmsize_t related casting warning fixed for 1290 64bit linux. 1291 1292 * libtiff/tif_read.c: uint64/tmsize_t change for MSVC warnings. 1293 http://bugzilla.maptools.org/show_bug.cgi?id=2427 1294 12952012-12-20 Tom Lane <[email protected]> 1296 1297 * test/raw_decode.c: Relax raw_decode's pixel-value checks so that 1298 it will pass with more versions of libjpeg. (There are at least 1299 three in active use now, and JPEG_LIB_VERSION doesn't tell us 1300 enough to uniquely identify expected results.) 1301 13022012-12-12 Tom Lane <[email protected]> 1303 1304 * libtiff/tif_print.c: Fix TIFFPrintDirectory's handling of 1305 field_passcount fields: it had the TIFF_VARIABLE and 1306 TIFF_VARIABLE2 cases backwards. 1307 13082012-12-10 Tom Lane <[email protected]> 1309 1310 * tools/ppm2tiff.c: Improve previous patch for CVE-2012-4564: 1311 check the linebytes calculation too, get the max() calculation 1312 straight, avoid redundant error messages, check for malloc 1313 failure. 1314 13152012-12-10 Tom Lane <[email protected]> 1316 1317 * libtiff/tif_pixarlog.c: Improve previous patch for CVE-2012-4447 1318 (to enlarge tbuf for possible partial stride at end) so that 1319 overflow in the integer addition is detected. Per gripe from 1320 Huzaifa Sidhpurwala. 1321 13222012-12-03 Bob Friesenhahn <[email protected]> 1323 1324 * tools/tiffset.c: tiffset now supports a -u option to unset a 1325 tag. Patch by Zach Baker. See 1326 http://bugzilla.maptools.org/show_bug.cgi?id=2419 1327 13282012-11-18 Bob Friesenhahn <[email protected]> 1329 1330 * automake: Update Automake to 1.12.5 release. 1331 1332 * libtiff/tif_{unix,vms,win32}.c (_TIFFmalloc): ANSI C does not 1333 require malloc() to return NULL pointer if requested allocation 1334 size is zero. Assure that _TIFFmalloc does. 1335 13362012-11-01 Frank Warmerdam <[email protected]> 1337 1338 * tools/ppm2tiff.c: avoid zero size buffer vulnerability. 1339 CVE-2012-4564 - Thanks to Huzaifa Sidhpurwala of the 1340 Red Hat Security Response team for the fix. 1341 13422012-10-18 Frank Warmerdam <[email protected]> 1343 1344 * tif_zip.c: Avoid crash on NULL error messages. 1345 13462012-09-22 Bob Friesenhahn <[email protected]> 1347 1348 * libtiff 4.0.3 released. 1349 13502012-09-20 Bob Friesenhahn <[email protected]> 1351 1352 * Makefile.am: Update to Automake 1.12.4 1353 13542012-08-19 Bob Friesenhahn <[email protected]> 1355 1356 * Makefile.in: Update to Automake 1.12.3 1357 1358 * libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add 1359 some TIFF/FX support in libtiff. Add the tag definitions to 1360 tiff.h. Add the related TIFF field definitions to tif_dirinfo.c, 1361 and also fixes an error in a comment. Adds the photometric values 1362 to tif_print.c, and fixes a bug. These changes are by Steve 1363 Underwood. 1364 13652012-08-13 Frank Warmerdam <[email protected]> 1366 1367 * libtiff/tif_write.c: Fix bug rewriting image tiles in a 1368 compressed file: http://trac.osgeo.org/gdal/ticket/4771 1369 13702012-08-02 Frank Warmerdam <[email protected]> 1371 1372 * libtiff/tif_dirread.c: report error in case of mismatch value 1373 counts for tags (ie. DotRange). 1374 13752012-07-26 Tom Lane <[email protected]> 1376 1377 * libtiff/{tiffio.h, tif_dirinfo.c, libtiff.def}: Add six new 1378 functions TIFFFieldTag(), TIFFFieldName(), TIFFFieldDataType(), 1379 TIFFFieldPassCount(), TIFFFieldReadCount(), TIFFFieldWriteCount() 1380 as external accessors for the opaque type TIFFField. 1381 1382 * tools/tiffset.c: Make tiffset use the above functions instead of 1383 relying on library private headers. 1384 13852012-07-19 Tom Lane <[email protected]> 1386 1387 * tools/tiff2pdf.c: Fix two places where t2p_error didn't get set 1388 after a malloc failure. No crash risk AFAICS, but the program 1389 might not report exit code 1 as desired. h/t [email protected] 1390 13912012-07-18 Tom Lane <[email protected]> 1392 1393 * tools/tiff2pdf.c: Fail when TIFFSetDirectory() fails. This 1394 prevents core dumps or perhaps even arbitrary code execution when 1395 processing a corrupt input file (CVE-2012-3401). 1396 13972012-07-06 Bob Friesenhahn <[email protected]> 1398 1399 * test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+. 1400 IJG JPEG 7+ uses a different upsampling algorithm which produces 1401 different numeric results. 1402 1403 * libtiff/tif_jpeg.c (JPEGPreDecode): Patch from Even Rouault to 1404 work with IJG JPEG 7+. 1405 14062012-07-04 Bob Friesenhahn <[email protected]> 1407 1408 * test/raw_decode.c: Add changes so that test can run with build 1409 directory outside of source directory. 1410 14112012-07-02 Frank Warmerdam <[email protected]> 1412 1413 * libtiff/tif_jpeg.c: Fix handling when writing RGBA jpeg compressed 1414 imagery (http://trac.osgeo.org/gdal/ticket/4732) 1415 14162012-06-20 Frank Warmerdam <[email protected]> 1417 1418 * libtiff/tif_fax3.c: fix memory initialization of runs, only 1419 partly done. 1420 1421 * libtiff/tif_pixarlog.c: Make sure tbuf is large enough for one 1422 full "stride" past the end. 1423 14242012-06-19 Frank Warmerdam <[email protected]> 1425 1426 * libtiff/tif_packbits.c: fix read past end of data buffer. 1427 14282012-06-15 Frank Warmerdam <[email protected]> 1429 1430 * libtiff 4.0.2 released. 1431 1432 * tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable 1433 warnings with clang. 1434 14352012-06-15 Tom Lane <[email protected]> 1436 1437 * tools/tiff2pdf.c: Defend against integer overflows while 1438 calculating required buffer sizes (CVE-2012-2113). 1439 14402012-06-12 Frank Warmerdam <[email protected]> 1441 1442 * libtiff/tif_print.c: Be careful about printing corrupt inknames. 1443 1444 * libtiff/tif_fax3.c: Ensure runs array is initialized to zeros. 1445 14462012-06-07 Frank Warmerdam <[email protected]> 1447 1448 * libtiff/tif_print.c: avoid pretty printing other fields when 1449 we don't have the proper amount and type of data or if the field 1450 is actually autodefined. 1451 14522012-06-05 Frank Warmerdam <[email protected]> 1453 1454 * libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal 1455 ycbcrsubsampling values result in a runtime error, not just an 1456 assertion. 1457 1458 * tests/custom_dir.c: Add testing of EXIF and custom directory 1459 reading and writing. 1460 1461 * libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory() 1462 and TIFFCreateEXIFDirectory() functions. 1463 1464 * libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for 1465 PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING. Implement DOTRANGE 1466 differently. This is to avoid using special TIFFGetField/TIFFSetField 1467 rules for these fields in non-image directories (like EXIF). 1468 14692012-06-04 Frank Warmerdam <[email protected]> 1470 1471 * libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling 1472 in JPEGPreDecode(). If a fixup will be done it needs to be done sooner 1473 in JPEGFixupTagsSubsampling() or else buffer sized may be wrong. 1474 14752012-06-01 Frank Warmerdam <[email protected]> 1476 1477 * tools/tiffinfo.c: Do not try to read image data in EXIF directories. 1478 1479 * libtiff/tif_getimage.c: added support for _SEPARATED CMYK images. 1480 http://bugzilla.maptools.org/show_bug.cgi?id=2379 1481 1482 * libtiff/tif_unix.c: use strerror() to return a more specific error message 1483 on failed open. 1484 http://bugzilla.maptools.org/show_bug.cgi?id=2341 1485 1486 * libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs. 1487 http://bugzilla.maptools.org/show_bug.cgi?id=2386 1488 1489 * tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support 1490 for testing jpeg in tiff image decoding including the "raw" decode interface. 1491 14922012-05-31 Frank Warmerdam <[email protected]> 1493 1494 * libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in 1495 JPEGDecodeRaw() - mostly likely to occur when there is confusion about 1496 sampling values. 1497 1498 * libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed. 1499 1500 * libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval. 1501 http://bugzilla.maptools.org/show_bug.cgi?id=2398 1502 15032012-05-29 Frank Warmerdam <[email protected]> 1504 1505 * libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories, 1506 like EXIF directories. This fixes problems like a tag "320" existing in a custom directory getting 1507 processed as if it were a colormap when it isn't really. Damn the wide variety of argument formulations 1508 to get/set functions for different tags! 1509 1510 * libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata 1511 is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag. 1512 15132012-05-24 Frank Warmerdam <[email protected]> 1514 1515 * libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward 1516 accumulate" and overwrite the end by one word in at least some cases. 1517 15182012-05-23 Frank Warmerdam <[email protected]> 1519 1520 * libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs. 1521 1522 * tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files. 1523 1524 * libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on 1525 the same image. 1526 1527 * libtiff/tif_ojpeg.c: make things more resilient in the face of files without 1528 stripbytecounts or stripoffsets or where loading these fails. 1529 1530 * libtiff/tif_print.c: be careful about whether min/max values are singular 1531 or one per sample. 1532 1533 * libtiff/tif_print.c: Avoid confusion about count size when printing custom fields. 1534 May affect things like ISOSpeedRatings. 1535 1536 * libtiff/tif_dir.c: avoid one byte past end of ink names reading 1537 in some cases. 1538 15392012-05-19 Bob Friesenhahn <[email protected]> 1540 1541 * man/TIFFGetField.3tiff: Correct the 'count' field type in the 1542 example for how to retreive the value of unsupported tags. 1543 15442012-03-30 Frank Warmerdam <[email protected]> 1545 1546 * tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173) 1547 care of Tom Lane @ Red Hat. 1548 15492012-02-18 Bob Friesenhahn <[email protected]> 1550 1551 * libtiff 4.0.1 released. 1552 1553 * Update automake used to 1.11.3. 1554 1555 * libtiff/tiffio.h: Use double-underbar syntax in GCC printf 1556 attribute specification to lessen the risk of accidental macro 1557 substitution. Patch from Vincent Torri. 1558 15592012-01-31 Frank Warmerdam <[email protected]> 1560 1561 * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around 1562 assumption tag fetching is always successful. 1563 1564 * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL. 1565 15662012-01-22 Bob Friesenhahn <[email protected]> 1567 1568 * configure.ac: Add support for using library symbol versioning on 1569 ELF systems with the GNU linker. Support is enabled via 1570 --enable-ld-version-script. Disabled by default for now until 1571 there is a decision for how to deploy a libtiff with versioned 1572 symbols after libtiff 4.0.0 was already released. 1573 15742011-12-22 Bob Friesenhahn <[email protected]> 1575 1576 * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in 1577 1578 tif_win32.c. Patch by Edward Lam. 1579 1580 * configure.ac: Add libtiff private dependency on -llzma for 1581 pkg-config. Patch by Mark Brand. 1582 Updated Automake to 1.11.2. 1583 15842011-12-21 Bob Friesenhahn <[email protected]> 1585 1586 * libtiff 4.0.0 released. 1587 15882011-12-08 Frank Warmerdam <[email protected]> 1589 1590 * libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking 1591 of _TIFFFillStriles() results (#gdal 4372) 1592 15932011-12-07 Frank Warmerdam <[email protected]> 1594 1595 * libtiff/tif_dirread.c: fixes to deal with invalid files where 1596 _TIFFFillStriles() fails, and we try to chop up strips (gdal #4372) 1597 1598 * libtiff/tif_dirread.c: fix error reporting when there is no 1599 tag information struct and name (gdal #4373) 1600 16012011-10-22 Bob Friesenhahn <[email protected]> 1602 1603 * Update GNU libtool to 2.4.2. 1604 1605 * tools/tiffsplit.c (tiffcp): TIFFGetField count field should be 1606 uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe 1607 Deroulers. 1608 16092011-06-21 Frank Warmerdam <[email protected]> 1610 1611 * libtiff/libtiff.def: Restore TIFFMergeFieldInfo. 1612 16132011-05-31 Jim Meyering <[email protected]> 1614 1615 * libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also 1616 upon failure to allocate "resizeddata". 1617 * tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for 1618 allocation failure, not before. 1619 * libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path 1620 * tools/rgb2ycbcr.c (cvtRaster): unchecked malloc 1621 * libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark 1622 NULL-deref and possible overflow 1623 * tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written" 1624 * libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration 1625 and set of otherwise unused local, data_is_empty. 1626 * libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]: 1627 Diagnose out-of-memory failure and return 0 rather than 1628 dereferencing NULL. 1629 16302011-05-24 Frank Warmerdam <[email protected]> 1631 1632 * libtiff/tif_dirread.c: produce special error message for zero tag 1633 directories instead of error out on the malloc(0) failure. 1634 16352011-05-16 Frank Warmerdam <[email protected]> 1636 1637 * libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and 1638 related declarations as they are in active use by libraries 1639 such as libgeotiff, and work just fine. (#2315) 1640 16412011-04-20 Frank Warmerdam <[email protected]> 1642 1643 * libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete 1644 TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API. 1645 http://bugzilla.maptools.org/show_bug.cgi?id=2315 1646 1647 * libtiff/libtiff.def: add some missing (64bit) APIs. 1648 http://bugzilla.maptools.org/show_bug.cgi?id=2316 1649 16502011-04-09 Bob Friesenhahn <[email protected]> 1651 1652 * libtiff 4.0.0beta7 released. 1653 16542011-04-09 Bob Friesenhahn <[email protected]> 1655 1656 * configure.ac: Should use AC_CANONICAL_HOST since host specifies 1657 the run-time target whereas target is used to specify the final 1658 output target if the package is a build tool (like a compiler), 1659 which libtiff is not. Resolves libtiff bug 2307 "Use 1660 AC_CANONICAL_HOST macro". 1661 16622011-04-02 Bob Friesenhahn <[email protected]> 1663 1664 * configure.ac: Support configuring TIFF_INT64_FORMAT and 1665 TIFF_UINT64_FORMAT appropriately for MinGW32. 1666 1667 * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32 1668 printf conventions for 64-bit types because it uses the WIN32 CRT. 1669 1670 * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c, 1671 tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32 1672 printf conventions for 64-bit types because it uses the WIN32 CRT. 1673 1674 * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not 1675 understood by WIN32 CRT. 1676 1677 * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC. 1678 1679 * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since 1680 it is much more portable. Tmpfile is included in ISO/IEC 1681 9899:1990 and the WIN32 CRT. 1682 16832011-03-26 Frank Warmerdam <[email protected]> 1684 1685 * tools/tiffset.c: add -d and -sd switches to allow operation on 1686 a particular directory, not just the first (jef). 1687 16882011-03-21 Frank Warmerdam <[email protected]> 1689 1690 * libtiff/tif_thunder.c: Correct potential buffer overflow with 1691 thunder encoded files with wrong bitspersample set. The libtiff 1692 development team would like to thank Marin Barbella and TippingPoint's 1693 Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004, 1694 CVE-2011-1167). 1695 http://bugzilla.maptools.org/show_bug.cgi?id=2300 1696 16972011-03-10 Frank Warmerdam <[email protected]> 1698 1699 * libtiff/tif_fax3.h: Fix to last change allowing zero length 1700 runs at the start of a scanline - needed for legal cases. 1701 17022011-03-02 Frank Warmerdam <[email protected]> 1703 1704 * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 1705 a move left. Without this, a malicious input file can generate an 1706 indefinitely large series of runs without a0 ever reaching the right 1707 margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192. 1708 This is a modified version of a patch proposed by Drew Yao of Apple 1709 Product Security. It adds an unexpected() report, and disallows the 1710 equality case, since emitting a run without increasing a0 still allows 1711 buffer overrun. 1712 17132011-02-23 Frank Warmerdam <[email protected]> 1714 1715 * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296) 1716 1717 * tools/tiff2rgba.c: close source file on error to make leak 1718 detection easier. 1719 1720 * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails. 1721 1722 http://bugzilla.maptools.org/show_bug.cgi?id=2295 1723 17242011-02-22 Frank Warmerdam <[email protected]> 1725 1726 * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ 1727 _SUPPORT) 1728 17292011-02-18 Frank Warmerdam <[email protected]> 1730 1731 * configure.ac, configure: Added support for --enable-chunky-strip-read 1732 configure option to enable the experimental feature from a couple 1733 months ago for reading big strips in chunks. 1734 1735 * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 1736 tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c: 1737 Implement optional support for deferring the load of strip/tile 1738 offset and size tags for optimized scanning of directories. Enabled 1739 with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD 1740 #define in tif_config.h). 1741 17422011-02-11 Frank Warmerdam <[email protected]> 1743 1744 * libtiff/tif_print.c: remove unused variable. 1745 17462011-02-09 Frank Warmerdam <[email protected]> 1747 1748 * libtiff/tif_win32.c: avoid error/warning buffer overrun problem 1749 with non-console (popup message) builds on win32. 1750 1751 http://bugzilla.maptools.org/show_bug.cgi?id=2293 1752 17532011-01-24 Olivier Paquet <[email protected]> 1754 1755 * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c, 1756 tif_print.c, tiff.h, tiffiop.h} : Added support for 1757 TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different 1758 values for each sample. Presents the min/max of all samples by default for 1759 compatibility. TIFFSetField/TIFFGetField can be made to handle those tags 1760 as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag. 1761 http://www.asmail.be/msg0055458208.html 1762 17632011-01-06 Frank Warmerdam <[email protected]> 1764 1765 * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 1766 maintained. 1767 1768 * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 1769 for CHUNKY_STRIP_READ_SUPPORT. 1770 1771 * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained 1772 during JPEGPreDecode and JPEGDecode calls. 1773 * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 1774 as compression formats like JPEG keep 16 lines interleaved in a sense 1775 and might need to touch quite a bit of data. 1776 1777 http://trac.osgeo.org/gdal/ticket/3894 1778 17792011-01-03 Lee Howard <[email protected]> 1780 1781 * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images 1782 caused by commit on 2010-12-14. Submitted by e-mail from 1783 Even Rouault <[email protected]> 1784 17852010-12-31 Olivier Paquet <[email protected]> 1786 1787 * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE. 1788 http://bugzilla.maptools.org/show_bug.cgi?id=2266 1789 17902010-12-23 Andrey Kiselev <[email protected]> 1791 1792 * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the 1793 compression level parameter (preset) for Deflate and LZMA encoders, 1794 e.g "-c lzma:p1" or "-c zip:p9". 1795 1796 * libtiff/tif_lzma.c: Properly set the LZMA2 compression level 1797 (preset) in LZMAVSetField(). 1798 17992010-12-18 Bob Friesenhahn <[email protected]> 1800 1801 * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to 1802 Makefile. 1803 18042010-12-14 Andrey Kiselev <[email protected]> 1805 1806 * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h, 1807 tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new 1808 TIFF compression scheme LZMA reserving a new value 34925 for 1809 Compression tag. As per 1810 bug http://bugzilla.maptools.org/show_bug.cgi?id=2221 1811 18122010-12-14 Lee Howard <[email protected]> 1813 1814 * libtiff/tif_dirread.c: tolerate some cases where 1815 FIELD_COLORMAP is missing 1816 http://bugzilla.maptools.org/show_bug.cgi?id=2189 1817 18182010-12-14 Lee Howard <[email protected]> 1819 1820 * libtiff/tif_read.c: change read_ahead to tmsize_t 1821 http://bugzilla.maptools.org/show_bug.cgi?id=2222 1822 18232010-12-14 Lee Howard <[email protected]> 1824 1825 * configure.ac, libtiff/Makefile.am: Build tif_win32.c on 1826 Windows except on Cygwin 1827 http://bugzilla.maptools.org/show_bug.cgi?id=2224 1828 18292010-12-14 Lee Howard <[email protected]> 1830 1831 * tools/gif2tiff.c: fix buffer overrun 1832 http://bugzilla.maptools.org/show_bug.cgi?id=2270 1833 18342010-12-14 Lee Howard <[email protected]> 1835 1836 * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order 1837 to improve compatibility with various viewers 1838 submitted by e-mail from Dwight Kelly <[email protected]> 1839 18402010-12-13 Lee Howard <[email protected]> 1841 1842 * tools/fax2ps.c: be consistent with page-numbering 1843 http://bugzilla.maptools.org/show_bug.cgi?id=2225 1844 18452010-12-13 Lee Howard <[email protected]> 1846 1847 * libtiff/tif_color.c: prevent crash in handling bad TIFFs 1848 resolves CVE-2010-2595 1849 http://bugzilla.maptools.org/show_bug.cgi?id=2208 1850 18512010-12-13 Lee Howard <[email protected]> 1852 1853 * tools/tiffcrop.c: new release by Richard Nolde 1854 http://bugzilla.maptools.org/show_bug.cgi?id=2004 1855 18562010-12-12 Lee Howard <[email protected]> 1857 1858 * tools/tiff2pdf.c: fix colors for images with RGBA 1859 interleaved data 1860 http://bugzilla.maptools.org/show_bug.cgi?id=2250 1861 18622010-12-12 Lee Howard <[email protected]> 1863 1864 * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files 1865 http://bugzilla.maptools.org/show_bug.cgi?id=2164 1866 18672010-12-11 Lee Howard <[email protected]> 1868 1869 * tools/tiff2pdf.c: remove invalid duplication for Lab 1870 http://bugzilla.maptools.org/show_bug.cgi?id=2162 1871 18722010-12-11 Lee Howard <[email protected]> 1873 1874 * libtiff/tif_jpeg.c: fix use of clumplines calculation 1875 http://bugzilla.maptools.org/show_bug.cgi?id=2149 1876 18772010-12-11 Lee Howard <[email protected]> 1878 1879 * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp() 1880 http://bugzilla.maptools.org/show_bug.cgi?id=2118 1881 18822010-12-11 Lee Howard <[email protected]> 1883 1884 * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c, 1885 libtiff/tif_zip.c: fix build errors for VC6 1886 http://bugzilla.maptools.org/show_bug.cgi?id=2105 1887 18882010-12-11 Lee Howard <[email protected]> 1889 1890 * libtiff/tif_stream.cxx: warnings cleanup 1891 http://bugzilla.maptools.org/show_bug.cgi?id=2091 1892 * libtiff/tif_dirread.c: warnings cleanup 1893 http://bugzilla.maptools.org/show_bug.cgi?id=2092 1894 18952010-12-11 Lee Howard <[email protected]> 1896 1897 * tools/tiff2pdf.c: add fill-page option 1898 http://bugzilla.maptools.org/show_bug.cgi?id=2051 1899 19002010-12-11 Lee Howard <[email protected]> 1901 1902 * libtiff/tif_dirread.c: modify warnings 1903 http://bugzilla.maptools.org/show_bug.cgi?id=2016 1904 19052010-12-11 Lee Howard <[email protected]> 1906 1907 * libtiff/tif_ojpeg.c: fix buffer overflow on problem data 1908 http://bugzilla.maptools.org/show_bug.cgi?id=1999 1909 19102010-12-11 Lee Howard <[email protected]> 1911 1912 * tools/tiffinfoce.c: strip byte counts are uint64* now 1913 19142010-12-11 Lee Howard <[email protected]> 1915 1916 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero 1917 or missing byte-count tag 1918 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count 1919 per http://bugzilla.maptools.org/show_bug.cgi?id=1996 1920 19212010-12-08 Lee Howard <[email protected]> 1922 1923 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed 1924 TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994 1925 19262010-12-06 Lee Howard <[email protected]> 1927 1928 * libtiff/tif_open.c: Fix mode check before opening a file. 1929 http://bugzilla.maptools.org/show_bug.cgi?id=1906 1930 19312010-11-27 Bob Friesenhahn <[email protected]> 1932 1933 * libtiff-4.pc.in: Added libtiff pkg-config .pc file support. 1934 Patch by Vincent Torri. 1935 19362010-10-21 Frank Warmerdam <[email protected]> 1937 1938 * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler. 1939 1940 * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf. 1941 1942 * libtiff/libtiff.def: export _TIFFCheckMalloc for tools. 1943 19442010-09-25 Lee Howard <[email protected]> 1945 1946 * tools/tiff2ps.c: improvements and enhancements from Richard Nolde 1947 with additional command line options for Document Title, 1948 Document Creator, and Page Orientation 1949 19502010-07-13 Bob Friesenhahn <[email protected]> 1951 1952 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 1953 potentially unterminated buffer due to using an exceptionally long 1954 file name. 1955 19562010-07-08 Andrey Kiselev <[email protected]> 1957 1958 * tools/tiff2pdf.c: Fixed ID buffer filling in 1959 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 1960 19612010-07-07 Andrey Kiselev <[email protected]> 1962 1963 * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 1964 to expected value as the warning message suggests. As per bug 1965 http://bugzilla.maptools.org/show_bug.cgi?id=1963 1966 19672010-07-06 Andrey Kiselev <[email protected]> 1968 1969 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 1970 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 1971 which should be set by value. 1972 1973 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 1974 and _TIFFFieldWithName() if the tag is not found in the tag table. 1975 This should be normal situation and returned NULL value should be 1976 properly handled by the caller. 1977 19782010-07-02 Andrey Kiselev <[email protected]> 1979 1980 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 1981 integer type conversions. As per bug 1982 http://bugzilla.maptools.org/show_bug.cgi?id=2207 1983 1984 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 1985 WhitePoint tag as per bug 1986 http://bugzilla.maptools.org/show_bug.cgi?id=2042 1987 1988 * libtiff/tif_getimage.c: Check the number of samples per pixel when 1989 working with YCbCr image in PickContigCase(). As per bug 1990 http://bugzilla.maptools.org/show_bug.cgi?id=2216 1991 1992 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 1993 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 1994 we don't need any post-processing. That helps to reset the hook if we 1995 previously set this field to some other value and the hook was 1996 initialized accordingly. As per bug 1997 http://bugzilla.maptools.org/show_bug.cgi?id=2035 1998 19992010-07-01 Andrey Kiselev <[email protected]> 2000 2001 * tools/tiffgt.c: Properly check the raster buffer allocations for 2002 integer overflows. As per bug 2003 http://bugzilla.maptools.org/show_bug.cgi?id=2108 2004 2005 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 2006 upstream. 2007 2008 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 2009 multiply_32() and multiply_64() functions into tif_aux.c file and 2010 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 2011 20122010-06-30 Andrey Kiselev <[email protected]> 2013 2014 * tools/tiff2pdf.c: Better generation of ID field in 2015 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 2016 2017 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 2018 converting JPEG encoded tiles. 2019 2020 * tools/tiff2pdf.c: Better handling of string fields, use static 2021 string buffers instead of dynamically allocated, use strncpy() instead 2022 of strcpy(), control the string lengths. 2023 20242010-06-25 Andrey Kiselev <[email protected]> 2025 2026 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 2027 referencing to uninitialized memory in some cases (e.g. when tile size 2028 set bigger than the image size). 2029 20302010-06-15 Bob Friesenhahn <[email protected]> 2031 2032 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 2033 subsampled data since tiffcrop currently doesn't support it. Fix 2034 JPEG support. 2035 20362010-06-13 Frank Warmerdam <[email protected]> 2037 2038 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 2039 2040 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 2041 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 2042 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 2043 size is larger. Also, there are a bunch of places that try to 2044 memset() a malloc'd buffer before checking for malloc failure, which 2045 would result in core dump if there actually were a failure. (#2211) 2046 20472010-06-11 Bob Friesenhahn <[email protected]> 2048 2049 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 2050 avoid compiler warnings if parameter types are not sign 2051 consistent. 2052 2053 * libtiff 4.0.0alpha6 released. 2054 2055 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 2056 European page size dimensions. Added an option to allow the user 2057 to specify a custom page size on the command line. Fix the case 2058 where a page size specified with a fractional part was being 2059 coerced to an integer by retyping the variables that define the 2060 paper size. 2061 2062 * html/index.html: Update for the 3.9.3 release. 2063 2064 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 2065 YCbCr subsampled data since tiffcp currently doesn't support it. 2066 http://bugzilla.maptools.org/show_bug.cgi?id=2097 2067 2068 * Update libtool to version 2.2.10. 2069 20702010-06-10 Bob Friesenhahn <[email protected]> 2071 2072 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 2073 multiplier is zero. 2074 20752010-06-09 Bob Friesenhahn <[email protected]> 2076 2077 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 2078 CVE-2010-1411 was not complete. 2079 2080 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 2081 multiply two integers. Returns zero if there is an integer 2082 overflow. 2083 2084 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 2085 is reported when reading the input file. 2086 20872010-06-08 Bob Friesenhahn <[email protected]> 2088 2089 * Update libtool to version 2.2.8. 2090 2091 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 2092 buffer due to integer overflow in TIFFroundup() and several other 2093 potential overflows. In conjunction with the fix to TIFFhowmany(), 2094 fixes CVE-2010-1411. 2095 2096 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 2097 result in an integer overflow. This causes TIFFroundup() to also 2098 return zero if there would be an integer overflow. 2099 2100 * contrib: Add an emacs formatting mode footer to all source files 2101 so that emacs can be effectively used. 2102 21032010-06-03 Oliver Chen Feng <[email protected]> 2104 2105 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 2106 file PAGENUMBER value in sequence for users who care the page 2107 sequence, this will also prevent tiff2pdf from creating pdf file from 2108 the merged tiff file with wrong page sequence. 2109 21102010-05-08 Olivier Paquet <[email protected]> 2111 2112 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 2113 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 2114 * libtiff/tif_dirinfo.c: Use correct set_field_type for 2115 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 2116 http://bugzilla.maptools.org/show_bug.cgi?id=2192 2117 21182010-05-07 Frank Warmerdam <[email protected]> 2119 2120 * libtiff/tif_jpeg.c: Ensure that quality is always set in 2121 JPEGPreEncode(), not just when we want to output local tables. 2122 Otherwise the quality used during compression may not be right and 2123 might not match the tables in the tables tag. This bug only occurs 2124 when seeking between directories in the midst of writing blocks. 2125 http://trac.osgeo.org/gdal/ticket/3539 2126 21272010-05-06 Andrey Kiselev <[email protected]> 2128 2129 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 2130 Regenerated from the source. 2131 21322010-05-05 Olivier Paquet <[email protected]> 2133 2134 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 2135 had stopped working. Also made it always print 6 floats instead of 2136 2*SamplesPerPixel. 2137 http://bugzilla.maptools.org/show_bug.cgi?id=2191 2138 http://bugzilla.maptools.org/show_bug.cgi?id=2186 2139 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 2140 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 2141 21422010-05-05 Frank Warmerdam <[email protected]> 2143 2144 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 2145 if the jpeg table was written. This is a fix for the last fix on 04-21. 2146 21472010-04-21 Frank Warmerdam <[email protected]> 2148 2149 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 2150 JPEGSetupEncode() is called if the tables already seem to be 2151 established. This prevents spurious updates and rewriting of 2152 directories with jpegtables when doing updates to existing images. 2153 http://trac.osgeo.org/gdal/ticket/3539 2154 21552010-04-20 Olivier Paquet <[email protected]> 2156 2157 * libtiff/tif_dirinfo.c: Use correct set_field_type for 2158 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 2159 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 2160 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 2161 http://bugzilla.maptools.org/show_bug.cgi?id=2139 2162 21632010-04-10 Bob Friesenhahn <[email protected]> 2164 2165 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 2166 when the tag count value is zero. Error handling is still a 2167 regression since in 3.9.2, empty tags are skipped (with a warning) 2168 rather than returning a hard error and refusing to read the file. 2169 2170 * tools/ppm2tiff.c (main): While case for parsing comment line 2171 requires extra parenthesis to work as expected. Reported by 2172 Thomas Sinclair. 2173 21742010-04-02 Frank Warmerdam <[email protected]> 2175 2176 * libtiff/tif_read.c (primarily): Add support for 2177 CHUNKY_STRIP_READ_SUPPORT where large strips are 2178 read in chunks for applications using TIFFReadScanline(). 2179 This is intended to make it more practical work with very 2180 large compressed one-strip files. Feature is off by default. 2181 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 2182 http://trac.osgeo.org/gdal/ticket/3514 2183 21842010-03-31 Frank Warmerdam <[email protected]> 2185 2186 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 2187 directories so previously placed directories will be migrated to 2188 the end of file if needed. 2189 21902010-03-30 Frank Warmerdam <[email protected]> 2191 2192 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 2193 to support operating on strips/tiles of more than 256MB. 2194 http://trac.osgeo.org/gdal/ticket/3512 2195 21962010-03-10 Bob Friesenhahn <[email protected]> 2197 2198 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 2199 that it is clearly a memory allocation error message, and also 2200 includes the size of the allocation request. 2201 22022010-02-22 Lee Howard <[email protected]> 2203 2204 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 2205 the JPEG TIFF as is is not required in order to prevent it from 2206 being unused and filled with invalid data. (Leave it to be 2207 generated by later activity.) 2208 http://bugzilla.maptools.org/show_bug.cgi?id=2135 2209 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 2210 data rather than skipping them. This fixes the ability to view in 2211 Acrobat Reader, Evince, and Ghostscript. 2212 http://bugzilla.maptools.org/show_bug.cgi?id=2135 2213 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 2214 strips. 2215 http://bugzilla.maptools.org/show_bug.cgi?id=2029 2216 22172009-12-03 Frank Warmerdam <[email protected]> 2218 2219 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 2220 Made so that when working with downsampled images a stub function 2221 reporting an error is used for tif_decoderow. We cannot meaningfully 2222 support reading scanlines in this situation. (#1936) 2223 2224 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 2225 resetting of the upsampling values (gdal:#3259). 2226 http://bugzilla.maptools.org/show_bug.cgi?id=1936 2227 22282009-11-30 Frank Warmerdam <[email protected]> 2229 2230 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 2231 tools/ras2tiff.c: Fix resource leaks on error. 2232 http://bugzilla.maptools.org/show_bug.cgi?id=2121 2233 2234 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 2235 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 2236 of as a custom(generic) field to avoid a potential reentrancy problem. 2237 http://bugzilla.maptools.org/show_bug.cgi?id=2125 2238 2239 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 2240 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 2241 const, and display_sRGB static and const. 2242 http://bugzilla.maptools.org/show_bug.cgi?id=2124 2243 22442009-11-04 Bob Friesenhahn <[email protected]> 2245 2246 * libtiff 4.0.0alpha5 released. 2247 22482009-11-03 Bob Friesenhahn <[email protected]> 2249 2250 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 2251 version has undergone substantial testing with arbitrary sample 2252 bit depths. Also eliminates GCC compilation warnings. 2253 22542009-11-02 Bob Friesenhahn <[email protected]> 2255 2256 * port/libport.h: Add extern declarations for getopt standard 2257 globals. 2258 22592009-10-31 Bob Friesenhahn <[email protected]> 2260 2261 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 2262 noticed in 64-bit build of libtiff with Visual Studio 2005. 2263 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 2264 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 2265 2266 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 2267 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 2268 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 2269 http://bugzilla.maptools.org/show_bug.cgi?id=2068 2270 22712009-10-29 Bob Friesenhahn <[email protected]> 2272 2273 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 2274 pointer" warnings. 2275 22762009-10-28 Bob Friesenhahn <[email protected]> 2277 2278 * html/tools.html: Add manual page links, and a summary 2279 description of tiffcrop. 2280 22812009-10-07 Bob Friesenhahn <[email protected]> 2282 2283 * configure.ac: x86_64 should use the same fill order as i386. 2284 22852009-09-24 Bob Friesenhahn <[email protected]> 2286 2287 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 2288 Nolde. Major updates to add significant functionality for reading 2289 and writing tile based images with bit depths not a multiple of 8 2290 which cannot be handled by tiffcp. 2291 22922009-09-03 Bob Friesenhahn <[email protected]> 2293 2294 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 2295 do_fancy_upsampling=FALSE in order to read raw data. Resolves 2296 "Bug 2090 - OJPEG crash with libjpeg v7". 2297 http://bugzilla.maptools.org/show_bug.cgi?id=2090 2298 22992009-09-03 Frank Warmerdam <[email protected]> 2300 2301 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 2302 interface when stoponerror is set. 2303 http://bugzilla.maptools.org/show_bug.cgi?id=2071 2304 23052009-08-30 Bob Friesenhahn <[email protected]> 2306 2307 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 2308 fix build with gcc when using the "-Wformat 2309 -Werror=format-security" flags. 2310 23112009-08-29 Bob Friesenhahn <[email protected]> 2312 2313 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 2314 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 2315 utilities tests. 2316 23172009-08-28 Bob Friesenhahn <[email protected]> 2318 2319 * tools/tiffinfo.c: tiffinfo should return error status to the 2320 caller. Register a private error callback to accomplish that. 2321 2322 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 2323 PNM formats so that we will be able to test more of the tools. 2324 While adding these test images I notice that bmp2tiff and gif2tiff 2325 only support ancient versions of their respective formats. 2326 23272009-08-27 Bob Friesenhahn <[email protected]> 2328 2329 * libtiff 4.0.0alpha4 released. 2330 2331 * HOWTO-RELEASE: Improved release instructions. 2332 23332009-08-24 Bob Friesenhahn <[email protected]> 2334 2335 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 2336 fixes for "Bug 2023 - nroff errors in manual pages". 2337 http://bugzilla.maptools.org/show_bug.cgi?id=2023 2338 2339 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 2340 CVE-2009-2347 libtiff: integer overflows in various inter-color 2341 space conversion tools". 2342 http://bugzilla.maptools.org/show_bug.cgi?id=2079 2343 2344 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 2345 Berkenbilt for "Bug 2024 - possible null pointer dereference with 2346 one-line fix". 2347 http://bugzilla.maptools.org/show_bug.cgi?id=2024 2348 2349 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 2350 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 2351 segfault after setting tdir_tag = IGNORE". 2352 http://bugzilla.maptools.org/show_bug.cgi?id=1895 2353 23542009-08-23 Bob Friesenhahn <[email protected]> 2355 2356 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 2357 tiffcrop.sh into a collection of many specific tests. Re-wrote 2358 all of the existing tests to be based on some simple shell 2359 functions. Make distcheck works again. 2360 2361 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 2362 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 2363 tests under valgrind. 2364 23652009-08-21 Bob Friesenhahn <[email protected]> 2366 2367 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 2368 build. 2369 2370 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 2371 actually activated since it needed to be enabled in this 2372 Makefile.am. Also activated parallel-tests mode since it offers 2373 useful features such as per-test .log files and a summary test 2374 report .log file. 2375 23762009-08-20 Bob Friesenhahn <[email protected]> 2377 2378 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 2379 libtool 2.2.6. Enabled support for silent build rules 2380 (--enable-silent-rules or 'make V=0') and colorized tests. 2381 2382 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 2383 23842009-06-30 Frank Warmerdam <[email protected]> 2385 2386 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 2387 2388 * tools/tiffcp.c: add -c sgilog support. 2389 2390 * libtiff/tif_luv.c: correct return codes from encoderow to be 2391 1 on success instead of zero. 2392 http://bugzilla.maptools.org/show_bug.cgi?id=2069 2393 2394 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 2395 #1085 for a better underflow fix that errors properly. 2396 http://bugzilla.maptools.org/show_bug.cgi?id=2065 2397 http://bugzilla.maptools.org/show_bug.cgi?id=1985 2398 23992009-06-26 Frank Warmerdam <[email protected]> 2400 2401 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 2402 fails on oddly sized 12bit jpeg compressed ycbcr images. 2403 24042009-06-22 Frank Warmerdam <[email protected]> 2405 2406 * libtiff/tif_lzw.c: Fix buffer underflow bug. 2407 http://bugzilla.maptools.org/show_bug.cgi?id=2065 2408 24092009-06-21 Frank Warmerdam <[email protected]> 2410 2411 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 2412 for dual mode 8/12 bit jpeg support. 2413 24142009-06-03 Frank Warmerdam <[email protected]> 2415 2416 * libtiff/tif_write.c: do not override the planar configuration to be 2417 contig for one sample files if planar configuration is already set. 2418 http://bugzilla.maptools.org/show_bug.cgi?id=2057 2419 24202009-06-02 Frank Warmerdam <[email protected]> 2421 2422 * libtiff/libtiff.def: Add TIFFUnsetField. 2423 24242009-05-03 Frank Warmerdam <[email protected]> 2425 2426 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 2427 error reports to use "%s" as format string. 2428 http://trac.osgeo.org/gdal/ticket/2976 2429 24302009-03-12 Frank Warmerdam <[email protected]> 2431 2432 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 2433 for some codecs (#2020). 2434 24352009-02-12 Frank Warmerdam <[email protected]> 2436 2437 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 2438 http://bugzilla.maptools.org/show_bug.cgi?id=2005 2439 24402009-02-09 Frank Warmerdam <[email protected]> 2441 2442 * libtiff/tif_dirread.c: Improve allocation safety when allocated 2443 buffer for large tags. (#1998) Related to (#1993) 2444 24452009-02-06 Frank Warmerdam <[email protected]> 2446 2447 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 2448 test suite should pass. 2449 24502009-02-05 Frank Warmerdam <[email protected]> 2451 2452 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 2453 but at the 2GB boundary to avoid overflow on 32bit systems. 2454 http://bugzilla.maptools.org/show_bug.cgi?id=1993 2455 2456 * libtiff/tif_dirread.c: Remove some assertions that blow due to 2457 corrupt files rather than in response to library internal 2458 inconsistencies. 2459 http://bugzilla.maptools.org/show_bug.cgi?id=1995 2460 http://bugzilla.maptools.org/show_bug.cgi?id=1991 2461 2462 * libtiff/tif_dirread.c: Fixed testing for failed result from 2463 TIFFReadDirectoryFindFieldInfo(). 2464 http://bugzilla.maptools.org/show_bug.cgi?id=1992 2465 24662009-01-23 Frank Warmerdam <[email protected]> 2467 2468 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 2469 http://bugzilla.maptools.org/show_bug.cgi?id=1911 2470 2471 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 2472 2473 http://bugzilla.maptools.org/show_bug.cgi?id=1924 2474 2475 * tools/tiffcrop.c: initialize xres/yres values. 2476 2477 * test/*.sh - default ${srcdir} to local directory. 2478 2479 * test/common.sh - start verbose mode after common settings. 2480 2481 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 2482 avoid type mismatches on different platforms. 2483 http://bugzilla.maptools.org/show_bug.cgi?id=1889 2484 24852009-01-22 Frank Warmerdam <[email protected]> 2486 2487 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 2488 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 2489 2490 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 2491 defined, primarily to reduce prototype warnings on windows. 2492 2493 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 2494 about unused parameters, and uninitialized variables. 2495 24962009-01-21 Bob Friesenhahn <[email protected]> 2497 2498 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 2499 order to trace full execution detail while executing the test suite. 2500 25012009-01-20 Frank Warmerdam <[email protected]> 2502 2503 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 2504 25052009-01-20 Bob Friesenhahn <[email protected]> 2506 2507 * test/Makefile.am (CLEANFILES): Make sure that test output files 2508 are removed by 'make clean' 2509 2510 * Update autotools for 4.0.0 beta3 2511 2512 * 4.0.0 beta3 produced. 2513 25142009-01-12 Bob Friesenhahn <[email protected]> 2515 2516 * test/tiffcrop.sh: New test script for tiffcrop from Richard 2517 Nolde. 2518 2519 * tools/tiff2ps.c: Remove spurious message to stderr. 2520 25212009-01-11 Bob Friesenhahn <[email protected]> 2522 2523 * tools/tiff2ps.c: Incorporated significant functionality update 2524 from Richard Nolde. In particular, support for rotating the image 2525 by 90, 180, 270, and 'auto' has been added. 2526 2527 * man/tiffcrop.1: Incorporated documentation updates from Richard 2528 Nolde. 2529 2530 * tools/tiffcrop.c: Incorporated significant functionality update 2531 from Richard Nolde. 2532 25332008-12-31 Bob Friesenhahn <[email protected]> 2534 2535 * libtiff/tiffio.h: GCC will now validate format specifications 2536 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 2537 TIFFWarningExt() in order to reveal bugs. 2538 2539 * Many fixes throughout to work better as a 64-bit build. 2540 25412008-12-30 Bob Friesenhahn <[email protected]> 2542 2543 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 2544 tags now require 64-bit parameter rather than 32-bit. 2545 2546 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 2547 64-bit values. 2548 2549 * tools/thumbnail.c: Eliminate crash noticed while running test 2550 suite. 2551 25522008-12-29 Bob Friesenhahn <[email protected]> 2553 2554 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 2555 Initialize stack variables to avoid compiler warning. 2556 2557 * tools/tiffinfoce.c (main): Use toff_t for offset type when 2558 retrieving offset of EXIF IFD. 2559 2560 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 2561 TIFFClientOpen() callback and other external function definitions. 2562 2563 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 2564 type now. Fixes crash when dumping files containing an EXIF IFD. 2565 2566 * m4/libtool.m4: Update to libtool 2.2.6. 2567 25682008-12-21 Frank Warmerdam <[email protected]> 2569 2570 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 2571 2572 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 2573 strip for the last partial strip in a jpeg compressed file. 2574 http://bugzilla.maptools.org/show_bug.cgi?id=1981 2575 25762008-10-29 Frank Warmerdam <[email protected]> 2577 2578 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 2579 we take the shortcut to only update the strip/tile offsets in place. 2580 http://trac.osgeo.org/gdal/ticket/2621 2581 25822008-10-21 Andrey Kiselev <[email protected]> 2583 2584 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 2585 the older versions retained). 2586 25872008-10-09 Frank Warmerdam <[email protected]> 2588 2589 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 2590 IPP enabled version of libjpeg from Intel. 2591 http://bugzilla.maptools.org/show_bug.cgi?id=1951 2592 25932008-09-05 Andrey Kiselev <[email protected]> 2594 2595 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 2596 Required for libtiff 4.0. 2597 2598 * tools/tiffsplit.c: Use dynamically allocated array instead of static 2599 when constructing output file names. 2600 26012008-09-03 Andrey Kiselev <[email protected]> 2602 2603 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 2604 doing the filename/path construction. 2605 2606 * tools/tiff2pdf.c: More appropriate format string in 2607 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 2608 2609 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 2610 2611 http://bugzilla.maptools.org/show_bug.cgi?id=1929 2612 2613 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 2614 CVE-2008-2327 security issue. 2615 26162008-09-01 Frank Warmerdam <[email protected]> 2617 2618 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 2619 2620 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 2621 depending on whether the file is bigtiff or classic tiff. 2622 http://bugzilla.maptools.org/show_bug.cgi?id=1917 2623 26242008-08-12 Edward Lam <[email protected]> 2625 2626 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 2627 consistent (__int64) casting when testing if _lseeki64 has 2628 successfully seeked as requested. This is necessary for large 2629 file support to work since off_t is only 32-bit. 2630 26312008-07-29 Frank Warmerdam <[email protected]> 2632 2633 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 2634 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 2635 with control logic to return runtime errors (c/o Even Rouault) (#1927). 2636 26372008-06-17 Frank Warmerdam <[email protected]> 2638 2639 * tools/tiffcrop.c: Fix some portability problems. 2640 2641 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 2642 used in tif_jpeg.c. 2643 2644 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 2645 as TIFFOpen(). 2646 26472008-06-01 Frank Warmerdam <[email protected]> 2648 2649 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 2650 like Sparc/Solaris. 2651 http://bugzilla.maptools.org/show_bug.cgi?id=1892 2652 26532008-05-27 Frank Warmerdam <[email protected]> 2654 2655 * libtiff.def: Add TIFFFindField 2656 http://bugzilla.maptools.org/show_bug.cgi?id=1891 2657 26582008-05-26 Frank Warmerdam <[email protected]> 2659 2660 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 2661 2662 * li2008-04-15 Andrey Kiselev <[email protected]> 2663 2664btiff/tif_win32.c: Replace custom Win32 memory api with generic 2665 POSIX one. No apparent value to use of GlobalAlloc() in the modern 2666 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 2667 2668 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 2669 in windows version (care of Edward Lam). 2670 26712008-05-24 Frank Warmerdam <[email protected]> 2672 2673 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 2674 compression codec codes. 2675 2676 * tif_dirwrite.c: fix potential memory leak. 2677 2678 * tif_dirread.c: Fix unchecked malloc result. 2679 26802008-05-24 Bob Friesenhahn <[email protected]> 2681 2682 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 2683 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 2684 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 2685 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 2686 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 2687 suggestions from Lee Howard posted to the tiff list on 13 Sep 2688 2007. 2689 26902008-05-23 Frank Warmerdam <[email protected]> 2691 2692 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 2693 possible runtime problem reported by coverity. 2694 2695 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 2696 2697 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 2698 http://bugzilla.maptools.org/show_bug.cgi?id=1888 2699 2700 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 2701 2702 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 2703 2704 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 2705 Cleanup scanline allocation to avoid coverity warning. 2706 2707 * tools/thumbnail.c: Check for TIFFOpen() failure. 2708 27092008-05-18 Frank Warmerdam <[email protected]> 2710 2711 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 2712 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 2713 why this is needed. 2714 27152008-05-09 Bob Friesenhahn <[email protected]> 2716 2717 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 2718 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 2719 27202008-04-15 Andrey Kiselev <[email protected]> 2721 2722 * test/: Test suite updated. Everything is passed now. 2723 2724 * libtiff/tif_dirinfo.c: Fixed description of the 2725 TIFFTAG_NUMBEROFINKS tag. 2726 27272008-04-14 Andrey Kiselev <[email protected]> 2728 2729 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 2730 Get rid of some of "dereferencing type-punned" warnings by converting 2731 tdir_offset field of TIFFDirEntry structure into union. 2732 27332008-04-10 Andrey Kiselev <[email protected]> 2734 2735 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 2736 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 2737 from the public interface. Type of its 'count' parameter changed 2738 from uint32 to tmsize_t. 2739 2740 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 2741 of the tiff structure have the size_t type instead of uint32. 2742 27432008-04-09 Andrey Kiselev <[email protected]> 2744 2745 * tools/tiffdump.c: Added support for MSVS 6.0. 2746 2747 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 2748 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 2749 point values on MSVS 6.0 platform. 2750 27512008-03-14 Frank Warmerdam <[email protected]> 2752 2753 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 2754 TIFFReadDirEntryArray() since they are interfering with seemingly 2755 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 2756 27572008-02-09 Joris Van Damme <[email protected]> 2758 2759 * tif_dirread.c: Added handling for the case of number of values for 2760 PageNumber tag different from 2 (previously resulted in an assert 2761 indicating lack of handling and was forgotten about) 2762 27632008-02-01 Frank Warmerdam <[email protected]> 2764 2765 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 2766 the actual jpeg data stream if the first strip/tile has zero size. 2767 This is the case when GDAL creates a new file with zero sizes, closes 2768 and reopens it. 2769 27702008-01-07 Frank Warmerdam <[email protected]> 2771 2772 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 2773 27742008-01-01 Frank Warmerdam <[email protected]> 2775 2776 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 2777 2778 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 2779 targets. 2780 2781 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 2782 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 2783 (x64). 2784 2785 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 2786 and TIFFFieldWithName() now return TIFFField pointers instead of 2787 TIFFFieldInfo pointers. 2788 2789 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 2790 exist. This makes it compile again on Windows 2791 2792 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 2793 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 2794 2795 * test/rewrite_tag.c: New test for TIFFRewriteField(). 2796 27972007-12-31 Frank Warmerdam <[email protected]> 2798 2799 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 2800 rewrites one field "on disk" updating an existing directory 2801 entry. Lots of limitations still... 2802 2803 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 2804 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 2805 the strip offset/size values are dirty but nothing else about the 2806 directory is dirty. In flush handle "just stripmaps dirty" as a 2807 special case that just rewrites these values without otherwise 2808 modifying the directory on disk using TIFFRewriteField(). 2809 2810 We also modify logic so that in update mode the directory is not 2811 marked dirty on read, but only when something is changed. This 2812 means we need to keep track of updates to the stripmap stuff in 2813 TIFFAppendToStrip(). 2814 28152007-12-10 Frank Warmerdam <[email protected]> 2816 2817 * tif_jpeg.c: Improve ability to switch between encoding and decoding 2818 in the jpeg code (gdal bug #2033). 2819 28202007-11-23 Frank Warmerdam <[email protected]> 2821 2822 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 2823 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 2824 rawcp/rawcc buffer are for writing and thus may require flushing. 2825 Necessary to distinguish whether they need to be written to disk when 2826 in mixed read/write mode and doing a mixture of writing followed by 2827 reading. http://trac.osgeo.org/gdal/ticket/1758 2828 28292007-11-23 Andrey Kiselev <[email protected]> 2830 2831 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 2832 from Alexey Chupahin. 2833 28342007-11-02 Frank Warmerdam <[email protected]> 2835 2836 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 2837 establishing if an existing tile can be rewritten to the same location 2838 by comparing the current size to all the other blocks in the same 2839 directory. This is dangerous in many situations and can easily 2840 corrupt a file. (observed in esoteric GDAL situation that's hard to 2841 document). This change involves leaving the stripbytecount[] values 2842 unaltered till TIFFAppendToStrip(). Now we only write a block back 2843 to the same location it used to be at if the new data is the same 2844 size or smaller - otherwise we move it to the end of file. 2845 2846 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 2847 data when writing the directory just because we have BEENWRITING at 2848 some point in the past. This was causing odd junk to be written out 2849 in a tile of data when a single tile had an interleaving of reading 2850 and writing with reading last. (highlighted by gdal 2851 autotest/gcore/tif_write.py test 7. 2852 2853 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 2854 modifying callers buffer. 2855 http://trac.osgeo.org/gdal/ticket/1965 2856 2857 * tif_predict.c/h: more fixes related to last item, keeping a 2858 distinct pfunc for encode and decode cases as these were getting 2859 mixed up sometimes. 2860 http://trac.osgeo.org/gdal/ticket/1948 2861 28622007-11-01 Frank Warmerdam <[email protected]> 2863 2864 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 2865 predictor based encoding and decoding works in read-write update 2866 mode properly. 2867 http://trac.osgeo.org/gdal/ticket/1948 2868 28692007-10-24 Joris Van Damme <[email protected]> 2870 2871 * tif_dirread.c: Fixed problem with bogus file triggering 2872 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 2873 ChopUpSingleUncompressedStrip 2874 28752007-10-22 Joris Van Damme <[email protected]> 2876 2877 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 2878 at best, access violation at worst, when subsampled JPEG compressed imagery 2879 is decoded without the JPEG_COLORMODE feature 2880 28812007-10-11 Frank Warmerdam <[email protected]> 2882 2883 * html/index.html: Update "people responsible" section. 2884 28852007-10-05 Frank Warmerdam <[email protected]> 2886 2887 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 2888 as reported on the mailing list. 2889 28902007-10-01 Joris Van Damme <[email protected]> 2891 2892 * changed some more incorrect %lud printf flags to %lu 2893 28942007-09-29 Joris Van Damme <[email protected]> 2895 2896 * tif_dirread.c: Strip chopping interfered badly with uncompressed 2897 subsampled images because it tried to divide subsampled rowblocks, 2898 leading to all sorts of errors throughout the library for these 2899 images. Fixed by making strip chopping divide in row counts that 2900 are a multiple of vertical subsampling value. 2901 29022007-09-28 Joris Van Damme <[email protected]> 2903 2904 * tif_dirread.c: Logical cast working around compiler warning 2905 2906 * tif_read.c: Correction of some error flags and parameter lists 2907 29082007-09-27 Joris Van Damme <[email protected]> 2909 2910 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 2911 when dealing with large bitspersample values, shutting up purification 2912 tools that warn about truncation, though it remains incorrect and 2913 indicates a conceptual problem there. 2914 2915 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 2916 of first IFD) to proper place because it badly interfered with memory 2917 mapping, resulting in mapping flag even with dummy mapping functions 2918 that returned 0 whilst at the same time the mapping tif_size wasn't 2919 set, thus resulting in continuous incorrect beyond-eof errors. 2920 29212007-09-24 Joris Van Damme <[email protected]> 2922 2923 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 2924 inconsistent use of const in tiffFields and exifFields definition 2925 29262007-09-20 Frank Warmerdam <[email protected]> 2927 2928 * tif_dirwrite.c: Always write tile/strip offsets and sizes 2929 using LONG8 type when output format is BigTIFF. The 2930 TIFFWriteDirectoryTagLongLong8Array() function was restructured 2931 accordingly. 2932 2933 * tif_dirread.c: Improvements to error reporting text in 2934 TIFFFetchDirectory(). 2935 29362007-09-19 Bob Friesenhahn <[email protected]> 2937 2938 * test/images: Added a small collection of test images for use by 2939 test programs and scripts. 2940 * test/tiffinfo.sh: A trivial example test script. 2941 * test/common.sh: Added small script for setting the environment 2942 used by script-based tests. 2943 29442007-08-24 Frank Warmerdam <[email protected]> 2945 2946 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 2947 zero when writing directory contents to preserve the ability to 2948 rewrite directories in place, even in the middle of a directory 2949 chain. 2950 2951 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 2952 definitions that are missing. Existing definitions are silently 2953 ignored. 2954 2955 * tif_dirread.c: Add runtime error for fields for which no definition 2956 is found (in addition to an assert for developers) in 2957 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 2958 prudent. 2959 29602007-08-10 Joris Van Damme <[email protected]> 2961 2962 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 2963 from _TIFFRGBAImage structure to revert unwanted ABI change. 2964 29652007-08-10 Joris Van Damme <[email protected]> 2966 2967 * libtiff/tif_win32.c: use SetFilePointer instead of 2968 SetFilePointerEx, as per bug 2969 2970 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 2971 29722007-07-19 Andrey Kiselev <[email protected]> 2973 2974 * libtiff/tif_stream.cxx: Put all callback functions declarations 2975 inside extern "C" block. 2976 2977 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 2978 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 2979 formatter instead of "%lld" with MSVC compiler. 2980 2981 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 2982 _TIFFUInt64ToDouble() functions. 2983 29842007-07-18 Andrey Kiselev <[email protected]> 2985 2986 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 2987 integer constants. 2988 2989 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 2990 remove tif_config.h/tiffconf.h during cleaning. As per bug 2991 2992 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 2993 2994 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 2995 2996 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 2997 29982007-07-13 Andrey Kiselev <[email protected]> 2999 3000 * libtiff 4.0.0alpha released. 3001 30022007-07-12 Andrey Kiselev <[email protected]> 3003 3004 * tools/tiff2pdf.c: Added missed extern optind as per bug 3005 3006 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 3007 3008 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 3009 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 3010 extending scheme completed. 3011 30122007-07-11 Bob Friesenhahn <[email protected]> 3013 3014 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 3015 use standard C++ library size types and attempt to detect overflow 3016 cases. 3017 30182007-07-08 Andrey Kiselev <[email protected]> 3019 3020 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 3021 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 3022 tag extending scheme. Use the new scheme everywhere. 3023 3024 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 3025 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 3026 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 3027 TIFFFIeldInfo structure replaced with TIFFField structure. 3028 TIFFFieldInfo retained for the backward compatibility. 3029 30302007-07-05 Bob Friesenhahn <[email protected]> 3031 3032 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 3033 defined. 3034 30352007-07-04 Andrey Kiselev <[email protected]> 3036 3037 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 3038 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 3039 removed. 3040 3041 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 3042 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 3043 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 3044 These tags are not codec-specific and relate to image content, so 3045 process them as other normal tags. 3046 3047 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 3048 public tiffio.h to private tif_dir.h. 3049 3050 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 3051 outdated. 3052 30532007-07-03 Andrey Kiselev <[email protected]> 3054 3055 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 3056 tif_win3.c}: Obsoleted portability stuff removed. 3057 3058 * tools/tiff2ps.c: Added support 16-bit images as per bug 3059 3060 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 3061 3062 Patch from William Bader. 3063 3064 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 3065 significant upgrade of the whole utility as per bug 3066 3067 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 3068 3069 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 3070 PDF file using TIFFClientOpen() machinery as it is implemented 3071 by Leon Bottou. 3072 30732007-06-26 Bob Friesenhahn <[email protected]> 3074 3075 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 3076 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 3077 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 3078 allow returning -1 for errors. 3079 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 3080 30812007-06-25 Bob Friesenhahn <[email protected]> 3082 3083 * port/strtoull.c: New porting function in case strtoull() is not 3084 available on the target system. 3085 * configure.ac: Add configure support for determining sized types 3086 in a portable way and performing necessary substitutions in 3087 tif_config.h and tiffconf.h. Updated tiff.h to use the new 3088 definitions. 3089 30902007-04-27 Andrey Kiselev <[email protected]> 3091 3092 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 3093 3094 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 3095 30962007-04-07 Andrey Kiselev <[email protected]> 3097 3098 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 3099 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 3100 tif_predict.c, tif_zip.c}: Finally fix bug 3101 3102 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 3103 3104 by introducing _TIFFMergeFieldInfo() returning integer error status 3105 instead of void in case of problems with field merging (e.g., if the 3106 field with such a tag already registered). TIFFMergeFieldInfo() in 3107 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 3108 check returned value. 3109 31102007-04-07 Frank Warmerdam <[email protected]> 3111 3112 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 3113 blocks in TIFF_DownSample_Subsampled() (bug 1542). 3114 31152007-04-06 Frank Warmerdam <[email protected]> 3116 3117 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 3118 will convert from decompressor to compressor or compress to decompress 3119 if required by the force arguments. This works around a problem in 3120 where the JPEGFixupTestSubsampling() may cause a decompressor to 3121 be setup on a directory when later a compressor is required with the 3122 force flag set. Occurs with the addtiffo program for instance. 3123 31242007-04-06 Andrey Kiselev <[email protected]> 3125 3126 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 3127 functionality from Richard Nolde. As per bug 3128 3129 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 3130 31312007-03-28 Frank Warmerdam <[email protected]> 3132 3133 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 3134 31352007-03-17 Joris Van Damme <[email protected]> 3136 3137 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 3138 31392007-03-07 Joris Van Damme <[email protected]> 3140 3141 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 3142 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 3143 factor. This bug is mentioned in: 3144 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 3145 http://www.asmail.be/msg0054766825.html 3146 31472007-03-07 Joris Van Damme <[email protected]> 3148 3149 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 3150 3151 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 3152 unused arguments by standard C indication for the same 3153 31542007-02-27 Andrey Kiselev <[email protected]> 3155 3156 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 3157 counters in TIFFFetchData(). Should finally fix the issue 3158 3159 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 3160 31612007-02-24 Andrey Kiselev <[email protected]> 3162 3163 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 3164 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 3165 3166 * libtiff/tif_dirread.c: Added special function to handle 3167 SubjectDistance EXIF tag as per bug 3168 3169 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 3170 3171 * tools/tiff2pdf.c: Do not assume inches when the resolution units 3172 do not specified. As per bug 3173 3174 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 3175 3176 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 3177 it was set as infinite. As per bug 3178 3179 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 3180 3181 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 3182 by Richard Nolde. As per bug 3183 3184 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 3185 31862007-02-22 Andrey Kiselev <[email protected]> 3187 3188 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 3189 ExtraSamples == 999 produced by Corel Draw. As per bug 3190 3191 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 3192 3193 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 3194 changed from tsize_t to uint32 to be able to work with data arrays 3195 larger than 2GB. Fixes bug 3196 3197 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 3198 3199 Idea submitted by Matt Hancher. 3200 32012007-01-31 Andrey Kiselev <[email protected]> 3202 3203 * tools/tif2rgba.c: This utility does not work properly on big-endian 3204 architectures. It was fixed including the bug 3205 3206 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 3207 32082007-01-15 Mateusz Loskot <[email protected]> 3209 3210 * Submitted libtiff port for Windows CE platform 3211 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 3212 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 3213 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 3214 functons from tif_win32.c. 3215 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 3216 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 3217 standard header files for Windows CE build. 3218 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 3219 32202006-11-19 Frank Warmerdam <[email protected]> 3221 3222 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 3223 we move a strip. 3224 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 3225 32262006-10-13 Andrey Kiselev <[email protected]> 3227 3228 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 3229 in Gentoo bug (): 3230 3231 http://bugs.gentoo.org/show_bug.cgi?id=142383 3232 3233 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 3234 Though it is still far from the state of being working and useful. 3235 32362006-10-12 Andrey Kiselev <[email protected]> 3237 3238 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 3239 method. 3240 3241 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 3242 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 3243 3244 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 3245 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 3246 3247 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 3248 vulnerabilities, reported in Gentoo bug (): 3249 3250 http://bugs.gentoo.org/show_bug.cgi?id=142383 3251 32522006-09-28 Andrey Kiselev <[email protected]> 3253 3254 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 3255 vulnerabilities, as per Gentoo bug (): 3256 3257 http://bugs.gentoo.org/show_bug.cgi?id=142383 3258 32592006-09-27 Frank Warmerdam <[email protected]> 3260 3261 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 3262 encoding and decoding on the same read-write TIFF handle. The LZW 3263 code can now maintain encode and decode state at the same time. The 3264 ZIP code will switch back and forth as needed. 3265 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 3266 32672006-09-20 Frank Warmerdam <[email protected]> 3268 3269 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 3270 tif_config.vc.h for easier identification by folks using an IDE. 3271 32722006-07-25 Frank Warmerdam <[email protected]> 3273 3274 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 3275 32762006-07-19 Frank Warmerdam <[email protected]> 3277 3278 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 3279 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 3280 to bug report by Peng Gao with black strip at bottom of images. 3281 32822006-07-12 Frank Warmerdam <[email protected]> 3283 3284 * tif_dirwrite.c: make sure to use uint32 for wordcount in 3285 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 3286 It already seems to have been done for other field types. Needed 3287 for "tiffset" on files with geotiff ascii text. 3288 32892006-07-04 Bob Friesenhahn <[email protected]> 3290 3291 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 3292 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 3293 its use does not appear to be required, so use it only when it is 3294 available. 3295 32962006-06-24 Andrey Kiselev <[email protected]> 3297 3298 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 3299 3300 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 3301 function TIFFFetchDirectory() avoiding code duplication in 3302 TIFFReadDirectory() and TIFFReadCustomDirectory(). 3303 33042006-06-19 Frank Warmerdam <[email protected]> 3305 3306 * tools/tiff2pdf.c: Fix handling of -q values. 3307 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 3308 33092006-06-17 Frank Warmerdam <[email protected]> 3310 3311 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 3312 files. Modified TIFFReadDirectory() to not invoke 3313 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 3314 but one of them is zero. 3315 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 3316 33172006-06-08 Andrey Kiselev <[email protected]> 3318 3319 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 3320 checking code in the separate function TIFFCheckDirOffset(). 3321 3322 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 3323 3324 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 3325 3326 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 3327 3328 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 3329 3330 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 3331 3332 * tools/tiff2pdf.c: Fixed buffer overflow condition in 3333 t2p_write_pdf_string() as per bug 3334 3335 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 3336 33372006-06-07 Andrey Kiselev <[email protected]> 3338 3339 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 3340 support for JBIG compression scheme (34661 code) contributed by Lee 3341 Howard. As per bug 3342 3343 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 3344 3345 * configure, configure.ac: OJPEG support enabled by default. 3346 3347 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 3348 33492006-06-03 Bob Friesenhahn <[email protected]> 3350 3351 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 3352 TIFFPrintDirectory(). Joris Van Damme authored the fix. 3353 33542006-04-21 Andrey Kiselev <[email protected]> 3355 3356 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 3357 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 3358 3359 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 3360 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 3361 Added support for OpenVMS by Alexey Chupahin, [email protected]. 3362 33632006-04-20 Andrey Kiselev <[email protected]> 3364 3365 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 3366 Properly set the binary mode for stdin stream as per bug 3367 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 3368 3369 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 3370 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 3371 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 3372 tiffset.1}: Improvements in page formatting as per bug 3373 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 3374 3375 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 3376 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 3377 33782006-04-18 Frank Warmerdam <[email protected]> 3379 3380 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 3381 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 3382 33832006-04-12 Joris Van Damme <[email protected]> 3384 3385 * libtiff/tif_getimage.c: Added support for planarconfig separate 3386 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 3387 33882006-04-11 Joris Van Damme <[email protected]> 3389 3390 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 3391 - Conversion of unassociated alpha to associated alpha now done with 3392 more performant LUT, and calculation more correct 3393 - Conversion of 16bit data to 8bit data now done with 3394 more performant LUT, and calculation more correct 3395 - Bugfix of handling of 16bit RGB with unassociated alpha 3396 33972006-04-11 Joris Van Damme <[email protected]> 3398 3399 * libtiff/tif_getimage.c: 3400 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 3401 buffer for alpha strile and filled it, only to never read it back. 3402 Removed allocation and fill. 3403 - Minor rename of vars in gtTileSeparate and gtStripSeparate 3404 anticipating planned functionality extension 3405 34062006-04-08 Joris Van Damme <[email protected]> 3407 3408 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 3409 and pickTileSeparateCase to PickSeparateCase as both work on strips as 3410 well 3411 3412 * libtiff/tif_getimage.c: moved img->get selection from 3413 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 3414 logical hook for planned functionality extension 3415 34162006-04-08 Joris Van Damme <[email protected]> 3417 3418 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 3419 of inappropriate use of jpeg_abort instead of jpeg_destroy 3420 34212006-04-07 Joris Van Damme <[email protected]> 3422 3423 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 3424 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 3425 on subsampled images - this ought to get sorted when we feel brave 3426 enough to replace TIFFScanlineSize alltogether 3427 3428 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 3429 34302006-04-04 Joris Van Damme <[email protected]> 3431 3432 * libtiff/tiffio.h: added new type tstrile_t 3433 3434 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 3435 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 3436 toff_t* 3437 3438 * libtiff/tif_ojpeg.c: totally new implementation 3439 3440 * libtiff/tif_dirread.c: added several hacks to suit new support of 3441 OJPEG 3442 3443 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 3444 of OJPEG images in favor of tif_getimage.c native handling of 3445 YCbCr and desubsampling 3446 34472006-03-29 Frank Warmerdam <[email protected]> 3448 3449 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 3450 interpretation causes the "upsampled" flag to be recomputed. Fixes 3451 peculiar bug where photometric flag had to be set before jpegcolormode 3452 flag. 3453 34542006-03-25 Joris Van Damme <[email protected]> 3455 3456 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 3457 3458 * libtiff/tif_strip.c: temporarilly added two new versions of 3459 TIFFScanlineSize 3460 - TIFFNewScanlineSize: proposed new version, after all related 3461 issues and side-effects are sorted out 3462 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 3463 This needs further sorting out. 3464 34652006-03-25 Joris Van Damme <[email protected]> 3466 3467 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 3468 of last truncated strip data to TIFFWriteEncodedStrip 3469 34702006-03-25 Joris Van Damme <[email protected]> 3471 3472 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 3473 34742006-03-25 Joris Van Damme <[email protected]> 3475 3476 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 3477 3478 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 3479 3480 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 3481 prepare the path for new tif_ojpeg.c 3482 34832006-03-23 Andrey Kiselev <[email protected]> 3484 3485 * libtiff 3.8.2 released. 3486 3487 * tools/Makefile.am: Use runtime paths linker flags when rpath 3488 option enabled. 3489 34902006-03-21 Andrey Kiselev <[email protected]> 3491 3492 * libtiff/libtiff.def: Added missed exports as per bug 3493 http://bugzilla.remotesensing.org/attachment.cgi?id=337 3494 3495 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 3496 tools/Makefile.vc: Makefiles improvements as per bug 3497 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 3498 3499 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 3500 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 3501 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 3502 3503 * libtiff/tif_strip.c: Take subsampling in account when calculating 3504 TIFFScanlineSize(). 3505 3506 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 3507 35082006-03-17 Andrey Kiselev <[email protected]> 3509 3510 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 3511 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 3512 3513 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 3514 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 3515 35162006-03-16 Andrey Kiselev <[email protected]> 3517 3518 * libtiff/tiffiop.h: Added decalration for 3519 _TIFFSetDefaultCompressionState(). 3520 3521 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 3522 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 3523 codec cleanup methods. As per bug 3524 3525 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 3526 35272006-03-15 Andrey Kiselev <[email protected]> 3528 3529 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 3530 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 3531 3532 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 3533 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 3534 3535 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 3536 removed; move here the STRIP_SIZE_DEFAULT macro definition. 3537 3538 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 3539 macro definition. 3540 3541 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 3542 35432006-03-14 Andrey Kiselev <[email protected]> 3544 3545 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 3546 in TIFFReadDirectory, because it is always set at the start of 3547 function and we allow TIFFs without that tag set. 3548 35492005-03-13 Andrey Kiselev <[email protected]> 3550 3551 * libtiff 3.8.1 released. 3552 35532006-03-07 Andrey Kiselev <[email protected]> 3554 3555 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 3556 function as per bug 3557 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3558 3559 * libtiff/tif_dirread.c: More wise check for integer overflow 3560 condition as per bug 3561 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3562 3563 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 3564 Properly restore setfield/getfield methods in cleanup functions. As 3565 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3566 35672006-03-03 Andrey Kiselev <[email protected]> 3568 3569 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 3570 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 3571 3572 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 3573 TIFFPredictorCleanup() in codec cleanup methods. As per bug 3574 3575 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3576 3577 * libtiff/tif_dirread.c: Fixed integer overflow condition in 3578 TIFFFetchData() function. As per bug 3579 3580 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3581 35822006-03-01 Andrey Kiselev <[email protected]> 3583 3584 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 3585 TIFFSetField() method, not directly. As per bug 3586 3587 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 3588 3589 * tools/ppm2tiff.c: Added support for PBM files as per bug 3590 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 3591 35922006-02-27 Andrey Kiselev <[email protected]> 3593 3594 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 3595 to avoid crash as per bug 3596 3597 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 3598 35992006-02-26 Andrey Kiselev <[email protected]> 3600 3601 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 3602 t2p_sample_rgba_to_rgb() was used in place of each other, that was 3603 resulted in problems with RGBA images with associated alpha. 3604 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 3605 36062006-02-23 Andrey Kiselev <[email protected]> 3607 3608 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 3609 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 3610 3611 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 3612 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 3613 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 3614 3615 * tools/tiff2ps.c: Properly scale all the pages when converting 3616 multipage TIFF with /width/height/center options set. As per bug 3617 3618 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 3619 36202006-02-15 Andrey Kiselev <[email protected]> 3621 3622 * tools/tiff2pdf.c: Do not create output file until all option checks 3623 will be done. As per bug 3624 3625 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 3626 3627 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 3628 list of input files as per bug: 3629 3630 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 3631 36322006-02-09 Andrey Kiselev <[email protected]> 3633 3634 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 3635 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 3636 3637 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 3638 TIFFRGBAImage interface. 3639 3640 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 3641 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 3642 36432006-02-07 Frank Warmerdam <[email protected]> 3644 3645 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 3646 compressed TIFF files, per submission from Dan Cobra. 3647 36482006-02-07 Andrey Kiselev <[email protected]> 3649 3650 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 3651 cast values to avoid warnings. As per bug 3652 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 3653 3654 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 3655 appropriate. As per bug 3656 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 3657 3658 * libtiff/tif_aux.c: Fixed type of temporary variable in 3659 _TIFFCheckMalloc() as per bug 3660 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 3661 36622006-02-06 Andrey Kiselev <[email protected]> 3663 3664 * libtiff/tif_aux.c: Return static array when fetching default 3665 YCbCrCoefficients (another problem, reported a the 3666 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 3667 36682006-02-03 Andrey Kiselev <[email protected]> 3669 3670 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 3671 YCbCrSubsampling and DotRange tags as per bugs 3672 3673 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 3674 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 3675 3676 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 3677 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 3678 3679 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 3680 36812006-01-23 Andrey Kiselev <[email protected]> 3682 3683 * libtool related stuff updated from the 2.1a branch. 3684 36852006-01-11 Frank Warmerdam <[email protected]> 3686 3687 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 3688 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 3689 properly as per bug: 3690 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 3691 36922006-01-09 Bob Friesenhahn <[email protected]> 3693 3694 * configure.ac: Fix with_default_strip_size comparison as reported 3695 by Norihiko Murase. 3696 36972006-01-08 Bob Friesenhahn <[email protected]> 3698 3699 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 3700 incorrectly, tests were not actually testing the uninstalled 3701 libtiff. Now they are. 3702 37032006-01-04 Andrey Kiselev <[email protected]> 3704 3705 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 3706 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 3707 should be uint32 value. 3708 37092006-01-02 Bob Friesenhahn <[email protected]> 3710 3711 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 3712 be used if build directory is not the same as source directory. 3713 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 3714 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 3715 and re-sorted tag names in alphabetical order. 3716 37172005-12-29 Andrey Kiselev <[email protected]> 3718 3719 * libtiff 3.8.0 released. 3720 37212005-12-28 Bob Friesenhahn <[email protected]> 3722 3723 * tools/bmp2tiff.c (main): Fixed warning regarding returning 3724 inconsistent types from a condition. 3725 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 3726 format. 3727 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 3728 37292005-12-28 Joris Van Damme <[email protected]> 3730 3731 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 3732 37332005-12-27 Andrey Kiselev <[email protected]> 3734 3735 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 3736 windows.h, to reduce the compile time. 3737 37382005-12-26 Bob Friesenhahn <[email protected]> 3739 3740 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 3741 37422005-12-26 Andrey Kiselev <[email protected]> 3743 3744 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 3745 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 3746 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 3747 private functions to retrieve FieldInfo arrays. 3748 37492005-12-24 Bob Friesenhahn <[email protected]> 3750 3751 * html/build.html: Added some additional instructions for when 3752 building using MSVC under Windows. Also fixed two HTML syntax 3753 errors and used HTML Tidy to tidy up the HTML syntax and 3754 formatting. 3755 37562005-12-24 Andrey Kiselev <[email protected]> 3757 3758 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 3759 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 3760 StoNits tags custom. 3761 37622005-12-23 Andrey Kiselev <[email protected]> 3763 3764 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 3765 WhitePoint tag custom. 3766 3767 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 3768 37692005-12-23 Joris Van Damme <[email protected]> 3770 3771 * libtiff/tiffio.h: fixed typo that potentially resulted in 3772 redefininition of USE_WIN32_FILEIO 3773 3774 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 3775 calls in core LibTiff. 3776 37772005-12-21 Andrey Kiselev <[email protected]> 3778 3779 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 3780 Photoshop and ICCProfile tags custom. 3781 37822005-12-21 Joris Van Damme <[email protected]> 3783 3784 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 3785 newer code to get context indicator in error handler and still 3786 remain compatible with older code: Done TIFFError calls everywhere 3787 except in tools 3788 37892005-12-20 Andrey Kiselev <[email protected]> 3790 3791 * tools/tiffcp.c: Added many error reporting messages; fixed integer 3792 overflow as per bug 3793 3794 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 3795 37962005-12-16 Frank Warmerdam <[email protected]> 3797 3798 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 3799 YCbCr images in jpeg compressed TIFF files. 3800 38012005-12-14 Andrey Kiselev <[email protected]> 3802 3803 * tools/tiffcp.c: Return non-zero status when reading fails (again). 3804 38052005-12-13 Andrey Kiselev <[email protected]> 3806 3807 * tools/tiffcp.c: Return non-zero status when reading fails. 3808 38092005-12-12 Andrey Kiselev <[email protected]> 3810 3811 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 3812 38132005-12-09 Andrey Kiselev <[email protected]> 3814 3815 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 3816 custom. 3817 3818 * tools/tiffinfo.c: Print EXIF directory contents if exist. 3819 3820 * libtiff/tiff.h: Few EXIF tag numbers added. 3821 3822 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 3823 tiffio.h}: Preliminary support to read custom directories. New 3824 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 3825 38262005-12-07 Andrey Kiselev <[email protected]> 3827 3828 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 3829 More work to implement custom directory read support. 3830 3831 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 3832 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 3833 tags custom. 3834 38352005-12-05 Andrey Kiselev <[email protected]> 3836 3837 * libtiff/tif_dirread.c: One more workaround for broken 3838 StripByteCounts tag. Handle the case when StripByteCounts array filled 3839 with completely wrong values. 3840 38412005-11-30 Andrey Kiselev <[email protected]> 3842 3843 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 3844 in the TIFFOpenW() function as per bug 3845 3846 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 3847 3848 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 3849 functions as per bug 3850 3851 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 3852 38532005-11-20 Frank Warmerdam <[email protected]> 3854 3855 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 3856 for MS MDI format. 3857 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 3858 3859 * .cvsignore: many files added, and a few update according 3860 to suggestion of Brad HArds on tiff mailing list. 3861 38622005-11-03 Frank Warmerdam <[email protected]> 3863 3864 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 3865 public. 3866 38672005-10-31 Andrey Kiselev <[email protected]> 3868 3869 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 3870 as per bug 3871 3872 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 3873 3874 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 3875 as per bug 3876 3877 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 3878 3879 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 3880 problem as per bug 3881 3882 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 3883 3884 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 3885 3886 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 3887 3888 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 3889 ResolutionUnit tags modifiable during write process. As per bug 3890 3891 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 3892 3893 * tools/tiffsplit.c: Copy fax related fields over splitted parts 3894 as per bug 3895 3896 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 3897 38982005-10-21 Frank Warmerdam <[email protected]> 3899 3900 * tif_dirread.c: Don't try and split single strips into "0" strips 3901 in ChopUpSingleUncompressedStrip. This happens in some degenerate 3902 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 3903 39042005-10-20 Joris Van Damme <[email protected]> 3905 3906 * tif_fax3.c: changed 'at scanline ...' style warning/errors 3907 with incorrect use of tif_row, to 'at line ... of 3908 strip/tile ...' style 3909 39102005-10-15 Frank Warmerdam <[email protected]> 3911 3912 * tif_write.c: fixed setting of planarconfig as per bug report 3913 on the mailing list from Joris. 3914 39152005-10-07 Andrey Kiselev <[email protected]> 3916 3917 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 3918 tif_dirread.c}: Make the default strip size configurable via the 3919 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 3920 39212005-09-30 Bob Friesenhahn <[email protected]> 3922 3923 * html/support.html: Fixed link to documentation on Greg Ward's 3924 LogLuv TIFF format. 3925 39262005-09-28 Andrey Kiselev <[email protected]> 3927 3928 * tools/tiffdump.c: Fixed crash when reading malformed tags. 3929 39302005-09-20 Andrey Kiselev <[email protected]> 3931 3932 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 3933 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 3934 39352005-09-12 Andrey Kiselev <[email protected]> 3936 3937 * libtiff 3.7.4 released. 3938 3939 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 3940 from Patrick Welche (all scripts moved in the 'config' and 'm4' 3941 directories). 3942 39432005-09-12 Frank Warmerdam <[email protected]> 3944 3945 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 3946 39472005-09-05 Frank Warmerdam <[email protected]> 3948 3949 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 3950 also set it to NULL to avoid double free when re-setting custom 3951 string fields as per: 3952 3953 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 3954 39552005-08-12 Frank Warmerdam <[email protected]> 3956 3957 * libtiff/tif_print.c: avoid signed/unsigned warning. 3958 3959 * libtiff/tif_dirread.c: removed unused variable. 3960 39612005-07-30 Frank Warmerdam <[email protected]> 3962 3963 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 3964 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 3965 pass on bigendian (macosx) system. 3966 39672005-07-28 Andrey Kiselev <[email protected]> 3968 3969 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 3970 CheckMalloc() function to _TIFFCheckMalloc() and make it available 3971 globally as an internal helper routine. 3972 39732005-07-27 Andrey Kiselev <[email protected]> 3974 3975 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 3976 the custom tags handling code. 3977 39782005-07-26 Andrey Kiselev <[email protected]> 3979 3980 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 3981 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 3982 function, use TIFFFetchNormalTag() instead as per bug 3983 3984 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 3985 3986 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 3987 instead. 3988 3989 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 3990 3991 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3992 39932005-07-25 Andrey Kiselev <[email protected]> 3994 3995 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 3996 3997 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 3998 39992005-07-21 Andrey Kiselev <[email protected]> 4000 4001 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 4002 the TIFFWriteCheck() function in case of single band images (as per 4003 TIFF spec). 4004 40052005-07-12 Andrey Kiselev <[email protected]> 4006 4007 * SConstruct, libtiff/SConstruct: Added the first very preliminary 4008 support for SCons software building tool (http://www.scons.org/). 4009 This is experimental infrastructure and it will exist along with the 4010 autotools mechanics. 4011 40122005-07-07 Andrey Kiselev <[email protected]> 4013 4014 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 4015 the NetBSD source tree (the old 4-clause BSD license changed to 4016 the new 3-clause one). 4017 4018 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 4019 replacement module. 4020 4021 * port/dummy.c: Make the dummy function static. 4022 40232005-07-06 Andrey Kiselev <[email protected]> 4024 4025 * tools/tiffcp.c: Fixed WhitePoint tag copying. 4026 4027 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 4028 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 4029 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 4030 40312005-07-04 Andrey Kiselev <[email protected]> 4032 4033 * libtiff 3.7.3 released. 4034 4035 * configure, configure.ac: Do not use empty -R option when linking 4036 with --enable-rpath. 4037 40382005-07-01 Andrey Kiselev <[email protected]> 4039 4040 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 4041 reading the first IFD when needed. As per bug 4042 4043 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 4044 4045 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 4046 effects. 4047 40482005-06-23 Andrey Kiselev <[email protected]> 4049 4050 * tools/tiff2pdf.c: Print two characters per loop in the 4051 t2p_write_pdf_trailer(). As per bug 4052 4053 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 4054 4055 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 4056 per bug 4057 4058 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 4059 4060 * acinclude.m4: Updated to latest OpenGL test macros versions. 4061 4062 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 4063 platform. As per bug 4064 4065 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 4066 40672005-06-14 Andrey Kiselev <[email protected]> 4068 4069 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 4070 and YClipPathUnits tags. 4071 40722005-06-07 Andrey Kiselev <[email protected]> 4073 4074 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 4075 use pixel sized shift in contigous case. 4076 40772005-06-06 Andrey Kiselev <[email protected]> 4078 4079 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 4080 Make overviews working for contiguos images. 4081 40822005-06-03 Andrey Kiselev <[email protected]> 4083 4084 * libtiff/tif_open.c: Replace runtime endianess check with the compile 4085 time one. 4086 4087 * libtiff/tif_predict.c: Floating point predictor now works on 4088 big-endian hosts. 4089 40902005-06-01 Andrey Kiselev <[email protected]> 4091 4092 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 4093 ASCII values. 4094 4095 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 4096 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 4097 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 4098 TargetPrinter tags custom. 4099 4100 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 4101 TIFF_CODERSETUP flag (to fix memry leaks). 4102 4103 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 4104 allocating. 4105 41062005-05-26 Andrey Kiselev <[email protected]> 4107 4108 * configure.ac, libtiff/Makefile.am: Added workaround for 4109 OpenBSD/MirOS soname problem as per bug 4110 4111 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 4112 4113 * libtiff/tif_dirwrite.c: Use tdir_count when calling 4114 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 4115 per bug 4116 4117 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 4118 41192005-05-25 Andrey Kiselev <[email protected]> 4120 4121 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 4122 the fscanf() function. As per bug 4123 4124 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 4125 4126 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 4127 uint16 array when fetching the BYTE and SBYTE filds, so we should 4128 consider result as pointer to uint16 array and not as array of chars. 4129 As per bug 4130 4131 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 4132 4133 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 4134 4135 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 4136 4137 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 4138 mode in CreateFile() call as per bug 4139 4140 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 4141 4142 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 4143 libtiffxx libraries as per bug 4144 4145 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 4146 4147 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 4148 GDAL. 4149 41502005-05-23 Frank Warmerdam <[email protected]> 4151 4152 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 4153 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 4154 in directory. 4155 41562005-05-22 Frank Warmerdam <[email protected]> 4157 4158 * libtiff/tif_dirread.c: Changed the code that computes 4159 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 4160 zero. This is a common case with GDAL indicating a "null" tile/strip. 4161 41622005-05-17 Andrey Kiselev <[email protected]> 4163 4164 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 4165 41662005-05-06 Frank Warmerdam <[email protected]> 4167 4168 * libtiff/tif_dirread.c: Applied similar change to 4169 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 4170 4171 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 4172 4173 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 4174 41752005-05-06 Andrey Kiselev <[email protected]> 4176 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 4177 added new option '-b' to use interpolation in output PDF files (Bruno 4178 Ledoux). 4179 41802005-05-05 Frank Warmerdam <[email protected]> 4181 4182 * libtiff/tif_dirread.c: Ensure that broken files with too many 4183 values in PerSampleShorts work ok instead of crashing. 4184 4185 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 4186 41872005-04-27 Andrey Kiselev <[email protected]> 4188 4189 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 4190 input file. 4191 41922005-04-15 Andrey Kiselev <[email protected]> 4193 4194 * libtiff/tif_predict.c: Added ability to encode floating point 4195 predictor, as per TIFF Technical Note 3. 4196 41972005-04-14 Andrey Kiselev <[email protected]> 4198 4199 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 4200 floating point predictor, as per TIFF Technical Note 3. 4201 42022005-04-13 Andrey Kiselev <[email protected]> 4203 4204 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 4205 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 4206 swap 24-bit floating point values. 4207 4208 * libtiff/tiff.h: Added predictor constants. 4209 42102005-04-08 Andrey Kiselev <[email protected]> 4211 4212 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 4213 values in _TIFFVSetField() function. Inspired by the bug 4214 4215 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 4216 4217 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 4218 as per bug 4219 4220 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 4221 42222005-03-30 Andrey Kiselev <[email protected]> 4223 4224 * libtiff/tif_open.c: Do not read header in case the output file 4225 should be truncated (Ron). 4226 4227 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 4228 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 4229 4230 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 4231 42322005-03-22 Andrey Kiselev <[email protected]> 4233 4234 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 4235 rpath option. 4236 42372005-03-21 Andrey Kiselev <[email protected]> 4238 4239 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 4240 tags. 4241 42422005-03-18 Andrey Kiselev <[email protected]> 4243 4244 * libtiff/dirinfo.c: Added DNG tags. 4245 4246 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 4247 handling code. 4248 4249 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 4250 added DNG 1.1.0.0 tags. 4251 4252 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 4253 bug 4254 4255 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 4256 4257 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 4258 42592005-03-17 Andrey Kiselev <[email protected]> 4260 4261 * nmake.opt: Build with Win32 CRT library by default. 4262 4263 * tools/tiff2ps.c: Fixed typo in page size handling code. 4264 4265 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 4266 by value. 4267 4268 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 4269 42702005-03-15 Andrey Kiselev <[email protected]> 4271 4272 * libtiff 3.7.2 released. 4273 42742005-03-09 Andrey Kiselev <[email protected]> 4275 4276 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 4277 floating point data; complain on unsupported bit depths. 4278 42792005-03-05 Andrey Kiselev <[email protected]> 4280 4281 * tif_stream.cxx: Use ios namespace instead of ios_base to support 4282 GCC 2.95. 4283 4284 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 4285 Lee Howard for HylaFax DCS tag 4286 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 4287 42882005-03-04 Andrey Kiselev <[email protected]> 4289 4290 * configure, configure.ac: Use -rpath option instead of -R as per bug 4291 4292 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 4293 4294 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 4295 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 4296 software. As per bug 4297 4298 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 4299 4300 * nmake.opt, html/build.html: Add more comments, change the config 4301 file organization a bit as per bug 4302 4303 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 4304 4305 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 4306 as per bug 4307 4308 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 4309 43102005-03-03 Andrey Kiselev <[email protected]> 4311 4312 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 4313 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 4314 4315 * tools/fax2ps.c: Replace insecure mktemp() function with the 4316 tmpfile() as per bug 4317 4318 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 4319 43202005-02-04 Andrey Kiselev <[email protected]> 4321 4322 * libtiff/tiff.h: Changed the int8 definition to be always signed char 4323 as per bug 4324 4325 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 4326 4327 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 4328 block as per bug 4329 4330 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 4331 43322005-02-03 Bob Friesenhahn <[email protected]> 4333 4334 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 4335 display more correctly. Images display brighter than they should 4336 on a Sun workstation. 4337 43382005-02-03 Andrey Kiselev <[email protected]> 4339 4340 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 4341 suspicious values in the tags. As per bugs 4342 4343 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 4344 4345 and 4346 4347 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 4348 4349 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 4350 4351 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 4352 43532005-01-31 Bob Friesenhahn <[email protected]> 4354 4355 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 4356 (TIFFTAG_TILELENGTH): Corrected description. 4357 43582005-01-30 Andrey Kiselev <[email protected]> 4359 4360 * configure.ac: Fixes for --with-docdir option as per bug 4361 4362 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 4363 4364 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 4365 bug 4366 4367 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 4368 4369 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 4370 Michael Rinne and Edward Lam. 4371 43722005-01-15 Andrey Kiselev <[email protected]> 4373 4374 * configure.ac: Make the documentation directory location configurable 4375 via the --with-docdir option (as suggested by Jeremy C. Reed). 4376 4377 * libtiff/tif_color.c: Use double as the second argument of pow() 4378 function in TIFFCIELabToRGBInit(). As per bug 4379 4380 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 4381 4382 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 4383 integer as per bug 4384 4385 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 4386 4387 * libtiff/tif_getimage.c: Always fill the error message buffer in 4388 TIFFRGBAImageBegin() as per bug 4389 4390 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 4391 43922005-01-12 Andrey Kiselev <[email protected]> 4393 4394 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 4395 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 4396 tags as per bug 4397 4398 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 4399 4400 * libtiff/tif_win32.c: Fixed message formatting in functions 4401 Win32WarningHandler() and Win32ErrorHandler() as per bug 4402 4403 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 4404 4405 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 4406 per bug 4407 4408 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 4409 44102005-01-11 Andrey Kiselev <[email protected]> 4411 4412 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 4413 "C"' section as per bug 4414 4415 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 4416 4417 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 4418 compiler to avoid double definition of BSD types as per bug 4419 4420 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4421 4422 * libtiff/Makefile.am: Place the C++ stream API in the separate 4423 library called libtiffxx to avoid unneeded dependencies. Probably 4424 there will be more C++ API in the future. As per bugs 4425 4426 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 4427 4428 and 4429 4430 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 4431 44322005-01-05 Andrey Kiselev <[email protected]> 4433 4434 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 4435 wrong tag counts (Dmitry V. Levin, Martin Pitt). 4436 4437 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 4438 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 4439 44402004-12-25 Andrey Kiselev <[email protected]> 4441 4442 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 4443 RGB-images as per bug 4444 4445 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 4446 4447 4448 * tools/tiffset.c: Convert character option to integer value as per 4449 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 4450 44512004-12-20 Andrey Kiselev <[email protected]> 4452 4453 * libtiff 3.7.1 released. 4454 4455 * html/tiffset.1.html: Add missed manual page as per bug 4456 4457 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 4458 4459 * libtiff/tiff.h: Revert back libtiff data type definitions as per 4460 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 4461 44622004-12-19 Andrey Kiselev <[email protected]> 4463 4464 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 4465 checking for tag count in TIFFReadDirectory() function. As per bug 4466 4467 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 4468 4469 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 4470 CheckMallock() function. 4471 4472 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 4473 RGB-images as per bug 4474 4475 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 4476 44772004-12-15 Frank Warmerdam <[email protected]> 4478 4479 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 4480 SunPro compiler. 4481 44822004-12-11 Bob Friesenhahn <[email protected]> 4483 4484 * autogen.sh: aclocal and autoheader should be executed after 4485 libtoolize. Also add '-I .' to aclocal invocation to check 4486 current directory for macros. 4487 44882004-12-10 Andrey Kiselev <[email protected]> 4489 4490 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 4491 as per bugs 4492 4493 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 4494 4495 and 4496 4497 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 4498 44992004-12-04 Andrey Kiselev <[email protected]> 4500 4501 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 4502 4503 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 4504 4505 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 4506 mode as per bug 4507 4508 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 4509 4510 * libtiff/tif_config.in.vc: Removed unneded definitions for 4511 read/open/close/lseek functions to fix the 4512 4513 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 4514 45152004-12-03 Andrey Kiselev <[email protected]> 4516 4517 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 4518 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 4519 must be removed in the future, as it was never used properly. As per 4520 bug 4521 4522 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 4523 45242004-11-30 Bob Friesenhahn <[email protected]> 4525 4526 * libtiff/tif_jpeg.c: Added a work-around in order to allow 4527 compilation with the heavily modified version of libjpeg delivered 4528 with Cygwin. 4529 45302004-11-29 Andrey Kiselev <[email protected]> 4531 4532 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 4533 counts. As per bug 4534 4535 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 4536 4537 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 4538 4539 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 4540 45412004-11-28 Andrey Kiselev <[email protected]> 4542 4543 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 4544 on Windows. 4545 4546 * nmake.opt: Add missed DLLNAME variable. 4547 45482004-11-26 Frank Warmerdam <[email protected]> 4549 4550 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 4551 45522004-11-24 Andrey Kiselev <[email protected]> 4553 4554 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 4555 per bug 4556 4557 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 4558 4559 * man/tiffset.1: Added manual page for tiffset tool written by Jay 4560 Berkenbilt. As per bug 4561 4562 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 4563 45642004-11-23 Frank Warmerdam <[email protected]> 4565 4566 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 4567 45682004-11-21 Frank Warmerdam <[email protected]> 4569 4570 * html/document.html: Updated Adobe web links as per email from Joris. 4571 45722004-11-21 Andrey Kiselev <[email protected]> 4573 4574 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 4575 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 4576 use C++ streams should #include <tiffio.hxx>. 4577 45782004-11-13 Andrey Kiselev <[email protected]> 4579 4580 * libtiff/tiff.h: Added Adobe DNG tags. 4581 4582 * libtiff/tif_win32.c: Typo fixed. 4583 4584 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 4585 be compliant with the latest standard. Appropriate additions in 4586 makefiles now completed. 4587 45882004-11-11 Andrey Kiselev <[email protected]> 4589 4590 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 4591 different tag types. As per bug 4592 4593 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 4594 45952004-11-10 Andrey Kiselev <[email protected]> 4596 4597 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 4598 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 4599 46002004-11-09 Andrey Kiselev <[email protected]> 4601 4602 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 4603 46042004-11-07 Andrey Kiselev <[email protected]> 4605 4606 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 4607 contributed by Edward Lam (see 4608 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 4609 Though no changes in any makefiles yet. 4610 46112004-11-05 Frank Warmerdam <[email protected]> 4612 4613 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 4614 is bad. This is the callers responsibility. 4615 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 4616 46172004-11-05 Andrey Kiselev <[email protected]> 4618 4619 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 4620 function to work with the double byte strings (used to represent 4621 filenames in some locales). As per bug 4622 4623 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 4624 4625 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 4626 Compression tags of type LONG from broken TIFFS as per bug 4627 4628 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 4629 4630 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 4631 the writecount should have uint32 type. As per bug 4632 4633 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 4634 4635 * libtiff/tif_write.c: Fixed wrong if() statement in 4636 TIFFAppendToStrip() function as per bug 4637 4638 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 4639 46402004-11-04 Andrey Kiselev <[email protected]> 4641 4642 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 4643 field. The caller should supply a count when setting this field. As 4644 per bug 4645 4646 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 4647 4648 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 4649 uint32 count. Use this type everywhere. 4650 46512004-11-03 Frank Warmerdam <[email protected]> 4652 4653 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 4654 46552004-11-02 Frank Warmerdam <[email protected]> 4656 4657 * tools/tiff2rgba.c: removed extra newlines in usage message. 4658 46592004-10-30 Andrey Kiselev <[email protected]> 4660 4661 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 4662 4663 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 4664 tags (Tristan Hill). 4665 46662004-10-30 Frank Warmerdam <[email protected]> 4667 4668 * libtiff/tiffiop.h: added fallback definition of assert() if we 4669 don't have assert.h. 4670 46712004-10-29 Andrey Kiselev <[email protected]> 4672 4673 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 4674 choosing when the incorrect Group4Options tag set. As per bug 4675 4676 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 4677 4678 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 4679 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 4680 TIFFWriteNormalTag(). 4681 46822004-10-28 Andrey Kiselev <[email protected]> 4683 4684 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 4685 tags (Peter Fales). 4686 4687 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 4688 46892004-10-28 Frank Warmerdam <[email protected]> 4690 4691 * tools/tiff2pdf.c: added casts to avoid warnings. 4692 4693 * libtiff/libtiff.def: Added several more entry points required 4694 to link fax2tiff.c against the DLL on windows. 4695 46962004-10-27 Andrey Kiselev <[email protected]> 4697 4698 * configure, configure.ac: Added --enable-rpath option to embed linker 4699 paths into library binary. 4700 47012004-10-26 Andrey Kiselev <[email protected]> 4702 4703 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 4704 4705 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 4706 (Vladimir Nadvornik, Dmitry V. Levin). 4707 47082004-10-16 Andrey Kiselev <[email protected]> 4709 4710 * libtiff 3.7.0 released. 4711 47122004-10-15 Bob Friesenhahn <[email protected]> 4713 4714 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 4715 in this file so its inclusion is removed. Including stdio.h 4716 sometimes incurs an INT32 typedef conflict between MinGW's 4717 basetsd.h and libjpeg's jmorecfg.h. 4718 47192004-10-15 Andrey Kiselev <[email protected]> 4720 4721 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 4722 47232004-10-13 Bob Friesenhahn <[email protected]> 4724 4725 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 4726 conflict noticed under MinGW. 4727 * ltmain.sh: Fix for MinGW compilation. 4728 47292004-10-13 Frank Warmerdam <[email protected]> 4730 4731 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 4732 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 4733 47342004-10-12 Andrey Kiselev <[email protected]> 4735 4736 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 4737 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 4738 properly (Dmitry V. Levin, Marcus Meissner). 4739 47402004-10-11 Andrey Kiselev <[email protected]> 4741 4742 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 4743 to TIFF_IFD. 4744 47452004-10-10 Andrey Kiselev <[email protected]> 4746 4747 * tools/bmp2tif.c: Check the space allocation results. 4748 47492004-10-09 Andrey Kiselev <[email protected]> 4750 4751 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 4752 of the TIFFDirectory structure with the 0 instead of -1 to avoid 4753 confusing integer overflows in TIFFTileRowSize() for striped images. 4754 4755 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 4756 by Ross A. Finlayson. 4757 4758 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 4759 4760 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 4761 47622004-10-08 Frank Warmerdam <[email protected]> 4763 4764 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 4765 of tif_fieldinfo. 4766 4767 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 4768 47692004-10-04 Bob Friesenhahn <[email protected]> 4770 4771 * contrib/iptcutil/README: Added the missing README which goes 4772 along with iptcutil. 4773 47742004-10-03 Andrey Kiselev <[email protected]> 4775 4776 * libtiff/tif_compress.c: Improved error reporting in 4777 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 4778 47792004-10-02 Andrey Kiselev <[email protected]> 4780 4781 * libtiff 3.7.0beta2 released. 4782 4783 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 4784 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 4785 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 4786 allocations and integer overflows (Dmitry V. Levin). 4787 4788 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 4789 47902004-10-01 Frank Warmerdam <[email protected]> 4791 4792 * libtiff/tif_open.c: added a more informative message if a BigTIFF 4793 file is opened. 4794 47952004-09-30 Frank Warmerdam <[email protected]> 4796 4797 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 4798 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 4799 in the Adobe XMP Specification. 4800 48012004-09-29 Andrey Kiselev <[email protected]> 4802 4803 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 4804 memset(). 4805 4806 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 4807 from Dmitry V. Levin to fix possible integer overflow problems. 4808 48092004-09-28 Andrey Kiselev <[email protected]> 4810 4811 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 4812 (Dmitry V. Levin). 4813 48142004-09-26 Andrey Kiselev <[email protected]> 4815 4816 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 4817 Optimize checking for the strip bounds. 4818 4819 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 4820 TIFFRasterScanlineSize() functions report zero in the case of integer 4821 overflow now. Properly handle this case in TIFFReadDirectory() 4822 (patches from Dmitry V. Levin). 4823 48242004-09-25 Andrey Kiselev <[email protected]> 4825 4826 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 4827 macro where appropriate. 4828 4829 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 4830 noted by Gennady Khokhorin. 4831 4832 * libtiff/tif_dirread.c: Always check the return values, returned 4833 by the _TIFFmalloc() (Dmitry V. Levin). 4834 4835 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 4836 functions (Dmitry V. Levin). 4837 4838 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 4839 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 4840 TIFFGrowStrips() (found by Dmitry V. Levin). 4841 48422004-09-24 Andrey Kiselev <[email protected]> 4843 4844 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 4845 to get the list of configured codecs. 4846 4847 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 4848 Dmitry V. Levin. 4849 48502004-09-23 Andrey Kiselev <[email protected]> 4851 4852 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 4853 possible integer overflow in CheckMalloc() function. 4854 48552004-09-22 Andrey Kiselev <[email protected]> 4856 4857 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 4858 of plain TIFFhowmany() where appropriate. 4859 48602004-09-21 Andrey Kiselev <[email protected]> 4861 4862 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 4863 48642004-09-19 Andrey Kiselev <[email protected]> 4865 4866 * libtiff 3.7.0beta released. 4867 4868 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 4869 overruns fixed, as noted by Chris Evans. 4870 48712004-09-14 Bob Friesenhahn <[email protected]> 4872 4873 * commit: Added a script to make it more convenient to commit 4874 updates. The CVS commit message is extracted from this ChangeLog 4875 file. 4876 48772004-09-14 Andrey Kiselev <[email protected]> 4878 4879 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 4880 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 4881 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 4882 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 4883 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 4884 tif_config.h.in, tiffiop.h}: 4885 Get rid of BSD data types (u_char, u_short, u_int, u_long). 4886 48872004-09-13 Bob Friesenhahn <[email protected]> 4888 4889 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 4890 specification. Reference libtiff bug tracking system to submit 4891 private tag additions. 4892 48932004-09-12 Bob Friesenhahn <[email protected]> 4894 4895 * tools/tiffgt.c: Include "tif_config.h". 4896 4897 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 4898 tiffgt. This results in the 'compile' script being added to the 4899 project. 4900 4901 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 4902 required to find OpenGL headers necessary to build tiffgt. Also 4903 ensure that the libtiff that we built is used rather than some other 4904 libtiff installed on the system. 4905 49062004-09-12 Andrey Kiselev <[email protected]> 4907 4908 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 4909 libraries. 4910 49112004-09-11 Bob Friesenhahn <[email protected]> 4912 4913 * configure.ac: Pass library configuration defines via 4914 tif_config.h rather than extending CPPFLAGS. Configure a 4915 libtiff/tiffconf.h in order to satisfy application requirements 4916 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 4917 this causes failure to build on systems which properly respect 4918 this request. 4919 4920 * libtiff/tiffconf.h.in: New file to act as the template for the 4921 configured tiffconf.h 4922 4923 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 4924 49252004-09-10 Frank Warmerdam <[email protected]> 4926 4927 * html/internals.html: Split off a discussion of adding new tags 4928 into addingtags.html. 4929 49302004-09-10 Andrey Kiselev <[email protected]> 4931 4932 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 4933 4934 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 4935 4936 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4937 4938 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 4939 4940 * libtiff/tif_dirread.c: Don't reject to read tags of the 4941 SamplesPerPixel size when the tag count is greater than number of 4942 samples as per bug 4943 4944 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 4945 4946 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 4947 defining int8/uint8/... etc. types. As per bug 4948 4949 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 4950 49512004-09-09 Frank Warmerdam <[email protected]> 4952 4953 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 4954 to avoid compile warnings about getopt() and a few other things. 4955 49562004-09-02 Andrey Kiselev <[email protected]> 4957 4958 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 4959 assigning magic in TIFFFetchFloat(). 4960 49612004-09-01 Andrey Kiselev <[email protected]> 4962 4963 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 4964 to avoid requirement for tiffiop.h inclusion in some applications. See 4965 here 4966 4967 http://www.asmail.be/msg0054799560.html 4968 4969 for details. 4970 4971 * tools/fax2tiff.c: Use the new functions in the code. 4972 49732004-08-25 Andrey Kiselev <[email protected]> 4974 4975 * tools/tiff2pdf.c: Initialize arrays properly. 4976 4977 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 4978 properly initialize array in PSDataBW(). 4979 49802004-08-24 Andrey Kiselev <[email protected]> 4981 4982 * tools/tiff2pdf.c: More fixes for bug 4983 4984 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4985 4986 from Ross Finlayson. 4987 49882004-08-23 Andrey Kiselev <[email protected]> 4989 4990 * tools/tiff2ps.c: Fixed problem with uninitialized values. 4991 4992 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 4993 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 4994 4995 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 4996 4997 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4998 49992004-08-20 Andrey Kiselev <[email protected]> 5000 5001 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 5002 that the input file has compression, photometric interpretation, 5003 etcetra, tags or if not than a more descriptive error is returned. 5004 5005 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 5006 code, responsible for tag data type checking. 5007 50082004-08-19 Andrey Kiselev <[email protected]> 5009 5010 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 5011 variable as per bug 5012 5013 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 5014 50152004-08-16 Andrey Kiselev <[email protected]> 5016 5017 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 5018 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 5019 50202004-08-01 Andrey Kiselev <[email protected]> 5021 5022 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 5023 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 5024 50252004-07-24 Andrey Kiselev <[email protected]> 5026 5027 * libtiff/tif_lzw.c: LZW compression code is merged back from the 5028 separate package. All libtiff tools are updated to not advertise an 5029 abcence of LZW support. 5030 50312004-07-12 Andrey Kiselev <[email protected]> 5032 5033 * libtiff/tiffio.h: Revert thandle_t back to void* type. 5034 50352004-07-11 Andrey Kiselev <[email protected]> 5036 5037 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 5038 messages, as suggested by Bernd Herd. 5039 50402004-07-03 Andrey Kiselev <[email protected]> 5041 5042 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 5043 when setting custom tags by value. Reported by Eric Fieleke. 5044 50452004-06-14 Andrey Kiselev <[email protected]> 5046 5047 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 5048 50492004-06-08 Andrey Kiselev <[email protected]> 5050 5051 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 5052 into TIFFs. 5053 50542004-06-07 Andrey Kiselev <[email protected]> 5055 5056 * libtiff 3.7.0alpha released. 5057 50582004-06-06 Andrey Kiselev <[email protected]> 5059 5060 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 5061 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 5062 ones :-). 5063 5064 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 5065 problems in 64-bit environment). 5066 50672004-06-05 Andrey Kiselev <[email protected]> 5068 5069 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 5070 Tags can be supplied by the mnemonic name or number. 5071 5072 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 5073 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 5074 50752004-05-27 Andrey Kiselev <[email protected]> 5076 5077 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 5078 markers as per bug 5079 5080 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 5081 50822004-05-24 Andrey Kiselev <[email protected]> 5083 5084 * tools/tiffsplit.c: Don't forget to copy Photometric 5085 Interpretation tag. 5086 50872004-05-20 Andrey Kiselev <[email protected]> 5088 5089 * libtiff/{tif_open.c, tiffio.h}: New function added: 5090 TIFFIsBigEndian(). Function returns nonzero if given was file written 5091 in big-endian order. 5092 5093 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 5094 files. Now output files will be written using the same byte order 5095 flag as in the input image. See 5096 5097 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 5098 5099 for details. 5100 51012004-05-19 Frank Warmerdam <[email protected]> 5102 5103 * libtiff/tif_print.c: added (untested) support for printing 5104 SSHORT, SLONG and SRATIONAL fields. 5105 5106 * tools/tiffcp.c: close output file on normal exit. 5107 51082004-05-17 Andrey Kiselev <[email protected]> 5109 5110 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 5111 if compression type mismatches. See 5112 5113 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 5114 51152004-04-30 Andrey Kiselev <[email protected]> 5116 5117 * libtiff/tif_strip.c: Never return 0 from the 5118 TIFFNumberOfStrips(). 5119 51202004-04-29 Andrey Kiselev <[email protected]> 5121 5122 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 5123 store single SampleFormat value for multisampled images. See 5124 5125 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 5126 51272004-04-25 Andrey Kiselev <[email protected]> 5128 5129 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 5130 int16 and int32 types to avoid complains on some compilers. Details at 5131 5132 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5133 51342004-04-20 Andrey Kiselev <[email protected]> 5135 5136 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 5137 5138 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 5139 51402004-04-14 Andrey Kiselev <[email protected]> 5141 5142 * libtiff/tif_write.c: Allow in-place updating of the compressed 5143 images (don't work properly with all codecs). For details see GDAL bug 5144 5145 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 5146 51472004-04-06 Andrey Kiselev <[email protected]> 5148 5149 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 5150 in the Intergarph JPEG compressed TIFF images as per bug: 5151 5152 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 5153 51542004-04-04 Frank Warmerdam <[email protected]> 5155 5156 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 5157 via bad2. 5158 51592004-03-26 Andrey Kiselev <[email protected]> 5160 5161 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 5162 JPEG compression of grayscale images. 5163 5164 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 5165 present in the input image. 5166 51672004-03-19 Andrey Kiselev <[email protected]> 5168 5169 * {many}: The first attempt to switch to autotools. 5170 51712004-03-03 Andrey Kiselev <[email protected]> 5172 5173 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 5174 TIFFClientOpen() when the appropriate client functions was not 5175 supplied by user. 5176 51772004-03-02 Frank Warmerdam <[email protected]> 5178 5179 * tools/ycbcr.c: fixed main() declaration as per: 5180 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 5181 51822004-02-26 Andrey Kiselev <[email protected]> 5183 5184 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 5185 images. Reported by Artem Mirolubov. 5186 5187 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 5188 tag type in TIFFFetchNormalTag() as per bug 5189 5190 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 5191 51922004-02-17 Frank Warmerdam <[email protected]> 5193 5194 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 5195 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 5196 51972004-02-05 Andrey Kiselev <[email protected]> 5198 5199 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 5200 bug 5201 5202 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 5203 5204 But we need more work on fax codec to support update mode. 5205 52062004-01-30 Frank Warmerdam <[email protected]> 5207 5208 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 5209 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 5210 Scott Reynolds. 5211 52122004-01-29 Andrey Kiselev <[email protected]> 5213 5214 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 5215 and TIFFTAG_INDEXED as per bug 5216 5217 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 5218 5219 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 5220 NULL before proceeding further as per bug 5221 5222 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 5223 5224 Check results, returned by the TIFFFdOpen() before returning and close 5225 file if TIFFFdOpen() failed as per bug 5226 5227 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 5228 5229 * libtiff/tif_open.c: More fixes for 5230 5231 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 5232 52332004-01-28 Andrey Kiselev <[email protected]> 5234 5235 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 5236 TIFFCleanup() from the TIFFClose() in order to fix the bug 5237 5238 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 5239 5240 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 5241 InkNames tag as per bug 5242 5243 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 5244 5245 Memory leak fixed. 5246 52472004-01-21 Frank Warmerdam <[email protected]> 5248 5249 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 5250 are field_passcount=TRUE properly. Arguably anonymous custom tags 5251 should be declared as passcount=FALSE, but I don't want to change 5252 that without a careful review. 5253 52542004-01-20 Andrey Kiselev <[email protected]> 5255 5256 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 5257 stripped image in TIFFWriteBufferSetup(). As per bug 5258 5259 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 5260 52612004-01-11 Andrey Kiselev <[email protected]> 5262 5263 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 5264 patch from Gerben Koopmans. 5265 5266 * libtiff/tif_dirread.c: Check field_passcount value before setting 5267 the value of undefined type, patch from Gerben Koopmans. 5268 52692004-01-02 Andrey Kiselev <[email protected]> 5270 5271 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 5272 non-RGB images. 5273 52742003-12-31 Andrey Kiselev <[email protected]> 5275 5276 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 5277 pointer passed. Patch supplied by Larry Grill. 5278 5279 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 5280 suggested by Jeremy C. Reed. 5281 52822003-12-26 Andrey Kiselev <[email protected]> 5283 5284 * libtiff 3.6.1 released. 5285 52862003-12-24 Andrey Kiselev <[email protected]> 5287 5288 * config.guess, config.sub: Updated from the recent upstream. 5289 52902003-12-22 Andrey Kiselev <[email protected]> 5291 5292 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 5293 More cleanups in color conversion interface, added appropriate manual 5294 page. 5295 52962003-12-19 Andrey Kiselev <[email protected]> 5297 5298 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 5299 per bug 5300 5301 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 5302 5303 * tools/tiff2ps.c: Added support for alpha channel. Fixes 5304 5305 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 5306 5307 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 5308 Interface for Lab->RGB color conversion is finally cleaned up. 5309 Added support for ReferenceBlackWhite tag handling when converted from 5310 YCbCr color space. The latter closes 5311 5312 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 5313 53142003-12-07 Andrey Kiselev <[email protected]> 5315 5316 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 5317 5318 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 5319 library. 5320 53212003-12-06 Andrey Kiselev <[email protected]> 5322 5323 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 5324 file and properly use it for CIE Lab->RGB transform. 5325 53262003-12-04 Andrey Kiselev <[email protected]> 5327 5328 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 5329 conversion routines now in the tif_color.c module. New function 5330 TIFFYCbCrtoRGB() available in TIFF API. 5331 5332 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 5333 53342003-12-03 Andrey Kiselev <[email protected]> 5335 5336 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 5337 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 5338 module. 5339 5340 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 5341 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 5342 Finally resolved problems with orientation handling. TIFFRGBAImage 5343 interface now properly supports all possible orientations, i.e. images 5344 will be flipped both in horizontal and vertical directions if 5345 required. 'Known bugs' section now removed from the appropriate manual 5346 pages. Closed bug entry: 5347 5348 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 5349 53502003-12-02 Andrey Kiselev <[email protected]> 5351 5352 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 5353 function calls as per bug 5354 5355 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 5356 53572003-11-28 Ross Finlayson <[email protected]> 5358 5359 * tools/tiff2pdf.c: Some bugs fixed. 5360 53612003-11-27 Andrey Kiselev <[email protected]> 5362 5363 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 5364 reported by Antonio Scuri. 5365 5366 * man/tiff2pdf.1: Few improvements in page layout. 5367 5368 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 5369 Added support fpr tiff2pdf manual page. 5370 53712003-11-26 Ross Finlayson <[email protected]> 5372 5373 * /man/tiff2pdf.1: File added to repository. 5374 53752003-11-26 Andrey Kiselev <[email protected]> 5376 5377 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 5378 Added support fpr tiff2pdf utility. 5379 53802003-11-25 Ross Finlayson <[email protected]> 5381 5382 * /tools/tiff2pdf.c: File added to repository. 5383 53842003-11-22 Andrey Kiselev <[email protected]> 5385 5386 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 5387 53882003-11-21 Andrey Kiselev <[email protected]> 5389 5390 * /tools/raw2tiff.c: #include <getopt.h> removed. 5391 5392 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 5393 sgigt utility removed and replaced with the completely rewritten 5394 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 5395 there is a lot of things to improve. 5396 5397 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 5398 extract the fields from the OJPEG files. Patch supplied by Ross 5399 Finlayson. 5400 5401 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 5402 Added new function TIFFIsCODECConfigured(), suggested by Ross 5403 Finlayson. 5404 54052003-11-18 Andrey Kiselev <[email protected]> 5406 5407 * libtiff/tif_dirinfo.c: Implemented binary search in 5408 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 5409 5410 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 5411 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 5412 54132003-11-17 Frank Warmerdam <[email protected]> 5414 5415 * tif_dirread.c: do not mark all anonymously defined tags to be 5416 IGNOREd. 5417 54182003-11-17 Andrey Kiselev <[email protected]> 5419 5420 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 5421 TIFFDataWidth() function insted of tiffDataWidth array. 5422 54232003-11-16 Andrey Kiselev <[email protected]> 5424 5425 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 5426 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 5427 54282003-11-15 Frank Warmerdam <[email protected]> 5429 5430 * Makefile.in: fixed missing backslash for tif_color.c in list. 5431 54322003-11-13 Andrey Kiselev <[email protected]> 5433 5434 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 5435 New color space conversion code: CIE L*a*b* 1976 images now supported 5436 by the TIFFRGBAImage interface. All introduced routines go to new 5437 module tif_color.c. Eventually all color conversion functions should 5438 be moved there. 5439 54402003-11-12 Andrey Kiselev <[email protected]> 5441 5442 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 5443 with the reverse byte order (it is reported by the magic header 5444 field). Problem reported by Andreas Wiesmann. 5445 5446 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 5447 calculation function. Guessing mechanics now documented in manual page. 5448 54492003-11-11 Andrey Kiselev <[email protected]> 5450 5451 * tools/raw2tiff.c: Implemented image size guessing using 5452 correlation coefficient calculation between two neighbour lines. 5453 54542003-11-09 Frank Warmerdam <[email protected]> 5455 5456 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 5457 planarconfig_contig case in TIFFComputeTile(). 5458 5459 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 5460 54612003-11-09 Andrey Kiselev <[email protected]> 5462 5463 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 5464 54652003-11-07 Andrey Kiselev <[email protected]> 5466 5467 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 5468 Added TIFFRawStripSize() function as suggested by Chris Hanson. 5469 54702003-11-03 Andrey Kiselev <[email protected]> 5471 5472 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 5473 per bug 5474 5475 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 5476 54772003-10-29 Andrey Kiselev <[email protected]> 5478 5479 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 5480 5481 * html/build.html: Added note about GNU make requirement. 5482 54832003-10-25 Andrey Kiselev <[email protected]> 5484 5485 * Makefile.in: Fixes in using MAKEFLAGS as per bug 5486 5487 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 5488 5489 * port/install.sh.in: Option -p added to the mkdir command to create 5490 all directory tree structure before installing. 5491 54922003-10-18 Andrey Kiselev <[email protected]> 5493 5494 * /tools/tiff2ps.c: #include <strings.h> replaced with the 5495 #include <string.h>. 5496 54972003-10-16 Andrey Kiselev <[email protected]> 5498 5499 * Makefile.in: Add an absolute path to the test_pics.sh call. 5500 55012003-10-12 Andrey Kiselev <[email protected]> 5502 5503 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 5504 typedefs. 5505 55062003-10-09 Andrey Kiselev <[email protected]> 5507 5508 * configure, libtiff/{Makefile.in, mkversion.c}: 5509 Relative buildings fixed. 5510 5511 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 5512 rule. 5513 55142003-10-07 Andrey Kiselev <[email protected]> 5515 5516 * Makefile.in: Added missed v3.6.0.html. 5517 5518 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 5519 ORIENTATION_BOTLEFT. 5520 55212003-10-04 Andrey Kiselev <[email protected]> 5522 5523 * 3.6.0 final release. 5524 55252003-10-03 Andrey Kiselev <[email protected]> 5526 5527 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 5528 function TIFFReadRGBAImageOriented() implemented to retrieve raster 5529 array with user-specified origin position as suggested by Jason Frank. 5530 See 5531 5532 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 5533 5534 for details. 5535 5536 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 5537 instead of TIFFReadRGBAImage(). 5538 5539 * tools/tiff2ps.c: Fixed possible endless loop as per bug 5540 5541 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 5542 55432003-09-30 Andrey Kiselev <[email protected]> 5544 5545 * libtiff/tif_dirread.c: Check field counter against number of fields 5546 in order to fix 5547 5548 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 5549 5550 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 5551 5552 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 5553 55542003-09-25 Andrey Kiselev <[email protected]> 5555 5556 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 5557 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 5558 5559 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 5560 55612003-09-23 Andrey Kiselev <[email protected]> 5562 5563 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 5564 5565 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 5566 55672003-08-21 Andrey Kiselev <[email protected]> 5568 5569 * tools/tiffmedian.c: int declaration replaced with the uint32 to 5570 support large images as per bug 5571 5572 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 5573 55742003-08-12 Andrey Kiselev <[email protected]> 5575 5576 * libtiff/Makefile.in: Fixed problem with building in different 5577 directory. 5578 5579 * tools/tiff2ps.c: Added missing #include <strings.h>. 5580 5581 * libtiff/tif_dirwrite.c: More fixes for custom tags code 5582 from Ashley Dreier. 5583 55842003-08-07 Andrey Kiselev <[email protected]> 5585 5586 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 5587 Patch submitted by Balatoni Denes (with corrections from Tom 5588 Kacvinsky). 5589 5590 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 5591 being used. Reported by Tom Kacvinsky. 5592 5593 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 5594 reported by Ashley Dreier. 5595 5596 * libtiff/tif_print.c: Fixed problem with float tags reading, support 5597 for printing RATIONAL and BYTE tags added. 5598 55992003-08-05 Andrey Kiselev <[email protected]> 5600 5601 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 5602 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 5603 problems with predictor initialization. Remove O_RDONLY check during 5604 state block allocation to be able open LZW compressed files in update 5605 mode. 5606 5607 Problem exist for libtiff version of the tif_lzw.c module. One from 5608 lzw-compression-kit hasn't such troubles. 5609 56102003-08-04 Frank Warmerdam <[email protected]> 5611 5612 * libtiff/tif_write.c: modified tif_write.c so that the various 5613 encoded write functions use tif_postdecode() to apply byte order 5614 swapping (swab) to the application passed data buffer if the same 5615 would be done when reading. This allows us to write pixel data with 5616 more than 8 bits per sample to existing files of a non-native byte 5617 order. One side effect of this change is the applications buffer 5618 itself is altered in this case by the act of writing. 5619 5620 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 5621 56222003-07-25 Frank Warmerdam <[email protected]> 5623 5624 * libtiff/tif_open.c: avoid signed/unsigned casting warning 5625 initializing typemask as per patch from J.A. Strother. 5626 5627 * tools/tiffcp.c: fixed signed/unsigned casting warning. 5628 5629 * libtiff/tif_print.c: dos2unix conversion. 5630 5631 * tools/tiffsplit.c: increased the maximum number of pages that 5632 can be split. Patch provided by Andrew J. Montalenti. 5633 56342003-07-11 Andrey Kiselev <[email protected]> 5635 5636 * tools/raw2tiff.c: Added option `-p' to explicitly select color 5637 space of input image data. Closes 5638 5639 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 5640 56412003-07-08 Frank Warmerdam <[email protected]> 5642 5643 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 5644 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 5645 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 5646 avoid casting warning at /W4. 5647 56482003-07-03 Andrey Kiselev <[email protected]> 5649 5650 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 5651 56522003-06-30 Andrey Kiselev <[email protected]> 5653 5654 * libtiff/tif_pixarlog.c: Unused variables removed. 5655 5656 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 5657 EstimateStripByteCounts() as per bug 5658 5659 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 5660 5661 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 5662 64-bit architectures as per bug 5663 5664 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 5665 5666 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 5667 unknown data type. 5668 56692003-06-19 Frank Warmerdam <[email protected]> 5670 5671 * libtiff/tif_print.c: fixed some serious bugs when printing 5672 custom tags ... almost certain to crash. 5673 5674 * libtiff/tif_dirread.c: Don't ignore custom fields that are 5675 autodefined. Not sure how this got to be like this. 5676 56772003-06-18 Andrey Kiselev <[email protected]> 5678 5679 * 3.6.0 Beta2 released. 5680 5681 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 5682 comparing as per bug 5683 5684 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 5685 5686 `-z' option now can be used to set the number of reported different 5687 bytes. 5688 56892003-06-09 Andrey Kiselev <[email protected]> 5690 5691 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 5692 to -r option to get the entire image as one strip. See 5693 5694 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 5695 5696 for details. 5697 56982003-06-04 Andrey Kiselev <[email protected]> 5699 5700 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 5701 values as per bug 5702 5703 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 5704 57052003-05-27 Frank Warmerdam <[email protected]> 5706 5707 * libtiff/tif_jpeg.c: modified segment_height calculation to always 5708 be a full height tile for tiled images. Also changed error to just 5709 be a warning. 5710 57112003-05-25 Andrey Kiselev <[email protected]> 5712 5713 * tools/fax2tiff.c: Page numbering fixed, as per bug 5714 5715 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 5716 57172003-05-20 Andrey Kiselev <[email protected]> 5718 5719 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 5720 configure, Makefile.in: Switched back to the old behaviour. Likely 5721 better solution should be found for OJPEG support. 5722 57232003-05-11 Andrey Kiselev <[email protected]> 5724 5725 * libtiff/mkversion.c: Fixed problem with wrong string size when 5726 reading RELEASE-DATE file. 5727 57282003-05-07 Andrey Kiselev <[email protected]> 5729 5730 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 5731 index was out of range. 5732 57332003-05-06 Andrey Kiselev <[email protected]> 5734 5735 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 5736 configure, Makefile.in: Improved libtiff compilation with OJPEG 5737 support. Now no need for patching IJG JPEG library, hack requred by 5738 libtiff will be compiled and used in-place. Implemented with 5739 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 5740 5741 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 5742 TIFFVGetFieldDefaulted() function. 5743 57442003-05-05 Andrey Kiselev <[email protected]> 5745 5746 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 5747 comments. 5748 5749 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 5750 was not copied from source image. 5751 5752 * libtiff/getimage.c: Workaround for some images without correct 5753 info about alpha channel as per bug 5754 5755 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 5756 57572003-04-29 Andrey Kiselev <[email protected]> 5758 5759 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 5760 It basically allows one to use the /flateDecode filter for ZIP 5761 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 5762 5763 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 5764 5765 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 5766 as per bug 5767 5768 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 5769 57702003-04-17 Andrey Kiselev <[email protected]> 5771 5772 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 5773 due to problems with multidirectory images. Quality of error messages 5774 improved. 5775 57762003-04-16 Andrey Kiselev <[email protected]> 5777 5778 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 5779 encoded images. See bug entries 5780 5781 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 5782 5783 and 5784 5785 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 5786 5787 * libtiff/tif_dirread.c: Additional check for StripByteCounts 5788 correctness. Fixes 5789 5790 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 5791 57922003-03-12 Andrey Kiselev <[email protected]> 5793 5794 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 5795 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 5796 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 5797 tiffmedian.c}: Added library version reporting facility to all tools. 5798 57992003-03-06 Frank Warmerdam <[email protected]> 5800 5801 * port/install.sh.in: Fixed problems with install producing paths 5802 like ///usr/local/lib on cygwin. 5803 58042003-02-27 Andrey Kiselev <[email protected]> 5805 5806 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 5807 raw input page. Patch supplied by Julien Gaulmin. See 5808 5809 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 5810 5811 for details. 5812 58132003-02-26 Frank Warmerdam <[email protected]> 5814 5815 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 5816 responsible for byte swapping complex image data. 5817 5818 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 5819 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 5820 58212003-02-07 Andrey Kiselev <[email protected]> 5822 5823 * tools/ppm2tiff.c: Fixed problem with too many arguments. 5824 58252003-02-04 Andrey Kiselev <[email protected]> 5826 5827 * tools/raw2tiff.c: Memory leak fixed. 5828 58292003-02-03 Andrey Kiselev <[email protected]> 5830 5831 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 5832 (thanks, Julien!). More switches for fax2tiff tool for better control 5833 of input and output. Details at 5834 5835 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 5836 58372003-02-03 Frank Warmerdam <[email protected]> 5838 5839 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 5840 library so that we can check if there is already any tile/strip data 5841 before deciding between creating a compressor or a decompressor. 5842 58432003-01-31 Frank Warmerdam <[email protected]> 5844 5845 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 5846 a pre-existing compressed image. That is, image writing to 5847 pre-existing compressed images is not allowed. 5848 5849 * libtiff/tif_open.c: Removed error if opening a compressed file 5850 in update mode. 5851 5852 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 5853 58542003-01-31 Andrey Kiselev <[email protected]> 5855 5856 * config.guess, config.sub: Updated to recent upstream versions. 5857 58582003-01-15 Frank Warmerdam <[email protected]> 5859 5860 * cut 3.6.0 Beta release. 5861 58622002-12-20 Andrey Kiselev <[email protected]> 5863 5864 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 5865 in wrong way as per bug 5866 5867 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 5868 58692002-12-17 Frank Warmerdam <[email protected]> 5870 5871 * libtiff/tif_dirread.c: Allow wrong sized arrays in 5872 TIFFFetchStripThing(). 5873 5874 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 5875 58762002-12-02 Frank Warmerdam <[email protected]> 5877 5878 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 5879 Was using realloc even first time. Fix by Igor Venevtsev. 5880 58812002-11-30 Frank Warmerdam <[email protected]> 5882 5883 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 5884 field value. 5885 5886 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 5887 tags in TIFFVGetField() ... added missing break. 5888 58892002-10-14 Frank Warmerdam <[email protected]> 5890 5891 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 5892 the scanline buffer long enough when writing rgb triplets. 5893 The scanline needs to be 3 X the number of dots or else it will 5894 contain an incomplete triplet and programs that try to separate 5895 the eps by redefining the colorimage operator will get messed up. 5896 Patch supplied by William Bader. 5897 5898 * Makefile.in: added tif_extension.c to file list as per 5899 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 5900 59012002-10-11 Andrey Kiselev <[email protected]> 5902 5903 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 5904 large files (>2GiB) supporting. New option in the config.site: 5905 LARGEFILE="yes". Should be enough for I/O of the large files. 5906 59072002-10-10 Frank Warmerdam <[email protected]> 5908 5909 * libtiff/html/v3.6.0.html: new release notes. 5910 5911 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 5912 link for Andrey. Pointer to v3.6.0.html. 5913 5914 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 5915 59162002-10-07 Andrey Kiselev <[email protected]> 5917 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 5918 (thanks, Sebastian!). New switches: 5919 -b # for a bottom margin of # inches 5920 -c center image 5921 -l # for a left margin of # inches 5922 -r rotate the image by 180 degrees 5923 New features merged with code for shrinking/overlapping. 5924 Previously added -c and -n switches (for overriding PS units) renamed 5925 in -x and -y respectively. 5926 5927 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 5928 5929 * html/man/*.html: Updated from actual manual pages. 5930 59312002-10-06 Frank Warmerdam <[email protected]> 5932 5933 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 5934 size on windows. Use #define boolean hack. 5935 5936 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 5937 5938 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 5939 USING_VISUALAGE is defined. 5940 5941 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5942 59432002-10-03 Frank Warmerdam <[email protected]> 5944 5945 * libtiff/tiff.h: added COMPRESSION_JP2000. 5946 59472002-10-02 Andrey Kiselev <[email protected]> 5948 5949 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 5950 by the TIFFFetchByteArray() function. Should finally resolve 5951 5952 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5953 5954 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 5955 5956 * html/Makefile.in: New targets added: html and groffhtml for 5957 producing HTML representations of the manual pages automatically. 5958 html target uses man2html tool, groffhtml uses groff tool. 5959 59602002-09-29 Frank Warmerdam <[email protected]> 5961 5962 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 5963 from John H. DuBois III. 5964 59652002-09-15 Andrey Kiselev <[email protected]> 5966 5967 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 5968 manual page for raw2tiff(1) tool. 5969 59702002-09-12 Andrey Kiselev <[email protected]> 5971 5972 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 5973 the tiffio.h header file. 5974 5975 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 5976 manual page for TIFFDataWidth() function 5977 59782002-09-08 Frank Warmerdam <[email protected]> 5979 5980 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 5981 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 5982 5983 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 5984 since we are unable to properly include the amount to skip. 5985 5986 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 5987 59882002-09-02 Andrey Kiselev <[email protected]> 5989 5990 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 5991 in TIFFFetchByteArray(). Problem described at 5992 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5993 59942002-08-22 Andrey Kiselev <[email protected]> 5995 5996 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 5997 in _TIFFSetupFieldInfo() function. 5998 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 5999 6000 * /libtiff/tif_lzw.c: Additional consistency checking added in 6001 LZWDecode() and LZWDecodeCompat(). 6002 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 6003 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 6004 6005 * /libtiff/tif_lzw.c: 6006 Added check for valid code lengths in LZWDecode() and 6007 LZWDecodeCompat(). Fixes 6008 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 6009 60102002-08-16 Andrey Kiselev <[email protected]> 6011 6012 * /libtiff/{Makefile.vc, libtiff.def}: 6013 Missed declarations added. 6014 60152002-08-15 Frank Warmerdam <[email protected]> 6016 6017 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 6018 return code from the underlying pick function. 6019 6020 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 6021 6022 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 6023 with FIELD_CUSTOM as mentioned in bug 169. 6024 6025 * tif_close.c: added logic to free dynamically created anonymous 6026 field definitions to correct a small memory leak. 6027 6028 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 6029 60302002-08-10 Andrey Kiselev <[email protected]> 6031 6032 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 6033 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 6034 60352002-07-31 Frank Warmerdam <[email protected]> 6036 6037 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 6038 JPEGDecode() as per bugzilla bug (issue 1): 6039 6040 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 6041 6042 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 6043 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 6044 present in the tiff tags. 6045 6046 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 6047 6048 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 6049 TIFFWriteScanline() now set tif_row explicitly in case the codec has 6050 fooled with the value. 6051 6052 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 6053 60542002-06-22 Andrey Kiselev <[email protected]> 6055 6056 * /tools/tiff2ps.c: Added workaround for some software that may crash 6057 when last strip of image contains fewer number of scanlines than 6058 specified by the `/Height' variable. See 6059 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 6060 for explanation. 6061 60622002-06-21 Andrey Kiselev <[email protected]> 6063 6064 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 6065 splitting long images in several pages. See 6066 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 6067 Patch granted by John Williams <[email protected]>. 6068 60692002-06-11 Frank Warmerdam <[email protected]> 6070 6071 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 6072 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 6073 This one is described in: 6074 6075 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 6076 6077 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 6078 6079 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 6080 60812002-05-10 Andrey Kiselev <[email protected]> 6082 6083 * tools/tiff2ps: New commandline switches to override resolution 6084 units obtained from the input file. Closes 6085 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 6086 60872002-04-26 Andrey Kiselev <[email protected]> 6088 6089 * libtiff/libtiff.def: Added missed declaration. 6090 60912002-04-22 Andrey Kiselev <[email protected]> 6092 6093 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 6094 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 6095 60962002-04-20 Andrey Kiselev <[email protected]> 6097 6098 * libtiff/tif_open.c: Pointers to custom procedures 6099 in TIFFClientOpen() are checked to be not NULL-pointers. 6100 61012002-04-18 Andrey Kiselev <[email protected]> 6102 6103 * libtiff/libtiff.def: Added missed declarations. 6104 6105 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 6106 61072002-04-16 Andrey Kiselev <[email protected]> 6108 6109 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 6110 Should finally close 6111 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 6112 61132002-04-10 Andrey Kiselev <[email protected]> 6114 6115 * tools/tiff2ps: Division by zero fixed. 6116 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 6117 61182002-04-09 Andrey Kiselev <[email protected]> 6119 6120 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 6121 TIFFCheckpointDirectory() routine added. 6122 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 6123 6124 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 6125 for the new function. 6126 61272002-04-08 Andrey Kiselev <[email protected]> 6128 6129 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 6130 additional members tif->tif_decodestatus and tif->tif_encodestatus 6131 for correct handling of unconfigured codecs (we should not try to read 6132 data or to define data size without correct codecs). 6133 6134 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 6135 changed. Now it has used tif->tif_decodestatus and 6136 tif->tif_encodestatus. 6137 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 6138 case of __cvs_8.tif test image). 6139 6140 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 6141 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 6142 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 6143 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 6144 61452002-04-04 Andrey Kiselev <[email protected]> 6146 6147 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 6148 replaced by warnings. Now libtiff should read corrupted LZW-compressed 6149 files by skipping bad strips. 6150 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 6151 61522002-04-03 Frank Warmerdam <[email protected]> 6153 6154 * libtiff/tif_dirwrite.c: Removed some dead code. 6155 6156 * libtiff/*: Cleanup some warnings. 6157 6158 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 6159 for variable length FIELD_CUSTOM values. Was int * but should be 6160 u_short *. 6161 61622002-04-01 Andrey Kiselev <[email protected]> 6163 6164 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 6165 utility (at cpStripToTile routine). 6166 61672002-03-27 Frank Warmerdam <[email protected]> 6168 6169 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 6170 6171 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 6172 6173 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 6174 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 6175 6176 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 6177 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 6178 61792002-03-26 Dwight Kelly <[email protected]> 6180 6181 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 6182 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 6183 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 6184 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 6185 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 6186 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 6187 61882002-03-26 Andrey Kiselev <[email protected]> 6189 6190 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 6191 now also uses TIFFRGBAImageOK before reading. This is additional fix 6192 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 6193 61942002-03-25 Andrey Kiselev <[email protected]> 6195 6196 * libtiff/: tif_getimage.c: Additional check for supported 6197 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 6198 TIFFRGBAImageOK before reading. 6199 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 6200 62012002-03-15 Andrey Kiselev <[email protected]> 6202 6203 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 6204 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 6205 TIFFDataType sizes instead of working with tiffDataWidth array 6206 directly. Should prevent out-of-borders bugs in case of unknown or 6207 broken data types. EstimateStripByteCounts routine modified, so it 6208 won't work when tags with uknown sizes founded. 6209 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 6210 62112002-03-13 Andrey Kiselev <[email protected]> 6212 6213 * libtiff/tif_getimage.c: Added support for correct handling 6214 `Orientation' tag in gtTileContig. Should be added in other gt* 6215 functions as well, but I have not images for testing yet. Partially 6216 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 6217 62182002-03-10 Andrey Kiselev <[email protected]> 6219 6220 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 6221 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 6222 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 6223 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 6224 62252002-03-08 Andrey Kiselev <[email protected]> 6226 6227 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 6228 be stripped when installing, utility binaries will do. Closes 6229 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 6230 62312002-02-28 Frank Warmerdam <[email protected]> 6232 6233 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 6234 6235 * man/libtiff.3t: added copyright tag info. 6236 62372002-02-11 Frank Warmerdam <[email protected]> 6238 6239 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 6240 6241 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 6242 6243 * man/Makefile.in: Patch DESTDIR handling 6244 6245 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 6246 6247 * configure: OpenBSD changes for Sparc64 and DSO version. 6248 6249 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 6250 62512002-02-05 Frank Warmerdam <[email protected]> 6252 6253 * config.site/configure: added support for OJPEG=yes option to enable 6254 OJPEG support from config.site. 6255 62562002-01-27 Frank Warmerdam <[email protected]> 6257 6258 * html/document.html: fixed links for TIFf 6 docs. 6259 62602002-01-18 Frank Warmerdam <[email protected]> 6261 6262 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 6263 6264 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 6265 decodestrip function returns anything not greater than zero as per 6266 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 6267 6268 * configure: Modify CheckForBigEndian so it can work in a cross 6269 compiled situation. 6270 62712002-01-16 Frank Warmerdam <[email protected]> 6272 6273 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 6274 6275 * tools/tiffset.c: fix bug in error reporting. 6276 6277 * tools/tiffcp.c: fix several warnings that show up with -Wall. 6278 62792002-01-04 Frank Warmerdam <[email protected]> 6280 6281 * libtiff/tif_jpeg.c: fixed computation of segment_width for 6282 tiles files to avoid error about it not matching the 6283 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 6284 size.") for ITIFF files. Apparently the problem was incorporated since 6285 3.5.5, presumably during the OJPEG/JPEG work recently. 6286 62872001-12-15 Frank Warmerdam <[email protected]> 6288 6289 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 6290 6291 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 6292 6293 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 6294 (defined in tiffconf.h - 1 by default) then the RGBA interface 6295 will assume that a fourth extra sample is ASSOCALPHA if the 6296 EXTRASAMPLE value isn't set for it. This changes the behaviour of 6297 the library, but makes it work better with RGBA files produced by 6298 lots of applications that don't mark the alpha values properly. 6299 6300 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 6301 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 6302 63032001-12-12 Frank Warmerdam <[email protected]> 6304 6305 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 6306 override those from tiff directory. This makes this work with 6307 ImageGear generated files. 6308 63092001-12-07 Frank Warmerdam <[email protected]> 6310 6311 * html/Makefile.in: added missing images per bug 92. 6312 6313 * port/Makefile.in: fixed clean target per bug 92. 6314 63152001-11-28 Frank Warmerdam <[email protected]> 6316 6317 * Reissue 3.5.7 release. 6318 6319 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 6320 YYYYMMDD so that it is increasing over time. 6321 6322 * Makefile.in: Ensure that tiffvers.h is regenerated in the 6323 make release target. 6324 6325 * Makefile.in: added libtiff/tiffvers.h to the release file list. 6326 63272001-11-23 Frank Warmerdam <[email protected]> 6328 6329 * added html/v3.5.7.html, updated html/index.html. 6330 6331 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 6332 63332001-11-15 Frank Warmerdam <[email protected]> 6334 6335 * configure: fixed test for -lm. 6336 63372001-11-02 Frank Warmerdam <[email protected]> 6338 6339 * Added PHOTOMETRIC_ITULAB as per bug 90. 6340 6341 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 6342 63432001-10-10 Frank Warmerdam <[email protected]> 6344 6345 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 6346 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 6347 in keeping with TIFF 6.0 standard in tiff.h 6348 6349 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 6350 63512001-09-26 Frank Warmerdam <[email protected]> 6352 6353 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 6354 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 6355 63562001-09-24 Frank Warmerdam <[email protected]> 6357 6358 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 6359 6360 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 6361 6362 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 6363 error about LZW not being available. 6364 6365 * libtiff/tif_dir.c: propagate failure to initialize compression 6366 back from TIFFSetField() as an error status, so applications can 6367 detect failure. 6368 6369 * libtiff/tif_dir.c: removed the auto replacement of 6370 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 6371 6372 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 6373 from CVS as they are all supposed to be auto-generated by configure. 6374 63752001-09-22 Frank Warmerdam <[email protected]> 6376 6377 * libtiff/tif_ojpeg.c: new update from Scott. 6378 63792001-09-09 Frank Warmerdam <[email protected]> 6380 6381 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 6382 always use the "safe" version, even if there is a very slight 6383 cost in performance. 6384 6385 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 6386 6387 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 6388 in two places. 6389 6390 * libtiff/tif_getimage.c: Fixed problem with reading strips or 6391 tiles that don't start on a tile boundary. Fix contributed by 6392 Josep Vallverdu (from HP), and further described in bug 47. 6393 6394 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 6395 6396 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 6397 6398 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 6399 64002001-09-06 Frank Warmerdam <[email protected]> 6401 6402 * libtiff/tif_packbits.c: fixed memory overrun error. 6403 6404 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 6405 64062001-08-31 Frank Warmerdam <[email protected]> 6407 6408 * libtiff/tif_getimage.c: relax handling of contig case where 6409 there are extra samples that are supposed to be ignored. This 6410 should now work for 8bit greyscale or palletted images. 6411 6412 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 6413 64142001-08-28 Frank Warmerdam <[email protected]> 6415 6416 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 6417 images with more than four samples per pixel. See: 6418 6419 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 6420 64212001-08-10 Frank Warmerdam <[email protected]> 6422 6423 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 6424 in TIFFReadRGBATile() to avoid issues in cases of overlapping 6425 buffers. See Bug 69 in Bugzilla. 6426 6427 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 6428 6429 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 6430 64312001-08-09 Frank Warmerdam <[email protected]> 6432 6433 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 6434 when checking for 64 bit architectures as per bugzilla bug 67. 6435 64362001-07-27 Frank Warmerdam <[email protected]> 6437 6438 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 6439 bug 66. 6440 64412001-07-20 Frank Warmerdam <[email protected]> 6442 6443 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 6444 has been included. 6445 64462001-07-19 Frank Warmerdam <[email protected]> 6447 6448 * libtiff/tif_open.c: Seek back to zero after failed read, 6449 before writing header. 6450 64512001-07-18 Frank Warmerdam <[email protected]> 6452 6453 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 6454 much better. Now depends on having patched libjpeg as per 6455 patch in contrib/ojpeg/*. 6456 64572001-07-17 Frank Warmerdam <[email protected]> 6458 6459 * */Makefile.in: added DESTDIR support. 6460 6461 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 6462 64632001-07-16 Frank Warmerdam <[email protected]> 6464 6465 * configure, libtiff/Makefile.in: applied OpenBSD patches 6466 as per: 6467 6468 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 6469 64702001-06-28 Frank Warmerdam <[email protected]> 6471 6472 * libtiff/tif_getimage.c: Fixed so that failure is properly 6473 reported by gtTileContig, gtStripContig, gtTileSeparate and 6474 gtStripSeparate. 6475 6476 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 6477 6478 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 6479 Updated bug section of tiffcmp.1 to note tiled file issues. 6480 6481 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 6482 64832001-06-22 Frank Warmerdam <[email protected]> 6484 6485 * configure: Changes for DSO generation on AIX provided by 6486 John Marquart <[email protected]>. 6487 6488 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 6489 on Darwin thanks to Robert Krajewski ([email protected]) and 6490 Keisuke Fujii ([email protected]). 6491 64922001-06-13 Frank Warmerdam <[email protected]> 6493 6494 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 6495 6496 * man/tiff2rgba.1: new 6497 64982001-05-22 Frank Warmerdam <[email protected]> 6499 6500 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 6501 65022001-05-13 Frank Warmerdam <[email protected]> 6503 6504 * libtiff/tools/thumbnail.c: changed default output compression 6505 to packbits from LZW since LZW isn't generally available. 6506 65072001-05-12 Frank Warmerdam <[email protected]> 6508 6509 * libtiff/tif_ojpeg.c: New. 6510 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 6511 to OJPEG support. 6512 6513 Scott Marovich <[email protected]> supplied OJPEG support. 6514 65152001-05-11 Frank Warmerdam <[email protected]> 6516 6517 * tiff.h: removed, it duplicates libtiff/tiff.h. 6518 65192001-05-08 Frank Warmerdam <[email protected]> 6520 6521 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 6522 ensure everything is in order. 6523 6524 * libtiff/libtiff.def: added TIFFCreateDirectory and 6525 TIFFDefaultStripSize as per: 6526 6527 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 6528 65292001-05-02 Frank Warmerdam <[email protected]> 6530 6531 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 6532 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 6533 force use of uint32 counts instead of short counts. 6534 6535 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 6536 case of writing TIFF_BYTE/TIFF_SBYTE fields. 6537 6538 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 6539 65402001-05-01 Frank Warmerdam <[email protected]> 6541 6542 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 6543 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 6544 65452001-04-05 Frank Warmerdam <[email protected]> 6546 6547 * tiffio.h: removed C++ style comment. 6548 6549 * configure: fixed up SCRIPT_SH/SHELL handling. 6550 6551 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 6552 6553 * config.guess: documented more variables as per bug 40. 6554 65552001-04-03 Frank Warmerdam <[email protected]> 6556 6557 * configure, *Makefile.in: Various changes to improve configuration 6558 for HP/UX specifically, and also in general. They include: 6559 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 6560 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 6561 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 6562 - Use -${MAKEFLAGS} in sub makes from makefiles. 6563 6564 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 6565 65662001-04-02 Frank Warmerdam <[email protected]> 6567 6568 * libtiff/tiff.h: Applied hac to try and resolve the problem 6569 with the inttypes.h include file on AIX. 6570 6571 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 6572 6573 * VERSION: update to 3.5.7 beta in preparation for release. 6574 6575 * configure/config.site: modified to check if -lm is needed for 6576 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 6577 6578 * config.guess: updated wholesale to an FSF version apparently 6579 from 1998 (as opposed to 1994). This is mainly inspired by 6580 providing for MacOS X support. 6581 65822001-03-29 Frank Warmerdam <[email protected]> 6583 6584 * configure, Makefile.in, etc: added support for OPTIMIZER being 6585 set from config.site. 6586 65872001-03-28 Frank Warmerdam <[email protected]> 6588 6589 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 6590 6591 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 6592 sizes. It fixes two problems: 6593 6594 Without scaling (-S) the fax is now centered on the page size specified 6595 with -H and/or -W. Before, fax2ps was using an obscure and practially 6596 useless algorithm to allocate the image relative to Letter sized paper 6597 which sometime sled to useless whitespace on the paper, while at the 6598 same time cutting of the faxes printable area at the opposite border. 6599 6600 Second, scaling now preserves aspect ratio, which makes unusual faxes 6601 (in particular short ones) print properly. 6602 6603 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 6604 6605 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 6606 Bruce A. Mallett. See check message for detailed information 6607 on all the changes, including a faster encoder, fixes for level 6608 2 PostScript, and support for the imagemask operator. 6609 66102001-03-27 Frank Warmerdam <[email protected]> 6611 6612 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 6613 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 6614 6615 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 6616 66172001-03-16 Frank Warmerdam <[email protected]> 6618 6619 * tif_dirinfo.c: moved definition of copyright tag in field list. 6620 Apparently they have to be in sorted order by tag id. 6621 66222001-03-13 Frank Warmerdam <[email protected]> 6623 6624 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 6625 images in RGBA interface. 6626 66272001-03-02 Frank Warmerdam <[email protected]> 6628 6629 * Added TIFFTAG_COPYRIGHT support. 6630 66312001-02-19 Frank Warmerdam <[email protected]> 6632 6633 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 6634 with support for extracting subimages with the ,n syntax, and also 6635 adding the -b bias removal flag. 6636 66372001-02-16 Frank Warmerdam <[email protected]> 6638 6639 * libtiff/libtiff.def: Brent Roman submitted new version adding 6640 serveral missing entry points. 6641 6642 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 6643 Some sort of weird VMS thing. 6644 6645 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 6646 6647 * tif_luv.c/tiff.h/tiffio.h: 6648 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 6649 ([email protected]). He writes: 6650 6651 1) I improved the gamut-mapping function in tif_luv.c for imaginary 6652 colors, because some images were being super-saturated on the input 6653 side and this resulted in some strange color shifts in the output. 6654 6655 2) I added a psuedotag in tiff.h to control random dithering during 6656 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 6657 on for 24-bit LogLuv output. Dithering improves the average color 6658 accuracy over the image. 6659 6660 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 6661 tiffio.h, to expose internal routines for converting between LogLuv and 6662 XYZ coordinates. This is helpful for writing more efficient, 6663 specialized conversion routines, especially for reading LogLuv files. 6664 6665 Changes applied with minor edits. 6666 66672001-01-23 Frank Warmerdam <[email protected]> 6668 6669 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 6670 whether we are encoding or decoding. This is to ensure graceful 6671 recovery if TIFFClientOpen() discovers an attempt to open a compressed 6672 file for "r+" access, and subsequently close it, as it resets the 6673 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 6674 compressor's concept of whether it is in encode or decode mode. 6675 66762001-01-08 Mike Welles <[email protected]> 6677 6678 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 6679 66802001-01-07 Frank Warmerdam <[email protected]> 6681 6682 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 6683 as per bug report by Patrick Connor. 6684 66852000-12-28 Frank Warmerdam <[email protected]> 6686 6687 * Added RELEASE-DATE file to release file list. 6688 6689 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 6690 66912000-12-22 Mike Welles <[email protected]> 6692 * added link to CVS mirror from index.html 6693 6694 * updated html/internals.html to note that LZW compression is 6695 not supported by default. 6696 66972000-12-22 Frank Warmerdam <[email protected]> 6698 6699 * updated html/libtiff.html to not point at Niles' old JPL web site 6700 for the man pages, point at www.libtiff.org. 6701 67022000-12-21 Frank Warmerdam <[email protected]> 6703 6704 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 6705 Leonard Rosenthol <[email protected]>. May interfere 6706 with correct building on older systems. If so, please let me know. 6707 67082000-12-19 Mike Welles <[email protected]> 6709 6710 * Took out LZW Encoding from tif_lzw.c 6711 6712 * Created HOWTO-RELEASE 6713 6714 * Created html/v3.5.6.html 6715 6716 * updated index.html 6717 67182000-12-01 Frank Warmerdam <[email protected]> 6719 6720 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 6721 Patches supplied by Frank Cringle <[email protected]> 6722 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 6723 67242000-11-24 Frank Warmerdam <[email protected]> 6725 6726 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 6727 target so that the private headers required by libgeotiff can be 6728 installed with the others. They are not installed by default. 6729 6730 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 6731 targets so libtiff.so will be built with an explicit dependency 6732 on libm.so. 6733 6734 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 6735 libtiff.so.3.5.5. 6736 6737 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 6738 file, or ALPHA version logic. Added stuff about DIST_POINT in 6739 place of DIST_TYPE and the alpha release number stuff. 6740 67412000-11-22 Frank Warmerdam <[email protected]> 6742 6743 * I have applied a patch from Steffen Moeller <[email protected]> to 6744 the configure script so that it now accepts the --prefix, and 6745 --exec-prefix directives. 6746 67472000-11-13 Frank Warmerdam <warmerda@cs46980-c> 6748 6749 * I have made a variety of modifications in an effort to ensure the 6750 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 6751 file which seems to be updated regularly. 6752 6753 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 6754 version include file. 6755 o renamed version.h to tiffvers.h because we now have to install it 6756 with the public libtiff include files. 6757 o include tiffvers.h in tiffio.h. 6758 o updated tif_version.c to use tiffvers.h. 6759 o Updated Makefile.in accordingly. 6760 6761 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 6762 I have updated the win32 detection rules in tiffcomp.h. 6763 67642000-10-20 Frank Warmerdam <warmerda@cs46980-c> 6765 6766 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 6767 the strip/tile width and height aren't multiples of the sampling size. 6768 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 6769 Some patches from Rick LaMont of Dot C Software. 6770 6771 * Modified tif_packbits.c encoder to avoid compressing more 6772 data than provided if rowsize doesn't factor into provided data 6773 (such as occurs for YCbCr). 6774 67752000-10-19 Frank Warmerdam <warmerda@cs46980-c> 6776 6777 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 6778 roundup if rows_per_strip not a multiple of vertical sample size. 6779 67802000-10-16 Frank Warmerdam <warmerda@cs46980-c> 6781 6782 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 6783 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 6784 from [email protected]. 6785 6786 * Modified tif_packbits.c decoding to avoid overrunning the 6787 output buffer, and to issue a warning if data needs to be 6788 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 6789 67902000-10-12 Frank Warmerdam <warmerda@cs46980-c> 6791 6792 * Modified tiff2bw to ensure portions add to 100%, and that 6793 white is properly recovered. 6794 6795 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 6796 Patch c/o Stanislav Brabec <[email protected]> 6797 67982000-09-30 Frank Warmerdam <warmerda@cs46980-c> 6799 6800 * Modified TIFFClientOpen() to emit an error on an attempt to 6801 open a comperessed file for update (O_RDWR/r+) access. This is 6802 because the compressor/decompressor code gets very confused when 6803 the mode is O_RDWR, assuming this means writing only. See 6804 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 6805 68062000-09-27 Frank Warmerdam <warmerda@cs46980-c> 6807 6808 * Added GNULDdso target an`d switched linux and freebsd to use it. 6809 68102000-09-26 Frank Warmerdam <warmerda@cs46980-c> 6811 6812 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 6813 of EXPAND1D() as per bug 11 (from Roman). 6814 68152000-09-25 Frank Warmerdam <warmerda@cs46980-c> 6816 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 6817 cygwin compatibility. 6818 6819 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 6820 be a proper fix to the buffer sizing problem. See 6821 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 6822 6823 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 6824 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 6825 Thanks to Nick Lamb <[email protected]> for reporting the 6826 bug and proving the patch. 6827 68282000-09-18 Frank Warmerdam <warmerda@cs46980-c> 6829 6830 * Fixed tif_jpeg.c so avoid destroying the decompressor before 6831 we are done access data thanks to bug report from: 6832 Michael Eckstein <[email protected]>. 6833 6834 * Reverted tif_flush change. 6835 68362000-09-14 Frank Warmerdam <warmerda@cs46980-c> 6837 6838 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 6839 error when TIFF_BEENWRITING is not set. This ensures that the 6840 directory contents can still be flushed by TIFFFlush(). 6841 68422000-08-14 Frank Warmerdam <[email protected]> 6843 6844 * tif_open.c: Don't set MMAP for O_RDWR files. 6845 6846 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 6847 so that files opened for update can be strip chopped too. 6848 6849 * tif_read.c: fixed up bug with files missing rowsperstrip and 6850 the strips per separation fix done a few weeks ago. 6851 68522000-07-17 Frank Warmerdam <warmerda@cs46980-c> 6853 6854 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 6855 SAMPLEFORMAT_COMPLEXINT. 6856 68572000-07-13 Mike Welles <[email protected]> 6858 6859 * index.html, bugs.html: added bugzilla info. 6860 68612000-07-12 Frank Warmerdam <[email protected]> 6862 6863 * tif_read.c: fix subtle bug with determining the number of 6864 rows for strips that are the last strip in a separation but 6865 not the last strip of all in TIFFReadEncodedStrip(). 6866 6867 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 6868 Peter Skarpetis <[email protected]> 6869 68702000-06-15 Frank Warmerdam <[email protected]> 6871 6872 * Modified tiffio.h logic with regard to including windows.h. It 6873 won't include it when building with __CYGWIN__. 6874 68752000-05-11 Frank Warmerdam <warmerda@cs46980-c> 6876 6877 * README: update to mention www.libtiff.org, don't list Sam's old 6878 email address. 6879 6880 * configure: Fixed DSO test for Linux as per patch from 6881 Jan Van Buggenhout <[email protected]>. 6882 68832000-04-21 Frank Warmerdam <[email protected]> 6884 6885 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 6886 one tile/strip images with an offset, and byte count of zero. These 6887 could be "unpopulated" images. 6888 68892000-04-18 Frank Warmerdam <[email protected]> 6890 6891 * contrib/addtiffo: Added "averaging" resampling option. 6892 6893 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 6894 6895Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 6896 6897 * tools/Makefile.in: Modified to install properly on SGI. 6898 68992000-04-12 Mike Welles <[email protected]> 6900 * configure: Fixed stupid mistake in libc6 test on Linux 6901 69022000-04-04 Mike Welles <[email protected]> 6903 * tif_win32.c: Applied patch to fix overreads and ovverwrites 6904 caught by BoundsChecker. From Arvan Pritchard 6905 <[email protected]> (untested). 6906 6907 * tif_getimage.c: Applied patch to silence VC6 warnings. From 6908 Arvan Pritchard <[email protected]> 6909 6910 * tif_lzw.c: Applied patch to silence VC6 warnings. From 6911 Arvan Pritchard <[email protected]> 6912 69132000-03-28 Frank Warmerdam <warmerda@cs46980-c> 6914 6915 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 6916 69172000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 6918 6919 * fax2ps: Fixed mixup of width and height in bounding box statement 6920 as per submission by Nalin Dahyabhai <[email protected]>. 6921 69222000-03-27 Mike Welles <[email protected]> 6923 6924 * fax2ps: Modified printruns to take uint32 instead of uint16. 6925 Patch courtesy of Bernt Herd <[email protected]> 6926 69272000-03-20 Mike Welles <[email protected]> 6928 6929 * configure: added test for libc6 for linux targets. Bug reported by 6930 Stanislav Brabec <[email protected]> 6931 6932 * Added 3.5 docs to html/Makefile.in. 6933 Thanks to Stanislav Brabec <[email protected]> 6934 6935 * configure: fixed bugs in sed scripts 6936 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 6937 fix submitted to Stanislav Brabec <[email protected]> 6938 6939 * tools/iptcutil was not in files list, and wasn't being 6940 added to tar archive. Updated Makefile.in. 6941 69422000-03-17 Frank Warmerdam <warmerda@cs46980-c> 6943 6944 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 6945 conversion for the run arrays. 6946 69472000-03-03 Frank Warmerdam <[email protected]> 6948 6949 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 6950 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 6951 69522000-03-02 Frank Warmerdam <[email protected]> 6953 6954 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 6955 6956 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 6957 to avoid overruns encountered with frle_bug.tif. 6958 6959Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 6960 6961 * Fixed tools/tiffcmp so that stopondiff testing works. 6962 Patch care of Joseph Orost <[email protected]>. 6963 69642000-01-28 <warmerda@CS46980-B> 6965 6966 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 6967 set to 1, and added default (off) setting in tiffconf.h. This 6968 should eventually be set by the configure script somehow. 6969 6970 The original work on all these 2-4GB changes was done by 6971 Peter Smith ([email protected]). 6972 6973 * Modified tif_win32.c to support 2-4GB seeks. 6974 6975 * tentatively changed toff_t to be unsigned instead of signed to 6976 facilitate support for 2-4GB files. 6977 6978 * Updated a variety of files to use toff_t. Fixed some mixups 6979 between toff_t and tsize_t. 6980 6981Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 6982 6983 * Largely reimplemented contrib/addtiffo to avoid temp files, 6984 updating the TIFF file in place. Fixed a few other bugs to. 6985 6986 * Set tif_rawdatasize to zero when freeing raw data buffer in 6987 TIFFWriteDirectory(). 6988 6989 * Enabled "REWRITE_HACK" in tif_write.c by default. 6990 6991 * Fix bug in tif_write.c when switching between reading one directory 6992 and writing to another. 6993 6994 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 6995 6996Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 6997 6998 * Added TIFFmemory(3t) functions to libtiff.def. 6999 7000Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 7001 7002 * Added libtiff/libtiff.def to TIFFILES distribution list. 7003 7004Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 7005 7006 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 7007 7008 * Altered descriptions in tools to reflect "by default" lzw not supported 7009 7010 * Updated index.html to note lzw compression kit. 7011 7012Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 7013 7014 * Added fax3sm_winnt.c to distribution list in Makefile.in. 7015 7016Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 7017 7018 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 7019 7020 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 7021 when LZW compression invoked. 7022 7023 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 7024 in tools to reflect removal of LZW compression 7025 7026Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 7027 7028 * Fixed bug that caused LZW (non) compression to segfault. Added 7029 warning about LZW compression removed being removed, and why. 7030 7031 * Added nostrip to install in tools/Makefile.in so that debugging 7032 symbols are kept. 7033 7034Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 7035 7036 * Added patch from Ivo Penzar <[email protected]>, 7037 supporting Adobe ZIP deflate. Untested. 7038 7039Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 7040 7041 * Made Packbits the default compression in tools/tiff2rgba.c instead 7042 of LZW. 7043 7044Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 7045 7046 * Added tif_luv to contrib/djgpp/Makefile.lib. 7047 7048Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 7049 7050 * Added zip creation to relase makefile target 7051 7052 * Added html for TIFFWriteTile.3t man page. 7053 7054Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 7055 7056 * Added some changes to tif_write.c to support rewriting existing 7057 fixed sized tiles and strips. Code mods disabled by default, only 7058 enabled if REWRITE_HACK is defined for now. 7059 7060Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 7061 7062 * Added TIFFWriteTile.3t man page. 7063 7064Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 7065 7066 * Added notes on use of makefile.vc in build.html, and fixed 7067 email subscription address. 7068 7069199-11-28 Mike Welles <[email protected]> 7070 7071 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 7072 7073 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 7074 from Bruce Carmeron <[email protected]> -- modifications of 7075 changes made by Frank (sun cc still complained on cast). 7076 7077 * Added tiffconf.h to install target per request from Bill 7078 Radcliffe <[email protected]>: "We need a way for ImageMagick to 7079 know features have been compiled into the TIFF library in order to 7080 handle things properly". 7081 7082Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 7083 7084 * fixed various VC++ warnings as suggested by Gilles Vollant 7085 <[email protected]>. 7086 7087Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 7088 7089 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 7090 not imply applications are responsible for image data swapping. 7091 70921999-11-22 Mike Welles <[email protected]> 7093 * HTML-ized the man pages, added to html/man 7094 7095 * Removed LZW Compression to comply with Unisys patent extortion. 7096 70971999-09-29 Mike Welles <[email protected]> 7098 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 7099 From Ivo Penzar <[email protected]. 7100 7101 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 7102 memory mapped files. <[email protected]> 7103 71041999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 7105 * Corrected alpha versioning. 7106 7107 * Removed distinction between alpha and release targets in Makefile.in. 7108 7109 * added release.stamp target, which tags cvs tree, and updates 7110 "RELEASE-DATE" 7111 7112 * added releasediff target, which diffs tree with source as of 7113 date in "RELEASE-DATE" 7114 7115 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 7116 away from alpha/non-alpha distinctions). 7117 7118 * updated html to reflect release 7119 71201999-09-23 <warmerda@CS46980-B> 7121 7122 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 7123 7124 * Added CYGWIN case in configure. 7125 7126Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 7127 7128 * Applied Francois Dagand's patch to handle fax decompression bug. 7129 (sizes >= 65536 were failing) 7130 7131Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 7132 7133 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 7134 by Christopher Lawton <[email protected]> 7135 7136Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 7137 7138 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 7139 Albert Chin-A-Young <[email protected]> 7140 7141 * Added TIFFReassignTagToIgnore() API on behalf of 7142 Bruce Cameron <[email protected]>. Man page still pending. 7143 7144Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 7145 7146 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 7147 files to provide for a rudimentary testsuite. 7148 7149 * Added contrib/tags back from old distribution ... fixed up a bit. 7150 71511999-08-16 <warmerda@CS46980-B> 7152 7153 * Added simple makefile.vc makefiles for building with MS VC++ 7154 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 7155 better solutions for some users. 7156 7157Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 7158 7159 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 7160 put it in tools since part of it is in C++. 7161 71621999-08-16 Michael L. Welles <[email protected]> 7163 7164 * Updated html/index.html with anon CVS instructions. 7165 7166Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 7167 7168 * pre-remove so link before softlink in LINUXdso action in 7169 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 7170 the first. 7171 7172 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 7173 colormaps owned by the TIFF handle itself when trying to fixup wrong 7174 (eight bit) colormaps. Corrected by maintaining a private copy of 7175 the colormap. 7176 7177 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 7178 tif_getimage.c. 7179 7180 * CVS Repository placed at remotesensing.org. ChangeLog added. 7181