12016-11-19 Bob Friesenhahn <[email protected]> 2 3 * tools/tiffdump.c (ReadDirectory): Remove uint32 cast to 4 _TIFFmalloc() argument which resulted in Coverity report. Added 5 more mutiplication overflow checks. 6 72016-11-18 Even Rouault <even.rouault at spatialys.com> 8 9 * tools/tiffcrop.c: Fix memory leak in (recent) error code path. 10 Fixes Coverity 1394415. 11 122016-11-17 Bob Friesenhahn <[email protected]> 13 14 * libtiff/tif_getimage.c: Fix some benign warnings which appear in 15 64-bit compilation under Microsoft Visual Studio of the form 16 "Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit 17 value. Results might not be an expected value.". Problem was 18 reported on November 16, 2016 on the tiff mailing list. 19 202016-11-16 Even Rouault <even.rouault at spatialys.com> 21 22 * libtiff/tif_dirread.c: in TIFFFetchNormalTag(), do not dereference 23 NULL pointer when values of tags with TIFF_SETGET_C16_ASCII / TIFF_SETGET_C32_ASCII 24 access are 0-byte arrays. 25 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2593 (regression introduced 26 by previous fix done on 2016-11-11 for CVE-2016-9297). 27 Reported by Henri Salo. Assigned as CVE-2016-9448 28 292016-11-12 Bob Friesenhahn <[email protected]> 30 31 * tools/tiffinfo.c (TIFFReadContigTileData): Fix signed/unsigned 32 comparison warning. 33 (TIFFReadSeparateTileData): Fix signed/unsigned comparison 34 warning. 35 36 * tools/tiffcrop.c (readContigTilesIntoBuffer): Fix 37 signed/unsigned comparison warning. 38 39 * html/v4.0.7.html: Add a file to document the pending 4.0.7 40 release. 41 422016-11-11 Even Rouault <even.rouault at spatialys.com> 43 44 * tools/tiff2pdf.c: avoid undefined behaviour related to overlapping 45 of source and destination buffer in memcpy() call in 46 t2p_sample_rgbaa_to_rgb() 47 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2577 48 492016-11-11 Even Rouault <even.rouault at spatialys.com> 50 51 * tools/tiff2pdf.c: fix potential integer overflows on 32 bit builds 52 in t2p_read_tiff_size() 53 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2576 54 552016-11-11 Even Rouault <even.rouault at spatialys.com> 56 57 * libtiff/tif_aux.c: fix crash in TIFFVGetFieldDefaulted() 58 when requesting Predictor tag and that the zip/lzw codec is not 59 configured. 60 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2591 61 622016-11-11 Even Rouault <even.rouault at spatialys.com> 63 64 * libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make sure that 65 values of tags with TIFF_SETGET_C16_ASCII / TIFF_SETGET_C32_ASCII 66 access are null terminated, to avoid potential read outside buffer 67 in _TIFFPrintField(). 68 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2590 (CVE-2016-9297) 69 702016-11-11 Even Rouault <even.rouault at spatialys.com> 71 72 * libtiff/tif_dirread.c: reject images with OJPEG compression that 73 have no TileOffsets/StripOffsets tag, when OJPEG compression is 74 disabled. Prevent null pointer dereference in TIFFReadRawStrip1() 75 and other functions that expect td_stripbytecount to be non NULL. 76 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2585 77 782016-11-11 Even Rouault <even.rouault at spatialys.com> 79 80 * tools/tiffcrop.c: fix multiple uint32 overflows in 81 writeBufferToSeparateStrips(), writeBufferToContigTiles() and 82 writeBufferToSeparateTiles() that could cause heap buffer overflows. 83 Reported by Henri Salo from Nixu Corporation. 84 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2592 85 862016-11-10 Even Rouault <even.rouault at spatialys.com> 87 88 * libtiff/tif_strip.c: make TIFFNumberOfStrips() return the td->td_nstrips 89 value when it is non-zero, instead of recomputing it. This is needed in 90 TIFF_STRIPCHOP mode where td_nstrips is modified. Fixes a read outsize of 91 array in tiffsplit (or other utilities using TIFFNumberOfStrips()). 92 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2587 (CVE-2016-9273) 93 942016-11-04 Even Rouault <even.rouault at spatialys.com> 95 96 * libtiff/tif_predic.c: fix memory leaks in error code paths added in 97 previous commit (fix for MSVR 35105) 98 992016-10-31 Even Rouault <even.rouault at spatialys.com> 100 101 * libtiff/tif_predict.h, libtiff/tif_predict.c: 102 Replace assertions by runtime checks to avoid assertions in debug mode, 103 or buffer overflows in release mode. Can happen when dealing with 104 unusual tile size like YCbCr with subsampling. Reported as MSVR 35105 105 by Axel Souchet & Vishal Chauhan from the MSRC Vulnerabilities & Mitigations 106 team. 107 1082016-10-26 Even Rouault <even.rouault at spatialys.com> 109 110 * tools/fax2tiff.c: fix segfault when specifying -r without 111 argument. Patch by Yuriy M. Kaminskiy. 112 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2572 113 1142016-10-25 Even Rouault <even.rouault at spatialys.com> 115 116 * libtiff/tif_dir.c: discard values of SMinSampleValue and 117 SMaxSampleValue when they have been read and the value of 118 SamplesPerPixel is changed afterwards (like when reading a 119 OJPEG compressed image with a missing SamplesPerPixel tag, 120 and whose photometric is RGB or YCbCr, forcing SamplesPerPixel 121 being 3). Otherwise when rewriting the directory (for example 122 with tiffset, we will expect 3 values whereas the array had been 123 allocated with just one), thus causing a out of bound read access. 124 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2500 125 (CVE-2014-8127, duplicate: CVE-2016-3658) 126 127 * libtiff/tif_dirwrite.c: avoid null pointer dereference on td_stripoffset 128 when writing directory, if FIELD_STRIPOFFSETS was artificially set 129 for a hack case in OJPEG case. 130 Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2500 131 (CVE-2014-8127, duplicate: CVE-2016-3658) 132 1332016-10-25 Even Rouault <even.rouault at spatialys.com> 134 135 * tools/tiffinfo.c: fix out-of-bound read on some tiled images. 136 (http://bugzilla.maptools.org/show_bug.cgi?id=2517) 137 138 * libtiff/tif_compress.c: make TIFFNoDecode() return 0 to indicate an 139 error and make upper level read routines treat it accordingly. 140 (linked to the test case of http://bugzilla.maptools.org/show_bug.cgi?id=2517) 141 1422016-10-14 Even Rouault <even.rouault at spatialys.com> 143 144 * tools/tiffcrop.c: fix out-of-bound read of up to 3 bytes in 145 readContigTilesIntoBuffer(). Reported as MSVR 35092 by Axel Souchet 146 & Vishal Chauhan from the MSRC Vulnerabilities & Mitigations team. 147 1482016-10-09 Even Rouault <even.rouault at spatialys.com> 149 150 * tools/tiff2pdf.c: fix write buffer overflow of 2 bytes on JPEG 151 compressed images. Reported by Tyler Bohan of Cisco Talos as 152 TALOS-CAN-0187 / CVE-2016-5652. 153 Also prevents writing 2 extra uninitialized bytes to the file stream. 154 1552016-10-08 Even Rouault <even.rouault at spatialys.com> 156 157 * tools/tiffcp.c: fix out-of-bounds write on tiled images with odd 158 tile width vs image width. Reported as MSVR 35103 159 by Axel Souchet and Vishal Chauhan from the MSRC Vulnerabilities & 160 Mitigations team. 161 1622016-10-08 Even Rouault <even.rouault at spatialys.com> 163 164 * tools/tiff2pdf.c: fix read -largely- outsize of buffer in 165 t2p_readwrite_pdf_image_tile(), causing crash, when reading a 166 JPEG compressed image with TIFFTAG_JPEGTABLES length being one. 167 Reported as MSVR 35101 by Axel Souchet and Vishal Chauhan from 168 the MSRC Vulnerabilities & Mitigations team. CVE-2016-9453 169 1702016-10-08 Even Rouault <even.rouault at spatialys.com> 171 172 * tools/tiffcp.c: fix read of undefined variable in case of missing 173 required tags. Found on test case of MSVR 35100. 174 * tools/tiffcrop.c: fix read of undefined buffer in 175 readContigStripsIntoBuffer() due to uint16 overflow. Probably not a 176 security issue but I can be wrong. Reported as MSVR 35100 by Axel 177 Souchet from the MSRC Vulnerabilities & Mitigations team. 178 1792016-09-25 Bob Friesenhahn <[email protected]> 180 181 * html: Change as many remotesensing.org broken links to a working 182 URL as possible. 183 1842016-09-24 Bob Friesenhahn <[email protected]> 185 186 * libtiff/tif_getimage.c (TIFFRGBAImageOK): Reject attempts to 187 read floating point images. 188 189 * libtiff/tif_predict.c (PredictorSetup): Enforce bits-per-sample 190 requirements of floating point predictor (3). Fixes CVE-2016-3622 191 "Divide By Zero in the tiff2rgba tool." 192 1932016-09-23 Even Rouault <even.rouault at spatialys.com> 194 195 * tools/tiffcrop.c: fix various out-of-bounds write vulnerabilities 196 in heap or stack allocated buffers. Reported as MSVR 35093, 197 MSVR 35096 and MSVR 35097. Discovered by Axel Souchet and Vishal 198 Chauhan from the MSRC Vulnerabilities & Mitigations team. 199 * tools/tiff2pdf.c: fix out-of-bounds write vulnerabilities in 200 heap allocate buffer in t2p_process_jpeg_strip(). Reported as MSVR 201 35098. Discovered by Axel Souchet and Vishal Chauhan from the MSRC 202 Vulnerabilities & Mitigations team. 203 * libtiff/tif_pixarlog.c: fix out-of-bounds write vulnerabilities 204 in heap allocated buffers. Reported as MSVR 35094. Discovered by 205 Axel Souchet and Vishal Chauhan from the MSRC Vulnerabilities & 206 Mitigations team. 207 * libtiff/tif_write.c: fix issue in error code path of TIFFFlushData1() 208 that didn't reset the tif_rawcc and tif_rawcp members. I'm not 209 completely sure if that could happen in practice outside of the odd 210 behaviour of t2p_seekproc() of tiff2pdf). The report points that a 211 better fix could be to check the return value of TIFFFlushData1() in 212 places where it isn't done currently, but it seems this patch is enough. 213 Reported as MSVR 35095. Discovered by Axel Souchet & Vishal Chauhan & 214 Suha Can from the MSRC Vulnerabilities & Mitigations team. 215 2162016-09-20 Bob Friesenhahn <[email protected]> 217 218 * html/man/index.html: Comment out links to documentation for 219 abandoned utilities. 220 2212016-09-17 Even Rouault <even.rouault at spatialys.com> 222 223 * libtiff/tif_lzma.c: typo fix in comment 224 2252016-09-04 Even Rouault <even.rouault at spatialys.com> 226 227 * libtiff/*.c: fix warnings raised by clang 3.9 -Wcomma 228 2292016-09-03 Even Rouault <even.rouault at spatialys.com> 230 231 * libtiff/tif_dirwrite.c, libtiff/tif_color.c: fix warnings raised 232 by GCC 5 / clang -Wfloat-conversion 233 2342016-08-16 Even Rouault <even.rouault at spatialys.com> 235 236 * tools/tiffcrop.c: fix C99'ism. 237 2382016-08-15 Even Rouault <even.rouault at spatialys.com> 239 240 * tools/tiff2bw.c: fix weight computation that could result of color 241 value overflow (no security implication). Fix bugzilla #2550. 242 Patch by Frank Freudenberg. 243 2442016-08-15 Even Rouault <even.rouault at spatialys.com> 245 246 * tools/rgb2ycbcr.c: validate values of -v and -h parameters to 247 avoid potential divide by zero. Fixes CVE-2016-3623 (bugzilla #2569) 248 2492016-08-15 Even Rouault <even.rouault at spatialys.com> 250 251 * tools/tiffcrop.c: Fix out-of-bounds write in loadImage(). 252 From patch libtiff-CVE-2016-3991.patch from 253 libtiff-4.0.3-25.el7_2.src.rpm by Nikola Forro (bugzilla #2543) 254 2552016-08-15 Even Rouault <even.rouault at spatialys.com> 256 257 * libtiff/tif_pixarlog.c: Fix write buffer overflow in PixarLogEncode 258 if more input samples are provided than expected by PixarLogSetupEncode. 259 Idea based on libtiff-CVE-2016-3990.patch from 260 libtiff-4.0.3-25.el7_2.src.rpm by Nikola Forro, but with different and 261 simpler check. (bugzilla #2544) 262 2632016-08-15 Even Rouault <even.rouault at spatialys.com> 264 265 * tools/tiff2rgba.c: Fix integer overflow in size of allocated 266 buffer, when -b mode is enabled, that could result in out-of-bounds 267 write. Based initially on patch tiff-CVE-2016-3945.patch from 268 libtiff-4.0.3-25.el7_2.src.rpm by Nikola Forro, with correction for 269 invalid tests that rejected valid files. (bugzilla #2545) 270 2712016-07-11 Even Rouault <even.rouault at spatialys.com> 272 273 * tools/tiffcrop.c: Avoid access outside of stack allocated array 274 on a tiled separate TIFF with more than 8 samples per pixel. 275 Reported by Kaixiang Zhang of the Cloud Security Team, Qihoo 360 276 (CVE-2016-5321 / CVE-2016-5323 , bugzilla #2558 / #2559) 277 2782016-07-10 Even Rouault <even.rouault at spatialys.com> 279 280 * libtiff/tif_read.c: Fix out-of-bounds read on 281 memory-mapped files in TIFFReadRawStrip1() and TIFFReadRawTile1() 282 when stripoffset is beyond tmsize_t max value (reported by 283 Mathias Svensson) 284 2852016-07-10 Even Rouault <even.rouault at spatialys.com> 286 287 * tools/tiffdump.c: fix a few misaligned 64-bit reads warned 288 by -fsanitize 289 2902016-07-03 Even Rouault <even.rouault at spatialys.com> 291 292 * libtiff/tif_read.c: make TIFFReadEncodedStrip() and 293 TIFFReadEncodedTile() directly use user provided buffer when 294 no compression (and other conditions) to save a memcpy(). 295 296 * libtiff/tif_write.c: make TIFFWriteEncodedStrip() and 297 TIFFWriteEncodedTile() directly use user provided buffer when 298 no compression to save a memcpy(). 299 3002016-07-01 Even Rouault <even.rouault at spatialys.com> 301 302 * libtiff/tif_luv.c: validate that for COMPRESSION_SGILOG and 303 PHOTOMETRIC_LOGL, there is only one sample per pixel. Avoid 304 potential invalid memory write on corrupted/unexpected images when 305 using the TIFFRGBAImageBegin() interface (reported by 306 Clay Wood) 307 3082016-06-28 Even Rouault <even.rouault at spatialys.com> 309 310 * libtiff/tif_pixarlog.c: fix potential buffer write overrun in 311 PixarLogDecode() on corrupted/unexpected images (reported by Mathias Svensson) 312 (CVE-2016-5875) 313 3142016-06-15 Bob Friesenhahn <[email protected]> 315 316 * libtiff/libtiff.def: Added _TIFFMultiply32 and _TIFFMultiply64 317 to libtiff.def 318 3192016-06-05 Bob Friesenhahn <[email protected]> 320 321 * tools/Makefile.am: The libtiff tools bmp2tiff, gif2tiff, 322 ras2tiff, sgi2tiff, sgisv, and ycbcr are completely removed from 323 the distribution. The libtiff tools rgb2ycbcr and thumbnail are 324 only built in the build tree for testing. Old files are put in 325 new 'archive' subdirectory of the source repository, but not in 326 distribution archives. These changes are made in order to lessen 327 the maintenance burden. 328 3292016-05-10 Bob Friesenhahn <[email protected]> 330 331 * libtiff/tif_config.vc.h (HAVE_SNPRINTF): Add a '1' to the 332 HAVE_SNPRINTF definition.' 333 3342016-05-09 Bob Friesenhahn <[email protected]> 335 336 * libtiff/tif_config.vc.h (HAVE_SNPRINTF): Applied patch by Edward 337 Lam to define HAVE_SNPRINTF for Visual Studio 2015. 338 3392016-04-27 Even Rouault <even.rouault at spatialys.com> 340 341 * libtiff/tif_dirread.c: when compiled with DEFER_STRILE_LOAD, 342 fix regression, introduced on 2014-12-23, when reading a one-strip 343 file without a StripByteCounts tag. GDAL #6490 344 3452016-04-07 Bob Friesenhahn <[email protected]> 346 347 * html/bugs.html: Replace Andrey Kiselev with Bob Friesenhahn for 348 purposes of security issue reporting. 349 3502016-01-23 Even Rouault <even.rouault at spatialys.com> 351 352 * libtiff/*: upstream typo fixes (mostly contributed by Kurt Schwehr) 353 coming from GDAL internal libtiff 354 3552016-01-09 Even Rouault <even.rouault at spatialys.com> 356 357 * libtiff/tif_fax3.h: make Param member of TIFFFaxTabEnt structure 358 a uint16 to reduce size of the binary. 359 3602016-01-03 Even Rouault <even.rouault at spatialys.com> 361 362 * libtiff/tif_read.c, tif_dirread.c: fix indentation issues raised 363 by GCC 6 -Wmisleading-indentation 364 3652015-12-27 Even Rouault <even.rouault at spatialys.com> 366 367 * libtiff/tif_pixarlog.c: avoid zlib error messages to pass a NULL 368 string to %s formatter, which is undefined behaviour in sprintf(). 369 3702015-12-27 Even Rouault <even.rouault at spatialys.com> 371 372 * libtiff/tif_next.c: fix potential out-of-bound write in NeXTDecode() 373 triggered by http://lcamtuf.coredump.cx/afl/vulns/libtiff5.tif 374 (bugzilla #2508) 375 3762015-12-27 Even Rouault <even.rouault at spatialys.com> 377 378 * libtiff/tif_luv.c: fix potential out-of-bound writes in decode 379 functions in non debug builds by replacing assert()s by regular if 380 checks (bugzilla #2522). 381 Fix potential out-of-bound reads in case of short input data. 382 3832015-12-26 Even Rouault <even.rouault at spatialys.com> 384 385 * libtiff/tif_getimage.c: fix out-of-bound reads in TIFFRGBAImage 386 interface in case of unsupported values of SamplesPerPixel/ExtraSamples 387 for LogLUV / CIELab. Add explicit call to TIFFRGBAImageOK() in 388 TIFFRGBAImageBegin(). Fix CVE-2015-8665 reported by limingxing and 389 CVE-2015-8683 reported by zzf of Alibaba. 390 3912015-12-21 Even Rouault <even.rouault at spatialys.com> 392 393 * libtiff/tif_dirread.c: workaround false positive warning of Clang Static 394 Analyzer about null pointer dereference in TIFFCheckDirOffset(). 395 3962015-12-19 Even Rouault <even.rouault at spatialys.com> 397 398 * libtiff/tif_fax3.c: remove dead assignment in Fax3PutEOLgdal(). Found 399 by Clang Static Analyzer 400 4012015-12-18 Even Rouault <even.rouault at spatialys.com> 402 403 * libtiff/tif_dirwrite.c: fix truncation to 32 bit of file offsets in 404 TIFFLinkDirectory() and TIFFWriteDirectorySec() when aligning directory 405 offsets on a even offset (affects BigTIFF). This was a regression of the 406 changeset of 2015-10-19. 407 4082015-12-12 Even Rouault <even.rouault at spatialys.com> 409 410 * libtiff/tif_write.c: TIFFWriteEncodedStrip() and TIFFWriteEncodedTile() 411 should return -1 in case of failure of tif_encodestrip() as documented 412 * libtiff/tif_dumpmode.c: DumpModeEncode() should return 0 in case of 413 failure so that the above mentionned functions detect the error. 414 4152015-12-06 Even Rouault <even.rouault at spatialys.com> 416 417 * libtiff/uvcode.h: const'ify uv_code array 418 4192015-12-06 Even Rouault <even.rouault at spatialys.com> 420 421 * libtiff/tif_dirinfo.c: const'ify tiffFields, exifFields, 422 tiffFieldArray and exifFieldArray arrays 423 4242015-12-06 Even Rouault <even.rouault at spatialys.com> 425 426 * libtiff/tif_print.c: constify photoNames and orientNames arrays 427 4282015-12-06 Even Rouault <even.rouault at spatialys.com> 429 430 * libtiff/tif_close.c, libtiff/tif_extension.c : rename link 431 variable to avoid -Wshadow warnings 432 4332015-11-22 Even Rouault <even.rouault at spatialys.com> 434 435 * libtiff/*.c: fix typos in comments (patch by Kurt Schwehr) 436 4372015-11-22 Even Rouault <even.rouault at spatialys.com> 438 439 * libtiff/*.c: fix MSVC warnings related to cast shortening and 440 assignment within conditional expression 441 4422015-11-18 Even Rouault <even.rouault at spatialys.com> 443 444 * libtiff/*.c: fix clang -Wshorten-64-to-32 warnings 445 4462015-11-18 Even Rouault <even.rouault at spatialys.com> 447 448 * libtiff/tif_dirread.c: initialize double* data at line 3693 to NULL 449 to please MSVC 2013 450 4512015-11-17 Even Rouault <even.rouault at spatialys.com> 452 453 * libtiff/tif_dirread.c: prevent reading ColorMap or TransferFunction 454 if BitsPerPixel > 24, so as to avoid huge memory allocation and file 455 read attempts 456 4572015-11-02 Even Rouault <even.rouault at spatialys.com> 458 459 * libtiff/tif_dirread.c: remove duplicated assignment (reported by 460 Clang static analyzer) 461 4622015-10-28 Even Rouault <even.rouault at spatialys.com> 463 464 * libtiff/tif_dir.c, libtiff/tif_dirinfo.c, libtiff/tif_compress.c, 465 libtiff/tif_jpeg_12.c: suppress warnings about 'no previous 466 declaration/prototype' 467 4682015-10-19 Even Rouault <even.rouault at spatialys.com> 469 470 * libtiff/tiffiop.h, libtiff/tif_dirwrite.c: suffix constants by U to fix 471 'warning: negative integer implicitly converted to unsigned type' warning 472 (part of -Wconversion) 473 4742015-10-17 Even Rouault <even.rouault at spatialys.com> 475 476 * libtiff/tif_dir.c, libtiff/tif_dirread.c, libtiff/tif_getimage.c, 477 libtiff/tif_print.c: fix -Wshadow warnings (only in libtiff/) 478 4792015-09-12 Bob Friesenhahn <[email protected]> 480 481 * libtiff 4.0.6 released. 482 483 * html/v4.0.6.html: Added release notes for 4.0.6. 484 4852015-09-06 Bob Friesenhahn <[email protected]> 486 487 * tools/tiffgt.c: Silence glut API deprecation warnings on MacOS 488 X. Patch by Roger Leigh. 489 490 * Makefile.am: Added a 'coverity' rule to assist with Coverity 491 submissions. 492 493 * tools/tiff2pdf.c: Fix compiler warning about unused function 494 when JPEG is not available. 495 496 * tools/fax2ps.c (main): Detect failure to write to temporary 497 file. 498 4992015-09-05 Bob Friesenhahn <[email protected]> 500 501 * libtiff/tif_dirread.c (TIFFReadDirEntryCheckRangeSlongSlong8): 502 Change implementation so that it does not sometimes overflow the 503 range of a 32-bit int and to avoid a signed vs unsigned compare 504 compiler warning. 505 (TIFF_INT64_MAX): Avoid use of platform-specific large constants. 506 (TIFF_UINT32_MAX): Avoid use of platform-specific large constants. 507 5082015-09-01 Bob Friesenhahn <[email protected]> 509 510 * Makefile.am (distcheck-hook), configure.ac: Applied patches by 511 Roger Leigh (via tiff mailing list on 2015-09-01) to fix issue 512 with BSD make and to make use of cmake in 'distcheck' target 513 conditional on if cmake is available. 514 515 * CMakeLists.txt, Makefile.am, configure.ac: Applied patches by 516 Roger Leigh (via tiff mailing list on 2015-09-01). 517 518 CMake build is now included in 'distcheck' target. 519 520 Builds with CMake 2.8.9 and newer. 521 522 Tar is now resquested to use POSIX PAX format. 523 5242015-08-31 Bob Friesenhahn <[email protected]> 525 526 * CMakeLists.txt, libtiff/test/Makefile.am: Applied patches by 527 Roger Leigh (via tiff mailing list on 2015-08-31. 528 529 CMake reads all version information directly from configure.ac to 530 avoid duplication of values. This basically greps over the file 531 for the LIBTIFF_* variables, then translates them to the form 532 needed for cmake. This includes the release version and libtool 533 shared library version information. 534 535 Make shared/static library building configurable. Currently it 536 always builds shared libraries, with static libs having a _static 537 suffix (copying zlib, but it means it's got a non-standard name). 538 CMake has a -DBUILD_SHARED_LIBS=ON|OFF option to select one or the 539 other, which is now used instead. There's now a single "tiff" 540 target to build either shared or static as required, and all the 541 tests and tools are linked with this. Note: the Windows tests fail 542 when linked with a static libtiff (says: libtiff.dll not found). 543 Not really a regression since this was not tested up to this 544 point, and it's likely the unit tests haven't (ever?) been run on 545 Windows with a static libtiff, so there's some additional 546 portability issue here to address. Works fine on UNIX systems, 547 and fine on Windows with the default to build a DLL. 548 549 Add a missing file which wasn't being distributed, causing unit 550 tests to fail. Note that "find . -name '*.cmake'" lists all the 551 CMake files which need distributing in addition to all the 552 CMakeLists.txt files (which now are distributed). 553 5542015-08-31 Even Rouault <even.rouault at spatialys.com> 555 556 * libtiff/tif_predict.c: pedantic change to add explicit masking 557 with 0xff before casting to uchar in floating-point horizontal 558 differencing and accumulation routines. 559 5602015-08-31 Even Rouault <even.rouault at spatialys.com> 561 562 * libtiff/tif_predict.c: fix generation of output with 16 bit 563 or 32 bit integer, when byte swapping is needed, in 564 horizontal predictor (#2521). Also fixes decoding when there is 565 a single pixel to code (unlikely case...) and byte swapping is 566 involved. 567 5682015-08-30 Even Rouault <even.rouault at spatialys.com> 569 570 * libtiff/tif_lzw.c: make nextdata a unsigned type to avoid 571 undefined behaviour with shifts (gcc -fsanitize=shift) 572 5732015-08-30 Even Rouault <even.rouault at spatialys.com> 574 575 * libtiff/tif_fax3.c, libtiff/tif_lzw.c, libtiff/tif_predict.c: 576 add explicit masking with 0xff before casting 577 to unsigned char (make icc -check=conversions happy) 578 579 * libtiff/tif_predict.c: operate on unsigned datatypes when 580 computing/applying differences to avoid undefined behaviour of 581 signed types (C standard compliance) 582 5832015-08-30 Bob Friesenhahn <[email protected]> 584 585 * configure.ac: libtiff 4.0.5 released. 586 5872015-08-29 Bob Friesenhahn <[email protected]> 588 589 * CMakeLists.txt: Applied patch by Roger Leigh (via tiff mailing 590 list on 2015-08-29) to add ld-version-script option to cmake build 591 to match autoconf. Note: defaults to 'on' to be ABI-compatible by 592 default with common Linux distribution builds. Note that the 593 autoconf configure script defaults to 'off'. 594 595 * html/build.html: Applied patch by Roger Leigh (via tiff mailing 596 list on 2015-08-29) to describe how to use CMake to build libtiff. 597 5982015-08-28 Bob Friesenhahn <[email protected]> 599 600 * html/v4.0.5.html: Added HTML file describing the changes which 601 will appear in the 4.0.5 release. 602 6032015-08-23 Bob Friesenhahn <[email protected]> 604 605 * libtiff/tiffiop.h: For MinGW comiles, make sure that build 606 supports necessary __MSVCRT_VERSION__ (at least at least 0x800). 607 Otherwise large files can not be supported for POSIX-style I/O. 608 609 * tools/fax2tiff.c (main): Eliminate a compiler warning in 64-bit 610 builds about cast to thandle_t. 611 612 * test/rewrite_tag.c (main): Does not require any arguments. 613 6142015-08-20 Bob Friesenhahn <[email protected]> 615 616 * tools/CMakeLists.txt, port/snprintf.c: Patch by Roger Leigh to 617 fix build issues when using Cmake due to Windows large file 618 changes. 619 6202015-08-18 Bob Friesenhahn <[email protected]> 621 622 * libtiff/tiffiop.h: First cut at supporting large files under 623 Microsoft Windows using tif_unix.c and the libtiff tools. This 624 only works if the Windows CDK is new enough to support the APIs 625 used (Visual C++ 2005 or later). Support for large files is not 626 actually tested yet. 627 6282015-08-15 Bob Friesenhahn <[email protected]> 629 630 * libtiff/tif_jpeg.c: Applied patch by Räisä Olli to assure that 631 client_data is initialized to a known value, and to report an 632 error on two memory allocation failures. 633 6342015-08-13 Bob Friesenhahn <[email protected]> 635 636 * CMakeLists.txt: Applied patch by Roger Leigh to fix libtiffxx 637 symbol versioning. Patch was mailed to libtiff list on Thu, 13 638 Aug 2015. 639 6402015-07-04 Bob Friesenhahn <[email protected]> 641 642 * cmake: Add d suffix to debug libraries with MSVC. Patch #3 of 3 643 by Roger Leigh posted to tiff list on Wed, 1 Jul 2015 15:58:20 644 +0100. 645 646 * cmake: Add extra warning flags. Patch #2 of 3 by Roger Leigh 647 posted to tiff list on Wed, 1 Jul 2015 15:58:20 +0100. 648 649 * cmake: Correct snprintf fallback for VS2015. Patch #1 of 3 by 650 Roger Leigh posted to tiff list on Wed, 1 Jul 2015 15:58:20 +0100. 651 6522015-06-24 Bob Friesenhahn <[email protected]> 653 654 * CMakeLists.txt: Add CMake patchset by Roger Leigh as posted to 655 libtiff mailing list on Mon, 22 Jun 2015 21:21:01 +0100. Several 656 corrections to ensure that the autotools build still works were 657 added by me. I have not yet tested the build using 'cmake' or 658 MSVC with 'nmake'. 659 6602015-06-21 Bob Friesenhahn <[email protected]> 661 662 * test/Makefile.am: tiff2rgba-quad-tile.jpg.sh depends on the JPEG 663 library so only execute if JPEG is available. 664 665 * libtiff 4.0.4 released. 666 667 * configure.ac: Add a HAVE_FOO Automake conditional for each 668 add-on library. 669 670 * test/Makefile.am (JPEG_DEPENDENT_CHECK_PROG): raw_decode 671 requires JPEG support to compile. Use Automake conditional to 672 only include it when JPEG support is available. 673 674 * html/build.html: Try to improve the nmake-based VC++ build 675 description. 676 677 * libtiff/tiffconf.vc.h: Build fixes based on testing. 678 679 * libtiff/tif_config.vc.h: Build fixes based on testing. 680 681 * libtiff/libtiff.def: TIFFRasterScanline does not exist so remove 682 export for it. 683 6842015-06-20 Bob Friesenhahn <[email protected]> 685 686 * libtiff/tif_config.vc.h: Make adjustments to match the new 687 definitions that configure produces, including for WIN64. Still 688 needs to be tested. 689 690 * configure.ac: For 64-bit MinGW, fix SSIZE_FORMAT formatting 691 specifier. 64-bit MinGW supports 'long long' but support for 692 'lld' is not assured by the run-time DLLs and so GCC warns. 693 Add TIFF_SIZE_T and TIFF_SIZE_FORMAT to provide a type definition 694 and printf format specifier to deal with printing values of 695 'size_t' type. In particular, this was necessary for WIN64. 696 Added a configure test for if the system headers provide 'optarg' 697 (normal case) and block out the many explicit 'extern' statements 698 in the utilities. This was found to be necessary under Windows 699 when getopt is in a DLL and the symbols are already imported with 700 dllimport via standard header files. 701 702 * test/raw_decode.c (XMD_H): Avoid conflicting typedefs for INT32 703 and boolean in MinGW build due to including jpeglib.h. 704 705 * test/rewrite_tag.c (main): Fix problem with location of variable 706 declaration. 707 708 * libtiff/libtiff.def: Added exports for TIFFGetConfiguredCODECs, 709 TIFFReadRGBAImageOriented, TIFFSetCompressionScheme, 710 TIFFSwabArrayOfTriples, TIFFVGetFieldDefaulted, _TIFFCheckRealloc, 711 TIFFRasterScanline, TIFFSetErrorHandlerExt, 712 TIFFSetWarningHandlerExt, TIFFNumberOfDirectories, 713 TIFFCreateCustomDirectory, TIFFCreateEXIFDirectory, 714 TIFFWriteCustomDirectory, _TIFFRewriteField as recommended by 715 Roger Leigh and justified by use in libtiff tests, documentation, 716 and changelog notes. Also sorted symbol list and removed 717 duplicate entries. 718 7192015-06-16 Bob Friesenhahn <[email protected]> 720 721 * libtiff/tif_getimage.c: Fix four Coverity issues related to 722 unintended sign extension. 723 7242015-06-16 Even Rouault <even.rouault at spatialys.com> 725 726 * libtiff/tif_unix.c: fix compilation with MSVC (fix by Jeff McKenna) 727 7282015-06-14 Lee Howard <[email protected]> 729 730 * libtiff/tif_unix.c: contribution from Vadim Zeitlin on 731 Bugzilla Bug #2510 fixes several harmless but still annoying 732 warnings 733 734 * configure: contribution from Ludolf Holzheid on Bugzilla 735 Bug #2498. Adds an option to select the file I/O style on 736 Windows hosts. 737 738 * libtiff/tif_getimage.c: contribution from Gary Cramblitt 739 on Bugzilla Bug #2409. Correct reading of certain tiled TIFFs. 740 741 * configure, configure.ac: contribution from Marcos H. Woehrmann 742 on Bugzilla Bug #2405. Correct shell equality operator. 743 744 * tools/tiffgt.c (raster_draw): contribution from Jay Berkenbilt 745 on Bugzilla Bug #2401. Appropriately call glFlush(). 746 747 * tools/tiff2pdf.c: change ColorTransform from "0" to "1" 748 following Bugzilla Bug #2150. 749 7502015-06-13 Lee Howard <[email protected]> 751 752 * libtiff/tif_lzw.c: contribution from Andy Cave - decode 753 files that contain consecutive CODE_CLEAR codes. 754 755 * tools/tiff2pdf.c: contribution from Antti S. Lankila on 756 Bugzilla Bug #2078. Suppress initial output of the header. 757 758 * tools/tiff2pdf.c: contribution from Yuriy M. Kaminskiy - 759 Take care in using the return value from snprintf(). 760 761 * tools/tiffcrop.c: contribution from Eduardo Robles Elvira - 762 correctly copy the compression tag from the source TIFF. 763 764 * tools/tiff2ps.c: contribution from Eduardo Robles Elvira - 765 correct sizing and scaling problems with output document. 766 7672015-06-10 Bob Friesenhahn <[email protected]> 768 769 * libtiff/tif_jpeg.c (JPEGDecode): Split JPEGDecode() into two 770 clean implementations in order to avoid pre-processor hell. Only 771 one of the implementations is used in a given build. 772 7732015-06-08 Even Rouault <even.rouault at spatialys.com> 774 775 * libtiff/tif_jpeg.c: Fix compilation in BITS_IN_JSAMPLE == 12 776 case 777 7782015-06-07 Bob Friesenhahn <[email protected]> 779 780 * libtiff/tif_write.c (TIFFWriteEncodedStrip): Fix Coverity 715975 781 "Division or modulo by zero". 782 (TIFFWriteEncodedTile): Fix Coverity 715976 and 715977 "Division 783 or modulo by zero". 784 (TIFFWriteRawStrip): Fix Coverity 715978 "Division or modulo by 785 zero". 786 (TIFFWriteScanline): Fix Coverity 715979 "Division or modulo by 787 zero". 788 789 * libtiff/tif_read.c (TIFFStartTile): Fix Coverity 715973 and 790 715974 "Division or modulo by zero". 791 7922015-05-31 Bob Friesenhahn <[email protected]> 793 794 * libtiff/tif_dir.c (TIFFNumberOfDirectories): Quiet Coverity 795 1134470 "Logically dead code" by making the roll-over check 796 explicit. 797 798 * libtiff/tif_luv.c (LogLuvDecodeTile): Fix Coverity 991227 799 "Division or modulo by zero". 800 (LogLuvDecodeStrip): Fix Coverity 991239 "Division or modulo by 801 zero". 802 (LogLuvEncodeStrip): Fix Coverity 991240 "Division or modulo by 803 zero". 804 (LogLuvEncodeTile): Fix Coverity 991241 "Division or modulo by 805 zero". 806 807 * libtiff/tif_dirread.c (TIFFReadDirEntryDoubleArray): Fix 808 Coverity 298626 "Logically dead code". 809 (TIFFReadDirEntryFloatArray): Fix Coverity 298627 "Logically dead 810 code". 811 (TIFFReadDirEntryIfd8Array): Fix Coverity 298628 "Logically dead 812 code". 813 (TIFFReadDirEntrySlong8Array): Fix Coverity 298629 "Logically dead 814 code" 815 816 * libtiff/tif_dir.c (TIFFNumberOfDirectories): Don't depend on ++ 817 operator precedenc in evaluation. Might quench Coverity 1134470 818 "Logically dead code". 819 820 * libtiff/tif_jpeg.c (JPEGDecode): Fix Coverity 602597 "Operands 821 don't affect result". This change uses ifdefs to include 822 applicable code based on properties of libjpeg. Still needs to be 823 re-tested with 12-bit "6b" and "MK1". 824 8252015-05-30 Bob Friesenhahn <[email protected]> 826 827 * libtiff/tif_dirwrite.c (_TIFFRewriteField): Fix Coverity 1024310 828 "Resource leak". 829 830 * libtiff/tif_ojpeg.c (OJPEGReadHeaderInfoSecStreamDht): Fix 831 Coverity 601720 "Resource leak". 832 833 * libtiff/tif_jpeg.c (JPEGCleanup): Fix Coverity 298624 834 "Dereference before null check". 835 836 * libtiff/tif_ojpeg.c (OJPEGReadBufferFill): Fix Coverity 603400 837 "Missing break in switch". 838 839 * contrib/addtiffo/tif_overview.c (TIFF_DownSample): Check buffer 840 size calculation for overflow. 841 842 * contrib/addtiffo/addtiffo.c (main): Possibly address Coverity 843 1024226 "Untrusted value as argument". 844 845 * tools/gif2tiff.c (readgifimage): Fix Coverity 1024222 "Untrusted 846 value as argument". 847 (checksignature): Fix Coverity 1024894 "Ignoring number of bytes 848 read". 849 (readextension): Fix Coverity 1024893 "Ignoring number of bytes 850 read". 851 (readgifimage): Fix Coverity 1024890 "Ignoring number of bytes 852 read". 853 (readraster): Fix Coverity 1024891 "Ignoring number of bytes 854 read". 855 (readgifimage): Fix Coverity 1024892 "Ignoring number of bytes 856 read". 857 858 * tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 1024181 859 "Structurally dead code". 860 861 * tools/raw2tiff.c (main): Fix Coverity 1024887 "Unchecked return 862 value from library". 863 (guessSize): Fix Coverity 1024888 "Unchecked return value from 864 library". 865 (guessSize): Fix Coverity 1214162 "Ignoring number of bytes read". 866 (guessSize): Fix Coverity 1024889 "Unchecked return value from 867 library". 868 869 * tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 298621 870 "Resource leak". 871 (t2p_readwrite_pdf_image): Fix Coverity 1024181 "Structurally dead 872 code". 873 (t2p_write_pdf): Fix Coverity 1227690 "Unused value". 874 8752015-05-29 Bob Friesenhahn <[email protected]> 876 877 * contrib/iptcutil/iptcutil.c (formatIPTC): Fix Coverity 1024468 878 "Infinite loop". 879 (formatIPTC): Fix Coverity 1024727 "Truncated stdio return value". 880 (formatIPTC): Fix Coverity 1214240 "Untrusted loop bound". 881 8822015-05-28 Bob Friesenhahn <[email protected]> 883 884 * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix 885 Coverity 298615 "Resource leak". 886 (TIFFGetOvrBlock): Fix Coverity 1024649 "Unintended sign 887 extension". 888 889 * tools/bmp2tiff.c (main): Fix Coverity 1024225 "Untrusted value 890 as argument". 891 (main): Fix Coverity 1024678 "Unchecked return value from 892 library". 893 (main): Fix Coverity 1024679 "Unchecked return value from 894 library". 895 (main): Fix Coverity 1214160 "Ignoring number of bytes read". 896 897 * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix 898 Coverity 298615 "Resource leak". 899 900 * tools/tiffcp.c: Fix Coverity 1024306, 1024307, 1024308, 1024309 901 "Resource leak". 902 903 * tools/tiffsplit.c (cpTiles): Fix Coverity 1024304 "Resource 904 leak". 905 (cpStrips): Fix Coverity 1024305 "Resource leak". 906 9072015-05-27 Bob Friesenhahn <[email protected]> 908 909 * tools/ras2tiff.c: Fix Sun Raster header definition to be safe 910 for 64-bit systems. Add some header validations. Should fix many 911 Coverity issues. 912 (main): Fix Coverity 1301206: "Integer handling issues (BAD_SHIFT)". 913 (main): Quiet Coverity 1024223 "Untrusted value as argument". 914 915 * tools/tiffmedian.c (GetInputLine): Fix Coverity 1024795 "Nesting 916 level does not match indentation". 917 (get_histogram): Quiet Coverity 1024386 "Out-of-bounds read". 918 This was a benign mis-diagnosis but added code to enforce against 919 buffer overflow. 920 921 * tools/tiffcrop.c (ROTATE_ANY): Fix Coverity 1294542 "Logical 922 vs. bitwise operator". 923 (readContigStripsIntoBuffer): Fix Coverity 1024545 "Division or 924 modulo by zero". 925 (readContigTilesIntoBuffer): Fix Coverity 1024586 "Logically dead 926 code". 927 (writeSingleSection): Fix Coverity 1024796 "Nesting level does not 928 match indentation". 929 (writeCroppedImage): Fix Coverity 1024797 "Nesting level does not 930 match indentation". 931 (loadImage): Fix Coverity 1299741 "Dereference before null check". 932 (loadImage): Fix Coverity 1299740 "Out-of-bounds write". 933 9342015-03-02 Even Rouault <[email protected]> 935 936 * tools/tiffdither.c: check memory allocations to avoid writing to 937 NULL pointer. Also check multiplication overflow. Fixes #2501, 938 CVE-2014-8128. Derived from patch by Petr Gajdos. 939 9402015-01-26 Even Rouault <[email protected]> 941 942 * add html/v4.0.4beta.html under version control 943 * HOWTO-RELEASE: write that cvs add html/vX.X.html must be used 944 9452015-01-26 Even Rouault <[email protected]> 946 947 * libtiff 4.0.4beta released 948 9492015-01-26 Even Rouault <[email protected]> 950 951 * automake: updated to 1.15 952 * libtool: updated to 2.4.5 953 9542015-01-22 Even Rouault <[email protected]> 955 956 * tools/tiff2pdf.c: Fix two crashes (oCERT-2014-013) 957 9582015-01-05 Frank Warmerdam <[email protected]> 959 960 * html/bugs.html: remove note about needing to email the tiff mailing 961 list administrator about being approved for membership, this appears 962 not to be true. 963 9642015-01-05 Olivier Paquet <[email protected]> 965 966 * tools/tiff2pdf.c: Fixed unsigned integer addition overflow detection. 967 9682015-01-03 Even Rouault <[email protected]> 969 970 * libtiff/tif_dirread.c: in TIFFCheckDirOffset(), avoid uint16 overflow 971 when reading more than 65535 directories, and effectively error out when 972 reaching that limit. 973 9742014-12-29 Even Rouault <[email protected]> 975 976 * libtiff/tif_jpeg.c: in JPEGFixupTags(), recognize SOF2, SOF9 and SOF10 977 markers to avoid emitting a warning (even if, according to the TechNote, 978 there are admitedly unusual/not recommended or even forbidden variants, but 979 they do work well with libjpeg for SOF2, and with libjpeg-turbo for SOF2, 980 SOF9 and SOF10). 981 Define in_color_space and input_components to the right values in 982 JPEGSetupEncode(), before calling jpeg_set_defaults(), as specified by 983 libjpeg API documentation, so as to be compatible with mozjpeg library. 984 Note: the default settings of mozjpeg will produce progressive scans, which 985 is forbidden by the TechNote. 986 9872014-12-29 Even Rouault <[email protected]> 988 989 * libtiff/tif_getimage.c: move test on vertical value of YCbCr subsampling. 990 to avoid buffer leak (fix previous fix, found by Coverity scan) 991 9922014-12-29 Even Rouault <[email protected]> 993 994 * libtiff/tif_next.c: add new tests to check that we don't read outside of 995 the compressed input stream buffer. 996 997 * libtiff/tif_getimage.c: in OJPEG case, fix checks on strile width/height 998 in the putcontig8bitYCbCr42tile, putcontig8bitYCbCr41tile and 999 putcontig8bitYCbCr21tile cases. 1000 10012014-12-27 Even Rouault <[email protected]> 1002 1003 * libtiff/tif_dir.c: in TIFFDefaultDirectory(), reset any already existing 1004 extented tags installed by user code through the extender mechaninm before 1005 calling the extender callback (GDAL #5054) 1006 10072014-12-26 Bob Friesenhahn <[email protected]> 1008 1009 * tools/tiffcrop.c: Fix warnings about variables set but not used. 1010 1011 * contrib/iptcutil/iptcutil.c: Fix warnings about variables set 1012 but not used. 1013 1014 * tools/tiffgt.c: Fix warnings about unused parameters. 1015 1016 * libtiff/tif_stream.cxx: Fix warnings about unused parameters. 1017 10182014-12-25 Even Rouault <[email protected]> 1019 1020 * libtiff/tif_getimage.c, libtiff/tif_ojpeg.c, libtiff/tif_zip.c: fix 1021 various typos found by Debian lintian tool (GDAL #5756) 1022 10232014-12-24 Even Rouault <[email protected]> 1024 1025 * libtiff/tif_getimage.c: avoid divide by zero on invalid YCbCr subsampling. 1026 http://bugzilla.maptools.org/show_bug.cgi?id=2235 1027 10282014-12-24 Even Rouault <[email protected]> 1029 1030 * tools/tiff2pdf.c: fix buffer overflow on some YCbCr JPEG compressed images. 1031 http://bugzilla.maptools.org/show_bug.cgi?id=2445 1032 10332014-12-24 Even Rouault <[email protected]> 1034 1035 * tools/tiff2pdf.c: fix buffer overflow on YCbCr JPEG compressed image. 1036 Derived from patch by Petr Gajdos, 1037 http://bugzilla.maptools.org/show_bug.cgi?id=2443 1038 10392014-12-23 Even Rouault <[email protected]> 1040 1041 * libtiff/tif_dirread.c: In EstimateStripByteCounts(), check return code 1042 of _TIFFFillStriles(). This solves crashing bug on corrupted 1043 images generated by afl. 1044 10452014-12-23 Even Rouault <[email protected]> 1046 1047 * libtiff/tif_read.c: fix several invalid comparisons of a uint64 value with 1048 <= 0 by casting it to int64 first. This solves crashing bug on corrupted 1049 images generated by afl. 1050 10512014-12-21 Bob Friesenhahn <[email protected]> 1052 1053 * tools/tiffdump.c: Guard against arithmetic overflow when 1054 calculating allocation buffer sizes. 1055 10562014-12-21 Even Rouault <[email protected]> 1057 1058 * tools/tiff2bw.c: when Photometric=RGB, the utility only works if 1059 SamplesPerPixel = 3. Enforce that 1060 http://bugzilla.maptools.org/show_bug.cgi?id=2485 (CVE-2014-8127) 1061 10622014-12-21 Even Rouault <[email protected]> 1063 1064 * tools/pal2rgb.c, tools/thumbnail.c: fix crash by disabling TIFFTAG_INKNAMES 1065 copying. The right fix would be to properly copy it, but not worth the burden 1066 for those esoteric utilities. 1067 http://bugzilla.maptools.org/show_bug.cgi?id=2484 (CVE-2014-8127) 1068 10692014-12-21 Even Rouault <[email protected]> 1070 1071 * tools/thumbnail.c: fix out-of-buffer write 1072 http://bugzilla.maptools.org/show_bug.cgi?id=2489 (CVE-2014-8128) 1073 10742014-12-21 Even Rouault <[email protected]> 1075 1076 * tools/thumbnail.c, tools/tiffcmp.c: only read/write TIFFTAG_GROUP3OPTIONS 1077 or TIFFTAG_GROUP4OPTIONS if compression is COMPRESSION_CCITTFAX3 or 1078 COMPRESSION_CCITTFAX4 1079 http://bugzilla.maptools.org/show_bug.cgi?id=2493 (CVE-2014-8128) 1080 10812014-12-21 Even Rouault <[email protected]> 1082 1083 * libtiff/tif_next.c: check that BitsPerSample = 2. Fixes 1084 http://bugzilla.maptools.org/show_bug.cgi?id=2487 (CVE-2014-8129) 1085 10862014-12-21 Even Rouault <[email protected]> 1087 1088 * tools/tiff2pdf.c: check return code of TIFFGetField() when reading 1089 TIFFTAG_SAMPLESPERPIXEL 1090 10912014-12-21 Even Rouault <[email protected]> 1092 1093 * tools/tiffcp.c: fix crash when converting YCbCr JPEG-compressed to none. 1094 Based on patch by Tomasz Buchert (http://bugzilla.maptools.org/show_bug.cgi?id=2480) 1095 Description: fix for Debian bug #741451 1096 tiffcp crashes when converting JPEG-encoded TIFF to a different 1097 encoding (like none or lzw). For example this will probably fail: 1098 tiffcp -c none jpeg_encoded_file.tif output.tif 1099 The reason is that when the input file contains JPEG data, 1100 the tiffcp code forces conversion to RGB space. However, 1101 the output normally inherits YCbCr subsampling parameters 1102 from the input, which leads to a smaller working buffer 1103 than necessary. The buffer is subsequently overrun inside 1104 cpStripToTile() (called from writeBufferToContigTiles). 1105 Note that the resulting TIFF file would be scrambled even 1106 if tiffcp wouldn't crash, since the output file would contain 1107 RGB data intepreted as subsampled YCbCr values. 1108 This patch fixes the problem by forcing RGB space on the output 1109 TIF if the input is JPEG-encoded and output is *not* JPEG-encoded. 1110 Author: Tomasz Buchert <[email protected]> 1111 11122014-12-21 Even Rouault <[email protected]> 1113 1114 Fix various crasher bugs on fuzzed images. 1115 * libtiff/tif_dir.c: TIFFSetField(): refuse to set negative values for 1116 TIFFTAG_XRESOLUTION and TIFFTAG_YRESOLUTION that cause asserts when writing 1117 the directory 1118 * libtiff/tif_dirread.c: TIFFReadDirectory(): refuse to read ColorMap or 1119 TransferFunction if BitsPerSample has not yet been read, otherwise reading 1120 it later will cause user code to crash if BitsPerSample > 1 1121 * libtiff/tif_getimage.c: TIFFRGBAImageOK(): return FALSE if LOGLUV with 1122 SamplesPerPixel != 3, or if CIELAB with SamplesPerPixel != 3 or BitsPerSample != 8 1123 * libtiff/tif_next.c: in the "run mode", use tilewidth for tiled images 1124 instead of imagewidth to avoid crash 1125 * tools/bmp2tiff.c: fix crash due to int overflow related to input BMP dimensions 1126 * tools/tiff2pdf.c: fix crash due to invalid tile count (should likely be checked by 1127 libtiff too). Detect invalid settings of BitsPerSample/SamplesPerPixel for CIELAB / ITULAB 1128 * tools/tiffcrop.c: fix crash due to invalid TileWidth/TileHeight 1129 * tools/tiffdump.c: fix crash due to overflow of entry count. 1130 11312014-12-15 Even Rouault <[email protected]> 1132 1133 * libtiff/tif_jpeg.c: Fix regression introduced on 2010-05-07 that caused 1134 all tiles/strips to include quantization tables even when the jpegtablesmode 1135 had the JPEGTABLESMODE_QUANT bit set. 1136 Also add explicit removal of Huffman tables when jpegtablesmode has the 1137 JPEGTABLESMODE_HUFF bit set, which avoids Huffman tables to be emitted in the 1138 first tile/strip (only useful in update scenarios. create-only was 1139 fine) 1140 11412014-12-09 Bob Friesenhahn <[email protected]> 1142 1143 * tools/tiff2pdf.c: Assure that memory size calculations for 1144 _TIFFmalloc() do not overflow the range of tmsize_t. 1145 11462014-12-07 Even Rouault <[email protected]> 1147 1148 * tools/thumbnail.c, tools/tiffcrop.c: "fix" heap read over-run found with 1149 Valgrind and Address Sanitizer on test suite 1150 11512014-12-07 Bob Friesenhahn <[email protected]> 1152 1153 * tools/tiff2pdf.c (t2p_read_tiff_init): TIFFTAG_TRANSFERFUNCTION 1154 tag can return one channel, with the other two channels set to 1155 NULL. The tiff2pdf code was expecting that other two channels 1156 were duplicate pointers in the case where there is only one 1157 channel. Detect this condition in order to avoid a crash, and 1158 presumably perform correctly with just one channel. 1159 11602014-12-06 Bob Friesenhahn <[email protected]> 1161 1162 * tools/tiffdump.c: Fix double-free bug. 1163 11642014-11-27 Even Rouault <[email protected]> 1165 1166 * libtiff/tif_config.vc.h: no longer use "#define snprintf _snprintf" with 1167 Visual Studio 2015 aka VC 14 aka MSVC 1900 1168 11692014-11-20 Even Rouault <[email protected]> 1170 1171 * libtiff/tif_lzw.c: prevent potential null dereference of 1172 sp->dec_codetab in LZWPreDecode (bug #2459) 1173 1174 * libtiff/tif_read.c: in TIFFReadBufferSetup(), avoid passing -1 size 1175 to TIFFmalloc() if passed user buffer size is 0 (bug #2459) 1176 1177 * libtiff/tif_ojpeg.c: make Coverity happier (not a bug, #2459) 1178 1179 * libtiff/tif_dir.c: in _TIFFVGetField() and _TIFFVSetField(), make 1180 Coverity happier (not a bug, #2459) 1181 1182 * libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make Coverity happier 1183 (not a bug, #2459) 1184 1185 * tools/tiff2pdf.c: close PDF file (bug #2479) 1186 1187 * tools/fax2ps.c: check malloc()/realloc() result (bug #2470) 1188 1189 * tools/tiffdump.c: detect cycle in TIFF directory chaining (bug #2463) 1190 and avoid passing a NULL pointer to read() if seek() failed before (bug #2459) 1191 1192 * tools/tiffcrop.c: fix segfault if bad value passed to -Z option 1193 (bug #2459) and add missing va_end in dump_info (#2459) 1194 1195 * tools/gif2tif.c: apply patch for CVE-2013-4243 (#2451) 1196 11972014-11-20 Even Rouault <[email protected]> 1198 * libtiff/tif_jpeg.c: fix segfault in JPEGFixupTagsSubsampling() on 1199 corrupted image where tif->tif_dir.td_stripoffset == NULL (bug #2471) 1200 12012014-11-20 Even Rouault <[email protected]> 1202 * automake: updated to 1.14.1 1203 * libtool: updated to 2.4.3 1204 * HOWTO-RELEASE: small update about autotools building order 1205 12062014-10-20 Olivier Paquet <[email protected]> 1207 * tools/tiff2pdf.c: Preserve input file directory order when pages 1208 are tagged with the same page number. 1209 12102014-08-31 Bob Friesenhahn <[email protected]> 1211 1212 * libtiff/tif_dirread.c (TIFFReadDirEntryOutputErr): Incorrect 1213 count for tag should be a warning rather than an error since 1214 errors terminate processing. 1215 12162014-06-07 Bob Friesenhahn <[email protected]> 1217 1218 * tools/tiff2rgba.c (]): Fixed tiff2rgba usage message in that zip 1219 was wrongly described. Fix suggested by Miguel Medalha. 1220 12212014-05-06 Bob Friesenhahn <[email protected]> 1222 1223 * libtiff/tif_dirinfo.c (TIFFField) : Fix data type for 1224 TIFFTAG_GLOBALPARAMETERSIFD tag. Patch by Steve Underwood. 1225 Reviewed and forwarded by Lee Howard. 1226 12272013-11-30 Frank Warmerdam <[email protected]> 1228 1229 * libtiff/tif_dir.c: fix last fix for TIFFNumberOfDirectories() 1230 12312013-10-21 Frank Warmerdam <[email protected]> 1232 1233 * libtiff/tif_dir.c: generate error in case of directory count 1234 overflow. 1235 12362013-10-01 Frank Warmerdam <[email protected]> 1237 1238 * libtiff/tiff.h, libtiff/tif_dirinfo.c: add definitions for 1239 TIFF/EP CFARepeatPatternDim and CFAPattern tags (bug #2457) 1240 12412013-09-12 Bob Friesenhahn <[email protected]> 1242 1243 * libtiff/tif_dir.c (TIFFAdvanceDirectory): If nextdir is found to 1244 be defective, then set it to zero before returning error in order 1245 to terminate processing of truncated TIFF. Issue found and fix 1246 suggested by Richard Nolde. 1247 12482013-08-14 Frank Warmerdam <[email protected]> 1249 1250 * tools/gif2tiff.c: fix possible OOB write (#2452, CVE-2013-4244) 1251 12522013-08-13 Frank Warmerdam <[email protected]> 1253 1254 * tools/gif2tiff.c: Be more careful about corrupt or 1255 hostile input files (#2450, CVE-2013-4231) 1256 1257 * tools/tiff2pdf.c: terminate after failure of allocating 1258 ycbcr buffer (bug #2449, CVE-2013-4232) 1259 12602013-07-09 Frank Warmerdam <[email protected]> 1261 1262 * tools/tiffinfo.c: Default various values fetched with 1263 TIFFGetField() to avoid being uninitialized. 1264 12652013-05-02 Tom Lane <[email protected]> 1266 1267 * tools/tiff2pdf.c: Rewrite JPEG marker parsing in 1268 t2p_process_jpeg_strip to be at least marginally competent. The 1269 approach is still fundamentally flawed, but at least now it won't 1270 stomp all over memory when given bogus input. Fixes CVE-2013-1960. 1271 12722013-05-02 Tom Lane <[email protected]> 1273 1274 * contrib/dbs/xtiff/xtiff.c, libtiff/tif_codec.c, 1275 libtiff/tif_dirinfo.c, tools/rgb2ycbcr.c, tools/tiff2bw.c, 1276 tools/tiff2pdf.c, tools/tiff2ps.c, tools/tiffcrop.c, 1277 tools/tiffdither.c: Enlarge some fixed-size buffers that weren't 1278 large enough, and eliminate substantially all uses of sprintf(buf, 1279 ...) in favor of using snprintf(buf, sizeof(buf), ...), so as to 1280 protect against overflow of fixed-size buffers. This responds in 1281 particular to CVE-2013-1961 concerning overflow in tiff2pdf.c's 1282 t2p_write_pdf_page(), but in general it seems like a good idea to 1283 deprecate use of sprintf(). 1284 12852013-03-29 Bob Friesenhahn <[email protected]> 1286 1287 * configure.ac: Applied patch by Brad Smith to improve pkg-config 1288 static linking by adding -lm to Libs.private when needed. 1289 12902013-03-05 Tom Lane <[email protected]> 1291 1292 * html/man/tiff2ps.1.html, html/man/tiffcp.1.html, 1293 html/man/tiffdither.1.html, man/tiff2ps.1, man/tiffcp.1, 1294 man/tiffdither.1, tools/tiff2ps.c, tools/tiffcp.c, 1295 tools/tiffdither.c: Sync tool usage printouts and man pages with 1296 reality (quite a few options had escaped being documented in one 1297 or both places). Per an old report from Miroslav Vadkerti. 1298 12992013-01-25 Bob Friesenhahn <[email protected]> 1300 1301 * tools/tiff2ps.c:Fix bug in auto rotate option code. Once a 1302 rotation angle was set by the auto rotate check, it was retained 1303 for all pages that followed instead ofa being retested for each 1304 page. Patch by Richard Nolde. 1305 13062013-01-18 Frank Warmerdam <[email protected]> 1307 1308 * libtiff/tif_write.c: tmsize_t related casting warning fixed for 1309 64bit linux. 1310 1311 * libtiff/tif_read.c: uint64/tmsize_t change for MSVC warnings. 1312 http://bugzilla.maptools.org/show_bug.cgi?id=2427 1313 13142012-12-20 Tom Lane <[email protected]> 1315 1316 * test/raw_decode.c: Relax raw_decode's pixel-value checks so that 1317 it will pass with more versions of libjpeg. (There are at least 1318 three in active use now, and JPEG_LIB_VERSION doesn't tell us 1319 enough to uniquely identify expected results.) 1320 13212012-12-12 Tom Lane <[email protected]> 1322 1323 * libtiff/tif_print.c: Fix TIFFPrintDirectory's handling of 1324 field_passcount fields: it had the TIFF_VARIABLE and 1325 TIFF_VARIABLE2 cases backwards. 1326 13272012-12-10 Tom Lane <[email protected]> 1328 1329 * tools/ppm2tiff.c: Improve previous patch for CVE-2012-4564: 1330 check the linebytes calculation too, get the max() calculation 1331 straight, avoid redundant error messages, check for malloc 1332 failure. 1333 13342012-12-10 Tom Lane <[email protected]> 1335 1336 * libtiff/tif_pixarlog.c: Improve previous patch for CVE-2012-4447 1337 (to enlarge tbuf for possible partial stride at end) so that 1338 overflow in the integer addition is detected. Per gripe from 1339 Huzaifa Sidhpurwala. 1340 13412012-12-03 Bob Friesenhahn <[email protected]> 1342 1343 * tools/tiffset.c: tiffset now supports a -u option to unset a 1344 tag. Patch by Zach Baker. See 1345 http://bugzilla.maptools.org/show_bug.cgi?id=2419 1346 13472012-11-18 Bob Friesenhahn <[email protected]> 1348 1349 * automake: Update Automake to 1.12.5 release. 1350 1351 * libtiff/tif_{unix,vms,win32}.c (_TIFFmalloc): ANSI C does not 1352 require malloc() to return NULL pointer if requested allocation 1353 size is zero. Assure that _TIFFmalloc does. 1354 13552012-11-01 Frank Warmerdam <[email protected]> 1356 1357 * tools/ppm2tiff.c: avoid zero size buffer vulnerability. 1358 CVE-2012-4564 - Thanks to Huzaifa Sidhpurwala of the 1359 Red Hat Security Response team for the fix. 1360 13612012-10-18 Frank Warmerdam <[email protected]> 1362 1363 * tif_zip.c: Avoid crash on NULL error messages. 1364 13652012-09-22 Bob Friesenhahn <[email protected]> 1366 1367 * libtiff 4.0.3 released. 1368 13692012-09-20 Bob Friesenhahn <[email protected]> 1370 1371 * Makefile.am: Update to Automake 1.12.4 1372 13732012-08-19 Bob Friesenhahn <[email protected]> 1374 1375 * Makefile.in: Update to Automake 1.12.3 1376 1377 * libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add 1378 some TIFF/FX support in libtiff. Add the tag definitions to 1379 tiff.h. Add the related TIFF field definitions to tif_dirinfo.c, 1380 and also fixes an error in a comment. Adds the photometric values 1381 to tif_print.c, and fixes a bug. These changes are by Steve 1382 Underwood. 1383 13842012-08-13 Frank Warmerdam <[email protected]> 1385 1386 * libtiff/tif_write.c: Fix bug rewriting image tiles in a 1387 compressed file: http://trac.osgeo.org/gdal/ticket/4771 1388 13892012-08-02 Frank Warmerdam <[email protected]> 1390 1391 * libtiff/tif_dirread.c: report error in case of mismatch value 1392 counts for tags (ie. DotRange). 1393 13942012-07-26 Tom Lane <[email protected]> 1395 1396 * libtiff/{tiffio.h, tif_dirinfo.c, libtiff.def}: Add six new 1397 functions TIFFFieldTag(), TIFFFieldName(), TIFFFieldDataType(), 1398 TIFFFieldPassCount(), TIFFFieldReadCount(), TIFFFieldWriteCount() 1399 as external accessors for the opaque type TIFFField. 1400 1401 * tools/tiffset.c: Make tiffset use the above functions instead of 1402 relying on library private headers. 1403 14042012-07-19 Tom Lane <[email protected]> 1405 1406 * tools/tiff2pdf.c: Fix two places where t2p_error didn't get set 1407 after a malloc failure. No crash risk AFAICS, but the program 1408 might not report exit code 1 as desired. h/t [email protected] 1409 14102012-07-18 Tom Lane <[email protected]> 1411 1412 * tools/tiff2pdf.c: Fail when TIFFSetDirectory() fails. This 1413 prevents core dumps or perhaps even arbitrary code execution when 1414 processing a corrupt input file (CVE-2012-3401). 1415 14162012-07-06 Bob Friesenhahn <[email protected]> 1417 1418 * test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+. 1419 IJG JPEG 7+ uses a different upsampling algorithm which produces 1420 different numeric results. 1421 1422 * libtiff/tif_jpeg.c (JPEGPreDecode): Patch from Even Rouault to 1423 work with IJG JPEG 7+. 1424 14252012-07-04 Bob Friesenhahn <[email protected]> 1426 1427 * test/raw_decode.c: Add changes so that test can run with build 1428 directory outside of source directory. 1429 14302012-07-02 Frank Warmerdam <[email protected]> 1431 1432 * libtiff/tif_jpeg.c: Fix handling when writing RGBA jpeg compressed 1433 imagery (http://trac.osgeo.org/gdal/ticket/4732) 1434 14352012-06-20 Frank Warmerdam <[email protected]> 1436 1437 * libtiff/tif_fax3.c: fix memory initialization of runs, only 1438 partly done. 1439 1440 * libtiff/tif_pixarlog.c: Make sure tbuf is large enough for one 1441 full "stride" past the end. 1442 14432012-06-19 Frank Warmerdam <[email protected]> 1444 1445 * libtiff/tif_packbits.c: fix read past end of data buffer. 1446 14472012-06-15 Frank Warmerdam <[email protected]> 1448 1449 * libtiff 4.0.2 released. 1450 1451 * tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable 1452 warnings with clang. 1453 14542012-06-15 Tom Lane <[email protected]> 1455 1456 * tools/tiff2pdf.c: Defend against integer overflows while 1457 calculating required buffer sizes (CVE-2012-2113). 1458 14592012-06-12 Frank Warmerdam <[email protected]> 1460 1461 * libtiff/tif_print.c: Be careful about printing corrupt inknames. 1462 1463 * libtiff/tif_fax3.c: Ensure runs array is initialized to zeros. 1464 14652012-06-07 Frank Warmerdam <[email protected]> 1466 1467 * libtiff/tif_print.c: avoid pretty printing other fields when 1468 we don't have the proper amount and type of data or if the field 1469 is actually autodefined. 1470 14712012-06-05 Frank Warmerdam <[email protected]> 1472 1473 * libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal 1474 ycbcrsubsampling values result in a runtime error, not just an 1475 assertion. 1476 1477 * tests/custom_dir.c: Add testing of EXIF and custom directory 1478 reading and writing. 1479 1480 * libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory() 1481 and TIFFCreateEXIFDirectory() functions. 1482 1483 * libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for 1484 PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING. Implement DOTRANGE 1485 differently. This is to avoid using special TIFFGetField/TIFFSetField 1486 rules for these fields in non-image directories (like EXIF). 1487 14882012-06-04 Frank Warmerdam <[email protected]> 1489 1490 * libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling 1491 in JPEGPreDecode(). If a fixup will be done it needs to be done sooner 1492 in JPEGFixupTagsSubsampling() or else buffer sized may be wrong. 1493 14942012-06-01 Frank Warmerdam <[email protected]> 1495 1496 * tools/tiffinfo.c: Do not try to read image data in EXIF directories. 1497 1498 * libtiff/tif_getimage.c: added support for _SEPARATED CMYK images. 1499 http://bugzilla.maptools.org/show_bug.cgi?id=2379 1500 1501 * libtiff/tif_unix.c: use strerror() to return a more specific error message 1502 on failed open. 1503 http://bugzilla.maptools.org/show_bug.cgi?id=2341 1504 1505 * libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs. 1506 http://bugzilla.maptools.org/show_bug.cgi?id=2386 1507 1508 * tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support 1509 for testing jpeg in tiff image decoding including the "raw" decode interface. 1510 15112012-05-31 Frank Warmerdam <[email protected]> 1512 1513 * libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in 1514 JPEGDecodeRaw() - mostly likely to occur when there is confusion about 1515 sampling values. 1516 1517 * libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed. 1518 1519 * libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval. 1520 http://bugzilla.maptools.org/show_bug.cgi?id=2398 1521 15222012-05-29 Frank Warmerdam <[email protected]> 1523 1524 * libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories, 1525 like EXIF directories. This fixes problems like a tag "320" existing in a custom directory getting 1526 processed as if it were a colormap when it isn't really. Damn the wide variety of argument formulations 1527 to get/set functions for different tags! 1528 1529 * libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata 1530 is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag. 1531 15322012-05-24 Frank Warmerdam <[email protected]> 1533 1534 * libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward 1535 accumulate" and overwrite the end by one word in at least some cases. 1536 15372012-05-23 Frank Warmerdam <[email protected]> 1538 1539 * libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs. 1540 1541 * tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files. 1542 1543 * libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on 1544 the same image. 1545 1546 * libtiff/tif_ojpeg.c: make things more resilient in the face of files without 1547 stripbytecounts or stripoffsets or where loading these fails. 1548 1549 * libtiff/tif_print.c: be careful about whether min/max values are singular 1550 or one per sample. 1551 1552 * libtiff/tif_print.c: Avoid confusion about count size when printing custom fields. 1553 May affect things like ISOSpeedRatings. 1554 1555 * libtiff/tif_dir.c: avoid one byte past end of ink names reading 1556 in some cases. 1557 15582012-05-19 Bob Friesenhahn <[email protected]> 1559 1560 * man/TIFFGetField.3tiff: Correct the 'count' field type in the 1561 example for how to retreive the value of unsupported tags. 1562 15632012-03-30 Frank Warmerdam <[email protected]> 1564 1565 * tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173) 1566 care of Tom Lane @ Red Hat. 1567 15682012-02-18 Bob Friesenhahn <[email protected]> 1569 1570 * libtiff 4.0.1 released. 1571 1572 * Update automake used to 1.11.3. 1573 1574 * libtiff/tiffio.h: Use double-underbar syntax in GCC printf 1575 attribute specification to lessen the risk of accidental macro 1576 substitution. Patch from Vincent Torri. 1577 15782012-01-31 Frank Warmerdam <[email protected]> 1579 1580 * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around 1581 assumption tag fetching is always successful. 1582 1583 * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL. 1584 15852012-01-22 Bob Friesenhahn <[email protected]> 1586 1587 * configure.ac: Add support for using library symbol versioning on 1588 ELF systems with the GNU linker. Support is enabled via 1589 --enable-ld-version-script. Disabled by default for now until 1590 there is a decision for how to deploy a libtiff with versioned 1591 symbols after libtiff 4.0.0 was already released. 1592 15932011-12-22 Bob Friesenhahn <[email protected]> 1594 1595 * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in 1596 1597 tif_win32.c. Patch by Edward Lam. 1598 1599 * configure.ac: Add libtiff private dependency on -llzma for 1600 pkg-config. Patch by Mark Brand. 1601 Updated Automake to 1.11.2. 1602 16032011-12-21 Bob Friesenhahn <[email protected]> 1604 1605 * libtiff 4.0.0 released. 1606 16072011-12-08 Frank Warmerdam <[email protected]> 1608 1609 * libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking 1610 of _TIFFFillStriles() results (#gdal 4372) 1611 16122011-12-07 Frank Warmerdam <[email protected]> 1613 1614 * libtiff/tif_dirread.c: fixes to deal with invalid files where 1615 _TIFFFillStriles() fails, and we try to chop up strips (gdal #4372) 1616 1617 * libtiff/tif_dirread.c: fix error reporting when there is no 1618 tag information struct and name (gdal #4373) 1619 16202011-10-22 Bob Friesenhahn <[email protected]> 1621 1622 * Update GNU libtool to 2.4.2. 1623 1624 * tools/tiffsplit.c (tiffcp): TIFFGetField count field should be 1625 uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe 1626 Deroulers. 1627 16282011-06-21 Frank Warmerdam <[email protected]> 1629 1630 * libtiff/libtiff.def: Restore TIFFMergeFieldInfo. 1631 16322011-05-31 Jim Meyering <[email protected]> 1633 1634 * libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also 1635 upon failure to allocate "resizeddata". 1636 * tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for 1637 allocation failure, not before. 1638 * libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path 1639 * tools/rgb2ycbcr.c (cvtRaster): unchecked malloc 1640 * libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark 1641 NULL-deref and possible overflow 1642 * tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written" 1643 * libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration 1644 and set of otherwise unused local, data_is_empty. 1645 * libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]: 1646 Diagnose out-of-memory failure and return 0 rather than 1647 dereferencing NULL. 1648 16492011-05-24 Frank Warmerdam <[email protected]> 1650 1651 * libtiff/tif_dirread.c: produce special error message for zero tag 1652 directories instead of error out on the malloc(0) failure. 1653 16542011-05-16 Frank Warmerdam <[email protected]> 1655 1656 * libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and 1657 related declarations as they are in active use by libraries 1658 such as libgeotiff, and work just fine. (#2315) 1659 16602011-04-20 Frank Warmerdam <[email protected]> 1661 1662 * libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete 1663 TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API. 1664 http://bugzilla.maptools.org/show_bug.cgi?id=2315 1665 1666 * libtiff/libtiff.def: add some missing (64bit) APIs. 1667 http://bugzilla.maptools.org/show_bug.cgi?id=2316 1668 16692011-04-09 Bob Friesenhahn <[email protected]> 1670 1671 * libtiff 4.0.0beta7 released. 1672 16732011-04-09 Bob Friesenhahn <[email protected]> 1674 1675 * configure.ac: Should use AC_CANONICAL_HOST since host specifies 1676 the run-time target whereas target is used to specify the final 1677 output target if the package is a build tool (like a compiler), 1678 which libtiff is not. Resolves libtiff bug 2307 "Use 1679 AC_CANONICAL_HOST macro". 1680 16812011-04-02 Bob Friesenhahn <[email protected]> 1682 1683 * configure.ac: Support configuring TIFF_INT64_FORMAT and 1684 TIFF_UINT64_FORMAT appropriately for MinGW32. 1685 1686 * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32 1687 printf conventions for 64-bit types because it uses the WIN32 CRT. 1688 1689 * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c, 1690 tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32 1691 printf conventions for 64-bit types because it uses the WIN32 CRT. 1692 1693 * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not 1694 understood by WIN32 CRT. 1695 1696 * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC. 1697 1698 * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since 1699 it is much more portable. Tmpfile is included in ISO/IEC 1700 9899:1990 and the WIN32 CRT. 1701 17022011-03-26 Frank Warmerdam <[email protected]> 1703 1704 * tools/tiffset.c: add -d and -sd switches to allow operation on 1705 a particular directory, not just the first (jef). 1706 17072011-03-21 Frank Warmerdam <[email protected]> 1708 1709 * libtiff/tif_thunder.c: Correct potential buffer overflow with 1710 thunder encoded files with wrong bitspersample set. The libtiff 1711 development team would like to thank Marin Barbella and TippingPoint's 1712 Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004, 1713 CVE-2011-1167). 1714 http://bugzilla.maptools.org/show_bug.cgi?id=2300 1715 17162011-03-10 Frank Warmerdam <[email protected]> 1717 1718 * libtiff/tif_fax3.h: Fix to last change allowing zero length 1719 runs at the start of a scanline - needed for legal cases. 1720 17212011-03-02 Frank Warmerdam <[email protected]> 1722 1723 * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 1724 a move left. Without this, a malicious input file can generate an 1725 indefinitely large series of runs without a0 ever reaching the right 1726 margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192. 1727 This is a modified version of a patch proposed by Drew Yao of Apple 1728 Product Security. It adds an unexpected() report, and disallows the 1729 equality case, since emitting a run without increasing a0 still allows 1730 buffer overrun. 1731 17322011-02-23 Frank Warmerdam <[email protected]> 1733 1734 * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296) 1735 1736 * tools/tiff2rgba.c: close source file on error to make leak 1737 detection easier. 1738 1739 * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails. 1740 1741 http://bugzilla.maptools.org/show_bug.cgi?id=2295 1742 17432011-02-22 Frank Warmerdam <[email protected]> 1744 1745 * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ 1746 _SUPPORT) 1747 17482011-02-18 Frank Warmerdam <[email protected]> 1749 1750 * configure.ac, configure: Added support for --enable-chunky-strip-read 1751 configure option to enable the experimental feature from a couple 1752 months ago for reading big strips in chunks. 1753 1754 * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 1755 tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c: 1756 Implement optional support for deferring the load of strip/tile 1757 offset and size tags for optimized scanning of directories. Enabled 1758 with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD 1759 #define in tif_config.h). 1760 17612011-02-11 Frank Warmerdam <[email protected]> 1762 1763 * libtiff/tif_print.c: remove unused variable. 1764 17652011-02-09 Frank Warmerdam <[email protected]> 1766 1767 * libtiff/tif_win32.c: avoid error/warning buffer overrun problem 1768 with non-console (popup message) builds on win32. 1769 1770 http://bugzilla.maptools.org/show_bug.cgi?id=2293 1771 17722011-01-24 Olivier Paquet <[email protected]> 1773 1774 * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c, 1775 tif_print.c, tiff.h, tiffiop.h} : Added support for 1776 TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different 1777 values for each sample. Presents the min/max of all samples by default for 1778 compatibility. TIFFSetField/TIFFGetField can be made to handle those tags 1779 as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag. 1780 http://www.asmail.be/msg0055458208.html 1781 17822011-01-06 Frank Warmerdam <[email protected]> 1783 1784 * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 1785 maintained. 1786 1787 * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 1788 for CHUNKY_STRIP_READ_SUPPORT. 1789 1790 * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained 1791 during JPEGPreDecode and JPEGDecode calls. 1792 * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 1793 as compression formats like JPEG keep 16 lines interleaved in a sense 1794 and might need to touch quite a bit of data. 1795 1796 http://trac.osgeo.org/gdal/ticket/3894 1797 17982011-01-03 Lee Howard <[email protected]> 1799 1800 * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images 1801 caused by commit on 2010-12-14. Submitted by e-mail from 1802 Even Rouault <[email protected]> 1803 18042010-12-31 Olivier Paquet <[email protected]> 1805 1806 * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE. 1807 http://bugzilla.maptools.org/show_bug.cgi?id=2266 1808 18092010-12-23 Andrey Kiselev <[email protected]> 1810 1811 * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the 1812 compression level parameter (preset) for Deflate and LZMA encoders, 1813 e.g "-c lzma:p1" or "-c zip:p9". 1814 1815 * libtiff/tif_lzma.c: Properly set the LZMA2 compression level 1816 (preset) in LZMAVSetField(). 1817 18182010-12-18 Bob Friesenhahn <[email protected]> 1819 1820 * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to 1821 Makefile. 1822 18232010-12-14 Andrey Kiselev <[email protected]> 1824 1825 * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h, 1826 tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new 1827 TIFF compression scheme LZMA reserving a new value 34925 for 1828 Compression tag. As per 1829 bug http://bugzilla.maptools.org/show_bug.cgi?id=2221 1830 18312010-12-14 Lee Howard <[email protected]> 1832 1833 * libtiff/tif_dirread.c: tolerate some cases where 1834 FIELD_COLORMAP is missing 1835 http://bugzilla.maptools.org/show_bug.cgi?id=2189 1836 18372010-12-14 Lee Howard <[email protected]> 1838 1839 * libtiff/tif_read.c: change read_ahead to tmsize_t 1840 http://bugzilla.maptools.org/show_bug.cgi?id=2222 1841 18422010-12-14 Lee Howard <[email protected]> 1843 1844 * configure.ac, libtiff/Makefile.am: Build tif_win32.c on 1845 Windows except on Cygwin 1846 http://bugzilla.maptools.org/show_bug.cgi?id=2224 1847 18482010-12-14 Lee Howard <[email protected]> 1849 1850 * tools/gif2tiff.c: fix buffer overrun 1851 http://bugzilla.maptools.org/show_bug.cgi?id=2270 1852 18532010-12-14 Lee Howard <[email protected]> 1854 1855 * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order 1856 to improve compatibility with various viewers 1857 submitted by e-mail from Dwight Kelly <[email protected]> 1858 18592010-12-13 Lee Howard <[email protected]> 1860 1861 * tools/fax2ps.c: be consistent with page-numbering 1862 http://bugzilla.maptools.org/show_bug.cgi?id=2225 1863 18642010-12-13 Lee Howard <[email protected]> 1865 1866 * libtiff/tif_color.c: prevent crash in handling bad TIFFs 1867 resolves CVE-2010-2595 1868 http://bugzilla.maptools.org/show_bug.cgi?id=2208 1869 18702010-12-13 Lee Howard <[email protected]> 1871 1872 * tools/tiffcrop.c: new release by Richard Nolde 1873 http://bugzilla.maptools.org/show_bug.cgi?id=2004 1874 18752010-12-12 Lee Howard <[email protected]> 1876 1877 * tools/tiff2pdf.c: fix colors for images with RGBA 1878 interleaved data 1879 http://bugzilla.maptools.org/show_bug.cgi?id=2250 1880 18812010-12-12 Lee Howard <[email protected]> 1882 1883 * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files 1884 http://bugzilla.maptools.org/show_bug.cgi?id=2164 1885 18862010-12-11 Lee Howard <[email protected]> 1887 1888 * tools/tiff2pdf.c: remove invalid duplication for Lab 1889 http://bugzilla.maptools.org/show_bug.cgi?id=2162 1890 18912010-12-11 Lee Howard <[email protected]> 1892 1893 * libtiff/tif_jpeg.c: fix use of clumplines calculation 1894 http://bugzilla.maptools.org/show_bug.cgi?id=2149 1895 18962010-12-11 Lee Howard <[email protected]> 1897 1898 * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp() 1899 http://bugzilla.maptools.org/show_bug.cgi?id=2118 1900 19012010-12-11 Lee Howard <[email protected]> 1902 1903 * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c, 1904 libtiff/tif_zip.c: fix build errors for VC6 1905 http://bugzilla.maptools.org/show_bug.cgi?id=2105 1906 19072010-12-11 Lee Howard <[email protected]> 1908 1909 * libtiff/tif_stream.cxx: warnings cleanup 1910 http://bugzilla.maptools.org/show_bug.cgi?id=2091 1911 * libtiff/tif_dirread.c: warnings cleanup 1912 http://bugzilla.maptools.org/show_bug.cgi?id=2092 1913 19142010-12-11 Lee Howard <[email protected]> 1915 1916 * tools/tiff2pdf.c: add fill-page option 1917 http://bugzilla.maptools.org/show_bug.cgi?id=2051 1918 19192010-12-11 Lee Howard <[email protected]> 1920 1921 * libtiff/tif_dirread.c: modify warnings 1922 http://bugzilla.maptools.org/show_bug.cgi?id=2016 1923 19242010-12-11 Lee Howard <[email protected]> 1925 1926 * libtiff/tif_ojpeg.c: fix buffer overflow on problem data 1927 http://bugzilla.maptools.org/show_bug.cgi?id=1999 1928 19292010-12-11 Lee Howard <[email protected]> 1930 1931 * tools/tiffinfoce.c: strip byte counts are uint64* now 1932 19332010-12-11 Lee Howard <[email protected]> 1934 1935 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero 1936 or missing byte-count tag 1937 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count 1938 per http://bugzilla.maptools.org/show_bug.cgi?id=1996 1939 19402010-12-08 Lee Howard <[email protected]> 1941 1942 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed 1943 TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994 1944 19452010-12-06 Lee Howard <[email protected]> 1946 1947 * libtiff/tif_open.c: Fix mode check before opening a file. 1948 http://bugzilla.maptools.org/show_bug.cgi?id=1906 1949 19502010-11-27 Bob Friesenhahn <[email protected]> 1951 1952 * libtiff-4.pc.in: Added libtiff pkg-config .pc file support. 1953 Patch by Vincent Torri. 1954 19552010-10-21 Frank Warmerdam <[email protected]> 1956 1957 * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler. 1958 1959 * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf. 1960 1961 * libtiff/libtiff.def: export _TIFFCheckMalloc for tools. 1962 19632010-09-25 Lee Howard <[email protected]> 1964 1965 * tools/tiff2ps.c: improvements and enhancements from Richard Nolde 1966 with additional command line options for Document Title, 1967 Document Creator, and Page Orientation 1968 19692010-07-13 Bob Friesenhahn <[email protected]> 1970 1971 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 1972 potentially unterminated buffer due to using an exceptionally long 1973 file name. 1974 19752010-07-08 Andrey Kiselev <[email protected]> 1976 1977 * tools/tiff2pdf.c: Fixed ID buffer filling in 1978 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 1979 19802010-07-07 Andrey Kiselev <[email protected]> 1981 1982 * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 1983 to expected value as the warning message suggests. As per bug 1984 http://bugzilla.maptools.org/show_bug.cgi?id=1963 1985 19862010-07-06 Andrey Kiselev <[email protected]> 1987 1988 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 1989 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 1990 which should be set by value. 1991 1992 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 1993 and _TIFFFieldWithName() if the tag is not found in the tag table. 1994 This should be normal situation and returned NULL value should be 1995 properly handled by the caller. 1996 19972010-07-02 Andrey Kiselev <[email protected]> 1998 1999 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 2000 integer type conversions. As per bug 2001 http://bugzilla.maptools.org/show_bug.cgi?id=2207 2002 2003 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 2004 WhitePoint tag as per bug 2005 http://bugzilla.maptools.org/show_bug.cgi?id=2042 2006 2007 * libtiff/tif_getimage.c: Check the number of samples per pixel when 2008 working with YCbCr image in PickContigCase(). As per bug 2009 http://bugzilla.maptools.org/show_bug.cgi?id=2216 2010 2011 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 2012 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 2013 we don't need any post-processing. That helps to reset the hook if we 2014 previously set this field to some other value and the hook was 2015 initialized accordingly. As per bug 2016 http://bugzilla.maptools.org/show_bug.cgi?id=2035 2017 20182010-07-01 Andrey Kiselev <[email protected]> 2019 2020 * tools/tiffgt.c: Properly check the raster buffer allocations for 2021 integer overflows. As per bug 2022 http://bugzilla.maptools.org/show_bug.cgi?id=2108 2023 2024 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 2025 upstream. 2026 2027 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 2028 multiply_32() and multiply_64() functions into tif_aux.c file and 2029 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 2030 20312010-06-30 Andrey Kiselev <[email protected]> 2032 2033 * tools/tiff2pdf.c: Better generation of ID field in 2034 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 2035 2036 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 2037 converting JPEG encoded tiles. 2038 2039 * tools/tiff2pdf.c: Better handling of string fields, use static 2040 string buffers instead of dynamically allocated, use strncpy() instead 2041 of strcpy(), control the string lengths. 2042 20432010-06-25 Andrey Kiselev <[email protected]> 2044 2045 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 2046 referencing to uninitialized memory in some cases (e.g. when tile size 2047 set bigger than the image size). 2048 20492010-06-15 Bob Friesenhahn <[email protected]> 2050 2051 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 2052 subsampled data since tiffcrop currently doesn't support it. Fix 2053 JPEG support. 2054 20552010-06-13 Frank Warmerdam <[email protected]> 2056 2057 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 2058 2059 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 2060 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 2061 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 2062 size is larger. Also, there are a bunch of places that try to 2063 memset() a malloc'd buffer before checking for malloc failure, which 2064 would result in core dump if there actually were a failure. (#2211) 2065 20662010-06-11 Bob Friesenhahn <[email protected]> 2067 2068 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 2069 avoid compiler warnings if parameter types are not sign 2070 consistent. 2071 2072 * libtiff 4.0.0alpha6 released. 2073 2074 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 2075 European page size dimensions. Added an option to allow the user 2076 to specify a custom page size on the command line. Fix the case 2077 where a page size specified with a fractional part was being 2078 coerced to an integer by retyping the variables that define the 2079 paper size. 2080 2081 * html/index.html: Update for the 3.9.3 release. 2082 2083 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 2084 YCbCr subsampled data since tiffcp currently doesn't support it. 2085 http://bugzilla.maptools.org/show_bug.cgi?id=2097 2086 2087 * Update libtool to version 2.2.10. 2088 20892010-06-10 Bob Friesenhahn <[email protected]> 2090 2091 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 2092 multiplier is zero. 2093 20942010-06-09 Bob Friesenhahn <[email protected]> 2095 2096 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 2097 CVE-2010-1411 was not complete. 2098 2099 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 2100 multiply two integers. Returns zero if there is an integer 2101 overflow. 2102 2103 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 2104 is reported when reading the input file. 2105 21062010-06-08 Bob Friesenhahn <[email protected]> 2107 2108 * Update libtool to version 2.2.8. 2109 2110 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 2111 buffer due to integer overflow in TIFFroundup() and several other 2112 potential overflows. In conjunction with the fix to TIFFhowmany(), 2113 fixes CVE-2010-1411. 2114 2115 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 2116 result in an integer overflow. This causes TIFFroundup() to also 2117 return zero if there would be an integer overflow. 2118 2119 * contrib: Add an emacs formatting mode footer to all source files 2120 so that emacs can be effectively used. 2121 21222010-06-03 Oliver Chen Feng <[email protected]> 2123 2124 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 2125 file PAGENUMBER value in sequence for users who care the page 2126 sequence, this will also prevent tiff2pdf from creating pdf file from 2127 the merged tiff file with wrong page sequence. 2128 21292010-05-08 Olivier Paquet <[email protected]> 2130 2131 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 2132 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 2133 * libtiff/tif_dirinfo.c: Use correct set_field_type for 2134 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 2135 http://bugzilla.maptools.org/show_bug.cgi?id=2192 2136 21372010-05-07 Frank Warmerdam <[email protected]> 2138 2139 * libtiff/tif_jpeg.c: Ensure that quality is always set in 2140 JPEGPreEncode(), not just when we want to output local tables. 2141 Otherwise the quality used during compression may not be right and 2142 might not match the tables in the tables tag. This bug only occurs 2143 when seeking between directories in the midst of writing blocks. 2144 http://trac.osgeo.org/gdal/ticket/3539 2145 21462010-05-06 Andrey Kiselev <[email protected]> 2147 2148 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 2149 Regenerated from the source. 2150 21512010-05-05 Olivier Paquet <[email protected]> 2152 2153 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 2154 had stopped working. Also made it always print 6 floats instead of 2155 2*SamplesPerPixel. 2156 http://bugzilla.maptools.org/show_bug.cgi?id=2191 2157 http://bugzilla.maptools.org/show_bug.cgi?id=2186 2158 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 2159 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 2160 21612010-05-05 Frank Warmerdam <[email protected]> 2162 2163 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 2164 if the jpeg table was written. This is a fix for the last fix on 04-21. 2165 21662010-04-21 Frank Warmerdam <[email protected]> 2167 2168 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 2169 JPEGSetupEncode() is called if the tables already seem to be 2170 established. This prevents spurious updates and rewriting of 2171 directories with jpegtables when doing updates to existing images. 2172 http://trac.osgeo.org/gdal/ticket/3539 2173 21742010-04-20 Olivier Paquet <[email protected]> 2175 2176 * libtiff/tif_dirinfo.c: Use correct set_field_type for 2177 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 2178 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 2179 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 2180 http://bugzilla.maptools.org/show_bug.cgi?id=2139 2181 21822010-04-10 Bob Friesenhahn <[email protected]> 2183 2184 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 2185 when the tag count value is zero. Error handling is still a 2186 regression since in 3.9.2, empty tags are skipped (with a warning) 2187 rather than returning a hard error and refusing to read the file. 2188 2189 * tools/ppm2tiff.c (main): While case for parsing comment line 2190 requires extra parenthesis to work as expected. Reported by 2191 Thomas Sinclair. 2192 21932010-04-02 Frank Warmerdam <[email protected]> 2194 2195 * libtiff/tif_read.c (primarily): Add support for 2196 CHUNKY_STRIP_READ_SUPPORT where large strips are 2197 read in chunks for applications using TIFFReadScanline(). 2198 This is intended to make it more practical work with very 2199 large compressed one-strip files. Feature is off by default. 2200 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 2201 http://trac.osgeo.org/gdal/ticket/3514 2202 22032010-03-31 Frank Warmerdam <[email protected]> 2204 2205 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 2206 directories so previously placed directories will be migrated to 2207 the end of file if needed. 2208 22092010-03-30 Frank Warmerdam <[email protected]> 2210 2211 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 2212 to support operating on strips/tiles of more than 256MB. 2213 http://trac.osgeo.org/gdal/ticket/3512 2214 22152010-03-10 Bob Friesenhahn <[email protected]> 2216 2217 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 2218 that it is clearly a memory allocation error message, and also 2219 includes the size of the allocation request. 2220 22212010-02-22 Lee Howard <[email protected]> 2222 2223 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 2224 the JPEG TIFF as is is not required in order to prevent it from 2225 being unused and filled with invalid data. (Leave it to be 2226 generated by later activity.) 2227 http://bugzilla.maptools.org/show_bug.cgi?id=2135 2228 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 2229 data rather than skipping them. This fixes the ability to view in 2230 Acrobat Reader, Evince, and Ghostscript. 2231 http://bugzilla.maptools.org/show_bug.cgi?id=2135 2232 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 2233 strips. 2234 http://bugzilla.maptools.org/show_bug.cgi?id=2029 2235 22362009-12-03 Frank Warmerdam <[email protected]> 2237 2238 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 2239 Made so that when working with downsampled images a stub function 2240 reporting an error is used for tif_decoderow. We cannot meaningfully 2241 support reading scanlines in this situation. (#1936) 2242 2243 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 2244 resetting of the upsampling values (gdal:#3259). 2245 http://bugzilla.maptools.org/show_bug.cgi?id=1936 2246 22472009-11-30 Frank Warmerdam <[email protected]> 2248 2249 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 2250 tools/ras2tiff.c: Fix resource leaks on error. 2251 http://bugzilla.maptools.org/show_bug.cgi?id=2121 2252 2253 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 2254 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 2255 of as a custom(generic) field to avoid a potential reentrancy problem. 2256 http://bugzilla.maptools.org/show_bug.cgi?id=2125 2257 2258 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 2259 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 2260 const, and display_sRGB static and const. 2261 http://bugzilla.maptools.org/show_bug.cgi?id=2124 2262 22632009-11-04 Bob Friesenhahn <[email protected]> 2264 2265 * libtiff 4.0.0alpha5 released. 2266 22672009-11-03 Bob Friesenhahn <[email protected]> 2268 2269 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 2270 version has undergone substantial testing with arbitrary sample 2271 bit depths. Also eliminates GCC compilation warnings. 2272 22732009-11-02 Bob Friesenhahn <[email protected]> 2274 2275 * port/libport.h: Add extern declarations for getopt standard 2276 globals. 2277 22782009-10-31 Bob Friesenhahn <[email protected]> 2279 2280 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 2281 noticed in 64-bit build of libtiff with Visual Studio 2005. 2282 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 2283 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 2284 2285 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 2286 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 2287 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 2288 http://bugzilla.maptools.org/show_bug.cgi?id=2068 2289 22902009-10-29 Bob Friesenhahn <[email protected]> 2291 2292 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 2293 pointer" warnings. 2294 22952009-10-28 Bob Friesenhahn <[email protected]> 2296 2297 * html/tools.html: Add manual page links, and a summary 2298 description of tiffcrop. 2299 23002009-10-07 Bob Friesenhahn <[email protected]> 2301 2302 * configure.ac: x86_64 should use the same fill order as i386. 2303 23042009-09-24 Bob Friesenhahn <[email protected]> 2305 2306 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 2307 Nolde. Major updates to add significant functionality for reading 2308 and writing tile based images with bit depths not a multiple of 8 2309 which cannot be handled by tiffcp. 2310 23112009-09-03 Bob Friesenhahn <[email protected]> 2312 2313 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 2314 do_fancy_upsampling=FALSE in order to read raw data. Resolves 2315 "Bug 2090 - OJPEG crash with libjpeg v7". 2316 http://bugzilla.maptools.org/show_bug.cgi?id=2090 2317 23182009-09-03 Frank Warmerdam <[email protected]> 2319 2320 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 2321 interface when stoponerror is set. 2322 http://bugzilla.maptools.org/show_bug.cgi?id=2071 2323 23242009-08-30 Bob Friesenhahn <[email protected]> 2325 2326 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 2327 fix build with gcc when using the "-Wformat 2328 -Werror=format-security" flags. 2329 23302009-08-29 Bob Friesenhahn <[email protected]> 2331 2332 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 2333 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 2334 utilities tests. 2335 23362009-08-28 Bob Friesenhahn <[email protected]> 2337 2338 * tools/tiffinfo.c: tiffinfo should return error status to the 2339 caller. Register a private error callback to accomplish that. 2340 2341 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 2342 PNM formats so that we will be able to test more of the tools. 2343 While adding these test images I notice that bmp2tiff and gif2tiff 2344 only support ancient versions of their respective formats. 2345 23462009-08-27 Bob Friesenhahn <[email protected]> 2347 2348 * libtiff 4.0.0alpha4 released. 2349 2350 * HOWTO-RELEASE: Improved release instructions. 2351 23522009-08-24 Bob Friesenhahn <[email protected]> 2353 2354 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 2355 fixes for "Bug 2023 - nroff errors in manual pages". 2356 http://bugzilla.maptools.org/show_bug.cgi?id=2023 2357 2358 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 2359 CVE-2009-2347 libtiff: integer overflows in various inter-color 2360 space conversion tools". 2361 http://bugzilla.maptools.org/show_bug.cgi?id=2079 2362 2363 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 2364 Berkenbilt for "Bug 2024 - possible null pointer dereference with 2365 one-line fix". 2366 http://bugzilla.maptools.org/show_bug.cgi?id=2024 2367 2368 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 2369 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 2370 segfault after setting tdir_tag = IGNORE". 2371 http://bugzilla.maptools.org/show_bug.cgi?id=1895 2372 23732009-08-23 Bob Friesenhahn <[email protected]> 2374 2375 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 2376 tiffcrop.sh into a collection of many specific tests. Re-wrote 2377 all of the existing tests to be based on some simple shell 2378 functions. Make distcheck works again. 2379 2380 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 2381 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 2382 tests under valgrind. 2383 23842009-08-21 Bob Friesenhahn <[email protected]> 2385 2386 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 2387 build. 2388 2389 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 2390 actually activated since it needed to be enabled in this 2391 Makefile.am. Also activated parallel-tests mode since it offers 2392 useful features such as per-test .log files and a summary test 2393 report .log file. 2394 23952009-08-20 Bob Friesenhahn <[email protected]> 2396 2397 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 2398 libtool 2.2.6. Enabled support for silent build rules 2399 (--enable-silent-rules or 'make V=0') and colorized tests. 2400 2401 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 2402 24032009-06-30 Frank Warmerdam <[email protected]> 2404 2405 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 2406 2407 * tools/tiffcp.c: add -c sgilog support. 2408 2409 * libtiff/tif_luv.c: correct return codes from encoderow to be 2410 1 on success instead of zero. 2411 http://bugzilla.maptools.org/show_bug.cgi?id=2069 2412 2413 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 2414 #1085 for a better underflow fix that errors properly. 2415 http://bugzilla.maptools.org/show_bug.cgi?id=2065 2416 http://bugzilla.maptools.org/show_bug.cgi?id=1985 2417 24182009-06-26 Frank Warmerdam <[email protected]> 2419 2420 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 2421 fails on oddly sized 12bit jpeg compressed ycbcr images. 2422 24232009-06-22 Frank Warmerdam <[email protected]> 2424 2425 * libtiff/tif_lzw.c: Fix buffer underflow bug. 2426 http://bugzilla.maptools.org/show_bug.cgi?id=2065 2427 24282009-06-21 Frank Warmerdam <[email protected]> 2429 2430 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 2431 for dual mode 8/12 bit jpeg support. 2432 24332009-06-03 Frank Warmerdam <[email protected]> 2434 2435 * libtiff/tif_write.c: do not override the planar configuration to be 2436 contig for one sample files if planar configuration is already set. 2437 http://bugzilla.maptools.org/show_bug.cgi?id=2057 2438 24392009-06-02 Frank Warmerdam <[email protected]> 2440 2441 * libtiff/libtiff.def: Add TIFFUnsetField. 2442 24432009-05-03 Frank Warmerdam <[email protected]> 2444 2445 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 2446 error reports to use "%s" as format string. 2447 http://trac.osgeo.org/gdal/ticket/2976 2448 24492009-03-12 Frank Warmerdam <[email protected]> 2450 2451 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 2452 for some codecs (#2020). 2453 24542009-02-12 Frank Warmerdam <[email protected]> 2455 2456 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 2457 http://bugzilla.maptools.org/show_bug.cgi?id=2005 2458 24592009-02-09 Frank Warmerdam <[email protected]> 2460 2461 * libtiff/tif_dirread.c: Improve allocation safety when allocated 2462 buffer for large tags. (#1998) Related to (#1993) 2463 24642009-02-06 Frank Warmerdam <[email protected]> 2465 2466 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 2467 test suite should pass. 2468 24692009-02-05 Frank Warmerdam <[email protected]> 2470 2471 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 2472 but at the 2GB boundary to avoid overflow on 32bit systems. 2473 http://bugzilla.maptools.org/show_bug.cgi?id=1993 2474 2475 * libtiff/tif_dirread.c: Remove some assertions that blow due to 2476 corrupt files rather than in response to library internal 2477 inconsistencies. 2478 http://bugzilla.maptools.org/show_bug.cgi?id=1995 2479 http://bugzilla.maptools.org/show_bug.cgi?id=1991 2480 2481 * libtiff/tif_dirread.c: Fixed testing for failed result from 2482 TIFFReadDirectoryFindFieldInfo(). 2483 http://bugzilla.maptools.org/show_bug.cgi?id=1992 2484 24852009-01-23 Frank Warmerdam <[email protected]> 2486 2487 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 2488 http://bugzilla.maptools.org/show_bug.cgi?id=1911 2489 2490 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 2491 2492 http://bugzilla.maptools.org/show_bug.cgi?id=1924 2493 2494 * tools/tiffcrop.c: initialize xres/yres values. 2495 2496 * test/*.sh - default ${srcdir} to local directory. 2497 2498 * test/common.sh - start verbose mode after common settings. 2499 2500 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 2501 avoid type mismatches on different platforms. 2502 http://bugzilla.maptools.org/show_bug.cgi?id=1889 2503 25042009-01-22 Frank Warmerdam <[email protected]> 2505 2506 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 2507 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 2508 2509 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 2510 defined, primarily to reduce prototype warnings on windows. 2511 2512 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 2513 about unused parameters, and uninitialized variables. 2514 25152009-01-21 Bob Friesenhahn <[email protected]> 2516 2517 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 2518 order to trace full execution detail while executing the test suite. 2519 25202009-01-20 Frank Warmerdam <[email protected]> 2521 2522 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 2523 25242009-01-20 Bob Friesenhahn <[email protected]> 2525 2526 * test/Makefile.am (CLEANFILES): Make sure that test output files 2527 are removed by 'make clean' 2528 2529 * Update autotools for 4.0.0 beta3 2530 2531 * 4.0.0 beta3 produced. 2532 25332009-01-12 Bob Friesenhahn <[email protected]> 2534 2535 * test/tiffcrop.sh: New test script for tiffcrop from Richard 2536 Nolde. 2537 2538 * tools/tiff2ps.c: Remove spurious message to stderr. 2539 25402009-01-11 Bob Friesenhahn <[email protected]> 2541 2542 * tools/tiff2ps.c: Incorporated significant functionality update 2543 from Richard Nolde. In particular, support for rotating the image 2544 by 90, 180, 270, and 'auto' has been added. 2545 2546 * man/tiffcrop.1: Incorporated documentation updates from Richard 2547 Nolde. 2548 2549 * tools/tiffcrop.c: Incorporated significant functionality update 2550 from Richard Nolde. 2551 25522008-12-31 Bob Friesenhahn <[email protected]> 2553 2554 * libtiff/tiffio.h: GCC will now validate format specifications 2555 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 2556 TIFFWarningExt() in order to reveal bugs. 2557 2558 * Many fixes throughout to work better as a 64-bit build. 2559 25602008-12-30 Bob Friesenhahn <[email protected]> 2561 2562 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 2563 tags now require 64-bit parameter rather than 32-bit. 2564 2565 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 2566 64-bit values. 2567 2568 * tools/thumbnail.c: Eliminate crash noticed while running test 2569 suite. 2570 25712008-12-29 Bob Friesenhahn <[email protected]> 2572 2573 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 2574 Initialize stack variables to avoid compiler warning. 2575 2576 * tools/tiffinfoce.c (main): Use toff_t for offset type when 2577 retrieving offset of EXIF IFD. 2578 2579 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 2580 TIFFClientOpen() callback and other external function definitions. 2581 2582 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 2583 type now. Fixes crash when dumping files containing an EXIF IFD. 2584 2585 * m4/libtool.m4: Update to libtool 2.2.6. 2586 25872008-12-21 Frank Warmerdam <[email protected]> 2588 2589 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 2590 2591 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 2592 strip for the last partial strip in a jpeg compressed file. 2593 http://bugzilla.maptools.org/show_bug.cgi?id=1981 2594 25952008-10-29 Frank Warmerdam <[email protected]> 2596 2597 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 2598 we take the shortcut to only update the strip/tile offsets in place. 2599 http://trac.osgeo.org/gdal/ticket/2621 2600 26012008-10-21 Andrey Kiselev <[email protected]> 2602 2603 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 2604 the older versions retained). 2605 26062008-10-09 Frank Warmerdam <[email protected]> 2607 2608 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 2609 IPP enabled version of libjpeg from Intel. 2610 http://bugzilla.maptools.org/show_bug.cgi?id=1951 2611 26122008-09-05 Andrey Kiselev <[email protected]> 2613 2614 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 2615 Required for libtiff 4.0. 2616 2617 * tools/tiffsplit.c: Use dynamically allocated array instead of static 2618 when constructing output file names. 2619 26202008-09-03 Andrey Kiselev <[email protected]> 2621 2622 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 2623 doing the filename/path construction. 2624 2625 * tools/tiff2pdf.c: More appropriate format string in 2626 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 2627 2628 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 2629 2630 http://bugzilla.maptools.org/show_bug.cgi?id=1929 2631 2632 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 2633 CVE-2008-2327 security issue. 2634 26352008-09-01 Frank Warmerdam <[email protected]> 2636 2637 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 2638 2639 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 2640 depending on whether the file is bigtiff or classic tiff. 2641 http://bugzilla.maptools.org/show_bug.cgi?id=1917 2642 26432008-08-12 Edward Lam <[email protected]> 2644 2645 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 2646 consistent (__int64) casting when testing if _lseeki64 has 2647 successfully seeked as requested. This is necessary for large 2648 file support to work since off_t is only 32-bit. 2649 26502008-07-29 Frank Warmerdam <[email protected]> 2651 2652 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 2653 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 2654 with control logic to return runtime errors (c/o Even Rouault) (#1927). 2655 26562008-06-17 Frank Warmerdam <[email protected]> 2657 2658 * tools/tiffcrop.c: Fix some portability problems. 2659 2660 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 2661 used in tif_jpeg.c. 2662 2663 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 2664 as TIFFOpen(). 2665 26662008-06-01 Frank Warmerdam <[email protected]> 2667 2668 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 2669 like Sparc/Solaris. 2670 http://bugzilla.maptools.org/show_bug.cgi?id=1892 2671 26722008-05-27 Frank Warmerdam <[email protected]> 2673 2674 * libtiff.def: Add TIFFFindField 2675 http://bugzilla.maptools.org/show_bug.cgi?id=1891 2676 26772008-05-26 Frank Warmerdam <[email protected]> 2678 2679 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 2680 2681 * li2008-04-15 Andrey Kiselev <[email protected]> 2682 2683btiff/tif_win32.c: Replace custom Win32 memory api with generic 2684 POSIX one. No apparent value to use of GlobalAlloc() in the modern 2685 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 2686 2687 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 2688 in windows version (care of Edward Lam). 2689 26902008-05-24 Frank Warmerdam <[email protected]> 2691 2692 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 2693 compression codec codes. 2694 2695 * tif_dirwrite.c: fix potential memory leak. 2696 2697 * tif_dirread.c: Fix unchecked malloc result. 2698 26992008-05-24 Bob Friesenhahn <[email protected]> 2700 2701 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 2702 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 2703 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 2704 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 2705 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 2706 suggestions from Lee Howard posted to the tiff list on 13 Sep 2707 2007. 2708 27092008-05-23 Frank Warmerdam <[email protected]> 2710 2711 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 2712 possible runtime problem reported by coverity. 2713 2714 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 2715 2716 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 2717 http://bugzilla.maptools.org/show_bug.cgi?id=1888 2718 2719 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 2720 2721 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 2722 2723 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 2724 Cleanup scanline allocation to avoid coverity warning. 2725 2726 * tools/thumbnail.c: Check for TIFFOpen() failure. 2727 27282008-05-18 Frank Warmerdam <[email protected]> 2729 2730 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 2731 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 2732 why this is needed. 2733 27342008-05-09 Bob Friesenhahn <[email protected]> 2735 2736 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 2737 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 2738 27392008-04-15 Andrey Kiselev <[email protected]> 2740 2741 * test/: Test suite updated. Everything is passed now. 2742 2743 * libtiff/tif_dirinfo.c: Fixed description of the 2744 TIFFTAG_NUMBEROFINKS tag. 2745 27462008-04-14 Andrey Kiselev <[email protected]> 2747 2748 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 2749 Get rid of some of "dereferencing type-punned" warnings by converting 2750 tdir_offset field of TIFFDirEntry structure into union. 2751 27522008-04-10 Andrey Kiselev <[email protected]> 2753 2754 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 2755 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 2756 from the public interface. Type of its 'count' parameter changed 2757 from uint32 to tmsize_t. 2758 2759 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 2760 of the tiff structure have the size_t type instead of uint32. 2761 27622008-04-09 Andrey Kiselev <[email protected]> 2763 2764 * tools/tiffdump.c: Added support for MSVS 6.0. 2765 2766 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 2767 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 2768 point values on MSVS 6.0 platform. 2769 27702008-03-14 Frank Warmerdam <[email protected]> 2771 2772 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 2773 TIFFReadDirEntryArray() since they are interfering with seemingly 2774 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 2775 27762008-02-09 Joris Van Damme <[email protected]> 2777 2778 * tif_dirread.c: Added handling for the case of number of values for 2779 PageNumber tag different from 2 (previously resulted in an assert 2780 indicating lack of handling and was forgotten about) 2781 27822008-02-01 Frank Warmerdam <[email protected]> 2783 2784 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 2785 the actual jpeg data stream if the first strip/tile has zero size. 2786 This is the case when GDAL creates a new file with zero sizes, closes 2787 and reopens it. 2788 27892008-01-07 Frank Warmerdam <[email protected]> 2790 2791 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 2792 27932008-01-01 Frank Warmerdam <[email protected]> 2794 2795 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 2796 2797 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 2798 targets. 2799 2800 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 2801 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 2802 (x64). 2803 2804 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 2805 and TIFFFieldWithName() now return TIFFField pointers instead of 2806 TIFFFieldInfo pointers. 2807 2808 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 2809 exist. This makes it compile again on Windows 2810 2811 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 2812 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 2813 2814 * test/rewrite_tag.c: New test for TIFFRewriteField(). 2815 28162007-12-31 Frank Warmerdam <[email protected]> 2817 2818 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 2819 rewrites one field "on disk" updating an existing directory 2820 entry. Lots of limitations still... 2821 2822 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 2823 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 2824 the strip offset/size values are dirty but nothing else about the 2825 directory is dirty. In flush handle "just stripmaps dirty" as a 2826 special case that just rewrites these values without otherwise 2827 modifying the directory on disk using TIFFRewriteField(). 2828 2829 We also modify logic so that in update mode the directory is not 2830 marked dirty on read, but only when something is changed. This 2831 means we need to keep track of updates to the stripmap stuff in 2832 TIFFAppendToStrip(). 2833 28342007-12-10 Frank Warmerdam <[email protected]> 2835 2836 * tif_jpeg.c: Improve ability to switch between encoding and decoding 2837 in the jpeg code (gdal bug #2033). 2838 28392007-11-23 Frank Warmerdam <[email protected]> 2840 2841 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 2842 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 2843 rawcp/rawcc buffer are for writing and thus may require flushing. 2844 Necessary to distinguish whether they need to be written to disk when 2845 in mixed read/write mode and doing a mixture of writing followed by 2846 reading. http://trac.osgeo.org/gdal/ticket/1758 2847 28482007-11-23 Andrey Kiselev <[email protected]> 2849 2850 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 2851 from Alexey Chupahin. 2852 28532007-11-02 Frank Warmerdam <[email protected]> 2854 2855 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 2856 establishing if an existing tile can be rewritten to the same location 2857 by comparing the current size to all the other blocks in the same 2858 directory. This is dangerous in many situations and can easily 2859 corrupt a file. (observed in esoteric GDAL situation that's hard to 2860 document). This change involves leaving the stripbytecount[] values 2861 unaltered till TIFFAppendToStrip(). Now we only write a block back 2862 to the same location it used to be at if the new data is the same 2863 size or smaller - otherwise we move it to the end of file. 2864 2865 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 2866 data when writing the directory just because we have BEENWRITING at 2867 some point in the past. This was causing odd junk to be written out 2868 in a tile of data when a single tile had an interleaving of reading 2869 and writing with reading last. (highlighted by gdal 2870 autotest/gcore/tif_write.py test 7. 2871 2872 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 2873 modifying callers buffer. 2874 http://trac.osgeo.org/gdal/ticket/1965 2875 2876 * tif_predict.c/h: more fixes related to last item, keeping a 2877 distinct pfunc for encode and decode cases as these were getting 2878 mixed up sometimes. 2879 http://trac.osgeo.org/gdal/ticket/1948 2880 28812007-11-01 Frank Warmerdam <[email protected]> 2882 2883 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 2884 predictor based encoding and decoding works in read-write update 2885 mode properly. 2886 http://trac.osgeo.org/gdal/ticket/1948 2887 28882007-10-24 Joris Van Damme <[email protected]> 2889 2890 * tif_dirread.c: Fixed problem with bogus file triggering 2891 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 2892 ChopUpSingleUncompressedStrip 2893 28942007-10-22 Joris Van Damme <[email protected]> 2895 2896 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 2897 at best, access violation at worst, when subsampled JPEG compressed imagery 2898 is decoded without the JPEG_COLORMODE feature 2899 29002007-10-11 Frank Warmerdam <[email protected]> 2901 2902 * html/index.html: Update "people responsible" section. 2903 29042007-10-05 Frank Warmerdam <[email protected]> 2905 2906 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 2907 as reported on the mailing list. 2908 29092007-10-01 Joris Van Damme <[email protected]> 2910 2911 * changed some more incorrect %lud printf flags to %lu 2912 29132007-09-29 Joris Van Damme <[email protected]> 2914 2915 * tif_dirread.c: Strip chopping interfered badly with uncompressed 2916 subsampled images because it tried to divide subsampled rowblocks, 2917 leading to all sorts of errors throughout the library for these 2918 images. Fixed by making strip chopping divide in row counts that 2919 are a multiple of vertical subsampling value. 2920 29212007-09-28 Joris Van Damme <[email protected]> 2922 2923 * tif_dirread.c: Logical cast working around compiler warning 2924 2925 * tif_read.c: Correction of some error flags and parameter lists 2926 29272007-09-27 Joris Van Damme <[email protected]> 2928 2929 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 2930 when dealing with large bitspersample values, shutting up purification 2931 tools that warn about truncation, though it remains incorrect and 2932 indicates a conceptual problem there. 2933 2934 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 2935 of first IFD) to proper place because it badly interfered with memory 2936 mapping, resulting in mapping flag even with dummy mapping functions 2937 that returned 0 whilst at the same time the mapping tif_size wasn't 2938 set, thus resulting in continuous incorrect beyond-eof errors. 2939 29402007-09-24 Joris Van Damme <[email protected]> 2941 2942 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 2943 inconsistent use of const in tiffFields and exifFields definition 2944 29452007-09-20 Frank Warmerdam <[email protected]> 2946 2947 * tif_dirwrite.c: Always write tile/strip offsets and sizes 2948 using LONG8 type when output format is BigTIFF. The 2949 TIFFWriteDirectoryTagLongLong8Array() function was restructured 2950 accordingly. 2951 2952 * tif_dirread.c: Improvements to error reporting text in 2953 TIFFFetchDirectory(). 2954 29552007-09-19 Bob Friesenhahn <[email protected]> 2956 2957 * test/images: Added a small collection of test images for use by 2958 test programs and scripts. 2959 * test/tiffinfo.sh: A trivial example test script. 2960 * test/common.sh: Added small script for setting the environment 2961 used by script-based tests. 2962 29632007-08-24 Frank Warmerdam <[email protected]> 2964 2965 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 2966 zero when writing directory contents to preserve the ability to 2967 rewrite directories in place, even in the middle of a directory 2968 chain. 2969 2970 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 2971 definitions that are missing. Existing definitions are silently 2972 ignored. 2973 2974 * tif_dirread.c: Add runtime error for fields for which no definition 2975 is found (in addition to an assert for developers) in 2976 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 2977 prudent. 2978 29792007-08-10 Joris Van Damme <[email protected]> 2980 2981 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 2982 from _TIFFRGBAImage structure to revert unwanted ABI change. 2983 29842007-08-10 Joris Van Damme <[email protected]> 2985 2986 * libtiff/tif_win32.c: use SetFilePointer instead of 2987 SetFilePointerEx, as per bug 2988 2989 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 2990 29912007-07-19 Andrey Kiselev <[email protected]> 2992 2993 * libtiff/tif_stream.cxx: Put all callback functions declarations 2994 inside extern "C" block. 2995 2996 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 2997 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 2998 formatter instead of "%lld" with MSVC compiler. 2999 3000 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 3001 _TIFFUInt64ToDouble() functions. 3002 30032007-07-18 Andrey Kiselev <[email protected]> 3004 3005 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 3006 integer constants. 3007 3008 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 3009 remove tif_config.h/tiffconf.h during cleaning. As per bug 3010 3011 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 3012 3013 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 3014 3015 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 3016 30172007-07-13 Andrey Kiselev <[email protected]> 3018 3019 * libtiff 4.0.0alpha released. 3020 30212007-07-12 Andrey Kiselev <[email protected]> 3022 3023 * tools/tiff2pdf.c: Added missed extern optind as per bug 3024 3025 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 3026 3027 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 3028 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 3029 extending scheme completed. 3030 30312007-07-11 Bob Friesenhahn <[email protected]> 3032 3033 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 3034 use standard C++ library size types and attempt to detect overflow 3035 cases. 3036 30372007-07-08 Andrey Kiselev <[email protected]> 3038 3039 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 3040 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 3041 tag extending scheme. Use the new scheme everywhere. 3042 3043 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 3044 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 3045 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 3046 TIFFFIeldInfo structure replaced with TIFFField structure. 3047 TIFFFieldInfo retained for the backward compatibility. 3048 30492007-07-05 Bob Friesenhahn <[email protected]> 3050 3051 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 3052 defined. 3053 30542007-07-04 Andrey Kiselev <[email protected]> 3055 3056 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 3057 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 3058 removed. 3059 3060 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 3061 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 3062 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 3063 These tags are not codec-specific and relate to image content, so 3064 process them as other normal tags. 3065 3066 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 3067 public tiffio.h to private tif_dir.h. 3068 3069 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 3070 outdated. 3071 30722007-07-03 Andrey Kiselev <[email protected]> 3073 3074 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 3075 tif_win3.c}: Obsoleted portability stuff removed. 3076 3077 * tools/tiff2ps.c: Added support 16-bit images as per bug 3078 3079 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 3080 3081 Patch from William Bader. 3082 3083 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 3084 significant upgrade of the whole utility as per bug 3085 3086 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 3087 3088 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 3089 PDF file using TIFFClientOpen() machinery as it is implemented 3090 by Leon Bottou. 3091 30922007-06-26 Bob Friesenhahn <[email protected]> 3093 3094 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 3095 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 3096 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 3097 allow returning -1 for errors. 3098 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 3099 31002007-06-25 Bob Friesenhahn <[email protected]> 3101 3102 * port/strtoull.c: New porting function in case strtoull() is not 3103 available on the target system. 3104 * configure.ac: Add configure support for determining sized types 3105 in a portable way and performing necessary substitutions in 3106 tif_config.h and tiffconf.h. Updated tiff.h to use the new 3107 definitions. 3108 31092007-04-27 Andrey Kiselev <[email protected]> 3110 3111 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 3112 3113 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 3114 31152007-04-07 Andrey Kiselev <[email protected]> 3116 3117 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 3118 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 3119 tif_predict.c, tif_zip.c}: Finally fix bug 3120 3121 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 3122 3123 by introducing _TIFFMergeFieldInfo() returning integer error status 3124 instead of void in case of problems with field merging (e.g., if the 3125 field with such a tag already registered). TIFFMergeFieldInfo() in 3126 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 3127 check returned value. 3128 31292007-04-07 Frank Warmerdam <[email protected]> 3130 3131 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 3132 blocks in TIFF_DownSample_Subsampled() (bug 1542). 3133 31342007-04-06 Frank Warmerdam <[email protected]> 3135 3136 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 3137 will convert from decompressor to compressor or compress to decompress 3138 if required by the force arguments. This works around a problem in 3139 where the JPEGFixupTestSubsampling() may cause a decompressor to 3140 be setup on a directory when later a compressor is required with the 3141 force flag set. Occurs with the addtiffo program for instance. 3142 31432007-04-06 Andrey Kiselev <[email protected]> 3144 3145 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 3146 functionality from Richard Nolde. As per bug 3147 3148 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 3149 31502007-03-28 Frank Warmerdam <[email protected]> 3151 3152 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 3153 31542007-03-17 Joris Van Damme <[email protected]> 3155 3156 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 3157 31582007-03-07 Joris Van Damme <[email protected]> 3159 3160 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 3161 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 3162 factor. This bug is mentioned in: 3163 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 3164 http://www.asmail.be/msg0054766825.html 3165 31662007-03-07 Joris Van Damme <[email protected]> 3167 3168 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 3169 3170 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 3171 unused arguments by standard C indication for the same 3172 31732007-02-27 Andrey Kiselev <[email protected]> 3174 3175 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 3176 counters in TIFFFetchData(). Should finally fix the issue 3177 3178 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 3179 31802007-02-24 Andrey Kiselev <[email protected]> 3181 3182 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 3183 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 3184 3185 * libtiff/tif_dirread.c: Added special function to handle 3186 SubjectDistance EXIF tag as per bug 3187 3188 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 3189 3190 * tools/tiff2pdf.c: Do not assume inches when the resolution units 3191 do not specified. As per bug 3192 3193 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 3194 3195 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 3196 it was set as infinite. As per bug 3197 3198 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 3199 3200 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 3201 by Richard Nolde. As per bug 3202 3203 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 3204 32052007-02-22 Andrey Kiselev <[email protected]> 3206 3207 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 3208 ExtraSamples == 999 produced by Corel Draw. As per bug 3209 3210 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 3211 3212 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 3213 changed from tsize_t to uint32 to be able to work with data arrays 3214 larger than 2GB. Fixes bug 3215 3216 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 3217 3218 Idea submitted by Matt Hancher. 3219 32202007-01-31 Andrey Kiselev <[email protected]> 3221 3222 * tools/tif2rgba.c: This utility does not work properly on big-endian 3223 architectures. It was fixed including the bug 3224 3225 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 3226 32272007-01-15 Mateusz Loskot <[email protected]> 3228 3229 * Submitted libtiff port for Windows CE platform 3230 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 3231 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 3232 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 3233 functons from tif_win32.c. 3234 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 3235 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 3236 standard header files for Windows CE build. 3237 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 3238 32392006-11-19 Frank Warmerdam <[email protected]> 3240 3241 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 3242 we move a strip. 3243 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 3244 32452006-10-13 Andrey Kiselev <[email protected]> 3246 3247 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 3248 in Gentoo bug (): 3249 3250 http://bugs.gentoo.org/show_bug.cgi?id=142383 3251 3252 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 3253 Though it is still far from the state of being working and useful. 3254 32552006-10-12 Andrey Kiselev <[email protected]> 3256 3257 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 3258 method. 3259 3260 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 3261 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 3262 3263 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 3264 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 3265 3266 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 3267 vulnerabilities, reported in Gentoo bug (): 3268 3269 http://bugs.gentoo.org/show_bug.cgi?id=142383 3270 32712006-09-28 Andrey Kiselev <[email protected]> 3272 3273 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 3274 vulnerabilities, as per Gentoo bug (): 3275 3276 http://bugs.gentoo.org/show_bug.cgi?id=142383 3277 32782006-09-27 Frank Warmerdam <[email protected]> 3279 3280 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 3281 encoding and decoding on the same read-write TIFF handle. The LZW 3282 code can now maintain encode and decode state at the same time. The 3283 ZIP code will switch back and forth as needed. 3284 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 3285 32862006-09-20 Frank Warmerdam <[email protected]> 3287 3288 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 3289 tif_config.vc.h for easier identification by folks using an IDE. 3290 32912006-07-25 Frank Warmerdam <[email protected]> 3292 3293 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 3294 32952006-07-19 Frank Warmerdam <[email protected]> 3296 3297 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 3298 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 3299 to bug report by Peng Gao with black strip at bottom of images. 3300 33012006-07-12 Frank Warmerdam <[email protected]> 3302 3303 * tif_dirwrite.c: make sure to use uint32 for wordcount in 3304 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 3305 It already seems to have been done for other field types. Needed 3306 for "tiffset" on files with geotiff ascii text. 3307 33082006-07-04 Bob Friesenhahn <[email protected]> 3309 3310 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 3311 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 3312 its use does not appear to be required, so use it only when it is 3313 available. 3314 33152006-06-24 Andrey Kiselev <[email protected]> 3316 3317 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 3318 3319 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 3320 function TIFFFetchDirectory() avoiding code duplication in 3321 TIFFReadDirectory() and TIFFReadCustomDirectory(). 3322 33232006-06-19 Frank Warmerdam <[email protected]> 3324 3325 * tools/tiff2pdf.c: Fix handling of -q values. 3326 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 3327 33282006-06-17 Frank Warmerdam <[email protected]> 3329 3330 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 3331 files. Modified TIFFReadDirectory() to not invoke 3332 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 3333 but one of them is zero. 3334 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 3335 33362006-06-08 Andrey Kiselev <[email protected]> 3337 3338 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 3339 checking code in the separate function TIFFCheckDirOffset(). 3340 3341 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 3342 3343 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 3344 3345 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 3346 3347 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 3348 3349 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 3350 3351 * tools/tiff2pdf.c: Fixed buffer overflow condition in 3352 t2p_write_pdf_string() as per bug 3353 3354 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 3355 33562006-06-07 Andrey Kiselev <[email protected]> 3357 3358 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 3359 support for JBIG compression scheme (34661 code) contributed by Lee 3360 Howard. As per bug 3361 3362 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 3363 3364 * configure, configure.ac: OJPEG support enabled by default. 3365 3366 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 3367 33682006-06-03 Bob Friesenhahn <[email protected]> 3369 3370 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 3371 TIFFPrintDirectory(). Joris Van Damme authored the fix. 3372 33732006-04-21 Andrey Kiselev <[email protected]> 3374 3375 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 3376 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 3377 3378 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 3379 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 3380 Added support for OpenVMS by Alexey Chupahin, [email protected]. 3381 33822006-04-20 Andrey Kiselev <[email protected]> 3383 3384 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 3385 Properly set the binary mode for stdin stream as per bug 3386 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 3387 3388 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 3389 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 3390 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 3391 tiffset.1}: Improvements in page formatting as per bug 3392 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 3393 3394 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 3395 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 3396 33972006-04-18 Frank Warmerdam <[email protected]> 3398 3399 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 3400 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 3401 34022006-04-12 Joris Van Damme <[email protected]> 3403 3404 * libtiff/tif_getimage.c: Added support for planarconfig separate 3405 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 3406 34072006-04-11 Joris Van Damme <[email protected]> 3408 3409 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 3410 - Conversion of unassociated alpha to associated alpha now done with 3411 more performant LUT, and calculation more correct 3412 - Conversion of 16bit data to 8bit data now done with 3413 more performant LUT, and calculation more correct 3414 - Bugfix of handling of 16bit RGB with unassociated alpha 3415 34162006-04-11 Joris Van Damme <[email protected]> 3417 3418 * libtiff/tif_getimage.c: 3419 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 3420 buffer for alpha strile and filled it, only to never read it back. 3421 Removed allocation and fill. 3422 - Minor rename of vars in gtTileSeparate and gtStripSeparate 3423 anticipating planned functionality extension 3424 34252006-04-08 Joris Van Damme <[email protected]> 3426 3427 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 3428 and pickTileSeparateCase to PickSeparateCase as both work on strips as 3429 well 3430 3431 * libtiff/tif_getimage.c: moved img->get selection from 3432 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 3433 logical hook for planned functionality extension 3434 34352006-04-08 Joris Van Damme <[email protected]> 3436 3437 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 3438 of inappropriate use of jpeg_abort instead of jpeg_destroy 3439 34402006-04-07 Joris Van Damme <[email protected]> 3441 3442 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 3443 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 3444 on subsampled images - this ought to get sorted when we feel brave 3445 enough to replace TIFFScanlineSize alltogether 3446 3447 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 3448 34492006-04-04 Joris Van Damme <[email protected]> 3450 3451 * libtiff/tiffio.h: added new type tstrile_t 3452 3453 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 3454 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 3455 toff_t* 3456 3457 * libtiff/tif_ojpeg.c: totally new implementation 3458 3459 * libtiff/tif_dirread.c: added several hacks to suit new support of 3460 OJPEG 3461 3462 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 3463 of OJPEG images in favor of tif_getimage.c native handling of 3464 YCbCr and desubsampling 3465 34662006-03-29 Frank Warmerdam <[email protected]> 3467 3468 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 3469 interpretation causes the "upsampled" flag to be recomputed. Fixes 3470 peculiar bug where photometric flag had to be set before jpegcolormode 3471 flag. 3472 34732006-03-25 Joris Van Damme <[email protected]> 3474 3475 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 3476 3477 * libtiff/tif_strip.c: temporarilly added two new versions of 3478 TIFFScanlineSize 3479 - TIFFNewScanlineSize: proposed new version, after all related 3480 issues and side-effects are sorted out 3481 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 3482 This needs further sorting out. 3483 34842006-03-25 Joris Van Damme <[email protected]> 3485 3486 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 3487 of last truncated strip data to TIFFWriteEncodedStrip 3488 34892006-03-25 Joris Van Damme <[email protected]> 3490 3491 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 3492 34932006-03-25 Joris Van Damme <[email protected]> 3494 3495 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 3496 3497 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 3498 3499 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 3500 prepare the path for new tif_ojpeg.c 3501 35022006-03-23 Andrey Kiselev <[email protected]> 3503 3504 * libtiff 3.8.2 released. 3505 3506 * tools/Makefile.am: Use runtime paths linker flags when rpath 3507 option enabled. 3508 35092006-03-21 Andrey Kiselev <[email protected]> 3510 3511 * libtiff/libtiff.def: Added missed exports as per bug 3512 http://bugzilla.remotesensing.org/attachment.cgi?id=337 3513 3514 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 3515 tools/Makefile.vc: Makefiles improvements as per bug 3516 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 3517 3518 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 3519 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 3520 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 3521 3522 * libtiff/tif_strip.c: Take subsampling in account when calculating 3523 TIFFScanlineSize(). 3524 3525 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 3526 35272006-03-17 Andrey Kiselev <[email protected]> 3528 3529 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 3530 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 3531 3532 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 3533 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 3534 35352006-03-16 Andrey Kiselev <[email protected]> 3536 3537 * libtiff/tiffiop.h: Added decalration for 3538 _TIFFSetDefaultCompressionState(). 3539 3540 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 3541 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 3542 codec cleanup methods. As per bug 3543 3544 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 3545 35462006-03-15 Andrey Kiselev <[email protected]> 3547 3548 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 3549 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 3550 3551 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 3552 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 3553 3554 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 3555 removed; move here the STRIP_SIZE_DEFAULT macro definition. 3556 3557 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 3558 macro definition. 3559 3560 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 3561 35622006-03-14 Andrey Kiselev <[email protected]> 3563 3564 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 3565 in TIFFReadDirectory, because it is always set at the start of 3566 function and we allow TIFFs without that tag set. 3567 35682005-03-13 Andrey Kiselev <[email protected]> 3569 3570 * libtiff 3.8.1 released. 3571 35722006-03-07 Andrey Kiselev <[email protected]> 3573 3574 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 3575 function as per bug 3576 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3577 3578 * libtiff/tif_dirread.c: More wise check for integer overflow 3579 condition as per bug 3580 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3581 3582 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 3583 Properly restore setfield/getfield methods in cleanup functions. As 3584 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3585 35862006-03-03 Andrey Kiselev <[email protected]> 3587 3588 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 3589 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 3590 3591 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 3592 TIFFPredictorCleanup() in codec cleanup methods. As per bug 3593 3594 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3595 3596 * libtiff/tif_dirread.c: Fixed integer overflow condition in 3597 TIFFFetchData() function. As per bug 3598 3599 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 3600 36012006-03-01 Andrey Kiselev <[email protected]> 3602 3603 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 3604 TIFFSetField() method, not directly. As per bug 3605 3606 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 3607 3608 * tools/ppm2tiff.c: Added support for PBM files as per bug 3609 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 3610 36112006-02-27 Andrey Kiselev <[email protected]> 3612 3613 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 3614 to avoid crash as per bug 3615 3616 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 3617 36182006-02-26 Andrey Kiselev <[email protected]> 3619 3620 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 3621 t2p_sample_rgba_to_rgb() was used in place of each other, that was 3622 resulted in problems with RGBA images with associated alpha. 3623 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 3624 36252006-02-23 Andrey Kiselev <[email protected]> 3626 3627 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 3628 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 3629 3630 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 3631 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 3632 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 3633 3634 * tools/tiff2ps.c: Properly scale all the pages when converting 3635 multipage TIFF with /width/height/center options set. As per bug 3636 3637 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 3638 36392006-02-15 Andrey Kiselev <[email protected]> 3640 3641 * tools/tiff2pdf.c: Do not create output file until all option checks 3642 will be done. As per bug 3643 3644 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 3645 3646 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 3647 list of input files as per bug: 3648 3649 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 3650 36512006-02-09 Andrey Kiselev <[email protected]> 3652 3653 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 3654 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 3655 3656 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 3657 TIFFRGBAImage interface. 3658 3659 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 3660 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 3661 36622006-02-07 Frank Warmerdam <[email protected]> 3663 3664 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 3665 compressed TIFF files, per submission from Dan Cobra. 3666 36672006-02-07 Andrey Kiselev <[email protected]> 3668 3669 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 3670 cast values to avoid warnings. As per bug 3671 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 3672 3673 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 3674 appropriate. As per bug 3675 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 3676 3677 * libtiff/tif_aux.c: Fixed type of temporary variable in 3678 _TIFFCheckMalloc() as per bug 3679 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 3680 36812006-02-06 Andrey Kiselev <[email protected]> 3682 3683 * libtiff/tif_aux.c: Return static array when fetching default 3684 YCbCrCoefficients (another problem, reported a the 3685 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 3686 36872006-02-03 Andrey Kiselev <[email protected]> 3688 3689 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 3690 YCbCrSubsampling and DotRange tags as per bugs 3691 3692 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 3693 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 3694 3695 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 3696 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 3697 3698 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 3699 37002006-01-23 Andrey Kiselev <[email protected]> 3701 3702 * libtool related stuff updated from the 2.1a branch. 3703 37042006-01-11 Frank Warmerdam <[email protected]> 3705 3706 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 3707 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 3708 properly as per bug: 3709 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 3710 37112006-01-09 Bob Friesenhahn <[email protected]> 3712 3713 * configure.ac: Fix with_default_strip_size comparison as reported 3714 by Norihiko Murase. 3715 37162006-01-08 Bob Friesenhahn <[email protected]> 3717 3718 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 3719 incorrectly, tests were not actually testing the uninstalled 3720 libtiff. Now they are. 3721 37222006-01-04 Andrey Kiselev <[email protected]> 3723 3724 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 3725 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 3726 should be uint32 value. 3727 37282006-01-02 Bob Friesenhahn <[email protected]> 3729 3730 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 3731 be used if build directory is not the same as source directory. 3732 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 3733 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 3734 and re-sorted tag names in alphabetical order. 3735 37362005-12-29 Andrey Kiselev <[email protected]> 3737 3738 * libtiff 3.8.0 released. 3739 37402005-12-28 Bob Friesenhahn <[email protected]> 3741 3742 * tools/bmp2tiff.c (main): Fixed warning regarding returning 3743 inconsistent types from a condition. 3744 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 3745 format. 3746 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 3747 37482005-12-28 Joris Van Damme <[email protected]> 3749 3750 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 3751 37522005-12-27 Andrey Kiselev <[email protected]> 3753 3754 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 3755 windows.h, to reduce the compile time. 3756 37572005-12-26 Bob Friesenhahn <[email protected]> 3758 3759 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 3760 37612005-12-26 Andrey Kiselev <[email protected]> 3762 3763 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 3764 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 3765 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 3766 private functions to retrieve FieldInfo arrays. 3767 37682005-12-24 Bob Friesenhahn <[email protected]> 3769 3770 * html/build.html: Added some additional instructions for when 3771 building using MSVC under Windows. Also fixed two HTML syntax 3772 errors and used HTML Tidy to tidy up the HTML syntax and 3773 formatting. 3774 37752005-12-24 Andrey Kiselev <[email protected]> 3776 3777 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 3778 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 3779 StoNits tags custom. 3780 37812005-12-23 Andrey Kiselev <[email protected]> 3782 3783 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 3784 WhitePoint tag custom. 3785 3786 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 3787 37882005-12-23 Joris Van Damme <[email protected]> 3789 3790 * libtiff/tiffio.h: fixed typo that potentially resulted in 3791 redefininition of USE_WIN32_FILEIO 3792 3793 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 3794 calls in core LibTiff. 3795 37962005-12-21 Andrey Kiselev <[email protected]> 3797 3798 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 3799 Photoshop and ICCProfile tags custom. 3800 38012005-12-21 Joris Van Damme <[email protected]> 3802 3803 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 3804 newer code to get context indicator in error handler and still 3805 remain compatible with older code: Done TIFFError calls everywhere 3806 except in tools 3807 38082005-12-20 Andrey Kiselev <[email protected]> 3809 3810 * tools/tiffcp.c: Added many error reporting messages; fixed integer 3811 overflow as per bug 3812 3813 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 3814 38152005-12-16 Frank Warmerdam <[email protected]> 3816 3817 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 3818 YCbCr images in jpeg compressed TIFF files. 3819 38202005-12-14 Andrey Kiselev <[email protected]> 3821 3822 * tools/tiffcp.c: Return non-zero status when reading fails (again). 3823 38242005-12-13 Andrey Kiselev <[email protected]> 3825 3826 * tools/tiffcp.c: Return non-zero status when reading fails. 3827 38282005-12-12 Andrey Kiselev <[email protected]> 3829 3830 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 3831 38322005-12-09 Andrey Kiselev <[email protected]> 3833 3834 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 3835 custom. 3836 3837 * tools/tiffinfo.c: Print EXIF directory contents if exist. 3838 3839 * libtiff/tiff.h: Few EXIF tag numbers added. 3840 3841 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 3842 tiffio.h}: Preliminary support to read custom directories. New 3843 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 3844 38452005-12-07 Andrey Kiselev <[email protected]> 3846 3847 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 3848 More work to implement custom directory read support. 3849 3850 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 3851 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 3852 tags custom. 3853 38542005-12-05 Andrey Kiselev <[email protected]> 3855 3856 * libtiff/tif_dirread.c: One more workaround for broken 3857 StripByteCounts tag. Handle the case when StripByteCounts array filled 3858 with completely wrong values. 3859 38602005-11-30 Andrey Kiselev <[email protected]> 3861 3862 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 3863 in the TIFFOpenW() function as per bug 3864 3865 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 3866 3867 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 3868 functions as per bug 3869 3870 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 3871 38722005-11-20 Frank Warmerdam <[email protected]> 3873 3874 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 3875 for MS MDI format. 3876 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 3877 3878 * .cvsignore: many files added, and a few update according 3879 to suggestion of Brad HArds on tiff mailing list. 3880 38812005-11-03 Frank Warmerdam <[email protected]> 3882 3883 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 3884 public. 3885 38862005-10-31 Andrey Kiselev <[email protected]> 3887 3888 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 3889 as per bug 3890 3891 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 3892 3893 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 3894 as per bug 3895 3896 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 3897 3898 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 3899 problem as per bug 3900 3901 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 3902 3903 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 3904 3905 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 3906 3907 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 3908 ResolutionUnit tags modifiable during write process. As per bug 3909 3910 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 3911 3912 * tools/tiffsplit.c: Copy fax related fields over splitted parts 3913 as per bug 3914 3915 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 3916 39172005-10-21 Frank Warmerdam <[email protected]> 3918 3919 * tif_dirread.c: Don't try and split single strips into "0" strips 3920 in ChopUpSingleUncompressedStrip. This happens in some degenerate 3921 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 3922 39232005-10-20 Joris Van Damme <[email protected]> 3924 3925 * tif_fax3.c: changed 'at scanline ...' style warning/errors 3926 with incorrect use of tif_row, to 'at line ... of 3927 strip/tile ...' style 3928 39292005-10-15 Frank Warmerdam <[email protected]> 3930 3931 * tif_write.c: fixed setting of planarconfig as per bug report 3932 on the mailing list from Joris. 3933 39342005-10-07 Andrey Kiselev <[email protected]> 3935 3936 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 3937 tif_dirread.c}: Make the default strip size configurable via the 3938 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 3939 39402005-09-30 Bob Friesenhahn <[email protected]> 3941 3942 * html/support.html: Fixed link to documentation on Greg Ward's 3943 LogLuv TIFF format. 3944 39452005-09-28 Andrey Kiselev <[email protected]> 3946 3947 * tools/tiffdump.c: Fixed crash when reading malformed tags. 3948 39492005-09-20 Andrey Kiselev <[email protected]> 3950 3951 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 3952 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 3953 39542005-09-12 Andrey Kiselev <[email protected]> 3955 3956 * libtiff 3.7.4 released. 3957 3958 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 3959 from Patrick Welche (all scripts moved in the 'config' and 'm4' 3960 directories). 3961 39622005-09-12 Frank Warmerdam <[email protected]> 3963 3964 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 3965 39662005-09-05 Frank Warmerdam <[email protected]> 3967 3968 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 3969 also set it to NULL to avoid double free when re-setting custom 3970 string fields as per: 3971 3972 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 3973 39742005-08-12 Frank Warmerdam <[email protected]> 3975 3976 * libtiff/tif_print.c: avoid signed/unsigned warning. 3977 3978 * libtiff/tif_dirread.c: removed unused variable. 3979 39802005-07-30 Frank Warmerdam <[email protected]> 3981 3982 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 3983 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 3984 pass on bigendian (macosx) system. 3985 39862005-07-28 Andrey Kiselev <[email protected]> 3987 3988 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 3989 CheckMalloc() function to _TIFFCheckMalloc() and make it available 3990 globally as an internal helper routine. 3991 39922005-07-27 Andrey Kiselev <[email protected]> 3993 3994 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 3995 the custom tags handling code. 3996 39972005-07-26 Andrey Kiselev <[email protected]> 3998 3999 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 4000 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 4001 function, use TIFFFetchNormalTag() instead as per bug 4002 4003 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 4004 4005 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 4006 instead. 4007 4008 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 4009 4010 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4011 40122005-07-25 Andrey Kiselev <[email protected]> 4013 4014 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 4015 4016 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 4017 40182005-07-21 Andrey Kiselev <[email protected]> 4019 4020 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 4021 the TIFFWriteCheck() function in case of single band images (as per 4022 TIFF spec). 4023 40242005-07-12 Andrey Kiselev <[email protected]> 4025 4026 * SConstruct, libtiff/SConstruct: Added the first very preliminary 4027 support for SCons software building tool (http://www.scons.org/). 4028 This is experimental infrastructure and it will exist along with the 4029 autotools mechanics. 4030 40312005-07-07 Andrey Kiselev <[email protected]> 4032 4033 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 4034 the NetBSD source tree (the old 4-clause BSD license changed to 4035 the new 3-clause one). 4036 4037 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 4038 replacement module. 4039 4040 * port/dummy.c: Make the dummy function static. 4041 40422005-07-06 Andrey Kiselev <[email protected]> 4043 4044 * tools/tiffcp.c: Fixed WhitePoint tag copying. 4045 4046 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 4047 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 4048 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 4049 40502005-07-04 Andrey Kiselev <[email protected]> 4051 4052 * libtiff 3.7.3 released. 4053 4054 * configure, configure.ac: Do not use empty -R option when linking 4055 with --enable-rpath. 4056 40572005-07-01 Andrey Kiselev <[email protected]> 4058 4059 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 4060 reading the first IFD when needed. As per bug 4061 4062 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 4063 4064 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 4065 effects. 4066 40672005-06-23 Andrey Kiselev <[email protected]> 4068 4069 * tools/tiff2pdf.c: Print two characters per loop in the 4070 t2p_write_pdf_trailer(). As per bug 4071 4072 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 4073 4074 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 4075 per bug 4076 4077 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 4078 4079 * acinclude.m4: Updated to latest OpenGL test macros versions. 4080 4081 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 4082 platform. As per bug 4083 4084 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 4085 40862005-06-14 Andrey Kiselev <[email protected]> 4087 4088 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 4089 and YClipPathUnits tags. 4090 40912005-06-07 Andrey Kiselev <[email protected]> 4092 4093 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 4094 use pixel sized shift in contigous case. 4095 40962005-06-06 Andrey Kiselev <[email protected]> 4097 4098 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 4099 Make overviews working for contiguos images. 4100 41012005-06-03 Andrey Kiselev <[email protected]> 4102 4103 * libtiff/tif_open.c: Replace runtime endianess check with the compile 4104 time one. 4105 4106 * libtiff/tif_predict.c: Floating point predictor now works on 4107 big-endian hosts. 4108 41092005-06-01 Andrey Kiselev <[email protected]> 4110 4111 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 4112 ASCII values. 4113 4114 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 4115 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 4116 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 4117 TargetPrinter tags custom. 4118 4119 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 4120 TIFF_CODERSETUP flag (to fix memry leaks). 4121 4122 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 4123 allocating. 4124 41252005-05-26 Andrey Kiselev <[email protected]> 4126 4127 * configure.ac, libtiff/Makefile.am: Added workaround for 4128 OpenBSD/MirOS soname problem as per bug 4129 4130 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 4131 4132 * libtiff/tif_dirwrite.c: Use tdir_count when calling 4133 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 4134 per bug 4135 4136 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 4137 41382005-05-25 Andrey Kiselev <[email protected]> 4139 4140 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 4141 the fscanf() function. As per bug 4142 4143 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 4144 4145 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 4146 uint16 array when fetching the BYTE and SBYTE filds, so we should 4147 consider result as pointer to uint16 array and not as array of chars. 4148 As per bug 4149 4150 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 4151 4152 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 4153 4154 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 4155 4156 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 4157 mode in CreateFile() call as per bug 4158 4159 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 4160 4161 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 4162 libtiffxx libraries as per bug 4163 4164 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 4165 4166 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 4167 GDAL. 4168 41692005-05-23 Frank Warmerdam <[email protected]> 4170 4171 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 4172 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 4173 in directory. 4174 41752005-05-22 Frank Warmerdam <[email protected]> 4176 4177 * libtiff/tif_dirread.c: Changed the code that computes 4178 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 4179 zero. This is a common case with GDAL indicating a "null" tile/strip. 4180 41812005-05-17 Andrey Kiselev <[email protected]> 4182 4183 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 4184 41852005-05-06 Frank Warmerdam <[email protected]> 4186 4187 * libtiff/tif_dirread.c: Applied similar change to 4188 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 4189 4190 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 4191 4192 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 4193 41942005-05-06 Andrey Kiselev <[email protected]> 4195 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 4196 added new option '-b' to use interpolation in output PDF files (Bruno 4197 Ledoux). 4198 41992005-05-05 Frank Warmerdam <[email protected]> 4200 4201 * libtiff/tif_dirread.c: Ensure that broken files with too many 4202 values in PerSampleShorts work ok instead of crashing. 4203 4204 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 4205 42062005-04-27 Andrey Kiselev <[email protected]> 4207 4208 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 4209 input file. 4210 42112005-04-15 Andrey Kiselev <[email protected]> 4212 4213 * libtiff/tif_predict.c: Added ability to encode floating point 4214 predictor, as per TIFF Technical Note 3. 4215 42162005-04-14 Andrey Kiselev <[email protected]> 4217 4218 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 4219 floating point predictor, as per TIFF Technical Note 3. 4220 42212005-04-13 Andrey Kiselev <[email protected]> 4222 4223 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 4224 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 4225 swap 24-bit floating point values. 4226 4227 * libtiff/tiff.h: Added predictor constants. 4228 42292005-04-08 Andrey Kiselev <[email protected]> 4230 4231 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 4232 values in _TIFFVSetField() function. Inspired by the bug 4233 4234 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 4235 4236 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 4237 as per bug 4238 4239 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 4240 42412005-03-30 Andrey Kiselev <[email protected]> 4242 4243 * libtiff/tif_open.c: Do not read header in case the output file 4244 should be truncated (Ron). 4245 4246 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 4247 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 4248 4249 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 4250 42512005-03-22 Andrey Kiselev <[email protected]> 4252 4253 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 4254 rpath option. 4255 42562005-03-21 Andrey Kiselev <[email protected]> 4257 4258 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 4259 tags. 4260 42612005-03-18 Andrey Kiselev <[email protected]> 4262 4263 * libtiff/dirinfo.c: Added DNG tags. 4264 4265 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 4266 handling code. 4267 4268 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 4269 added DNG 1.1.0.0 tags. 4270 4271 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 4272 bug 4273 4274 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 4275 4276 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 4277 42782005-03-17 Andrey Kiselev <[email protected]> 4279 4280 * nmake.opt: Build with Win32 CRT library by default. 4281 4282 * tools/tiff2ps.c: Fixed typo in page size handling code. 4283 4284 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 4285 by value. 4286 4287 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 4288 42892005-03-15 Andrey Kiselev <[email protected]> 4290 4291 * libtiff 3.7.2 released. 4292 42932005-03-09 Andrey Kiselev <[email protected]> 4294 4295 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 4296 floating point data; complain on unsupported bit depths. 4297 42982005-03-05 Andrey Kiselev <[email protected]> 4299 4300 * tif_stream.cxx: Use ios namespace instead of ios_base to support 4301 GCC 2.95. 4302 4303 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 4304 Lee Howard for HylaFax DCS tag 4305 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 4306 43072005-03-04 Andrey Kiselev <[email protected]> 4308 4309 * configure, configure.ac: Use -rpath option instead of -R as per bug 4310 4311 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 4312 4313 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 4314 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 4315 software. As per bug 4316 4317 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 4318 4319 * nmake.opt, html/build.html: Add more comments, change the config 4320 file organization a bit as per bug 4321 4322 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 4323 4324 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 4325 as per bug 4326 4327 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 4328 43292005-03-03 Andrey Kiselev <[email protected]> 4330 4331 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 4332 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 4333 4334 * tools/fax2ps.c: Replace insecure mktemp() function with the 4335 tmpfile() as per bug 4336 4337 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 4338 43392005-02-04 Andrey Kiselev <[email protected]> 4340 4341 * libtiff/tiff.h: Changed the int8 definition to be always signed char 4342 as per bug 4343 4344 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 4345 4346 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 4347 block as per bug 4348 4349 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 4350 43512005-02-03 Bob Friesenhahn <[email protected]> 4352 4353 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 4354 display more correctly. Images display brighter than they should 4355 on a Sun workstation. 4356 43572005-02-03 Andrey Kiselev <[email protected]> 4358 4359 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 4360 suspicious values in the tags. As per bugs 4361 4362 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 4363 4364 and 4365 4366 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 4367 4368 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 4369 4370 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 4371 43722005-01-31 Bob Friesenhahn <[email protected]> 4373 4374 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 4375 (TIFFTAG_TILELENGTH): Corrected description. 4376 43772005-01-30 Andrey Kiselev <[email protected]> 4378 4379 * configure.ac: Fixes for --with-docdir option as per bug 4380 4381 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 4382 4383 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 4384 bug 4385 4386 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 4387 4388 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 4389 Michael Rinne and Edward Lam. 4390 43912005-01-15 Andrey Kiselev <[email protected]> 4392 4393 * configure.ac: Make the documentation directory location configurable 4394 via the --with-docdir option (as suggested by Jeremy C. Reed). 4395 4396 * libtiff/tif_color.c: Use double as the second argument of pow() 4397 function in TIFFCIELabToRGBInit(). As per bug 4398 4399 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 4400 4401 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 4402 integer as per bug 4403 4404 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 4405 4406 * libtiff/tif_getimage.c: Always fill the error message buffer in 4407 TIFFRGBAImageBegin() as per bug 4408 4409 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 4410 44112005-01-12 Andrey Kiselev <[email protected]> 4412 4413 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 4414 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 4415 tags as per bug 4416 4417 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 4418 4419 * libtiff/tif_win32.c: Fixed message formatting in functions 4420 Win32WarningHandler() and Win32ErrorHandler() as per bug 4421 4422 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 4423 4424 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 4425 per bug 4426 4427 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 4428 44292005-01-11 Andrey Kiselev <[email protected]> 4430 4431 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 4432 "C"' section as per bug 4433 4434 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 4435 4436 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 4437 compiler to avoid double definition of BSD types as per bug 4438 4439 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4440 4441 * libtiff/Makefile.am: Place the C++ stream API in the separate 4442 library called libtiffxx to avoid unneeded dependencies. Probably 4443 there will be more C++ API in the future. As per bugs 4444 4445 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 4446 4447 and 4448 4449 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 4450 44512005-01-05 Andrey Kiselev <[email protected]> 4452 4453 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 4454 wrong tag counts (Dmitry V. Levin, Martin Pitt). 4455 4456 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 4457 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 4458 44592004-12-25 Andrey Kiselev <[email protected]> 4460 4461 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 4462 RGB-images as per bug 4463 4464 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 4465 4466 4467 * tools/tiffset.c: Convert character option to integer value as per 4468 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 4469 44702004-12-20 Andrey Kiselev <[email protected]> 4471 4472 * libtiff 3.7.1 released. 4473 4474 * html/tiffset.1.html: Add missed manual page as per bug 4475 4476 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 4477 4478 * libtiff/tiff.h: Revert back libtiff data type definitions as per 4479 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 4480 44812004-12-19 Andrey Kiselev <[email protected]> 4482 4483 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 4484 checking for tag count in TIFFReadDirectory() function. As per bug 4485 4486 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 4487 4488 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 4489 CheckMallock() function. 4490 4491 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 4492 RGB-images as per bug 4493 4494 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 4495 44962004-12-15 Frank Warmerdam <[email protected]> 4497 4498 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 4499 SunPro compiler. 4500 45012004-12-11 Bob Friesenhahn <[email protected]> 4502 4503 * autogen.sh: aclocal and autoheader should be executed after 4504 libtoolize. Also add '-I .' to aclocal invocation to check 4505 current directory for macros. 4506 45072004-12-10 Andrey Kiselev <[email protected]> 4508 4509 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 4510 as per bugs 4511 4512 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 4513 4514 and 4515 4516 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 4517 45182004-12-04 Andrey Kiselev <[email protected]> 4519 4520 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 4521 4522 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 4523 4524 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 4525 mode as per bug 4526 4527 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 4528 4529 * libtiff/tif_config.in.vc: Removed unneded definitions for 4530 read/open/close/lseek functions to fix the 4531 4532 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 4533 45342004-12-03 Andrey Kiselev <[email protected]> 4535 4536 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 4537 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 4538 must be removed in the future, as it was never used properly. As per 4539 bug 4540 4541 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 4542 45432004-11-30 Bob Friesenhahn <[email protected]> 4544 4545 * libtiff/tif_jpeg.c: Added a work-around in order to allow 4546 compilation with the heavily modified version of libjpeg delivered 4547 with Cygwin. 4548 45492004-11-29 Andrey Kiselev <[email protected]> 4550 4551 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 4552 counts. As per bug 4553 4554 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 4555 4556 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 4557 4558 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 4559 45602004-11-28 Andrey Kiselev <[email protected]> 4561 4562 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 4563 on Windows. 4564 4565 * nmake.opt: Add missed DLLNAME variable. 4566 45672004-11-26 Frank Warmerdam <[email protected]> 4568 4569 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 4570 45712004-11-24 Andrey Kiselev <[email protected]> 4572 4573 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 4574 per bug 4575 4576 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 4577 4578 * man/tiffset.1: Added manual page for tiffset tool written by Jay 4579 Berkenbilt. As per bug 4580 4581 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 4582 45832004-11-23 Frank Warmerdam <[email protected]> 4584 4585 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 4586 45872004-11-21 Frank Warmerdam <[email protected]> 4588 4589 * html/document.html: Updated Adobe web links as per email from Joris. 4590 45912004-11-21 Andrey Kiselev <[email protected]> 4592 4593 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 4594 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 4595 use C++ streams should #include <tiffio.hxx>. 4596 45972004-11-13 Andrey Kiselev <[email protected]> 4598 4599 * libtiff/tiff.h: Added Adobe DNG tags. 4600 4601 * libtiff/tif_win32.c: Typo fixed. 4602 4603 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 4604 be compliant with the latest standard. Appropriate additions in 4605 makefiles now completed. 4606 46072004-11-11 Andrey Kiselev <[email protected]> 4608 4609 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 4610 different tag types. As per bug 4611 4612 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 4613 46142004-11-10 Andrey Kiselev <[email protected]> 4615 4616 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 4617 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 4618 46192004-11-09 Andrey Kiselev <[email protected]> 4620 4621 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 4622 46232004-11-07 Andrey Kiselev <[email protected]> 4624 4625 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 4626 contributed by Edward Lam (see 4627 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 4628 Though no changes in any makefiles yet. 4629 46302004-11-05 Frank Warmerdam <[email protected]> 4631 4632 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 4633 is bad. This is the callers responsibility. 4634 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 4635 46362004-11-05 Andrey Kiselev <[email protected]> 4637 4638 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 4639 function to work with the double byte strings (used to represent 4640 filenames in some locales). As per bug 4641 4642 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 4643 4644 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 4645 Compression tags of type LONG from broken TIFFS as per bug 4646 4647 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 4648 4649 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 4650 the writecount should have uint32 type. As per bug 4651 4652 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 4653 4654 * libtiff/tif_write.c: Fixed wrong if() statement in 4655 TIFFAppendToStrip() function as per bug 4656 4657 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 4658 46592004-11-04 Andrey Kiselev <[email protected]> 4660 4661 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 4662 field. The caller should supply a count when setting this field. As 4663 per bug 4664 4665 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 4666 4667 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 4668 uint32 count. Use this type everywhere. 4669 46702004-11-03 Frank Warmerdam <[email protected]> 4671 4672 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 4673 46742004-11-02 Frank Warmerdam <[email protected]> 4675 4676 * tools/tiff2rgba.c: removed extra newlines in usage message. 4677 46782004-10-30 Andrey Kiselev <[email protected]> 4679 4680 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 4681 4682 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 4683 tags (Tristan Hill). 4684 46852004-10-30 Frank Warmerdam <[email protected]> 4686 4687 * libtiff/tiffiop.h: added fallback definition of assert() if we 4688 don't have assert.h. 4689 46902004-10-29 Andrey Kiselev <[email protected]> 4691 4692 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 4693 choosing when the incorrect Group4Options tag set. As per bug 4694 4695 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 4696 4697 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 4698 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 4699 TIFFWriteNormalTag(). 4700 47012004-10-28 Andrey Kiselev <[email protected]> 4702 4703 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 4704 tags (Peter Fales). 4705 4706 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 4707 47082004-10-28 Frank Warmerdam <[email protected]> 4709 4710 * tools/tiff2pdf.c: added casts to avoid warnings. 4711 4712 * libtiff/libtiff.def: Added several more entry points required 4713 to link fax2tiff.c against the DLL on windows. 4714 47152004-10-27 Andrey Kiselev <[email protected]> 4716 4717 * configure, configure.ac: Added --enable-rpath option to embed linker 4718 paths into library binary. 4719 47202004-10-26 Andrey Kiselev <[email protected]> 4721 4722 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 4723 4724 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 4725 (Vladimir Nadvornik, Dmitry V. Levin). 4726 47272004-10-16 Andrey Kiselev <[email protected]> 4728 4729 * libtiff 3.7.0 released. 4730 47312004-10-15 Bob Friesenhahn <[email protected]> 4732 4733 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 4734 in this file so its inclusion is removed. Including stdio.h 4735 sometimes incurs an INT32 typedef conflict between MinGW's 4736 basetsd.h and libjpeg's jmorecfg.h. 4737 47382004-10-15 Andrey Kiselev <[email protected]> 4739 4740 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 4741 47422004-10-13 Bob Friesenhahn <[email protected]> 4743 4744 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 4745 conflict noticed under MinGW. 4746 * ltmain.sh: Fix for MinGW compilation. 4747 47482004-10-13 Frank Warmerdam <[email protected]> 4749 4750 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 4751 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 4752 47532004-10-12 Andrey Kiselev <[email protected]> 4754 4755 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 4756 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 4757 properly (Dmitry V. Levin, Marcus Meissner). 4758 47592004-10-11 Andrey Kiselev <[email protected]> 4760 4761 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 4762 to TIFF_IFD. 4763 47642004-10-10 Andrey Kiselev <[email protected]> 4765 4766 * tools/bmp2tif.c: Check the space allocation results. 4767 47682004-10-09 Andrey Kiselev <[email protected]> 4769 4770 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 4771 of the TIFFDirectory structure with the 0 instead of -1 to avoid 4772 confusing integer overflows in TIFFTileRowSize() for striped images. 4773 4774 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 4775 by Ross A. Finlayson. 4776 4777 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 4778 4779 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 4780 47812004-10-08 Frank Warmerdam <[email protected]> 4782 4783 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 4784 of tif_fieldinfo. 4785 4786 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 4787 47882004-10-04 Bob Friesenhahn <[email protected]> 4789 4790 * contrib/iptcutil/README: Added the missing README which goes 4791 along with iptcutil. 4792 47932004-10-03 Andrey Kiselev <[email protected]> 4794 4795 * libtiff/tif_compress.c: Improved error reporting in 4796 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 4797 47982004-10-02 Andrey Kiselev <[email protected]> 4799 4800 * libtiff 3.7.0beta2 released. 4801 4802 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 4803 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 4804 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 4805 allocations and integer overflows (Dmitry V. Levin). 4806 4807 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 4808 48092004-10-01 Frank Warmerdam <[email protected]> 4810 4811 * libtiff/tif_open.c: added a more informative message if a BigTIFF 4812 file is opened. 4813 48142004-09-30 Frank Warmerdam <[email protected]> 4815 4816 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 4817 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 4818 in the Adobe XMP Specification. 4819 48202004-09-29 Andrey Kiselev <[email protected]> 4821 4822 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 4823 memset(). 4824 4825 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 4826 from Dmitry V. Levin to fix possible integer overflow problems. 4827 48282004-09-28 Andrey Kiselev <[email protected]> 4829 4830 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 4831 (Dmitry V. Levin). 4832 48332004-09-26 Andrey Kiselev <[email protected]> 4834 4835 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 4836 Optimize checking for the strip bounds. 4837 4838 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 4839 TIFFRasterScanlineSize() functions report zero in the case of integer 4840 overflow now. Properly handle this case in TIFFReadDirectory() 4841 (patches from Dmitry V. Levin). 4842 48432004-09-25 Andrey Kiselev <[email protected]> 4844 4845 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 4846 macro where appropriate. 4847 4848 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 4849 noted by Gennady Khokhorin. 4850 4851 * libtiff/tif_dirread.c: Always check the return values, returned 4852 by the _TIFFmalloc() (Dmitry V. Levin). 4853 4854 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 4855 functions (Dmitry V. Levin). 4856 4857 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 4858 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 4859 TIFFGrowStrips() (found by Dmitry V. Levin). 4860 48612004-09-24 Andrey Kiselev <[email protected]> 4862 4863 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 4864 to get the list of configured codecs. 4865 4866 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 4867 Dmitry V. Levin. 4868 48692004-09-23 Andrey Kiselev <[email protected]> 4870 4871 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 4872 possible integer overflow in CheckMalloc() function. 4873 48742004-09-22 Andrey Kiselev <[email protected]> 4875 4876 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 4877 of plain TIFFhowmany() where appropriate. 4878 48792004-09-21 Andrey Kiselev <[email protected]> 4880 4881 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 4882 48832004-09-19 Andrey Kiselev <[email protected]> 4884 4885 * libtiff 3.7.0beta released. 4886 4887 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 4888 overruns fixed, as noted by Chris Evans. 4889 48902004-09-14 Bob Friesenhahn <[email protected]> 4891 4892 * commit: Added a script to make it more convenient to commit 4893 updates. The CVS commit message is extracted from this ChangeLog 4894 file. 4895 48962004-09-14 Andrey Kiselev <[email protected]> 4897 4898 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 4899 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 4900 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 4901 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 4902 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 4903 tif_config.h.in, tiffiop.h}: 4904 Get rid of BSD data types (u_char, u_short, u_int, u_long). 4905 49062004-09-13 Bob Friesenhahn <[email protected]> 4907 4908 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 4909 specification. Reference libtiff bug tracking system to submit 4910 private tag additions. 4911 49122004-09-12 Bob Friesenhahn <[email protected]> 4913 4914 * tools/tiffgt.c: Include "tif_config.h". 4915 4916 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 4917 tiffgt. This results in the 'compile' script being added to the 4918 project. 4919 4920 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 4921 required to find OpenGL headers necessary to build tiffgt. Also 4922 ensure that the libtiff that we built is used rather than some other 4923 libtiff installed on the system. 4924 49252004-09-12 Andrey Kiselev <[email protected]> 4926 4927 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 4928 libraries. 4929 49302004-09-11 Bob Friesenhahn <[email protected]> 4931 4932 * configure.ac: Pass library configuration defines via 4933 tif_config.h rather than extending CPPFLAGS. Configure a 4934 libtiff/tiffconf.h in order to satisfy application requirements 4935 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 4936 this causes failure to build on systems which properly respect 4937 this request. 4938 4939 * libtiff/tiffconf.h.in: New file to act as the template for the 4940 configured tiffconf.h 4941 4942 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 4943 49442004-09-10 Frank Warmerdam <[email protected]> 4945 4946 * html/internals.html: Split off a discussion of adding new tags 4947 into addingtags.html. 4948 49492004-09-10 Andrey Kiselev <[email protected]> 4950 4951 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 4952 4953 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 4954 4955 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4956 4957 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 4958 4959 * libtiff/tif_dirread.c: Don't reject to read tags of the 4960 SamplesPerPixel size when the tag count is greater than number of 4961 samples as per bug 4962 4963 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 4964 4965 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 4966 defining int8/uint8/... etc. types. As per bug 4967 4968 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 4969 49702004-09-09 Frank Warmerdam <[email protected]> 4971 4972 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 4973 to avoid compile warnings about getopt() and a few other things. 4974 49752004-09-02 Andrey Kiselev <[email protected]> 4976 4977 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 4978 assigning magic in TIFFFetchFloat(). 4979 49802004-09-01 Andrey Kiselev <[email protected]> 4981 4982 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 4983 to avoid requirement for tiffiop.h inclusion in some applications. See 4984 here 4985 4986 http://www.asmail.be/msg0054799560.html 4987 4988 for details. 4989 4990 * tools/fax2tiff.c: Use the new functions in the code. 4991 49922004-08-25 Andrey Kiselev <[email protected]> 4993 4994 * tools/tiff2pdf.c: Initialize arrays properly. 4995 4996 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 4997 properly initialize array in PSDataBW(). 4998 49992004-08-24 Andrey Kiselev <[email protected]> 5000 5001 * tools/tiff2pdf.c: More fixes for bug 5002 5003 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 5004 5005 from Ross Finlayson. 5006 50072004-08-23 Andrey Kiselev <[email protected]> 5008 5009 * tools/tiff2ps.c: Fixed problem with uninitialized values. 5010 5011 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 5012 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 5013 5014 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 5015 5016 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 5017 50182004-08-20 Andrey Kiselev <[email protected]> 5019 5020 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 5021 that the input file has compression, photometric interpretation, 5022 etcetra, tags or if not than a more descriptive error is returned. 5023 5024 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 5025 code, responsible for tag data type checking. 5026 50272004-08-19 Andrey Kiselev <[email protected]> 5028 5029 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 5030 variable as per bug 5031 5032 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 5033 50342004-08-16 Andrey Kiselev <[email protected]> 5035 5036 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 5037 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 5038 50392004-08-01 Andrey Kiselev <[email protected]> 5040 5041 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 5042 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 5043 50442004-07-24 Andrey Kiselev <[email protected]> 5045 5046 * libtiff/tif_lzw.c: LZW compression code is merged back from the 5047 separate package. All libtiff tools are updated to not advertise an 5048 abcence of LZW support. 5049 50502004-07-12 Andrey Kiselev <[email protected]> 5051 5052 * libtiff/tiffio.h: Revert thandle_t back to void* type. 5053 50542004-07-11 Andrey Kiselev <[email protected]> 5055 5056 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 5057 messages, as suggested by Bernd Herd. 5058 50592004-07-03 Andrey Kiselev <[email protected]> 5060 5061 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 5062 when setting custom tags by value. Reported by Eric Fieleke. 5063 50642004-06-14 Andrey Kiselev <[email protected]> 5065 5066 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 5067 50682004-06-08 Andrey Kiselev <[email protected]> 5069 5070 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 5071 into TIFFs. 5072 50732004-06-07 Andrey Kiselev <[email protected]> 5074 5075 * libtiff 3.7.0alpha released. 5076 50772004-06-06 Andrey Kiselev <[email protected]> 5078 5079 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 5080 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 5081 ones :-). 5082 5083 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 5084 problems in 64-bit environment). 5085 50862004-06-05 Andrey Kiselev <[email protected]> 5087 5088 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 5089 Tags can be supplied by the mnemonic name or number. 5090 5091 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 5092 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 5093 50942004-05-27 Andrey Kiselev <[email protected]> 5095 5096 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 5097 markers as per bug 5098 5099 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 5100 51012004-05-24 Andrey Kiselev <[email protected]> 5102 5103 * tools/tiffsplit.c: Don't forget to copy Photometric 5104 Interpretation tag. 5105 51062004-05-20 Andrey Kiselev <[email protected]> 5107 5108 * libtiff/{tif_open.c, tiffio.h}: New function added: 5109 TIFFIsBigEndian(). Function returns nonzero if given was file written 5110 in big-endian order. 5111 5112 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 5113 files. Now output files will be written using the same byte order 5114 flag as in the input image. See 5115 5116 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 5117 5118 for details. 5119 51202004-05-19 Frank Warmerdam <[email protected]> 5121 5122 * libtiff/tif_print.c: added (untested) support for printing 5123 SSHORT, SLONG and SRATIONAL fields. 5124 5125 * tools/tiffcp.c: close output file on normal exit. 5126 51272004-05-17 Andrey Kiselev <[email protected]> 5128 5129 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 5130 if compression type mismatches. See 5131 5132 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 5133 51342004-04-30 Andrey Kiselev <[email protected]> 5135 5136 * libtiff/tif_strip.c: Never return 0 from the 5137 TIFFNumberOfStrips(). 5138 51392004-04-29 Andrey Kiselev <[email protected]> 5140 5141 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 5142 store single SampleFormat value for multisampled images. See 5143 5144 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 5145 51462004-04-25 Andrey Kiselev <[email protected]> 5147 5148 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 5149 int16 and int32 types to avoid complains on some compilers. Details at 5150 5151 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5152 51532004-04-20 Andrey Kiselev <[email protected]> 5154 5155 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 5156 5157 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 5158 51592004-04-14 Andrey Kiselev <[email protected]> 5160 5161 * libtiff/tif_write.c: Allow in-place updating of the compressed 5162 images (don't work properly with all codecs). For details see GDAL bug 5163 5164 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 5165 51662004-04-06 Andrey Kiselev <[email protected]> 5167 5168 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 5169 in the Intergarph JPEG compressed TIFF images as per bug: 5170 5171 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 5172 51732004-04-04 Frank Warmerdam <[email protected]> 5174 5175 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 5176 via bad2. 5177 51782004-03-26 Andrey Kiselev <[email protected]> 5179 5180 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 5181 JPEG compression of grayscale images. 5182 5183 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 5184 present in the input image. 5185 51862004-03-19 Andrey Kiselev <[email protected]> 5187 5188 * {many}: The first attempt to switch to autotools. 5189 51902004-03-03 Andrey Kiselev <[email protected]> 5191 5192 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 5193 TIFFClientOpen() when the appropriate client functions was not 5194 supplied by user. 5195 51962004-03-02 Frank Warmerdam <[email protected]> 5197 5198 * tools/ycbcr.c: fixed main() declaration as per: 5199 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 5200 52012004-02-26 Andrey Kiselev <[email protected]> 5202 5203 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 5204 images. Reported by Artem Mirolubov. 5205 5206 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 5207 tag type in TIFFFetchNormalTag() as per bug 5208 5209 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 5210 52112004-02-17 Frank Warmerdam <[email protected]> 5212 5213 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 5214 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 5215 52162004-02-05 Andrey Kiselev <[email protected]> 5217 5218 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 5219 bug 5220 5221 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 5222 5223 But we need more work on fax codec to support update mode. 5224 52252004-01-30 Frank Warmerdam <[email protected]> 5226 5227 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 5228 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 5229 Scott Reynolds. 5230 52312004-01-29 Andrey Kiselev <[email protected]> 5232 5233 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 5234 and TIFFTAG_INDEXED as per bug 5235 5236 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 5237 5238 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 5239 NULL before proceeding further as per bug 5240 5241 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 5242 5243 Check results, returned by the TIFFFdOpen() before returning and close 5244 file if TIFFFdOpen() failed as per bug 5245 5246 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 5247 5248 * libtiff/tif_open.c: More fixes for 5249 5250 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 5251 52522004-01-28 Andrey Kiselev <[email protected]> 5253 5254 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 5255 TIFFCleanup() from the TIFFClose() in order to fix the bug 5256 5257 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 5258 5259 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 5260 InkNames tag as per bug 5261 5262 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 5263 5264 Memory leak fixed. 5265 52662004-01-21 Frank Warmerdam <[email protected]> 5267 5268 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 5269 are field_passcount=TRUE properly. Arguably anonymous custom tags 5270 should be declared as passcount=FALSE, but I don't want to change 5271 that without a careful review. 5272 52732004-01-20 Andrey Kiselev <[email protected]> 5274 5275 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 5276 stripped image in TIFFWriteBufferSetup(). As per bug 5277 5278 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 5279 52802004-01-11 Andrey Kiselev <[email protected]> 5281 5282 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 5283 patch from Gerben Koopmans. 5284 5285 * libtiff/tif_dirread.c: Check field_passcount value before setting 5286 the value of undefined type, patch from Gerben Koopmans. 5287 52882004-01-02 Andrey Kiselev <[email protected]> 5289 5290 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 5291 non-RGB images. 5292 52932003-12-31 Andrey Kiselev <[email protected]> 5294 5295 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 5296 pointer passed. Patch supplied by Larry Grill. 5297 5298 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 5299 suggested by Jeremy C. Reed. 5300 53012003-12-26 Andrey Kiselev <[email protected]> 5302 5303 * libtiff 3.6.1 released. 5304 53052003-12-24 Andrey Kiselev <[email protected]> 5306 5307 * config.guess, config.sub: Updated from the recent upstream. 5308 53092003-12-22 Andrey Kiselev <[email protected]> 5310 5311 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 5312 More cleanups in color conversion interface, added appropriate manual 5313 page. 5314 53152003-12-19 Andrey Kiselev <[email protected]> 5316 5317 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 5318 per bug 5319 5320 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 5321 5322 * tools/tiff2ps.c: Added support for alpha channel. Fixes 5323 5324 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 5325 5326 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 5327 Interface for Lab->RGB color conversion is finally cleaned up. 5328 Added support for ReferenceBlackWhite tag handling when converted from 5329 YCbCr color space. The latter closes 5330 5331 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 5332 53332003-12-07 Andrey Kiselev <[email protected]> 5334 5335 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 5336 5337 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 5338 library. 5339 53402003-12-06 Andrey Kiselev <[email protected]> 5341 5342 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 5343 file and properly use it for CIE Lab->RGB transform. 5344 53452003-12-04 Andrey Kiselev <[email protected]> 5346 5347 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 5348 conversion routines now in the tif_color.c module. New function 5349 TIFFYCbCrtoRGB() available in TIFF API. 5350 5351 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 5352 53532003-12-03 Andrey Kiselev <[email protected]> 5354 5355 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 5356 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 5357 module. 5358 5359 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 5360 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 5361 Finally resolved problems with orientation handling. TIFFRGBAImage 5362 interface now properly supports all possible orientations, i.e. images 5363 will be flipped both in horizontal and vertical directions if 5364 required. 'Known bugs' section now removed from the appropriate manual 5365 pages. Closed bug entry: 5366 5367 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 5368 53692003-12-02 Andrey Kiselev <[email protected]> 5370 5371 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 5372 function calls as per bug 5373 5374 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 5375 53762003-11-28 Ross Finlayson <[email protected]> 5377 5378 * tools/tiff2pdf.c: Some bugs fixed. 5379 53802003-11-27 Andrey Kiselev <[email protected]> 5381 5382 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 5383 reported by Antonio Scuri. 5384 5385 * man/tiff2pdf.1: Few improvements in page layout. 5386 5387 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 5388 Added support fpr tiff2pdf manual page. 5389 53902003-11-26 Ross Finlayson <[email protected]> 5391 5392 * /man/tiff2pdf.1: File added to repository. 5393 53942003-11-26 Andrey Kiselev <[email protected]> 5395 5396 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 5397 Added support fpr tiff2pdf utility. 5398 53992003-11-25 Ross Finlayson <[email protected]> 5400 5401 * /tools/tiff2pdf.c: File added to repository. 5402 54032003-11-22 Andrey Kiselev <[email protected]> 5404 5405 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 5406 54072003-11-21 Andrey Kiselev <[email protected]> 5408 5409 * /tools/raw2tiff.c: #include <getopt.h> removed. 5410 5411 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 5412 sgigt utility removed and replaced with the completely rewritten 5413 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 5414 there is a lot of things to improve. 5415 5416 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 5417 extract the fields from the OJPEG files. Patch supplied by Ross 5418 Finlayson. 5419 5420 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 5421 Added new function TIFFIsCODECConfigured(), suggested by Ross 5422 Finlayson. 5423 54242003-11-18 Andrey Kiselev <[email protected]> 5425 5426 * libtiff/tif_dirinfo.c: Implemented binary search in 5427 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 5428 5429 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 5430 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 5431 54322003-11-17 Frank Warmerdam <[email protected]> 5433 5434 * tif_dirread.c: do not mark all anonymously defined tags to be 5435 IGNOREd. 5436 54372003-11-17 Andrey Kiselev <[email protected]> 5438 5439 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 5440 TIFFDataWidth() function insted of tiffDataWidth array. 5441 54422003-11-16 Andrey Kiselev <[email protected]> 5443 5444 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 5445 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 5446 54472003-11-15 Frank Warmerdam <[email protected]> 5448 5449 * Makefile.in: fixed missing backslash for tif_color.c in list. 5450 54512003-11-13 Andrey Kiselev <[email protected]> 5452 5453 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 5454 New color space conversion code: CIE L*a*b* 1976 images now supported 5455 by the TIFFRGBAImage interface. All introduced routines go to new 5456 module tif_color.c. Eventually all color conversion functions should 5457 be moved there. 5458 54592003-11-12 Andrey Kiselev <[email protected]> 5460 5461 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 5462 with the reverse byte order (it is reported by the magic header 5463 field). Problem reported by Andreas Wiesmann. 5464 5465 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 5466 calculation function. Guessing mechanics now documented in manual page. 5467 54682003-11-11 Andrey Kiselev <[email protected]> 5469 5470 * tools/raw2tiff.c: Implemented image size guessing using 5471 correlation coefficient calculation between two neighbour lines. 5472 54732003-11-09 Frank Warmerdam <[email protected]> 5474 5475 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 5476 planarconfig_contig case in TIFFComputeTile(). 5477 5478 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 5479 54802003-11-09 Andrey Kiselev <[email protected]> 5481 5482 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 5483 54842003-11-07 Andrey Kiselev <[email protected]> 5485 5486 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 5487 Added TIFFRawStripSize() function as suggested by Chris Hanson. 5488 54892003-11-03 Andrey Kiselev <[email protected]> 5490 5491 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 5492 per bug 5493 5494 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 5495 54962003-10-29 Andrey Kiselev <[email protected]> 5497 5498 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 5499 5500 * html/build.html: Added note about GNU make requirement. 5501 55022003-10-25 Andrey Kiselev <[email protected]> 5503 5504 * Makefile.in: Fixes in using MAKEFLAGS as per bug 5505 5506 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 5507 5508 * port/install.sh.in: Option -p added to the mkdir command to create 5509 all directory tree structure before installing. 5510 55112003-10-18 Andrey Kiselev <[email protected]> 5512 5513 * /tools/tiff2ps.c: #include <strings.h> replaced with the 5514 #include <string.h>. 5515 55162003-10-16 Andrey Kiselev <[email protected]> 5517 5518 * Makefile.in: Add an absolute path to the test_pics.sh call. 5519 55202003-10-12 Andrey Kiselev <[email protected]> 5521 5522 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 5523 typedefs. 5524 55252003-10-09 Andrey Kiselev <[email protected]> 5526 5527 * configure, libtiff/{Makefile.in, mkversion.c}: 5528 Relative buildings fixed. 5529 5530 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 5531 rule. 5532 55332003-10-07 Andrey Kiselev <[email protected]> 5534 5535 * Makefile.in: Added missed v3.6.0.html. 5536 5537 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 5538 ORIENTATION_BOTLEFT. 5539 55402003-10-04 Andrey Kiselev <[email protected]> 5541 5542 * 3.6.0 final release. 5543 55442003-10-03 Andrey Kiselev <[email protected]> 5545 5546 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 5547 function TIFFReadRGBAImageOriented() implemented to retrieve raster 5548 array with user-specified origin position as suggested by Jason Frank. 5549 See 5550 5551 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 5552 5553 for details. 5554 5555 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 5556 instead of TIFFReadRGBAImage(). 5557 5558 * tools/tiff2ps.c: Fixed possible endless loop as per bug 5559 5560 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 5561 55622003-09-30 Andrey Kiselev <[email protected]> 5563 5564 * libtiff/tif_dirread.c: Check field counter against number of fields 5565 in order to fix 5566 5567 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 5568 5569 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 5570 5571 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 5572 55732003-09-25 Andrey Kiselev <[email protected]> 5574 5575 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 5576 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 5577 5578 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 5579 55802003-09-23 Andrey Kiselev <[email protected]> 5581 5582 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 5583 5584 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 5585 55862003-08-21 Andrey Kiselev <[email protected]> 5587 5588 * tools/tiffmedian.c: int declaration replaced with the uint32 to 5589 support large images as per bug 5590 5591 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 5592 55932003-08-12 Andrey Kiselev <[email protected]> 5594 5595 * libtiff/Makefile.in: Fixed problem with building in different 5596 directory. 5597 5598 * tools/tiff2ps.c: Added missing #include <strings.h>. 5599 5600 * libtiff/tif_dirwrite.c: More fixes for custom tags code 5601 from Ashley Dreier. 5602 56032003-08-07 Andrey Kiselev <[email protected]> 5604 5605 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 5606 Patch submitted by Balatoni Denes (with corrections from Tom 5607 Kacvinsky). 5608 5609 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 5610 being used. Reported by Tom Kacvinsky. 5611 5612 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 5613 reported by Ashley Dreier. 5614 5615 * libtiff/tif_print.c: Fixed problem with float tags reading, support 5616 for printing RATIONAL and BYTE tags added. 5617 56182003-08-05 Andrey Kiselev <[email protected]> 5619 5620 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 5621 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 5622 problems with predictor initialization. Remove O_RDONLY check during 5623 state block allocation to be able open LZW compressed files in update 5624 mode. 5625 5626 Problem exist for libtiff version of the tif_lzw.c module. One from 5627 lzw-compression-kit hasn't such troubles. 5628 56292003-08-04 Frank Warmerdam <[email protected]> 5630 5631 * libtiff/tif_write.c: modified tif_write.c so that the various 5632 encoded write functions use tif_postdecode() to apply byte order 5633 swapping (swab) to the application passed data buffer if the same 5634 would be done when reading. This allows us to write pixel data with 5635 more than 8 bits per sample to existing files of a non-native byte 5636 order. One side effect of this change is the applications buffer 5637 itself is altered in this case by the act of writing. 5638 5639 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 5640 56412003-07-25 Frank Warmerdam <[email protected]> 5642 5643 * libtiff/tif_open.c: avoid signed/unsigned casting warning 5644 initializing typemask as per patch from J.A. Strother. 5645 5646 * tools/tiffcp.c: fixed signed/unsigned casting warning. 5647 5648 * libtiff/tif_print.c: dos2unix conversion. 5649 5650 * tools/tiffsplit.c: increased the maximum number of pages that 5651 can be split. Patch provided by Andrew J. Montalenti. 5652 56532003-07-11 Andrey Kiselev <[email protected]> 5654 5655 * tools/raw2tiff.c: Added option `-p' to explicitly select color 5656 space of input image data. Closes 5657 5658 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 5659 56602003-07-08 Frank Warmerdam <[email protected]> 5661 5662 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 5663 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 5664 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 5665 avoid casting warning at /W4. 5666 56672003-07-03 Andrey Kiselev <[email protected]> 5668 5669 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 5670 56712003-06-30 Andrey Kiselev <[email protected]> 5672 5673 * libtiff/tif_pixarlog.c: Unused variables removed. 5674 5675 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 5676 EstimateStripByteCounts() as per bug 5677 5678 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 5679 5680 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 5681 64-bit architectures as per bug 5682 5683 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 5684 5685 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 5686 unknown data type. 5687 56882003-06-19 Frank Warmerdam <[email protected]> 5689 5690 * libtiff/tif_print.c: fixed some serious bugs when printing 5691 custom tags ... almost certain to crash. 5692 5693 * libtiff/tif_dirread.c: Don't ignore custom fields that are 5694 autodefined. Not sure how this got to be like this. 5695 56962003-06-18 Andrey Kiselev <[email protected]> 5697 5698 * 3.6.0 Beta2 released. 5699 5700 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 5701 comparing as per bug 5702 5703 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 5704 5705 `-z' option now can be used to set the number of reported different 5706 bytes. 5707 57082003-06-09 Andrey Kiselev <[email protected]> 5709 5710 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 5711 to -r option to get the entire image as one strip. See 5712 5713 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 5714 5715 for details. 5716 57172003-06-04 Andrey Kiselev <[email protected]> 5718 5719 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 5720 values as per bug 5721 5722 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 5723 57242003-05-27 Frank Warmerdam <[email protected]> 5725 5726 * libtiff/tif_jpeg.c: modified segment_height calculation to always 5727 be a full height tile for tiled images. Also changed error to just 5728 be a warning. 5729 57302003-05-25 Andrey Kiselev <[email protected]> 5731 5732 * tools/fax2tiff.c: Page numbering fixed, as per bug 5733 5734 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 5735 57362003-05-20 Andrey Kiselev <[email protected]> 5737 5738 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 5739 configure, Makefile.in: Switched back to the old behaviour. Likely 5740 better solution should be found for OJPEG support. 5741 57422003-05-11 Andrey Kiselev <[email protected]> 5743 5744 * libtiff/mkversion.c: Fixed problem with wrong string size when 5745 reading RELEASE-DATE file. 5746 57472003-05-07 Andrey Kiselev <[email protected]> 5748 5749 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 5750 index was out of range. 5751 57522003-05-06 Andrey Kiselev <[email protected]> 5753 5754 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 5755 configure, Makefile.in: Improved libtiff compilation with OJPEG 5756 support. Now no need for patching IJG JPEG library, hack requred by 5757 libtiff will be compiled and used in-place. Implemented with 5758 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 5759 5760 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 5761 TIFFVGetFieldDefaulted() function. 5762 57632003-05-05 Andrey Kiselev <[email protected]> 5764 5765 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 5766 comments. 5767 5768 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 5769 was not copied from source image. 5770 5771 * libtiff/getimage.c: Workaround for some images without correct 5772 info about alpha channel as per bug 5773 5774 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 5775 57762003-04-29 Andrey Kiselev <[email protected]> 5777 5778 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 5779 It basically allows one to use the /flateDecode filter for ZIP 5780 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 5781 5782 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 5783 5784 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 5785 as per bug 5786 5787 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 5788 57892003-04-17 Andrey Kiselev <[email protected]> 5790 5791 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 5792 due to problems with multidirectory images. Quality of error messages 5793 improved. 5794 57952003-04-16 Andrey Kiselev <[email protected]> 5796 5797 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 5798 encoded images. See bug entries 5799 5800 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 5801 5802 and 5803 5804 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 5805 5806 * libtiff/tif_dirread.c: Additional check for StripByteCounts 5807 correctness. Fixes 5808 5809 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 5810 58112003-03-12 Andrey Kiselev <[email protected]> 5812 5813 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 5814 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 5815 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 5816 tiffmedian.c}: Added library version reporting facility to all tools. 5817 58182003-03-06 Frank Warmerdam <[email protected]> 5819 5820 * port/install.sh.in: Fixed problems with install producing paths 5821 like ///usr/local/lib on cygwin. 5822 58232003-02-27 Andrey Kiselev <[email protected]> 5824 5825 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 5826 raw input page. Patch supplied by Julien Gaulmin. See 5827 5828 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 5829 5830 for details. 5831 58322003-02-26 Frank Warmerdam <[email protected]> 5833 5834 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 5835 responsible for byte swapping complex image data. 5836 5837 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 5838 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 5839 58402003-02-07 Andrey Kiselev <[email protected]> 5841 5842 * tools/ppm2tiff.c: Fixed problem with too many arguments. 5843 58442003-02-04 Andrey Kiselev <[email protected]> 5845 5846 * tools/raw2tiff.c: Memory leak fixed. 5847 58482003-02-03 Andrey Kiselev <[email protected]> 5849 5850 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 5851 (thanks, Julien!). More switches for fax2tiff tool for better control 5852 of input and output. Details at 5853 5854 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 5855 58562003-02-03 Frank Warmerdam <[email protected]> 5857 5858 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 5859 library so that we can check if there is already any tile/strip data 5860 before deciding between creating a compressor or a decompressor. 5861 58622003-01-31 Frank Warmerdam <[email protected]> 5863 5864 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 5865 a pre-existing compressed image. That is, image writing to 5866 pre-existing compressed images is not allowed. 5867 5868 * libtiff/tif_open.c: Removed error if opening a compressed file 5869 in update mode. 5870 5871 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 5872 58732003-01-31 Andrey Kiselev <[email protected]> 5874 5875 * config.guess, config.sub: Updated to recent upstream versions. 5876 58772003-01-15 Frank Warmerdam <[email protected]> 5878 5879 * cut 3.6.0 Beta release. 5880 58812002-12-20 Andrey Kiselev <[email protected]> 5882 5883 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 5884 in wrong way as per bug 5885 5886 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 5887 58882002-12-17 Frank Warmerdam <[email protected]> 5889 5890 * libtiff/tif_dirread.c: Allow wrong sized arrays in 5891 TIFFFetchStripThing(). 5892 5893 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 5894 58952002-12-02 Frank Warmerdam <[email protected]> 5896 5897 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 5898 Was using realloc even first time. Fix by Igor Venevtsev. 5899 59002002-11-30 Frank Warmerdam <[email protected]> 5901 5902 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 5903 field value. 5904 5905 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 5906 tags in TIFFVGetField() ... added missing break. 5907 59082002-10-14 Frank Warmerdam <[email protected]> 5909 5910 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 5911 the scanline buffer long enough when writing rgb triplets. 5912 The scanline needs to be 3 X the number of dots or else it will 5913 contain an incomplete triplet and programs that try to separate 5914 the eps by redefining the colorimage operator will get messed up. 5915 Patch supplied by William Bader. 5916 5917 * Makefile.in: added tif_extension.c to file list as per 5918 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 5919 59202002-10-11 Andrey Kiselev <[email protected]> 5921 5922 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 5923 large files (>2GiB) supporting. New option in the config.site: 5924 LARGEFILE="yes". Should be enough for I/O of the large files. 5925 59262002-10-10 Frank Warmerdam <[email protected]> 5927 5928 * libtiff/html/v3.6.0.html: new release notes. 5929 5930 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 5931 link for Andrey. Pointer to v3.6.0.html. 5932 5933 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 5934 59352002-10-07 Andrey Kiselev <[email protected]> 5936 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 5937 (thanks, Sebastian!). New switches: 5938 -b # for a bottom margin of # inches 5939 -c center image 5940 -l # for a left margin of # inches 5941 -r rotate the image by 180 degrees 5942 New features merged with code for shrinking/overlapping. 5943 Previously added -c and -n switches (for overriding PS units) renamed 5944 in -x and -y respectively. 5945 5946 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 5947 5948 * html/man/*.html: Updated from actual manual pages. 5949 59502002-10-06 Frank Warmerdam <[email protected]> 5951 5952 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 5953 size on windows. Use #define boolean hack. 5954 5955 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 5956 5957 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 5958 USING_VISUALAGE is defined. 5959 5960 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5961 59622002-10-03 Frank Warmerdam <[email protected]> 5963 5964 * libtiff/tiff.h: added COMPRESSION_JP2000. 5965 59662002-10-02 Andrey Kiselev <[email protected]> 5967 5968 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 5969 by the TIFFFetchByteArray() function. Should finally resolve 5970 5971 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5972 5973 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 5974 5975 * html/Makefile.in: New targets added: html and groffhtml for 5976 producing HTML representations of the manual pages automatically. 5977 html target uses man2html tool, groffhtml uses groff tool. 5978 59792002-09-29 Frank Warmerdam <[email protected]> 5980 5981 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 5982 from John H. DuBois III. 5983 59842002-09-15 Andrey Kiselev <[email protected]> 5985 5986 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 5987 manual page for raw2tiff(1) tool. 5988 59892002-09-12 Andrey Kiselev <[email protected]> 5990 5991 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 5992 the tiffio.h header file. 5993 5994 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 5995 manual page for TIFFDataWidth() function 5996 59972002-09-08 Frank Warmerdam <[email protected]> 5998 5999 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 6000 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 6001 6002 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 6003 since we are unable to properly include the amount to skip. 6004 6005 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 6006 60072002-09-02 Andrey Kiselev <[email protected]> 6008 6009 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 6010 in TIFFFetchByteArray(). Problem described at 6011 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 6012 60132002-08-22 Andrey Kiselev <[email protected]> 6014 6015 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 6016 in _TIFFSetupFieldInfo() function. 6017 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 6018 6019 * /libtiff/tif_lzw.c: Additional consistency checking added in 6020 LZWDecode() and LZWDecodeCompat(). 6021 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 6022 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 6023 6024 * /libtiff/tif_lzw.c: 6025 Added check for valid code lengths in LZWDecode() and 6026 LZWDecodeCompat(). Fixes 6027 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 6028 60292002-08-16 Andrey Kiselev <[email protected]> 6030 6031 * /libtiff/{Makefile.vc, libtiff.def}: 6032 Missed declarations added. 6033 60342002-08-15 Frank Warmerdam <[email protected]> 6035 6036 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 6037 return code from the underlying pick function. 6038 6039 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 6040 6041 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 6042 with FIELD_CUSTOM as mentioned in bug 169. 6043 6044 * tif_close.c: added logic to free dynamically created anonymous 6045 field definitions to correct a small memory leak. 6046 6047 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 6048 60492002-08-10 Andrey Kiselev <[email protected]> 6050 6051 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 6052 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 6053 60542002-07-31 Frank Warmerdam <[email protected]> 6055 6056 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 6057 JPEGDecode() as per bugzilla bug (issue 1): 6058 6059 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 6060 6061 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 6062 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 6063 present in the tiff tags. 6064 6065 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 6066 6067 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 6068 TIFFWriteScanline() now set tif_row explicitly in case the codec has 6069 fooled with the value. 6070 6071 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 6072 60732002-06-22 Andrey Kiselev <[email protected]> 6074 6075 * /tools/tiff2ps.c: Added workaround for some software that may crash 6076 when last strip of image contains fewer number of scanlines than 6077 specified by the `/Height' variable. See 6078 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 6079 for explanation. 6080 60812002-06-21 Andrey Kiselev <[email protected]> 6082 6083 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 6084 splitting long images in several pages. See 6085 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 6086 Patch granted by John Williams <[email protected]>. 6087 60882002-06-11 Frank Warmerdam <[email protected]> 6089 6090 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 6091 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 6092 This one is described in: 6093 6094 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 6095 6096 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 6097 6098 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 6099 61002002-05-10 Andrey Kiselev <[email protected]> 6101 6102 * tools/tiff2ps: New commandline switches to override resolution 6103 units obtained from the input file. Closes 6104 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 6105 61062002-04-26 Andrey Kiselev <[email protected]> 6107 6108 * libtiff/libtiff.def: Added missed declaration. 6109 61102002-04-22 Andrey Kiselev <[email protected]> 6111 6112 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 6113 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 6114 61152002-04-20 Andrey Kiselev <[email protected]> 6116 6117 * libtiff/tif_open.c: Pointers to custom procedures 6118 in TIFFClientOpen() are checked to be not NULL-pointers. 6119 61202002-04-18 Andrey Kiselev <[email protected]> 6121 6122 * libtiff/libtiff.def: Added missed declarations. 6123 6124 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 6125 61262002-04-16 Andrey Kiselev <[email protected]> 6127 6128 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 6129 Should finally close 6130 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 6131 61322002-04-10 Andrey Kiselev <[email protected]> 6133 6134 * tools/tiff2ps: Division by zero fixed. 6135 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 6136 61372002-04-09 Andrey Kiselev <[email protected]> 6138 6139 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 6140 TIFFCheckpointDirectory() routine added. 6141 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 6142 6143 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 6144 for the new function. 6145 61462002-04-08 Andrey Kiselev <[email protected]> 6147 6148 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 6149 additional members tif->tif_decodestatus and tif->tif_encodestatus 6150 for correct handling of unconfigured codecs (we should not try to read 6151 data or to define data size without correct codecs). 6152 6153 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 6154 changed. Now it has used tif->tif_decodestatus and 6155 tif->tif_encodestatus. 6156 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 6157 case of __cvs_8.tif test image). 6158 6159 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 6160 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 6161 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 6162 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 6163 61642002-04-04 Andrey Kiselev <[email protected]> 6165 6166 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 6167 replaced by warnings. Now libtiff should read corrupted LZW-compressed 6168 files by skipping bad strips. 6169 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 6170 61712002-04-03 Frank Warmerdam <[email protected]> 6172 6173 * libtiff/tif_dirwrite.c: Removed some dead code. 6174 6175 * libtiff/*: Cleanup some warnings. 6176 6177 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 6178 for variable length FIELD_CUSTOM values. Was int * but should be 6179 u_short *. 6180 61812002-04-01 Andrey Kiselev <[email protected]> 6182 6183 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 6184 utility (at cpStripToTile routine). 6185 61862002-03-27 Frank Warmerdam <[email protected]> 6187 6188 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 6189 6190 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 6191 6192 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 6193 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 6194 6195 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 6196 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 6197 61982002-03-26 Dwight Kelly <[email protected]> 6199 6200 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 6201 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 6202 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 6203 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 6204 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 6205 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 6206 62072002-03-26 Andrey Kiselev <[email protected]> 6208 6209 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 6210 now also uses TIFFRGBAImageOK before reading. This is additional fix 6211 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 6212 62132002-03-25 Andrey Kiselev <[email protected]> 6214 6215 * libtiff/: tif_getimage.c: Additional check for supported 6216 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 6217 TIFFRGBAImageOK before reading. 6218 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 6219 62202002-03-15 Andrey Kiselev <[email protected]> 6221 6222 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 6223 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 6224 TIFFDataType sizes instead of working with tiffDataWidth array 6225 directly. Should prevent out-of-borders bugs in case of unknown or 6226 broken data types. EstimateStripByteCounts routine modified, so it 6227 won't work when tags with uknown sizes founded. 6228 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 6229 62302002-03-13 Andrey Kiselev <[email protected]> 6231 6232 * libtiff/tif_getimage.c: Added support for correct handling 6233 `Orientation' tag in gtTileContig. Should be added in other gt* 6234 functions as well, but I have not images for testing yet. Partially 6235 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 6236 62372002-03-10 Andrey Kiselev <[email protected]> 6238 6239 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 6240 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 6241 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 6242 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 6243 62442002-03-08 Andrey Kiselev <[email protected]> 6245 6246 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 6247 be stripped when installing, utility binaries will do. Closes 6248 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 6249 62502002-02-28 Frank Warmerdam <[email protected]> 6251 6252 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 6253 6254 * man/libtiff.3t: added copyright tag info. 6255 62562002-02-11 Frank Warmerdam <[email protected]> 6257 6258 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 6259 6260 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 6261 6262 * man/Makefile.in: Patch DESTDIR handling 6263 6264 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 6265 6266 * configure: OpenBSD changes for Sparc64 and DSO version. 6267 6268 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 6269 62702002-02-05 Frank Warmerdam <[email protected]> 6271 6272 * config.site/configure: added support for OJPEG=yes option to enable 6273 OJPEG support from config.site. 6274 62752002-01-27 Frank Warmerdam <[email protected]> 6276 6277 * html/document.html: fixed links for TIFf 6 docs. 6278 62792002-01-18 Frank Warmerdam <[email protected]> 6280 6281 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 6282 6283 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 6284 decodestrip function returns anything not greater than zero as per 6285 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 6286 6287 * configure: Modify CheckForBigEndian so it can work in a cross 6288 compiled situation. 6289 62902002-01-16 Frank Warmerdam <[email protected]> 6291 6292 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 6293 6294 * tools/tiffset.c: fix bug in error reporting. 6295 6296 * tools/tiffcp.c: fix several warnings that show up with -Wall. 6297 62982002-01-04 Frank Warmerdam <[email protected]> 6299 6300 * libtiff/tif_jpeg.c: fixed computation of segment_width for 6301 tiles files to avoid error about it not matching the 6302 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 6303 size.") for ITIFF files. Apparently the problem was incorporated since 6304 3.5.5, presumably during the OJPEG/JPEG work recently. 6305 63062001-12-15 Frank Warmerdam <[email protected]> 6307 6308 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 6309 6310 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 6311 6312 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 6313 (defined in tiffconf.h - 1 by default) then the RGBA interface 6314 will assume that a fourth extra sample is ASSOCALPHA if the 6315 EXTRASAMPLE value isn't set for it. This changes the behaviour of 6316 the library, but makes it work better with RGBA files produced by 6317 lots of applications that don't mark the alpha values properly. 6318 6319 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 6320 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 6321 63222001-12-12 Frank Warmerdam <[email protected]> 6323 6324 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 6325 override those from tiff directory. This makes this work with 6326 ImageGear generated files. 6327 63282001-12-07 Frank Warmerdam <[email protected]> 6329 6330 * html/Makefile.in: added missing images per bug 92. 6331 6332 * port/Makefile.in: fixed clean target per bug 92. 6333 63342001-11-28 Frank Warmerdam <[email protected]> 6335 6336 * Reissue 3.5.7 release. 6337 6338 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 6339 YYYYMMDD so that it is increasing over time. 6340 6341 * Makefile.in: Ensure that tiffvers.h is regenerated in the 6342 make release target. 6343 6344 * Makefile.in: added libtiff/tiffvers.h to the release file list. 6345 63462001-11-23 Frank Warmerdam <[email protected]> 6347 6348 * added html/v3.5.7.html, updated html/index.html. 6349 6350 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 6351 63522001-11-15 Frank Warmerdam <[email protected]> 6353 6354 * configure: fixed test for -lm. 6355 63562001-11-02 Frank Warmerdam <[email protected]> 6357 6358 * Added PHOTOMETRIC_ITULAB as per bug 90. 6359 6360 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 6361 63622001-10-10 Frank Warmerdam <[email protected]> 6363 6364 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 6365 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 6366 in keeping with TIFF 6.0 standard in tiff.h 6367 6368 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 6369 63702001-09-26 Frank Warmerdam <[email protected]> 6371 6372 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 6373 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 6374 63752001-09-24 Frank Warmerdam <[email protected]> 6376 6377 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 6378 6379 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 6380 6381 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 6382 error about LZW not being available. 6383 6384 * libtiff/tif_dir.c: propagate failure to initialize compression 6385 back from TIFFSetField() as an error status, so applications can 6386 detect failure. 6387 6388 * libtiff/tif_dir.c: removed the auto replacement of 6389 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 6390 6391 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 6392 from CVS as they are all supposed to be auto-generated by configure. 6393 63942001-09-22 Frank Warmerdam <[email protected]> 6395 6396 * libtiff/tif_ojpeg.c: new update from Scott. 6397 63982001-09-09 Frank Warmerdam <[email protected]> 6399 6400 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 6401 always use the "safe" version, even if there is a very slight 6402 cost in performance. 6403 6404 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 6405 6406 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 6407 in two places. 6408 6409 * libtiff/tif_getimage.c: Fixed problem with reading strips or 6410 tiles that don't start on a tile boundary. Fix contributed by 6411 Josep Vallverdu (from HP), and further described in bug 47. 6412 6413 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 6414 6415 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 6416 6417 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 6418 64192001-09-06 Frank Warmerdam <[email protected]> 6420 6421 * libtiff/tif_packbits.c: fixed memory overrun error. 6422 6423 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 6424 64252001-08-31 Frank Warmerdam <[email protected]> 6426 6427 * libtiff/tif_getimage.c: relax handling of contig case where 6428 there are extra samples that are supposed to be ignored. This 6429 should now work for 8bit greyscale or palletted images. 6430 6431 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 6432 64332001-08-28 Frank Warmerdam <[email protected]> 6434 6435 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 6436 images with more than four samples per pixel. See: 6437 6438 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 6439 64402001-08-10 Frank Warmerdam <[email protected]> 6441 6442 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 6443 in TIFFReadRGBATile() to avoid issues in cases of overlapping 6444 buffers. See Bug 69 in Bugzilla. 6445 6446 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 6447 6448 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 6449 64502001-08-09 Frank Warmerdam <[email protected]> 6451 6452 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 6453 when checking for 64 bit architectures as per bugzilla bug 67. 6454 64552001-07-27 Frank Warmerdam <[email protected]> 6456 6457 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 6458 bug 66. 6459 64602001-07-20 Frank Warmerdam <[email protected]> 6461 6462 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 6463 has been included. 6464 64652001-07-19 Frank Warmerdam <[email protected]> 6466 6467 * libtiff/tif_open.c: Seek back to zero after failed read, 6468 before writing header. 6469 64702001-07-18 Frank Warmerdam <[email protected]> 6471 6472 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 6473 much better. Now depends on having patched libjpeg as per 6474 patch in contrib/ojpeg/*. 6475 64762001-07-17 Frank Warmerdam <[email protected]> 6477 6478 * */Makefile.in: added DESTDIR support. 6479 6480 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 6481 64822001-07-16 Frank Warmerdam <[email protected]> 6483 6484 * configure, libtiff/Makefile.in: applied OpenBSD patches 6485 as per: 6486 6487 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 6488 64892001-06-28 Frank Warmerdam <[email protected]> 6490 6491 * libtiff/tif_getimage.c: Fixed so that failure is properly 6492 reported by gtTileContig, gtStripContig, gtTileSeparate and 6493 gtStripSeparate. 6494 6495 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 6496 6497 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 6498 Updated bug section of tiffcmp.1 to note tiled file issues. 6499 6500 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 6501 65022001-06-22 Frank Warmerdam <[email protected]> 6503 6504 * configure: Changes for DSO generation on AIX provided by 6505 John Marquart <[email protected]>. 6506 6507 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 6508 on Darwin thanks to Robert Krajewski ([email protected]) and 6509 Keisuke Fujii ([email protected]). 6510 65112001-06-13 Frank Warmerdam <[email protected]> 6512 6513 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 6514 6515 * man/tiff2rgba.1: new 6516 65172001-05-22 Frank Warmerdam <[email protected]> 6518 6519 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 6520 65212001-05-13 Frank Warmerdam <[email protected]> 6522 6523 * libtiff/tools/thumbnail.c: changed default output compression 6524 to packbits from LZW since LZW isn't generally available. 6525 65262001-05-12 Frank Warmerdam <[email protected]> 6527 6528 * libtiff/tif_ojpeg.c: New. 6529 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 6530 to OJPEG support. 6531 6532 Scott Marovich <[email protected]> supplied OJPEG support. 6533 65342001-05-11 Frank Warmerdam <[email protected]> 6535 6536 * tiff.h: removed, it duplicates libtiff/tiff.h. 6537 65382001-05-08 Frank Warmerdam <[email protected]> 6539 6540 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 6541 ensure everything is in order. 6542 6543 * libtiff/libtiff.def: added TIFFCreateDirectory and 6544 TIFFDefaultStripSize as per: 6545 6546 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 6547 65482001-05-02 Frank Warmerdam <[email protected]> 6549 6550 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 6551 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 6552 force use of uint32 counts instead of short counts. 6553 6554 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 6555 case of writing TIFF_BYTE/TIFF_SBYTE fields. 6556 6557 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 6558 65592001-05-01 Frank Warmerdam <[email protected]> 6560 6561 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 6562 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 6563 65642001-04-05 Frank Warmerdam <[email protected]> 6565 6566 * tiffio.h: removed C++ style comment. 6567 6568 * configure: fixed up SCRIPT_SH/SHELL handling. 6569 6570 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 6571 6572 * config.guess: documented more variables as per bug 40. 6573 65742001-04-03 Frank Warmerdam <[email protected]> 6575 6576 * configure, *Makefile.in: Various changes to improve configuration 6577 for HP/UX specifically, and also in general. They include: 6578 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 6579 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 6580 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 6581 - Use -${MAKEFLAGS} in sub makes from makefiles. 6582 6583 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 6584 65852001-04-02 Frank Warmerdam <[email protected]> 6586 6587 * libtiff/tiff.h: Applied hac to try and resolve the problem 6588 with the inttypes.h include file on AIX. 6589 6590 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 6591 6592 * VERSION: update to 3.5.7 beta in preparation for release. 6593 6594 * configure/config.site: modified to check if -lm is needed for 6595 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 6596 6597 * config.guess: updated wholesale to an FSF version apparently 6598 from 1998 (as opposed to 1994). This is mainly inspired by 6599 providing for MacOS X support. 6600 66012001-03-29 Frank Warmerdam <[email protected]> 6602 6603 * configure, Makefile.in, etc: added support for OPTIMIZER being 6604 set from config.site. 6605 66062001-03-28 Frank Warmerdam <[email protected]> 6607 6608 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 6609 6610 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 6611 sizes. It fixes two problems: 6612 6613 Without scaling (-S) the fax is now centered on the page size specified 6614 with -H and/or -W. Before, fax2ps was using an obscure and practially 6615 useless algorithm to allocate the image relative to Letter sized paper 6616 which sometime sled to useless whitespace on the paper, while at the 6617 same time cutting of the faxes printable area at the opposite border. 6618 6619 Second, scaling now preserves aspect ratio, which makes unusual faxes 6620 (in particular short ones) print properly. 6621 6622 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 6623 6624 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 6625 Bruce A. Mallett. See check message for detailed information 6626 on all the changes, including a faster encoder, fixes for level 6627 2 PostScript, and support for the imagemask operator. 6628 66292001-03-27 Frank Warmerdam <[email protected]> 6630 6631 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 6632 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 6633 6634 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 6635 66362001-03-16 Frank Warmerdam <[email protected]> 6637 6638 * tif_dirinfo.c: moved definition of copyright tag in field list. 6639 Apparently they have to be in sorted order by tag id. 6640 66412001-03-13 Frank Warmerdam <[email protected]> 6642 6643 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 6644 images in RGBA interface. 6645 66462001-03-02 Frank Warmerdam <[email protected]> 6647 6648 * Added TIFFTAG_COPYRIGHT support. 6649 66502001-02-19 Frank Warmerdam <[email protected]> 6651 6652 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 6653 with support for extracting subimages with the ,n syntax, and also 6654 adding the -b bias removal flag. 6655 66562001-02-16 Frank Warmerdam <[email protected]> 6657 6658 * libtiff/libtiff.def: Brent Roman submitted new version adding 6659 serveral missing entry points. 6660 6661 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 6662 Some sort of weird VMS thing. 6663 6664 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 6665 6666 * tif_luv.c/tiff.h/tiffio.h: 6667 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 6668 ([email protected]). He writes: 6669 6670 1) I improved the gamut-mapping function in tif_luv.c for imaginary 6671 colors, because some images were being super-saturated on the input 6672 side and this resulted in some strange color shifts in the output. 6673 6674 2) I added a psuedotag in tiff.h to control random dithering during 6675 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 6676 on for 24-bit LogLuv output. Dithering improves the average color 6677 accuracy over the image. 6678 6679 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 6680 tiffio.h, to expose internal routines for converting between LogLuv and 6681 XYZ coordinates. This is helpful for writing more efficient, 6682 specialized conversion routines, especially for reading LogLuv files. 6683 6684 Changes applied with minor edits. 6685 66862001-01-23 Frank Warmerdam <[email protected]> 6687 6688 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 6689 whether we are encoding or decoding. This is to ensure graceful 6690 recovery if TIFFClientOpen() discovers an attempt to open a compressed 6691 file for "r+" access, and subsequently close it, as it resets the 6692 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 6693 compressor's concept of whether it is in encode or decode mode. 6694 66952001-01-08 Mike Welles <[email protected]> 6696 6697 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 6698 66992001-01-07 Frank Warmerdam <[email protected]> 6700 6701 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 6702 as per bug report by Patrick Connor. 6703 67042000-12-28 Frank Warmerdam <[email protected]> 6705 6706 * Added RELEASE-DATE file to release file list. 6707 6708 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 6709 67102000-12-22 Mike Welles <[email protected]> 6711 * added link to CVS mirror from index.html 6712 6713 * updated html/internals.html to note that LZW compression is 6714 not supported by default. 6715 67162000-12-22 Frank Warmerdam <[email protected]> 6717 6718 * updated html/libtiff.html to not point at Niles' old JPL web site 6719 for the man pages, point at www.libtiff.org. 6720 67212000-12-21 Frank Warmerdam <[email protected]> 6722 6723 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 6724 Leonard Rosenthol <[email protected]>. May interfere 6725 with correct building on older systems. If so, please let me know. 6726 67272000-12-19 Mike Welles <[email protected]> 6728 6729 * Took out LZW Encoding from tif_lzw.c 6730 6731 * Created HOWTO-RELEASE 6732 6733 * Created html/v3.5.6.html 6734 6735 * updated index.html 6736 67372000-12-01 Frank Warmerdam <[email protected]> 6738 6739 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 6740 Patches supplied by Frank Cringle <[email protected]> 6741 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 6742 67432000-11-24 Frank Warmerdam <[email protected]> 6744 6745 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 6746 target so that the private headers required by libgeotiff can be 6747 installed with the others. They are not installed by default. 6748 6749 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 6750 targets so libtiff.so will be built with an explicit dependency 6751 on libm.so. 6752 6753 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 6754 libtiff.so.3.5.5. 6755 6756 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 6757 file, or ALPHA version logic. Added stuff about DIST_POINT in 6758 place of DIST_TYPE and the alpha release number stuff. 6759 67602000-11-22 Frank Warmerdam <[email protected]> 6761 6762 * I have applied a patch from Steffen Moeller <[email protected]> to 6763 the configure script so that it now accepts the --prefix, and 6764 --exec-prefix directives. 6765 67662000-11-13 Frank Warmerdam <warmerda@cs46980-c> 6767 6768 * I have made a variety of modifications in an effort to ensure the 6769 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 6770 file which seems to be updated regularly. 6771 6772 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 6773 version include file. 6774 o renamed version.h to tiffvers.h because we now have to install it 6775 with the public libtiff include files. 6776 o include tiffvers.h in tiffio.h. 6777 o updated tif_version.c to use tiffvers.h. 6778 o Updated Makefile.in accordingly. 6779 6780 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 6781 I have updated the win32 detection rules in tiffcomp.h. 6782 67832000-10-20 Frank Warmerdam <warmerda@cs46980-c> 6784 6785 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 6786 the strip/tile width and height aren't multiples of the sampling size. 6787 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 6788 Some patches from Rick LaMont of Dot C Software. 6789 6790 * Modified tif_packbits.c encoder to avoid compressing more 6791 data than provided if rowsize doesn't factor into provided data 6792 (such as occurs for YCbCr). 6793 67942000-10-19 Frank Warmerdam <warmerda@cs46980-c> 6795 6796 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 6797 roundup if rows_per_strip not a multiple of vertical sample size. 6798 67992000-10-16 Frank Warmerdam <warmerda@cs46980-c> 6800 6801 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 6802 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 6803 from [email protected]. 6804 6805 * Modified tif_packbits.c decoding to avoid overrunning the 6806 output buffer, and to issue a warning if data needs to be 6807 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 6808 68092000-10-12 Frank Warmerdam <warmerda@cs46980-c> 6810 6811 * Modified tiff2bw to ensure portions add to 100%, and that 6812 white is properly recovered. 6813 6814 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 6815 Patch c/o Stanislav Brabec <[email protected]> 6816 68172000-09-30 Frank Warmerdam <warmerda@cs46980-c> 6818 6819 * Modified TIFFClientOpen() to emit an error on an attempt to 6820 open a comperessed file for update (O_RDWR/r+) access. This is 6821 because the compressor/decompressor code gets very confused when 6822 the mode is O_RDWR, assuming this means writing only. See 6823 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 6824 68252000-09-27 Frank Warmerdam <warmerda@cs46980-c> 6826 6827 * Added GNULDdso target an`d switched linux and freebsd to use it. 6828 68292000-09-26 Frank Warmerdam <warmerda@cs46980-c> 6830 6831 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 6832 of EXPAND1D() as per bug 11 (from Roman). 6833 68342000-09-25 Frank Warmerdam <warmerda@cs46980-c> 6835 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 6836 cygwin compatibility. 6837 6838 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 6839 be a proper fix to the buffer sizing problem. See 6840 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 6841 6842 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 6843 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 6844 Thanks to Nick Lamb <[email protected]> for reporting the 6845 bug and proving the patch. 6846 68472000-09-18 Frank Warmerdam <warmerda@cs46980-c> 6848 6849 * Fixed tif_jpeg.c so avoid destroying the decompressor before 6850 we are done access data thanks to bug report from: 6851 Michael Eckstein <[email protected]>. 6852 6853 * Reverted tif_flush change. 6854 68552000-09-14 Frank Warmerdam <warmerda@cs46980-c> 6856 6857 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 6858 error when TIFF_BEENWRITING is not set. This ensures that the 6859 directory contents can still be flushed by TIFFFlush(). 6860 68612000-08-14 Frank Warmerdam <[email protected]> 6862 6863 * tif_open.c: Don't set MMAP for O_RDWR files. 6864 6865 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 6866 so that files opened for update can be strip chopped too. 6867 6868 * tif_read.c: fixed up bug with files missing rowsperstrip and 6869 the strips per separation fix done a few weeks ago. 6870 68712000-07-17 Frank Warmerdam <warmerda@cs46980-c> 6872 6873 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 6874 SAMPLEFORMAT_COMPLEXINT. 6875 68762000-07-13 Mike Welles <[email protected]> 6877 6878 * index.html, bugs.html: added bugzilla info. 6879 68802000-07-12 Frank Warmerdam <[email protected]> 6881 6882 * tif_read.c: fix subtle bug with determining the number of 6883 rows for strips that are the last strip in a separation but 6884 not the last strip of all in TIFFReadEncodedStrip(). 6885 6886 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 6887 Peter Skarpetis <[email protected]> 6888 68892000-06-15 Frank Warmerdam <[email protected]> 6890 6891 * Modified tiffio.h logic with regard to including windows.h. It 6892 won't include it when building with __CYGWIN__. 6893 68942000-05-11 Frank Warmerdam <warmerda@cs46980-c> 6895 6896 * README: update to mention www.libtiff.org, don't list Sam's old 6897 email address. 6898 6899 * configure: Fixed DSO test for Linux as per patch from 6900 Jan Van Buggenhout <[email protected]>. 6901 69022000-04-21 Frank Warmerdam <[email protected]> 6903 6904 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 6905 one tile/strip images with an offset, and byte count of zero. These 6906 could be "unpopulated" images. 6907 69082000-04-18 Frank Warmerdam <[email protected]> 6909 6910 * contrib/addtiffo: Added "averaging" resampling option. 6911 6912 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 6913 6914Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 6915 6916 * tools/Makefile.in: Modified to install properly on SGI. 6917 69182000-04-12 Mike Welles <[email protected]> 6919 * configure: Fixed stupid mistake in libc6 test on Linux 6920 69212000-04-04 Mike Welles <[email protected]> 6922 * tif_win32.c: Applied patch to fix overreads and ovverwrites 6923 caught by BoundsChecker. From Arvan Pritchard 6924 <[email protected]> (untested). 6925 6926 * tif_getimage.c: Applied patch to silence VC6 warnings. From 6927 Arvan Pritchard <[email protected]> 6928 6929 * tif_lzw.c: Applied patch to silence VC6 warnings. From 6930 Arvan Pritchard <[email protected]> 6931 69322000-03-28 Frank Warmerdam <warmerda@cs46980-c> 6933 6934 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 6935 69362000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 6937 6938 * fax2ps: Fixed mixup of width and height in bounding box statement 6939 as per submission by Nalin Dahyabhai <[email protected]>. 6940 69412000-03-27 Mike Welles <[email protected]> 6942 6943 * fax2ps: Modified printruns to take uint32 instead of uint16. 6944 Patch courtesy of Bernt Herd <[email protected]> 6945 69462000-03-20 Mike Welles <[email protected]> 6947 6948 * configure: added test for libc6 for linux targets. Bug reported by 6949 Stanislav Brabec <[email protected]> 6950 6951 * Added 3.5 docs to html/Makefile.in. 6952 Thanks to Stanislav Brabec <[email protected]> 6953 6954 * configure: fixed bugs in sed scripts 6955 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 6956 fix submitted to Stanislav Brabec <[email protected]> 6957 6958 * tools/iptcutil was not in files list, and wasn't being 6959 added to tar archive. Updated Makefile.in. 6960 69612000-03-17 Frank Warmerdam <warmerda@cs46980-c> 6962 6963 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 6964 conversion for the run arrays. 6965 69662000-03-03 Frank Warmerdam <[email protected]> 6967 6968 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 6969 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 6970 69712000-03-02 Frank Warmerdam <[email protected]> 6972 6973 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 6974 6975 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 6976 to avoid overruns encountered with frle_bug.tif. 6977 6978Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 6979 6980 * Fixed tools/tiffcmp so that stopondiff testing works. 6981 Patch care of Joseph Orost <[email protected]>. 6982 69832000-01-28 <warmerda@CS46980-B> 6984 6985 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 6986 set to 1, and added default (off) setting in tiffconf.h. This 6987 should eventually be set by the configure script somehow. 6988 6989 The original work on all these 2-4GB changes was done by 6990 Peter Smith ([email protected]). 6991 6992 * Modified tif_win32.c to support 2-4GB seeks. 6993 6994 * tentatively changed toff_t to be unsigned instead of signed to 6995 facilitate support for 2-4GB files. 6996 6997 * Updated a variety of files to use toff_t. Fixed some mixups 6998 between toff_t and tsize_t. 6999 7000Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 7001 7002 * Largely reimplemented contrib/addtiffo to avoid temp files, 7003 updating the TIFF file in place. Fixed a few other bugs to. 7004 7005 * Set tif_rawdatasize to zero when freeing raw data buffer in 7006 TIFFWriteDirectory(). 7007 7008 * Enabled "REWRITE_HACK" in tif_write.c by default. 7009 7010 * Fix bug in tif_write.c when switching between reading one directory 7011 and writing to another. 7012 7013 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 7014 7015Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 7016 7017 * Added TIFFmemory(3t) functions to libtiff.def. 7018 7019Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 7020 7021 * Added libtiff/libtiff.def to TIFFILES distribution list. 7022 7023Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 7024 7025 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 7026 7027 * Altered descriptions in tools to reflect "by default" lzw not supported 7028 7029 * Updated index.html to note lzw compression kit. 7030 7031Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 7032 7033 * Added fax3sm_winnt.c to distribution list in Makefile.in. 7034 7035Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 7036 7037 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 7038 7039 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 7040 when LZW compression invoked. 7041 7042 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 7043 in tools to reflect removal of LZW compression 7044 7045Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 7046 7047 * Fixed bug that caused LZW (non) compression to segfault. Added 7048 warning about LZW compression removed being removed, and why. 7049 7050 * Added nostrip to install in tools/Makefile.in so that debugging 7051 symbols are kept. 7052 7053Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 7054 7055 * Added patch from Ivo Penzar <[email protected]>, 7056 supporting Adobe ZIP deflate. Untested. 7057 7058Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 7059 7060 * Made Packbits the default compression in tools/tiff2rgba.c instead 7061 of LZW. 7062 7063Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 7064 7065 * Added tif_luv to contrib/djgpp/Makefile.lib. 7066 7067Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 7068 7069 * Added zip creation to relase makefile target 7070 7071 * Added html for TIFFWriteTile.3t man page. 7072 7073Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 7074 7075 * Added some changes to tif_write.c to support rewriting existing 7076 fixed sized tiles and strips. Code mods disabled by default, only 7077 enabled if REWRITE_HACK is defined for now. 7078 7079Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 7080 7081 * Added TIFFWriteTile.3t man page. 7082 7083Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 7084 7085 * Added notes on use of makefile.vc in build.html, and fixed 7086 email subscription address. 7087 7088199-11-28 Mike Welles <[email protected]> 7089 7090 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 7091 7092 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 7093 from Bruce Carmeron <[email protected]> -- modifications of 7094 changes made by Frank (sun cc still complained on cast). 7095 7096 * Added tiffconf.h to install target per request from Bill 7097 Radcliffe <[email protected]>: "We need a way for ImageMagick to 7098 know features have been compiled into the TIFF library in order to 7099 handle things properly". 7100 7101Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 7102 7103 * fixed various VC++ warnings as suggested by Gilles Vollant 7104 <[email protected]>. 7105 7106Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 7107 7108 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 7109 not imply applications are responsible for image data swapping. 7110 71111999-11-22 Mike Welles <[email protected]> 7112 * HTML-ized the man pages, added to html/man 7113 7114 * Removed LZW Compression to comply with Unisys patent extortion. 7115 71161999-09-29 Mike Welles <[email protected]> 7117 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 7118 From Ivo Penzar <[email protected]. 7119 7120 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 7121 memory mapped files. <[email protected]> 7122 71231999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 7124 * Corrected alpha versioning. 7125 7126 * Removed distinction between alpha and release targets in Makefile.in. 7127 7128 * added release.stamp target, which tags cvs tree, and updates 7129 "RELEASE-DATE" 7130 7131 * added releasediff target, which diffs tree with source as of 7132 date in "RELEASE-DATE" 7133 7134 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 7135 away from alpha/non-alpha distinctions). 7136 7137 * updated html to reflect release 7138 71391999-09-23 <warmerda@CS46980-B> 7140 7141 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 7142 7143 * Added CYGWIN case in configure. 7144 7145Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 7146 7147 * Applied Francois Dagand's patch to handle fax decompression bug. 7148 (sizes >= 65536 were failing) 7149 7150Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 7151 7152 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 7153 by Christopher Lawton <[email protected]> 7154 7155Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 7156 7157 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 7158 Albert Chin-A-Young <[email protected]> 7159 7160 * Added TIFFReassignTagToIgnore() API on behalf of 7161 Bruce Cameron <[email protected]>. Man page still pending. 7162 7163Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 7164 7165 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 7166 files to provide for a rudimentary testsuite. 7167 7168 * Added contrib/tags back from old distribution ... fixed up a bit. 7169 71701999-08-16 <warmerda@CS46980-B> 7171 7172 * Added simple makefile.vc makefiles for building with MS VC++ 7173 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 7174 better solutions for some users. 7175 7176Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 7177 7178 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 7179 put it in tools since part of it is in C++. 7180 71811999-08-16 Michael L. Welles <[email protected]> 7182 7183 * Updated html/index.html with anon CVS instructions. 7184 7185Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 7186 7187 * pre-remove so link before softlink in LINUXdso action in 7188 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 7189 the first. 7190 7191 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 7192 colormaps owned by the TIFF handle itself when trying to fixup wrong 7193 (eight bit) colormaps. Corrected by maintaining a private copy of 7194 the colormap. 7195 7196 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 7197 tif_getimage.c. 7198 7199 * CVS Repository placed at remotesensing.org. ChangeLog added. 7200