12015-05-28 Bob Friesenhahn <[email protected]> 2 3 * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix 4 Coverity 298615 "Resource leak". 5 (TIFFGetOvrBlock): Fix Coverity 1024649 "Unintended sign 6 extension". 7 8 * tools/bmp2tiff.c (main): Fix Coverity 1024225 "Untrusted value 9 as argument". 10 (main): Fix Coverity 1024678 "Unchecked return value from 11 library". 12 (main): Fix Coverity 1024679 "Unchecked return value from 13 library". 14 (main): Fix Coverity 1214160 "Ignoring number of bytes read". 15 16 * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix 17 Coverity 298615 "Resource leak". 18 19 * tools/tiffcp.c: Fix Coverity 1024306, 1024307, 1024308, 1024309 20 "Resource leak". 21 22 * tools/tiffsplit.c (cpTiles): Fix Coverity 1024304 "Resource 23 leak". 24 (cpStrips): Fix Coverity 1024305 "Resource leak". 25 262015-05-27 Bob Friesenhahn <[email protected]> 27 28 * tools/ras2tiff.c: Fix Sun Raster header definition to be safe 29 for 64-bit systems. Add some header validations. Should fix many 30 Coverity issues. 31 (main): Fix Coverity 1301206: "Integer handling issues (BAD_SHIFT)". 32 (main): Quiet Coverity 1024223 "Untrusted value as argument". 33 34 * tools/tiffmedian.c (GetInputLine): Fix Coverity 1024795 "Nesting 35 level does not match indentation". 36 (get_histogram): Quiet Coverity 1024386 "Out-of-bounds read". 37 This was a benign mis-diagnosis but added code to enforce against 38 buffer overflow. 39 40 * tools/tiffcrop.c (ROTATE_ANY): Fix Coverity 1294542 "Logical 41 vs. bitwise operator". 42 (readContigStripsIntoBuffer): Fix Coverity 1024545 "Division or 43 modulo by zero". 44 (readContigTilesIntoBuffer): Fix Coverity 1024586 "Logically dead 45 code". 46 (writeSingleSection): Fix Coverity 1024796 "Nesting level does not 47 match indentation". 48 (writeCroppedImage): Fix Coverity 1024797 "Nesting level does not 49 match indentation". 50 (loadImage): Fix Coverity 1299741 "Dereference before null check". 51 (loadImage): Fix Coverity 1299740 "Out-of-bounds write". 52 532015-03-02 Even Rouault <[email protected]> 54 55 * tools/tiffdither.c: check memory allocations to avoid writing to 56 NULL pointer. Also check multiplication overflow. Fixes #2501, 57 CVE-2014-8128. Derived from patch by Petr Gajdos. 58 592015-01-26 Even Rouault <[email protected]> 60 61 * add html/v4.0.4beta.html under version control 62 * HOWTO-RELEASE: write that cvs add html/vX.X.html must be used 63 642015-01-26 Even Rouault <[email protected]> 65 66 * libtiff 4.0.4beta released 67 682015-01-26 Even Rouault <[email protected]> 69 70 * automake: updated to 1.15 71 * libtool: updated to 2.4.5 72 732015-01-22 Even Rouault <[email protected]> 74 75 * tools/tiff2pdf.c: Fix two crashes (oCERT-2014-013) 76 772015-01-05 Frank Warmerdam <[email protected]> 78 79 * html/bugs.html: remove note about needing to email the tiff mailing 80 list administrator about being approved for membership, this appears 81 not to be true. 82 832015-01-05 Olivier Paquet <[email protected]> 84 85 * tools/tiff2pdf.c: Fixed unsigned integer addition overflow detection. 86 872015-01-03 Even Rouault <[email protected]> 88 89 * libtiff/tif_dirread.c: in TIFFCheckDirOffset(), avoid uint16 overflow 90 when reading more than 65535 directories, and effectively error out when 91 reaching that limit. 92 932014-12-29 Even Rouault <[email protected]> 94 95 * libtiff/tif_jpeg.c: in JPEGFixupTags(), recognize SOF2, SOF9 and SOF10 96 markers to avoid emitting a warning (even if, according to the TechNote, 97 there are admitedly unusual/not recommended or even forbidden variants, but 98 they do work well with libjpeg for SOF2, and with libjpeg-turbo for SOF2, 99 SOF9 and SOF10). 100 Define in_color_space and input_components to the right values in 101 JPEGSetupEncode(), before calling jpeg_set_defaults(), as specified by 102 libjpeg API documentation, so as to be compatible with mozjpeg library. 103 Note: the default settings of mozjpeg will produce progressive scans, which 104 is forbidden by the TechNote. 105 1062014-12-29 Even Rouault <[email protected]> 107 108 * libtiff/tif_getimage.c: move test on vertical value of YCbCr subsampling. 109 to avoid buffer leak (fix previous fix, found by Coverity scan) 110 1112014-12-29 Even Rouault <[email protected]> 112 113 * libtiff/tif_next.c: add new tests to check that we don't read outside of 114 the compressed input stream buffer. 115 116 * libtiff/tif_getimage.c: in OJPEG case, fix checks on strile width/height 117 in the putcontig8bitYCbCr42tile, putcontig8bitYCbCr41tile and 118 putcontig8bitYCbCr21tile cases. 119 1202014-12-27 Even Rouault <[email protected]> 121 122 * libtiff/tif_dir.c: in TIFFDefaultDirectory(), reset any already existing 123 extented tags installed by user code through the extender mechaninm before 124 calling the extender callback (GDAL #5054) 125 1262014-12-26 Bob Friesenhahn <[email protected]> 127 128 * tools/tiffcrop.c: Fix warnings about variables set but not used. 129 130 * contrib/iptcutil/iptcutil.c: Fix warnings about variables set 131 but not used. 132 133 * tools/tiffgt.c: Fix warnings about unused parameters. 134 135 * libtiff/tif_stream.cxx: Fix warnings about unused parameters. 136 1372014-12-25 Even Rouault <[email protected]> 138 139 * libtiff/tif_getimage.c, libtiff/tif_ojpeg.c, libtiff/tif_zip.c: fix 140 various typos found by Debian lintian tool (GDAL #5756) 141 1422014-12-24 Even Rouault <[email protected]> 143 144 * libtiff/tif_getimage.c: avoid divide by zero on invalid YCbCr subsampling. 145 http://bugzilla.maptools.org/show_bug.cgi?id=2235 146 1472014-12-24 Even Rouault <[email protected]> 148 149 * tools/tiff2pdf.c: fix buffer overflow on some YCbCr JPEG compressed images. 150 http://bugzilla.maptools.org/show_bug.cgi?id=2445 151 1522014-12-24 Even Rouault <[email protected]> 153 154 * tools/tiff2pdf.c: fix buffer overflow on YCbCr JPEG compressed image. 155 Derived from patch by Petr Gajdos, 156 http://bugzilla.maptools.org/show_bug.cgi?id=2443 157 1582014-12-23 Even Rouault <[email protected]> 159 160 * libtiff/tif_dirread.c: In EstimateStripByteCounts(), check return code 161 of _TIFFFillStriles(). This solves crashing bug on corrupted 162 images generated by afl. 163 1642014-12-23 Even Rouault <[email protected]> 165 166 * libtiff/tif_read.c: fix several invalid comparisons of a uint64 value with 167 <= 0 by casting it to int64 first. This solves crashing bug on corrupted 168 images generated by afl. 169 1702014-12-21 Bob Friesenhahn <[email protected]> 171 172 * tools/tiffdump.c: Guard against arithmetic overflow when 173 calculating allocation buffer sizes. 174 1752014-12-21 Even Rouault <[email protected]> 176 177 * tools/tiff2bw.c: when Photometric=RGB, the utility only works if 178 SamplesPerPixel = 3. Enforce that 179 http://bugzilla.maptools.org/show_bug.cgi?id=2485 (CVE-2014-8127) 180 1812014-12-21 Even Rouault <[email protected]> 182 183 * tools/pal2rgb.c, tools/thumbnail.c: fix crash by disabling TIFFTAG_INKNAMES 184 copying. The right fix would be to properly copy it, but not worth the burden 185 for those esoteric utilities. 186 http://bugzilla.maptools.org/show_bug.cgi?id=2484 (CVE-2014-8127) 187 1882014-12-21 Even Rouault <[email protected]> 189 190 * tools/thumbnail.c: fix out-of-buffer write 191 http://bugzilla.maptools.org/show_bug.cgi?id=2489 (CVE-2014-8128) 192 1932014-12-21 Even Rouault <[email protected]> 194 195 * tools/thumbnail.c, tools/tiffcmp.c: only read/write TIFFTAG_GROUP3OPTIONS 196 or TIFFTAG_GROUP4OPTIONS if compression is COMPRESSION_CCITTFAX3 or 197 COMPRESSION_CCITTFAX4 198 http://bugzilla.maptools.org/show_bug.cgi?id=2493 (CVE-2014-8128) 199 2002014-12-21 Even Rouault <[email protected]> 201 202 * libtiff/tif_next.c: check that BitsPerSample = 2. Fixes 203 http://bugzilla.maptools.org/show_bug.cgi?id=2487 (CVE-2014-8129) 204 2052014-12-21 Even Rouault <[email protected]> 206 207 * tools/tiff2pdf.c: check return code of TIFFGetField() when reading 208 TIFFTAG_SAMPLESPERPIXEL 209 2102014-12-21 Even Rouault <[email protected]> 211 212 * tools/tiffcp.c: fix crash when converting YCbCr JPEG-compressed to none. 213 Based on patch by Tomasz Buchert (http://bugzilla.maptools.org/show_bug.cgi?id=2480) 214 Description: fix for Debian bug #741451 215 tiffcp crashes when converting JPEG-encoded TIFF to a different 216 encoding (like none or lzw). For example this will probably fail: 217 tiffcp -c none jpeg_encoded_file.tif output.tif 218 The reason is that when the input file contains JPEG data, 219 the tiffcp code forces conversion to RGB space. However, 220 the output normally inherits YCbCr subsampling parameters 221 from the input, which leads to a smaller working buffer 222 than necessary. The buffer is subsequently overrun inside 223 cpStripToTile() (called from writeBufferToContigTiles). 224 Note that the resulting TIFF file would be scrambled even 225 if tiffcp wouldn't crash, since the output file would contain 226 RGB data intepreted as subsampled YCbCr values. 227 This patch fixes the problem by forcing RGB space on the output 228 TIF if the input is JPEG-encoded and output is *not* JPEG-encoded. 229 Author: Tomasz Buchert <[email protected]> 230 2312014-12-21 Even Rouault <[email protected]> 232 233 Fix various crasher bugs on fuzzed images. 234 * libtiff/tif_dir.c: TIFFSetField(): refuse to set negative values for 235 TIFFTAG_XRESOLUTION and TIFFTAG_YRESOLUTION that cause asserts when writing 236 the directory 237 * libtiff/tif_dirread.c: TIFFReadDirectory(): refuse to read ColorMap or 238 TransferFunction if BitsPerSample has not yet been read, otherwise reading 239 it later will cause user code to crash if BitsPerSample > 1 240 * libtiff/tif_getimage.c: TIFFRGBAImageOK(): return FALSE if LOGLUV with 241 SamplesPerPixel != 3, or if CIELAB with SamplesPerPixel != 3 or BitsPerSample != 8 242 * libtiff/tif_next.c: in the "run mode", use tilewidth for tiled images 243 instead of imagewidth to avoid crash 244 * tools/bmp2tiff.c: fix crash due to int overflow related to input BMP dimensions 245 * tools/tiff2pdf.c: fix crash due to invalid tile count (should likely be checked by 246 libtiff too). Detect invalid settings of BitsPerSample/SamplesPerPixel for CIELAB / ITULAB 247 * tools/tiffcrop.c: fix crash due to invalid TileWidth/TileHeight 248 * tools/tiffdump.c: fix crash due to overflow of entry count. 249 2502014-12-15 Even Rouault <[email protected]> 251 252 * libtiff/tif_jpeg.c: Fix regression introduced on 2010-05-07 that caused 253 all tiles/strips to include quantization tables even when the jpegtablesmode 254 had the JPEGTABLESMODE_QUANT bit set. 255 Also add explicit removal of Huffman tables when jpegtablesmode has the 256 JPEGTABLESMODE_HUFF bit set, which avoids Huffman tables to be emitted in the 257 first tile/strip (only useful in update scenarios. create-only was 258 fine) 259 2602014-12-09 Bob Friesenhahn <[email protected]> 261 262 * tools/tiff2pdf.c: Assure that memory size calculations for 263 _TIFFmalloc() do not overflow the range of tmsize_t. 264 2652014-12-07 Even Rouault <[email protected]> 266 267 * tools/thumbnail.c, tools/tiffcrop.c: "fix" heap read over-run found with 268 Valgrind and Address Sanitizer on test suite 269 2702014-12-07 Bob Friesenhahn <[email protected]> 271 272 * tools/tiff2pdf.c (t2p_read_tiff_init): TIFFTAG_TRANSFERFUNCTION 273 tag can return one channel, with the other two channels set to 274 NULL. The tiff2pdf code was expecting that other two channels 275 were duplicate pointers in the case where there is only one 276 channel. Detect this condition in order to avoid a crash, and 277 presumably perform correctly with just one channel. 278 2792014-12-06 Bob Friesenhahn <[email protected]> 280 281 * tools/tiffdump.c: Fix double-free bug. 282 2832014-11-27 Even Rouault <[email protected]> 284 285 * libtiff/tif_config.vc.h: no longer use "#define snprintf _snprintf" with 286 Visual Studio 2015 aka VC 14 aka MSVC 1900 287 2882014-11-20 Even Rouault <[email protected]> 289 290 * libtiff/tif_lzw.c: prevent potential null dereference of 291 sp->dec_codetab in LZWPreDecode (bug #2459) 292 293 * libtiff/tif_read.c: in TIFFReadBufferSetup(), avoid passing -1 size 294 to TIFFmalloc() if passed user buffer size is 0 (bug #2459) 295 296 * libtiff/tif_ojpeg.c: make Coverity happier (not a bug, #2459) 297 298 * libtiff/tif_dir.c: in _TIFFVGetField() and _TIFFVSetField(), make 299 Coverity happier (not a bug, #2459) 300 301 * libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make Coverity happier 302 (not a bug, #2459) 303 304 * tools/tiff2pdf.c: close PDF file (bug #2479) 305 306 * tools/fax2ps.c: check malloc()/realloc() result (bug #2470) 307 308 * tools/tiffdump.c: detect cycle in TIFF directory chaining (bug #2463) 309 and avoid passing a NULL pointer to read() if seek() failed before (bug #2459) 310 311 * tools/tiffcrop.c: fix segfault if bad value passed to -Z option 312 (bug #2459) and add missing va_end in dump_info (#2459) 313 314 * tools/gif2tif.c: apply patch for CVE-2013-4243 (#2451) 315 3162014-11-20 Even Rouault <[email protected]> 317 * libtiff/tif_jpeg.c: fix segfault in JPEGFixupTagsSubsampling() on 318 corrupted image where tif->tif_dir.td_stripoffset == NULL (bug #2471) 319 3202014-11-20 Even Rouault <[email protected]> 321 * automake: updated to 1.14.1 322 * libtool: updated to 2.4.3 323 * HOWTO-RELEASE: small update about autotools building order 324 3252014-10-20 Olivier Paquet <[email protected]> 326 * tools/tiff2pdf.c: Preserve input file directory order when pages 327 are tagged with the same page number. 328 3292014-08-31 Bob Friesenhahn <[email protected]> 330 331 * libtiff/tif_dirread.c (TIFFReadDirEntryOutputErr): Incorrect 332 count for tag should be a warning rather than an error since 333 errors terminate processing. 334 3352014-06-07 Bob Friesenhahn <[email protected]> 336 337 * tools/tiff2rgba.c (]): Fixed tiff2rgba usage message in that zip 338 was wrongly described. Fix suggested by Miguel Medalha. 339 3402014-05-06 Bob Friesenhahn <[email protected]> 341 342 * libtiff/tif_dirinfo.c (TIFFField) : Fix data type for 343 TIFFTAG_GLOBALPARAMETERSIFD tag. Patch by Steve Underwood. 344 Reviewed and forwarded by Lee Howard. 345 3462013-11-30 Frank Warmerdam <[email protected]> 347 348 * libtiff/tif_dir.c: fix last fix for TIFFNumberOfDirectories() 349 3502013-10-21 Frank Warmerdam <[email protected]> 351 352 * libtiff/tif_dir.c: generate error in case of directory count 353 overflow. 354 3552013-10-01 Frank Warmerdam <[email protected]> 356 357 * libtiff/tiff.h, libtiff/tif_dirinfo.c: add definitions for 358 TIFF/EP CFARepeatPatternDim and CFAPattern tags (bug #2457) 359 3602013-09-12 Bob Friesenhahn <[email protected]> 361 362 * libtiff/tif_dir.c (TIFFAdvanceDirectory): If nextdir is found to 363 be defective, then set it to zero before returning error in order 364 to terminate processing of truncated TIFF. Issue found and fix 365 suggested by Richard Nolde. 366 3672013-08-14 Frank Warmerdam <[email protected]> 368 369 * tools/gif2tiff.c: fix possible OOB write (#2452, CVE-2013-4244) 370 3712013-08-13 Frank Warmerdam <[email protected]> 372 373 * tools/gif2tiff.c: Be more careful about corrupt or 374 hostile input files (#2450, CVE-2013-4231) 375 376 * tools/tiff2pdf.c: terminate after failure of allocating 377 ycbcr buffer (bug #2449, CVE-2013-4232) 378 3792013-07-09 Frank Warmerdam <[email protected]> 380 381 * tools/tiffinfo.c: Default various values fetched with 382 TIFFGetField() to avoid being uninitialized. 383 3842013-05-02 Tom Lane <[email protected]> 385 386 * tools/tiff2pdf.c: Rewrite JPEG marker parsing in 387 t2p_process_jpeg_strip to be at least marginally competent. The 388 approach is still fundamentally flawed, but at least now it won't 389 stomp all over memory when given bogus input. Fixes CVE-2013-1960. 390 3912013-05-02 Tom Lane <[email protected]> 392 393 * contrib/dbs/xtiff/xtiff.c, libtiff/tif_codec.c, 394 libtiff/tif_dirinfo.c, tools/rgb2ycbcr.c, tools/tiff2bw.c, 395 tools/tiff2pdf.c, tools/tiff2ps.c, tools/tiffcrop.c, 396 tools/tiffdither.c: Enlarge some fixed-size buffers that weren't 397 large enough, and eliminate substantially all uses of sprintf(buf, 398 ...) in favor of using snprintf(buf, sizeof(buf), ...), so as to 399 protect against overflow of fixed-size buffers. This responds in 400 particular to CVE-2013-1961 concerning overflow in tiff2pdf.c's 401 t2p_write_pdf_page(), but in general it seems like a good idea to 402 deprecate use of sprintf(). 403 4042013-03-29 Bob Friesenhahn <[email protected]> 405 406 * configure.ac: Applied patch by Brad Smith to improve pkg-config 407 static linking by adding -lm to Libs.private when needed. 408 4092013-03-05 Tom Lane <[email protected]> 410 411 * html/man/tiff2ps.1.html, html/man/tiffcp.1.html, 412 html/man/tiffdither.1.html, man/tiff2ps.1, man/tiffcp.1, 413 man/tiffdither.1, tools/tiff2ps.c, tools/tiffcp.c, 414 tools/tiffdither.c: Sync tool usage printouts and man pages with 415 reality (quite a few options had escaped being documented in one 416 or both places). Per an old report from Miroslav Vadkerti. 417 4182013-01-25 Bob Friesenhahn <[email protected]> 419 420 * tools/tiff2ps.c:Fix bug in auto rotate option code. Once a 421 rotation angle was set by the auto rotate check, it was retained 422 for all pages that followed instead ofa being retested for each 423 page. Patch by Richard Nolde. 424 4252013-01-18 Frank Warmerdam <[email protected]> 426 427 * libtiff/tif_write.c: tmsize_t related casting warning fixed for 428 64bit linux. 429 430 * libtiff/tif_read.c: uint64/tmsize_t change for MSVC warnings. 431 http://bugzilla.maptools.org/show_bug.cgi?id=2427 432 4332012-12-20 Tom Lane <[email protected]> 434 435 * test/raw_decode.c: Relax raw_decode's pixel-value checks so that 436 it will pass with more versions of libjpeg. (There are at least 437 three in active use now, and JPEG_LIB_VERSION doesn't tell us 438 enough to uniquely identify expected results.) 439 4402012-12-12 Tom Lane <[email protected]> 441 442 * libtiff/tif_print.c: Fix TIFFPrintDirectory's handling of 443 field_passcount fields: it had the TIFF_VARIABLE and 444 TIFF_VARIABLE2 cases backwards. 445 4462012-12-10 Tom Lane <[email protected]> 447 448 * tools/ppm2tiff.c: Improve previous patch for CVE-2012-4564: 449 check the linebytes calculation too, get the max() calculation 450 straight, avoid redundant error messages, check for malloc 451 failure. 452 4532012-12-10 Tom Lane <[email protected]> 454 455 * libtiff/tif_pixarlog.c: Improve previous patch for CVE-2012-4447 456 (to enlarge tbuf for possible partial stride at end) so that 457 overflow in the integer addition is detected. Per gripe from 458 Huzaifa Sidhpurwala. 459 4602012-12-03 Bob Friesenhahn <[email protected]> 461 462 * tools/tiffset.c: tiffset now supports a -u option to unset a 463 tag. Patch by Zach Baker. See 464 http://bugzilla.maptools.org/show_bug.cgi?id=2419 465 4662012-11-18 Bob Friesenhahn <[email protected]> 467 468 * automake: Update Automake to 1.12.5 release. 469 470 * libtiff/tif_{unix,vms,win32}.c (_TIFFmalloc): ANSI C does not 471 require malloc() to return NULL pointer if requested allocation 472 size is zero. Assure that _TIFFmalloc does. 473 4742012-11-01 Frank Warmerdam <[email protected]> 475 476 * tools/ppm2tiff.c: avoid zero size buffer vulnerability. 477 CVE-2012-4564 - Thanks to Huzaifa Sidhpurwala of the 478 Red Hat Security Response team for the fix. 479 4802012-10-18 Frank Warmerdam <[email protected]> 481 482 * tif_zip.c: Avoid crash on NULL error messages. 483 4842012-09-22 Bob Friesenhahn <[email protected]> 485 486 * libtiff 4.0.3 released. 487 4882012-09-20 Bob Friesenhahn <[email protected]> 489 490 * Makefile.am: Update to Automake 1.12.4 491 4922012-08-19 Bob Friesenhahn <[email protected]> 493 494 * Makefile.in: Update to Automake 1.12.3 495 496 * libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add 497 some TIFF/FX support in libtiff. Add the tag definitions to 498 tiff.h. Add the related TIFF field definitions to tif_dirinfo.c, 499 and also fixes an error in a comment. Adds the photometric values 500 to tif_print.c, and fixes a bug. These changes are by Steve 501 Underwood. 502 5032012-08-13 Frank Warmerdam <[email protected]> 504 505 * libtiff/tif_write.c: Fix bug rewriting image tiles in a 506 compressed file: http://trac.osgeo.org/gdal/ticket/4771 507 5082012-08-02 Frank Warmerdam <[email protected]> 509 510 * libtiff/tif_dirread.c: report error in case of mismatch value 511 counts for tags (ie. DotRange). 512 5132012-07-26 Tom Lane <[email protected]> 514 515 * libtiff/{tiffio.h, tif_dirinfo.c, libtiff.def}: Add six new 516 functions TIFFFieldTag(), TIFFFieldName(), TIFFFieldDataType(), 517 TIFFFieldPassCount(), TIFFFieldReadCount(), TIFFFieldWriteCount() 518 as external accessors for the opaque type TIFFField. 519 520 * tools/tiffset.c: Make tiffset use the above functions instead of 521 relying on library private headers. 522 5232012-07-19 Tom Lane <[email protected]> 524 525 * tools/tiff2pdf.c: Fix two places where t2p_error didn't get set 526 after a malloc failure. No crash risk AFAICS, but the program 527 might not report exit code 1 as desired. h/t [email protected] 528 5292012-07-18 Tom Lane <[email protected]> 530 531 * tools/tiff2pdf.c: Fail when TIFFSetDirectory() fails. This 532 prevents core dumps or perhaps even arbitrary code execution when 533 processing a corrupt input file (CVE-2012-3401). 534 5352012-07-06 Bob Friesenhahn <[email protected]> 536 537 * test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+. 538 IJG JPEG 7+ uses a different upsampling algorithm which produces 539 different numeric results. 540 541 * libtiff/tif_jpeg.c (JPEGPreDecode): Patch from Even Rouault to 542 work with IJG JPEG 7+. 543 5442012-07-04 Bob Friesenhahn <[email protected]> 545 546 * test/raw_decode.c: Add changes so that test can run with build 547 directory outside of source directory. 548 5492012-07-02 Frank Warmerdam <[email protected]> 550 551 * libtiff/tif_jpeg.c: Fix handling when writing RGBA jpeg compressed 552 imagery (http://trac.osgeo.org/gdal/ticket/4732) 553 5542012-06-20 Frank Warmerdam <[email protected]> 555 556 * libtiff/tif_fax3.c: fix memory initialization of runs, only 557 partly done. 558 559 * libtiff/tif_pixarlog.c: Make sure tbuf is large enough for one 560 full "stride" past the end. 561 5622012-06-19 Frank Warmerdam <[email protected]> 563 564 * libtiff/tif_packbits.c: fix read past end of data buffer. 565 5662012-06-15 Frank Warmerdam <[email protected]> 567 568 * libtiff 4.0.2 released. 569 570 * tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable 571 warnings with clang. 572 5732012-06-15 Tom Lane <[email protected]> 574 575 * tools/tiff2pdf.c: Defend against integer overflows while 576 calculating required buffer sizes (CVE-2012-2113). 577 5782012-06-12 Frank Warmerdam <[email protected]> 579 580 * libtiff/tif_print.c: Be careful about printing corrupt inknames. 581 582 * libtiff/tif_fax3.c: Ensure runs array is initialized to zeros. 583 5842012-06-07 Frank Warmerdam <[email protected]> 585 586 * libtiff/tif_print.c: avoid pretty printing other fields when 587 we don't have the proper amount and type of data or if the field 588 is actually autodefined. 589 5902012-06-05 Frank Warmerdam <[email protected]> 591 592 * libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal 593 ycbcrsubsampling values result in a runtime error, not just an 594 assertion. 595 596 * tests/custom_dir.c: Add testing of EXIF and custom directory 597 reading and writing. 598 599 * libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory() 600 and TIFFCreateEXIFDirectory() functions. 601 602 * libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for 603 PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING. Implement DOTRANGE 604 differently. This is to avoid using special TIFFGetField/TIFFSetField 605 rules for these fields in non-image directories (like EXIF). 606 6072012-06-04 Frank Warmerdam <[email protected]> 608 609 * libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling 610 in JPEGPreDecode(). If a fixup will be done it needs to be done sooner 611 in JPEGFixupTagsSubsampling() or else buffer sized may be wrong. 612 6132012-06-01 Frank Warmerdam <[email protected]> 614 615 * tools/tiffinfo.c: Do not try to read image data in EXIF directories. 616 617 * libtiff/tif_getimage.c: added support for _SEPARATED CMYK images. 618 http://bugzilla.maptools.org/show_bug.cgi?id=2379 619 620 * libtiff/tif_unix.c: use strerror() to return a more specific error message 621 on failed open. 622 http://bugzilla.maptools.org/show_bug.cgi?id=2341 623 624 * libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs. 625 http://bugzilla.maptools.org/show_bug.cgi?id=2386 626 627 * tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support 628 for testing jpeg in tiff image decoding including the "raw" decode interface. 629 6302012-05-31 Frank Warmerdam <[email protected]> 631 632 * libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in 633 JPEGDecodeRaw() - mostly likely to occur when there is confusion about 634 sampling values. 635 636 * libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed. 637 638 * libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval. 639 http://bugzilla.maptools.org/show_bug.cgi?id=2398 640 6412012-05-29 Frank Warmerdam <[email protected]> 642 643 * libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories, 644 like EXIF directories. This fixes problems like a tag "320" existing in a custom directory getting 645 processed as if it were a colormap when it isn't really. Damn the wide variety of argument formulations 646 to get/set functions for different tags! 647 648 * libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata 649 is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag. 650 6512012-05-24 Frank Warmerdam <[email protected]> 652 653 * libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward 654 accumulate" and overwrite the end by one word in at least some cases. 655 6562012-05-23 Frank Warmerdam <[email protected]> 657 658 * libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs. 659 660 * tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files. 661 662 * libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on 663 the same image. 664 665 * libtiff/tif_ojpeg.c: make things more resilient in the face of files without 666 stripbytecounts or stripoffsets or where loading these fails. 667 668 * libtiff/tif_print.c: be careful about whether min/max values are singular 669 or one per sample. 670 671 * libtiff/tif_print.c: Avoid confusion about count size when printing custom fields. 672 May affect things like ISOSpeedRatings. 673 674 * libtiff/tif_dir.c: avoid one byte past end of ink names reading 675 in some cases. 676 6772012-05-19 Bob Friesenhahn <[email protected]> 678 679 * man/TIFFGetField.3tiff: Correct the 'count' field type in the 680 example for how to retreive the value of unsupported tags. 681 6822012-03-30 Frank Warmerdam <[email protected]> 683 684 * tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173) 685 care of Tom Lane @ Red Hat. 686 6872012-02-18 Bob Friesenhahn <[email protected]> 688 689 * libtiff 4.0.1 released. 690 691 * Update automake used to 1.11.3. 692 693 * libtiff/tiffio.h: Use double-underbar syntax in GCC printf 694 attribute specification to lessen the risk of accidental macro 695 substitution. Patch from Vincent Torri. 696 6972012-01-31 Frank Warmerdam <[email protected]> 698 699 * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around 700 assumption tag fetching is always successful. 701 702 * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL. 703 7042012-01-22 Bob Friesenhahn <[email protected]> 705 706 * configure.ac: Add support for using library symbol versioning on 707 ELF systems with the GNU linker. Support is enabled via 708 --enable-ld-version-script. Disabled by default for now until 709 there is a decision for how to deploy a libtiff with versioned 710 symbols after libtiff 4.0.0 was already released. 711 7122011-12-22 Bob Friesenhahn <[email protected]> 713 714 * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in 715 716 tif_win32.c. Patch by Edward Lam. 717 718 * configure.ac: Add libtiff private dependency on -llzma for 719 pkg-config. Patch by Mark Brand. 720 Updated Automake to 1.11.2. 721 7222011-12-21 Bob Friesenhahn <[email protected]> 723 724 * libtiff 4.0.0 released. 725 7262011-12-08 Frank Warmerdam <[email protected]> 727 728 * libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking 729 of _TIFFFillStriles() results (#gdal 4372) 730 7312011-12-07 Frank Warmerdam <[email protected]> 732 733 * libtiff/tif_dirread.c: fixes to deal with invalid files where 734 _TIFFFillStriles() fails, and we try to chop up strips (gdal #4372) 735 736 * libtiff/tif_dirread.c: fix error reporting when there is no 737 tag information struct and name (gdal #4373) 738 7392011-10-22 Bob Friesenhahn <[email protected]> 740 741 * Update GNU libtool to 2.4.2. 742 743 * tools/tiffsplit.c (tiffcp): TIFFGetField count field should be 744 uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe 745 Deroulers. 746 7472011-06-21 Frank Warmerdam <[email protected]> 748 749 * libtiff/libtiff.def: Restore TIFFMergeFieldInfo. 750 7512011-05-31 Jim Meyering <[email protected]> 752 753 * libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also 754 upon failure to allocate "resizeddata". 755 * tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for 756 allocation failure, not before. 757 * libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path 758 * tools/rgb2ycbcr.c (cvtRaster): unchecked malloc 759 * libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark 760 NULL-deref and possible overflow 761 * tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written" 762 * libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration 763 and set of otherwise unused local, data_is_empty. 764 * libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]: 765 Diagnose out-of-memory failure and return 0 rather than 766 dereferencing NULL. 767 7682011-05-24 Frank Warmerdam <[email protected]> 769 770 * libtiff/tif_dirread.c: produce special error message for zero tag 771 directories instead of error out on the malloc(0) failure. 772 7732011-05-16 Frank Warmerdam <[email protected]> 774 775 * libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and 776 related declarations as they are in active use by libraries 777 such as libgeotiff, and work just fine. (#2315) 778 7792011-04-20 Frank Warmerdam <[email protected]> 780 781 * libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete 782 TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API. 783 http://bugzilla.maptools.org/show_bug.cgi?id=2315 784 785 * libtiff/libtiff.def: add some missing (64bit) APIs. 786 http://bugzilla.maptools.org/show_bug.cgi?id=2316 787 7882011-04-09 Bob Friesenhahn <[email protected]> 789 790 * libtiff 4.0.0beta7 released. 791 7922011-04-09 Bob Friesenhahn <[email protected]> 793 794 * configure.ac: Should use AC_CANONICAL_HOST since host specifies 795 the run-time target whereas target is used to specify the final 796 output target if the package is a build tool (like a compiler), 797 which libtiff is not. Resolves libtiff bug 2307 "Use 798 AC_CANONICAL_HOST macro". 799 8002011-04-02 Bob Friesenhahn <[email protected]> 801 802 * configure.ac: Support configuring TIFF_INT64_FORMAT and 803 TIFF_UINT64_FORMAT appropriately for MinGW32. 804 805 * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32 806 printf conventions for 64-bit types because it uses the WIN32 CRT. 807 808 * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c, 809 tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32 810 printf conventions for 64-bit types because it uses the WIN32 CRT. 811 812 * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not 813 understood by WIN32 CRT. 814 815 * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC. 816 817 * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since 818 it is much more portable. Tmpfile is included in ISO/IEC 819 9899:1990 and the WIN32 CRT. 820 8212011-03-26 Frank Warmerdam <[email protected]> 822 823 * tools/tiffset.c: add -d and -sd switches to allow operation on 824 a particular directory, not just the first (jef). 825 8262011-03-21 Frank Warmerdam <[email protected]> 827 828 * libtiff/tif_thunder.c: Correct potential buffer overflow with 829 thunder encoded files with wrong bitspersample set. The libtiff 830 development team would like to thank Marin Barbella and TippingPoint's 831 Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004, 832 CVE-2011-1167). 833 http://bugzilla.maptools.org/show_bug.cgi?id=2300 834 8352011-03-10 Frank Warmerdam <[email protected]> 836 837 * libtiff/tif_fax3.h: Fix to last change allowing zero length 838 runs at the start of a scanline - needed for legal cases. 839 8402011-03-02 Frank Warmerdam <[email protected]> 841 842 * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 843 a move left. Without this, a malicious input file can generate an 844 indefinitely large series of runs without a0 ever reaching the right 845 margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192. 846 This is a modified version of a patch proposed by Drew Yao of Apple 847 Product Security. It adds an unexpected() report, and disallows the 848 equality case, since emitting a run without increasing a0 still allows 849 buffer overrun. 850 8512011-02-23 Frank Warmerdam <[email protected]> 852 853 * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296) 854 855 * tools/tiff2rgba.c: close source file on error to make leak 856 detection easier. 857 858 * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails. 859 860 http://bugzilla.maptools.org/show_bug.cgi?id=2295 861 8622011-02-22 Frank Warmerdam <[email protected]> 863 864 * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ 865 _SUPPORT) 866 8672011-02-18 Frank Warmerdam <[email protected]> 868 869 * configure.ac, configure: Added support for --enable-chunky-strip-read 870 configure option to enable the experimental feature from a couple 871 months ago for reading big strips in chunks. 872 873 * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 874 tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c: 875 Implement optional support for deferring the load of strip/tile 876 offset and size tags for optimized scanning of directories. Enabled 877 with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD 878 #define in tif_config.h). 879 8802011-02-11 Frank Warmerdam <[email protected]> 881 882 * libtiff/tif_print.c: remove unused variable. 883 8842011-02-09 Frank Warmerdam <[email protected]> 885 886 * libtiff/tif_win32.c: avoid error/warning buffer overrun problem 887 with non-console (popup message) builds on win32. 888 889 http://bugzilla.maptools.org/show_bug.cgi?id=2293 890 8912011-01-24 Olivier Paquet <[email protected]> 892 893 * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c, 894 tif_print.c, tiff.h, tiffiop.h} : Added support for 895 TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different 896 values for each sample. Presents the min/max of all samples by default for 897 compatibility. TIFFSetField/TIFFGetField can be made to handle those tags 898 as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag. 899 http://www.asmail.be/msg0055458208.html 900 9012011-01-06 Frank Warmerdam <[email protected]> 902 903 * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 904 maintained. 905 906 * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 907 for CHUNKY_STRIP_READ_SUPPORT. 908 909 * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained 910 during JPEGPreDecode and JPEGDecode calls. 911 * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 912 as compression formats like JPEG keep 16 lines interleaved in a sense 913 and might need to touch quite a bit of data. 914 915 http://trac.osgeo.org/gdal/ticket/3894 916 9172011-01-03 Lee Howard <[email protected]> 918 919 * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images 920 caused by commit on 2010-12-14. Submitted by e-mail from 921 Even Rouault <[email protected]> 922 9232010-12-31 Olivier Paquet <[email protected]> 924 925 * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE. 926 http://bugzilla.maptools.org/show_bug.cgi?id=2266 927 9282010-12-23 Andrey Kiselev <[email protected]> 929 930 * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the 931 compression level parameter (preset) for Deflate and LZMA encoders, 932 e.g "-c lzma:p1" or "-c zip:p9". 933 934 * libtiff/tif_lzma.c: Properly set the LZMA2 compression level 935 (preset) in LZMAVSetField(). 936 9372010-12-18 Bob Friesenhahn <[email protected]> 938 939 * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to 940 Makefile. 941 9422010-12-14 Andrey Kiselev <[email protected]> 943 944 * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h, 945 tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new 946 TIFF compression scheme LZMA reserving a new value 34925 for 947 Compression tag. As per 948 bug http://bugzilla.maptools.org/show_bug.cgi?id=2221 949 9502010-12-14 Lee Howard <[email protected]> 951 952 * libtiff/tif_dirread.c: tolerate some cases where 953 FIELD_COLORMAP is missing 954 http://bugzilla.maptools.org/show_bug.cgi?id=2189 955 9562010-12-14 Lee Howard <[email protected]> 957 958 * libtiff/tif_read.c: change read_ahead to tmsize_t 959 http://bugzilla.maptools.org/show_bug.cgi?id=2222 960 9612010-12-14 Lee Howard <[email protected]> 962 963 * configure.ac, libtiff/Makefile.am: Build tif_win32.c on 964 Windows except on Cygwin 965 http://bugzilla.maptools.org/show_bug.cgi?id=2224 966 9672010-12-14 Lee Howard <[email protected]> 968 969 * tools/gif2tiff.c: fix buffer overrun 970 http://bugzilla.maptools.org/show_bug.cgi?id=2270 971 9722010-12-14 Lee Howard <[email protected]> 973 974 * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order 975 to improve compatibility with various viewers 976 submitted by e-mail from Dwight Kelly <[email protected]> 977 9782010-12-13 Lee Howard <[email protected]> 979 980 * tools/fax2ps.c: be consistent with page-numbering 981 http://bugzilla.maptools.org/show_bug.cgi?id=2225 982 9832010-12-13 Lee Howard <[email protected]> 984 985 * libtiff/tif_color.c: prevent crash in handling bad TIFFs 986 resolves CVE-2010-2595 987 http://bugzilla.maptools.org/show_bug.cgi?id=2208 988 9892010-12-13 Lee Howard <[email protected]> 990 991 * tools/tiffcrop.c: new release by Richard Nolde 992 http://bugzilla.maptools.org/show_bug.cgi?id=2004 993 9942010-12-12 Lee Howard <[email protected]> 995 996 * tools/tiff2pdf.c: fix colors for images with RGBA 997 interleaved data 998 http://bugzilla.maptools.org/show_bug.cgi?id=2250 999 10002010-12-12 Lee Howard <[email protected]> 1001 1002 * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files 1003 http://bugzilla.maptools.org/show_bug.cgi?id=2164 1004 10052010-12-11 Lee Howard <[email protected]> 1006 1007 * tools/tiff2pdf.c: remove invalid duplication for Lab 1008 http://bugzilla.maptools.org/show_bug.cgi?id=2162 1009 10102010-12-11 Lee Howard <[email protected]> 1011 1012 * libtiff/tif_jpeg.c: fix use of clumplines calculation 1013 http://bugzilla.maptools.org/show_bug.cgi?id=2149 1014 10152010-12-11 Lee Howard <[email protected]> 1016 1017 * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp() 1018 http://bugzilla.maptools.org/show_bug.cgi?id=2118 1019 10202010-12-11 Lee Howard <[email protected]> 1021 1022 * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c, 1023 libtiff/tif_zip.c: fix build errors for VC6 1024 http://bugzilla.maptools.org/show_bug.cgi?id=2105 1025 10262010-12-11 Lee Howard <[email protected]> 1027 1028 * libtiff/tif_stream.cxx: warnings cleanup 1029 http://bugzilla.maptools.org/show_bug.cgi?id=2091 1030 * libtiff/tif_dirread.c: warnings cleanup 1031 http://bugzilla.maptools.org/show_bug.cgi?id=2092 1032 10332010-12-11 Lee Howard <[email protected]> 1034 1035 * tools/tiff2pdf.c: add fill-page option 1036 http://bugzilla.maptools.org/show_bug.cgi?id=2051 1037 10382010-12-11 Lee Howard <[email protected]> 1039 1040 * libtiff/tif_dirread.c: modify warnings 1041 http://bugzilla.maptools.org/show_bug.cgi?id=2016 1042 10432010-12-11 Lee Howard <[email protected]> 1044 1045 * libtiff/tif_ojpeg.c: fix buffer overflow on problem data 1046 http://bugzilla.maptools.org/show_bug.cgi?id=1999 1047 10482010-12-11 Lee Howard <[email protected]> 1049 1050 * tools/tiffinfoce.c: strip byte counts are uint64* now 1051 10522010-12-11 Lee Howard <[email protected]> 1053 1054 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero 1055 or missing byte-count tag 1056 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count 1057 per http://bugzilla.maptools.org/show_bug.cgi?id=1996 1058 10592010-12-08 Lee Howard <[email protected]> 1060 1061 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed 1062 TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994 1063 10642010-12-06 Lee Howard <[email protected]> 1065 1066 * libtiff/tif_open.c: Fix mode check before opening a file. 1067 http://bugzilla.maptools.org/show_bug.cgi?id=1906 1068 10692010-11-27 Bob Friesenhahn <[email protected]> 1070 1071 * libtiff-4.pc.in: Added libtiff pkg-config .pc file support. 1072 Patch by Vincent Torri. 1073 10742010-10-21 Frank Warmerdam <[email protected]> 1075 1076 * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler. 1077 1078 * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf. 1079 1080 * libtiff/libtiff.def: export _TIFFCheckMalloc for tools. 1081 10822010-09-25 Lee Howard <[email protected]> 1083 1084 * tools/tiff2ps.c: improvements and enhancements from Richard Nolde 1085 with additional command line options for Document Title, 1086 Document Creator, and Page Orientation 1087 10882010-07-13 Bob Friesenhahn <[email protected]> 1089 1090 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 1091 potentially unterminated buffer due to using an exceptionally long 1092 file name. 1093 10942010-07-08 Andrey Kiselev <[email protected]> 1095 1096 * tools/tiff2pdf.c: Fixed ID buffer filling in 1097 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 1098 10992010-07-07 Andrey Kiselev <[email protected]> 1100 1101 * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 1102 to expected value as the warning message suggests. As per bug 1103 http://bugzilla.maptools.org/show_bug.cgi?id=1963 1104 11052010-07-06 Andrey Kiselev <[email protected]> 1106 1107 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 1108 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 1109 which should be set by value. 1110 1111 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 1112 and _TIFFFieldWithName() if the tag is not found in the tag table. 1113 This should be normal situation and returned NULL value should be 1114 properly handled by the caller. 1115 11162010-07-02 Andrey Kiselev <[email protected]> 1117 1118 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 1119 integer type conversions. As per bug 1120 http://bugzilla.maptools.org/show_bug.cgi?id=2207 1121 1122 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 1123 WhitePoint tag as per bug 1124 http://bugzilla.maptools.org/show_bug.cgi?id=2042 1125 1126 * libtiff/tif_getimage.c: Check the number of samples per pixel when 1127 working with YCbCr image in PickContigCase(). As per bug 1128 http://bugzilla.maptools.org/show_bug.cgi?id=2216 1129 1130 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 1131 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 1132 we don't need any post-processing. That helps to reset the hook if we 1133 previously set this field to some other value and the hook was 1134 initialized accordingly. As per bug 1135 http://bugzilla.maptools.org/show_bug.cgi?id=2035 1136 11372010-07-01 Andrey Kiselev <[email protected]> 1138 1139 * tools/tiffgt.c: Properly check the raster buffer allocations for 1140 integer overflows. As per bug 1141 http://bugzilla.maptools.org/show_bug.cgi?id=2108 1142 1143 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 1144 upstream. 1145 1146 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 1147 multiply_32() and multiply_64() functions into tif_aux.c file and 1148 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 1149 11502010-06-30 Andrey Kiselev <[email protected]> 1151 1152 * tools/tiff2pdf.c: Better generation of ID field in 1153 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 1154 1155 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 1156 converting JPEG encoded tiles. 1157 1158 * tools/tiff2pdf.c: Better handling of string fields, use static 1159 string buffers instead of dynamically allocated, use strncpy() instead 1160 of strcpy(), control the string lengths. 1161 11622010-06-25 Andrey Kiselev <[email protected]> 1163 1164 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 1165 referencing to uninitialized memory in some cases (e.g. when tile size 1166 set bigger than the image size). 1167 11682010-06-15 Bob Friesenhahn <[email protected]> 1169 1170 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 1171 subsampled data since tiffcrop currently doesn't support it. Fix 1172 JPEG support. 1173 11742010-06-13 Frank Warmerdam <[email protected]> 1175 1176 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 1177 1178 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 1179 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 1180 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 1181 size is larger. Also, there are a bunch of places that try to 1182 memset() a malloc'd buffer before checking for malloc failure, which 1183 would result in core dump if there actually were a failure. (#2211) 1184 11852010-06-11 Bob Friesenhahn <[email protected]> 1186 1187 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 1188 avoid compiler warnings if parameter types are not sign 1189 consistent. 1190 1191 * libtiff 4.0.0alpha6 released. 1192 1193 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 1194 European page size dimensions. Added an option to allow the user 1195 to specify a custom page size on the command line. Fix the case 1196 where a page size specified with a fractional part was being 1197 coerced to an integer by retyping the variables that define the 1198 paper size. 1199 1200 * html/index.html: Update for the 3.9.3 release. 1201 1202 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 1203 YCbCr subsampled data since tiffcp currently doesn't support it. 1204 http://bugzilla.maptools.org/show_bug.cgi?id=2097 1205 1206 * Update libtool to version 2.2.10. 1207 12082010-06-10 Bob Friesenhahn <[email protected]> 1209 1210 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 1211 multiplier is zero. 1212 12132010-06-09 Bob Friesenhahn <[email protected]> 1214 1215 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 1216 CVE-2010-1411 was not complete. 1217 1218 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 1219 multiply two integers. Returns zero if there is an integer 1220 overflow. 1221 1222 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 1223 is reported when reading the input file. 1224 12252010-06-08 Bob Friesenhahn <[email protected]> 1226 1227 * Update libtool to version 2.2.8. 1228 1229 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 1230 buffer due to integer overflow in TIFFroundup() and several other 1231 potential overflows. In conjunction with the fix to TIFFhowmany(), 1232 fixes CVE-2010-1411. 1233 1234 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 1235 result in an integer overflow. This causes TIFFroundup() to also 1236 return zero if there would be an integer overflow. 1237 1238 * contrib: Add an emacs formatting mode footer to all source files 1239 so that emacs can be effectively used. 1240 12412010-06-03 Oliver Chen Feng <[email protected]> 1242 1243 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 1244 file PAGENUMBER value in sequence for users who care the page 1245 sequence, this will also prevent tiff2pdf from creating pdf file from 1246 the merged tiff file with wrong page sequence. 1247 12482010-05-08 Olivier Paquet <[email protected]> 1249 1250 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 1251 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 1252 * libtiff/tif_dirinfo.c: Use correct set_field_type for 1253 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 1254 http://bugzilla.maptools.org/show_bug.cgi?id=2192 1255 12562010-05-07 Frank Warmerdam <[email protected]> 1257 1258 * libtiff/tif_jpeg.c: Ensure that quality is always set in 1259 JPEGPreEncode(), not just when we want to output local tables. 1260 Otherwise the quality used during compression may not be right and 1261 might not match the tables in the tables tag. This bug only occurs 1262 when seeking between directories in the midst of writing blocks. 1263 http://trac.osgeo.org/gdal/ticket/3539 1264 12652010-05-06 Andrey Kiselev <[email protected]> 1266 1267 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 1268 Regenerated from the source. 1269 12702010-05-05 Olivier Paquet <[email protected]> 1271 1272 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 1273 had stopped working. Also made it always print 6 floats instead of 1274 2*SamplesPerPixel. 1275 http://bugzilla.maptools.org/show_bug.cgi?id=2191 1276 http://bugzilla.maptools.org/show_bug.cgi?id=2186 1277 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 1278 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 1279 12802010-05-05 Frank Warmerdam <[email protected]> 1281 1282 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 1283 if the jpeg table was written. This is a fix for the last fix on 04-21. 1284 12852010-04-21 Frank Warmerdam <[email protected]> 1286 1287 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 1288 JPEGSetupEncode() is called if the tables already seem to be 1289 established. This prevents spurious updates and rewriting of 1290 directories with jpegtables when doing updates to existing images. 1291 http://trac.osgeo.org/gdal/ticket/3539 1292 12932010-04-20 Olivier Paquet <[email protected]> 1294 1295 * libtiff/tif_dirinfo.c: Use correct set_field_type for 1296 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 1297 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 1298 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 1299 http://bugzilla.maptools.org/show_bug.cgi?id=2139 1300 13012010-04-10 Bob Friesenhahn <[email protected]> 1302 1303 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 1304 when the tag count value is zero. Error handling is still a 1305 regression since in 3.9.2, empty tags are skipped (with a warning) 1306 rather than returning a hard error and refusing to read the file. 1307 1308 * tools/ppm2tiff.c (main): While case for parsing comment line 1309 requires extra parenthesis to work as expected. Reported by 1310 Thomas Sinclair. 1311 13122010-04-02 Frank Warmerdam <[email protected]> 1313 1314 * libtiff/tif_read.c (primarily): Add support for 1315 CHUNKY_STRIP_READ_SUPPORT where large strips are 1316 read in chunks for applications using TIFFReadScanline(). 1317 This is intended to make it more practical work with very 1318 large compressed one-strip files. Feature is off by default. 1319 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 1320 http://trac.osgeo.org/gdal/ticket/3514 1321 13222010-03-31 Frank Warmerdam <[email protected]> 1323 1324 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 1325 directories so previously placed directories will be migrated to 1326 the end of file if needed. 1327 13282010-03-30 Frank Warmerdam <[email protected]> 1329 1330 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 1331 to support operating on strips/tiles of more than 256MB. 1332 http://trac.osgeo.org/gdal/ticket/3512 1333 13342010-03-10 Bob Friesenhahn <[email protected]> 1335 1336 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 1337 that it is clearly a memory allocation error message, and also 1338 includes the size of the allocation request. 1339 13402010-02-22 Lee Howard <[email protected]> 1341 1342 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 1343 the JPEG TIFF as is is not required in order to prevent it from 1344 being unused and filled with invalid data. (Leave it to be 1345 generated by later activity.) 1346 http://bugzilla.maptools.org/show_bug.cgi?id=2135 1347 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 1348 data rather than skipping them. This fixes the ability to view in 1349 Acrobat Reader, Evince, and Ghostscript. 1350 http://bugzilla.maptools.org/show_bug.cgi?id=2135 1351 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 1352 strips. 1353 http://bugzilla.maptools.org/show_bug.cgi?id=2029 1354 13552009-12-03 Frank Warmerdam <[email protected]> 1356 1357 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 1358 Made so that when working with downsampled images a stub function 1359 reporting an error is used for tif_decoderow. We cannot meaningfully 1360 support reading scanlines in this situation. (#1936) 1361 1362 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 1363 resetting of the upsampling values (gdal:#3259). 1364 http://bugzilla.maptools.org/show_bug.cgi?id=1936 1365 13662009-11-30 Frank Warmerdam <[email protected]> 1367 1368 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 1369 tools/ras2tiff.c: Fix resource leaks on error. 1370 http://bugzilla.maptools.org/show_bug.cgi?id=2121 1371 1372 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 1373 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 1374 of as a custom(generic) field to avoid a potential reentrancy problem. 1375 http://bugzilla.maptools.org/show_bug.cgi?id=2125 1376 1377 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 1378 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 1379 const, and display_sRGB static and const. 1380 http://bugzilla.maptools.org/show_bug.cgi?id=2124 1381 13822009-11-04 Bob Friesenhahn <[email protected]> 1383 1384 * libtiff 4.0.0alpha5 released. 1385 13862009-11-03 Bob Friesenhahn <[email protected]> 1387 1388 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 1389 version has undergone substantial testing with arbitrary sample 1390 bit depths. Also eliminates GCC compilation warnings. 1391 13922009-11-02 Bob Friesenhahn <[email protected]> 1393 1394 * port/libport.h: Add extern declarations for getopt standard 1395 globals. 1396 13972009-10-31 Bob Friesenhahn <[email protected]> 1398 1399 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 1400 noticed in 64-bit build of libtiff with Visual Studio 2005. 1401 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 1402 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 1403 1404 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 1405 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 1406 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 1407 http://bugzilla.maptools.org/show_bug.cgi?id=2068 1408 14092009-10-29 Bob Friesenhahn <[email protected]> 1410 1411 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 1412 pointer" warnings. 1413 14142009-10-28 Bob Friesenhahn <[email protected]> 1415 1416 * html/tools.html: Add manual page links, and a summary 1417 description of tiffcrop. 1418 14192009-10-07 Bob Friesenhahn <[email protected]> 1420 1421 * configure.ac: x86_64 should use the same fill order as i386. 1422 14232009-09-24 Bob Friesenhahn <[email protected]> 1424 1425 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 1426 Nolde. Major updates to add significant functionality for reading 1427 and writing tile based images with bit depths not a multiple of 8 1428 which cannot be handled by tiffcp. 1429 14302009-09-03 Bob Friesenhahn <[email protected]> 1431 1432 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 1433 do_fancy_upsampling=FALSE in order to read raw data. Resolves 1434 "Bug 2090 - OJPEG crash with libjpeg v7". 1435 http://bugzilla.maptools.org/show_bug.cgi?id=2090 1436 14372009-09-03 Frank Warmerdam <[email protected]> 1438 1439 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 1440 interface when stoponerror is set. 1441 http://bugzilla.maptools.org/show_bug.cgi?id=2071 1442 14432009-08-30 Bob Friesenhahn <[email protected]> 1444 1445 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 1446 fix build with gcc when using the "-Wformat 1447 -Werror=format-security" flags. 1448 14492009-08-29 Bob Friesenhahn <[email protected]> 1450 1451 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 1452 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 1453 utilities tests. 1454 14552009-08-28 Bob Friesenhahn <[email protected]> 1456 1457 * tools/tiffinfo.c: tiffinfo should return error status to the 1458 caller. Register a private error callback to accomplish that. 1459 1460 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 1461 PNM formats so that we will be able to test more of the tools. 1462 While adding these test images I notice that bmp2tiff and gif2tiff 1463 only support ancient versions of their respective formats. 1464 14652009-08-27 Bob Friesenhahn <[email protected]> 1466 1467 * libtiff 4.0.0alpha4 released. 1468 1469 * HOWTO-RELEASE: Improved release instructions. 1470 14712009-08-24 Bob Friesenhahn <[email protected]> 1472 1473 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 1474 fixes for "Bug 2023 - nroff errors in manual pages". 1475 http://bugzilla.maptools.org/show_bug.cgi?id=2023 1476 1477 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 1478 CVE-2009-2347 libtiff: integer overflows in various inter-color 1479 space conversion tools". 1480 http://bugzilla.maptools.org/show_bug.cgi?id=2079 1481 1482 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 1483 Berkenbilt for "Bug 2024 - possible null pointer dereference with 1484 one-line fix". 1485 http://bugzilla.maptools.org/show_bug.cgi?id=2024 1486 1487 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 1488 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 1489 segfault after setting tdir_tag = IGNORE". 1490 http://bugzilla.maptools.org/show_bug.cgi?id=1895 1491 14922009-08-23 Bob Friesenhahn <[email protected]> 1493 1494 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 1495 tiffcrop.sh into a collection of many specific tests. Re-wrote 1496 all of the existing tests to be based on some simple shell 1497 functions. Make distcheck works again. 1498 1499 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 1500 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 1501 tests under valgrind. 1502 15032009-08-21 Bob Friesenhahn <[email protected]> 1504 1505 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 1506 build. 1507 1508 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 1509 actually activated since it needed to be enabled in this 1510 Makefile.am. Also activated parallel-tests mode since it offers 1511 useful features such as per-test .log files and a summary test 1512 report .log file. 1513 15142009-08-20 Bob Friesenhahn <[email protected]> 1515 1516 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 1517 libtool 2.2.6. Enabled support for silent build rules 1518 (--enable-silent-rules or 'make V=0') and colorized tests. 1519 1520 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 1521 15222009-06-30 Frank Warmerdam <[email protected]> 1523 1524 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 1525 1526 * tools/tiffcp.c: add -c sgilog support. 1527 1528 * libtiff/tif_luv.c: correct return codes from encoderow to be 1529 1 on success instead of zero. 1530 http://bugzilla.maptools.org/show_bug.cgi?id=2069 1531 1532 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 1533 #1085 for a better underflow fix that errors properly. 1534 http://bugzilla.maptools.org/show_bug.cgi?id=2065 1535 http://bugzilla.maptools.org/show_bug.cgi?id=1985 1536 15372009-06-26 Frank Warmerdam <[email protected]> 1538 1539 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 1540 fails on oddly sized 12bit jpeg compressed ycbcr images. 1541 15422009-06-22 Frank Warmerdam <[email protected]> 1543 1544 * libtiff/tif_lzw.c: Fix buffer underflow bug. 1545 http://bugzilla.maptools.org/show_bug.cgi?id=2065 1546 15472009-06-21 Frank Warmerdam <[email protected]> 1548 1549 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 1550 for dual mode 8/12 bit jpeg support. 1551 15522009-06-03 Frank Warmerdam <[email protected]> 1553 1554 * libtiff/tif_write.c: do not override the planar configuration to be 1555 contig for one sample files if planar configuration is already set. 1556 http://bugzilla.maptools.org/show_bug.cgi?id=2057 1557 15582009-06-02 Frank Warmerdam <[email protected]> 1559 1560 * libtiff/libtiff.def: Add TIFFUnsetField. 1561 15622009-05-03 Frank Warmerdam <[email protected]> 1563 1564 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 1565 error reports to use "%s" as format string. 1566 http://trac.osgeo.org/gdal/ticket/2976 1567 15682009-03-12 Frank Warmerdam <[email protected]> 1569 1570 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 1571 for some codecs (#2020). 1572 15732009-02-12 Frank Warmerdam <[email protected]> 1574 1575 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 1576 http://bugzilla.maptools.org/show_bug.cgi?id=2005 1577 15782009-02-09 Frank Warmerdam <[email protected]> 1579 1580 * libtiff/tif_dirread.c: Improve allocation safety when allocated 1581 buffer for large tags. (#1998) Related to (#1993) 1582 15832009-02-06 Frank Warmerdam <[email protected]> 1584 1585 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 1586 test suite should pass. 1587 15882009-02-05 Frank Warmerdam <[email protected]> 1589 1590 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 1591 but at the 2GB boundary to avoid overflow on 32bit systems. 1592 http://bugzilla.maptools.org/show_bug.cgi?id=1993 1593 1594 * libtiff/tif_dirread.c: Remove some assertions that blow due to 1595 corrupt files rather than in response to library internal 1596 inconsistencies. 1597 http://bugzilla.maptools.org/show_bug.cgi?id=1995 1598 http://bugzilla.maptools.org/show_bug.cgi?id=1991 1599 1600 * libtiff/tif_dirread.c: Fixed testing for failed result from 1601 TIFFReadDirectoryFindFieldInfo(). 1602 http://bugzilla.maptools.org/show_bug.cgi?id=1992 1603 16042009-01-23 Frank Warmerdam <[email protected]> 1605 1606 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 1607 http://bugzilla.maptools.org/show_bug.cgi?id=1911 1608 1609 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 1610 1611 http://bugzilla.maptools.org/show_bug.cgi?id=1924 1612 1613 * tools/tiffcrop.c: initialize xres/yres values. 1614 1615 * test/*.sh - default ${srcdir} to local directory. 1616 1617 * test/common.sh - start verbose mode after common settings. 1618 1619 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 1620 avoid type mismatches on different platforms. 1621 http://bugzilla.maptools.org/show_bug.cgi?id=1889 1622 16232009-01-22 Frank Warmerdam <[email protected]> 1624 1625 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 1626 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 1627 1628 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 1629 defined, primarily to reduce prototype warnings on windows. 1630 1631 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 1632 about unused parameters, and uninitialized variables. 1633 16342009-01-21 Bob Friesenhahn <[email protected]> 1635 1636 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 1637 order to trace full execution detail while executing the test suite. 1638 16392009-01-20 Frank Warmerdam <[email protected]> 1640 1641 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 1642 16432009-01-20 Bob Friesenhahn <[email protected]> 1644 1645 * test/Makefile.am (CLEANFILES): Make sure that test output files 1646 are removed by 'make clean' 1647 1648 * Update autotools for 4.0.0 beta3 1649 1650 * 4.0.0 beta3 produced. 1651 16522009-01-12 Bob Friesenhahn <[email protected]> 1653 1654 * test/tiffcrop.sh: New test script for tiffcrop from Richard 1655 Nolde. 1656 1657 * tools/tiff2ps.c: Remove spurious message to stderr. 1658 16592009-01-11 Bob Friesenhahn <[email protected]> 1660 1661 * tools/tiff2ps.c: Incorporated significant functionality update 1662 from Richard Nolde. In particular, support for rotating the image 1663 by 90, 180, 270, and 'auto' has been added. 1664 1665 * man/tiffcrop.1: Incorporated documentation updates from Richard 1666 Nolde. 1667 1668 * tools/tiffcrop.c: Incorporated significant functionality update 1669 from Richard Nolde. 1670 16712008-12-31 Bob Friesenhahn <[email protected]> 1672 1673 * libtiff/tiffio.h: GCC will now validate format specifications 1674 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 1675 TIFFWarningExt() in order to reveal bugs. 1676 1677 * Many fixes throughout to work better as a 64-bit build. 1678 16792008-12-30 Bob Friesenhahn <[email protected]> 1680 1681 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 1682 tags now require 64-bit parameter rather than 32-bit. 1683 1684 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 1685 64-bit values. 1686 1687 * tools/thumbnail.c: Eliminate crash noticed while running test 1688 suite. 1689 16902008-12-29 Bob Friesenhahn <[email protected]> 1691 1692 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 1693 Initialize stack variables to avoid compiler warning. 1694 1695 * tools/tiffinfoce.c (main): Use toff_t for offset type when 1696 retrieving offset of EXIF IFD. 1697 1698 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 1699 TIFFClientOpen() callback and other external function definitions. 1700 1701 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 1702 type now. Fixes crash when dumping files containing an EXIF IFD. 1703 1704 * m4/libtool.m4: Update to libtool 2.2.6. 1705 17062008-12-21 Frank Warmerdam <[email protected]> 1707 1708 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 1709 1710 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 1711 strip for the last partial strip in a jpeg compressed file. 1712 http://bugzilla.maptools.org/show_bug.cgi?id=1981 1713 17142008-10-29 Frank Warmerdam <[email protected]> 1715 1716 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 1717 we take the shortcut to only update the strip/tile offsets in place. 1718 http://trac.osgeo.org/gdal/ticket/2621 1719 17202008-10-21 Andrey Kiselev <[email protected]> 1721 1722 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 1723 the older versions retained). 1724 17252008-10-09 Frank Warmerdam <[email protected]> 1726 1727 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 1728 IPP enabled version of libjpeg from Intel. 1729 http://bugzilla.maptools.org/show_bug.cgi?id=1951 1730 17312008-09-05 Andrey Kiselev <[email protected]> 1732 1733 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 1734 Required for libtiff 4.0. 1735 1736 * tools/tiffsplit.c: Use dynamically allocated array instead of static 1737 when constructing output file names. 1738 17392008-09-03 Andrey Kiselev <[email protected]> 1740 1741 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 1742 doing the filename/path construction. 1743 1744 * tools/tiff2pdf.c: More appropriate format string in 1745 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 1746 1747 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 1748 1749 http://bugzilla.maptools.org/show_bug.cgi?id=1929 1750 1751 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 1752 CVE-2008-2327 security issue. 1753 17542008-09-01 Frank Warmerdam <[email protected]> 1755 1756 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 1757 1758 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 1759 depending on whether the file is bigtiff or classic tiff. 1760 http://bugzilla.maptools.org/show_bug.cgi?id=1917 1761 17622008-08-12 Edward Lam <[email protected]> 1763 1764 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 1765 consistent (__int64) casting when testing if _lseeki64 has 1766 successfully seeked as requested. This is necessary for large 1767 file support to work since off_t is only 32-bit. 1768 17692008-07-29 Frank Warmerdam <[email protected]> 1770 1771 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 1772 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 1773 with control logic to return runtime errors (c/o Even Rouault) (#1927). 1774 17752008-06-17 Frank Warmerdam <[email protected]> 1776 1777 * tools/tiffcrop.c: Fix some portability problems. 1778 1779 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 1780 used in tif_jpeg.c. 1781 1782 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 1783 as TIFFOpen(). 1784 17852008-06-01 Frank Warmerdam <[email protected]> 1786 1787 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 1788 like Sparc/Solaris. 1789 http://bugzilla.maptools.org/show_bug.cgi?id=1892 1790 17912008-05-27 Frank Warmerdam <[email protected]> 1792 1793 * libtiff.def: Add TIFFFindField 1794 http://bugzilla.maptools.org/show_bug.cgi?id=1891 1795 17962008-05-26 Frank Warmerdam <[email protected]> 1797 1798 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 1799 1800 * li2008-04-15 Andrey Kiselev <[email protected]> 1801 1802btiff/tif_win32.c: Replace custom Win32 memory api with generic 1803 POSIX one. No apparent value to use of GlobalAlloc() in the modern 1804 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 1805 1806 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 1807 in windows version (care of Edward Lam). 1808 18092008-05-24 Frank Warmerdam <[email protected]> 1810 1811 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 1812 compression codec codes. 1813 1814 * tif_dirwrite.c: fix potential memory leak. 1815 1816 * tif_dirread.c: Fix unchecked malloc result. 1817 18182008-05-24 Bob Friesenhahn <[email protected]> 1819 1820 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 1821 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 1822 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 1823 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 1824 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 1825 suggestions from Lee Howard posted to the tiff list on 13 Sep 1826 2007. 1827 18282008-05-23 Frank Warmerdam <[email protected]> 1829 1830 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 1831 possible runtime problem reported by coverity. 1832 1833 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 1834 1835 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 1836 http://bugzilla.maptools.org/show_bug.cgi?id=1888 1837 1838 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 1839 1840 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 1841 1842 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 1843 Cleanup scanline allocation to avoid coverity warning. 1844 1845 * tools/thumbnail.c: Check for TIFFOpen() failure. 1846 18472008-05-18 Frank Warmerdam <[email protected]> 1848 1849 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 1850 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 1851 why this is needed. 1852 18532008-05-09 Bob Friesenhahn <[email protected]> 1854 1855 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 1856 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 1857 18582008-04-15 Andrey Kiselev <[email protected]> 1859 1860 * test/: Test suite updated. Everything is passed now. 1861 1862 * libtiff/tif_dirinfo.c: Fixed description of the 1863 TIFFTAG_NUMBEROFINKS tag. 1864 18652008-04-14 Andrey Kiselev <[email protected]> 1866 1867 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 1868 Get rid of some of "dereferencing type-punned" warnings by converting 1869 tdir_offset field of TIFFDirEntry structure into union. 1870 18712008-04-10 Andrey Kiselev <[email protected]> 1872 1873 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 1874 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 1875 from the public interface. Type of its 'count' parameter changed 1876 from uint32 to tmsize_t. 1877 1878 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 1879 of the tiff structure have the size_t type instead of uint32. 1880 18812008-04-09 Andrey Kiselev <[email protected]> 1882 1883 * tools/tiffdump.c: Added support for MSVS 6.0. 1884 1885 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 1886 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 1887 point values on MSVS 6.0 platform. 1888 18892008-03-14 Frank Warmerdam <[email protected]> 1890 1891 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 1892 TIFFReadDirEntryArray() since they are interfering with seemingly 1893 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 1894 18952008-02-09 Joris Van Damme <[email protected]> 1896 1897 * tif_dirread.c: Added handling for the case of number of values for 1898 PageNumber tag different from 2 (previously resulted in an assert 1899 indicating lack of handling and was forgotten about) 1900 19012008-02-01 Frank Warmerdam <[email protected]> 1902 1903 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 1904 the actual jpeg data stream if the first strip/tile has zero size. 1905 This is the case when GDAL creates a new file with zero sizes, closes 1906 and reopens it. 1907 19082008-01-07 Frank Warmerdam <[email protected]> 1909 1910 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 1911 19122008-01-01 Frank Warmerdam <[email protected]> 1913 1914 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 1915 1916 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 1917 targets. 1918 1919 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 1920 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 1921 (x64). 1922 1923 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 1924 and TIFFFieldWithName() now return TIFFField pointers instead of 1925 TIFFFieldInfo pointers. 1926 1927 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 1928 exist. This makes it compile again on Windows 1929 1930 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 1931 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 1932 1933 * test/rewrite_tag.c: New test for TIFFRewriteField(). 1934 19352007-12-31 Frank Warmerdam <[email protected]> 1936 1937 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 1938 rewrites one field "on disk" updating an existing directory 1939 entry. Lots of limitations still... 1940 1941 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 1942 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 1943 the strip offset/size values are dirty but nothing else about the 1944 directory is dirty. In flush handle "just stripmaps dirty" as a 1945 special case that just rewrites these values without otherwise 1946 modifying the directory on disk using TIFFRewriteField(). 1947 1948 We also modify logic so that in update mode the directory is not 1949 marked dirty on read, but only when something is changed. This 1950 means we need to keep track of updates to the stripmap stuff in 1951 TIFFAppendToStrip(). 1952 19532007-12-10 Frank Warmerdam <[email protected]> 1954 1955 * tif_jpeg.c: Improve ability to switch between encoding and decoding 1956 in the jpeg code (gdal bug #2033). 1957 19582007-11-23 Frank Warmerdam <[email protected]> 1959 1960 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 1961 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 1962 rawcp/rawcc buffer are for writing and thus may require flushing. 1963 Necessary to distinguish whether they need to be written to disk when 1964 in mixed read/write mode and doing a mixture of writing followed by 1965 reading. http://trac.osgeo.org/gdal/ticket/1758 1966 19672007-11-23 Andrey Kiselev <[email protected]> 1968 1969 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 1970 from Alexey Chupahin. 1971 19722007-11-02 Frank Warmerdam <[email protected]> 1973 1974 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 1975 establishing if an existing tile can be rewritten to the same location 1976 by comparing the current size to all the other blocks in the same 1977 directory. This is dangerous in many situations and can easily 1978 corrupt a file. (observed in esoteric GDAL situation that's hard to 1979 document). This change involves leaving the stripbytecount[] values 1980 unaltered till TIFFAppendToStrip(). Now we only write a block back 1981 to the same location it used to be at if the new data is the same 1982 size or smaller - otherwise we move it to the end of file. 1983 1984 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 1985 data when writing the directory just because we have BEENWRITING at 1986 some point in the past. This was causing odd junk to be written out 1987 in a tile of data when a single tile had an interleaving of reading 1988 and writing with reading last. (highlighted by gdal 1989 autotest/gcore/tif_write.py test 7. 1990 1991 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 1992 modifying callers buffer. 1993 http://trac.osgeo.org/gdal/ticket/1965 1994 1995 * tif_predict.c/h: more fixes related to last item, keeping a 1996 distinct pfunc for encode and decode cases as these were getting 1997 mixed up sometimes. 1998 http://trac.osgeo.org/gdal/ticket/1948 1999 20002007-11-01 Frank Warmerdam <[email protected]> 2001 2002 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 2003 predictor based encoding and decoding works in read-write update 2004 mode properly. 2005 http://trac.osgeo.org/gdal/ticket/1948 2006 20072007-10-24 Joris Van Damme <[email protected]> 2008 2009 * tif_dirread.c: Fixed problem with bogus file triggering 2010 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 2011 ChopUpSingleUncompressedStrip 2012 20132007-10-22 Joris Van Damme <[email protected]> 2014 2015 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 2016 at best, access violation at worst, when subsampled JPEG compressed imagery 2017 is decoded without the JPEG_COLORMODE feature 2018 20192007-10-11 Frank Warmerdam <[email protected]> 2020 2021 * html/index.html: Update "people responsible" section. 2022 20232007-10-05 Frank Warmerdam <[email protected]> 2024 2025 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 2026 as reported on the mailing list. 2027 20282007-10-01 Joris Van Damme <[email protected]> 2029 2030 * changed some more incorrect %lud printf flags to %lu 2031 20322007-09-29 Joris Van Damme <[email protected]> 2033 2034 * tif_dirread.c: Strip chopping interfered badly with uncompressed 2035 subsampled images because it tried to divide subsampled rowblocks, 2036 leading to all sorts of errors throughout the library for these 2037 images. Fixed by making strip chopping divide in row counts that 2038 are a multiple of vertical subsampling value. 2039 20402007-09-28 Joris Van Damme <[email protected]> 2041 2042 * tif_dirread.c: Logical cast working around compiler warning 2043 2044 * tif_read.c: Correction of some error flags and parameter lists 2045 20462007-09-27 Joris Van Damme <[email protected]> 2047 2048 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 2049 when dealing with large bitspersample values, shutting up purification 2050 tools that warn about truncation, though it remains incorrect and 2051 indicates a conceptual problem there. 2052 2053 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 2054 of first IFD) to proper place because it badly interfered with memory 2055 mapping, resulting in mapping flag even with dummy mapping functions 2056 that returned 0 whilst at the same time the mapping tif_size wasn't 2057 set, thus resulting in continuous incorrect beyond-eof errors. 2058 20592007-09-24 Joris Van Damme <[email protected]> 2060 2061 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 2062 inconsistent use of const in tiffFields and exifFields definition 2063 20642007-09-20 Frank Warmerdam <[email protected]> 2065 2066 * tif_dirwrite.c: Always write tile/strip offsets and sizes 2067 using LONG8 type when output format is BigTIFF. The 2068 TIFFWriteDirectoryTagLongLong8Array() function was restructured 2069 accordingly. 2070 2071 * tif_dirread.c: Improvements to error reporting text in 2072 TIFFFetchDirectory(). 2073 20742007-09-19 Bob Friesenhahn <[email protected]> 2075 2076 * test/images: Added a small collection of test images for use by 2077 test programs and scripts. 2078 * test/tiffinfo.sh: A trivial example test script. 2079 * test/common.sh: Added small script for setting the environment 2080 used by script-based tests. 2081 20822007-08-24 Frank Warmerdam <[email protected]> 2083 2084 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 2085 zero when writing directory contents to preserve the ability to 2086 rewrite directories in place, even in the middle of a directory 2087 chain. 2088 2089 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 2090 definitions that are missing. Existing definitions are silently 2091 ignored. 2092 2093 * tif_dirread.c: Add runtime error for fields for which no definition 2094 is found (in addition to an assert for developers) in 2095 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 2096 prudent. 2097 20982007-08-10 Joris Van Damme <[email protected]> 2099 2100 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 2101 from _TIFFRGBAImage structure to revert unwanted ABI change. 2102 21032007-08-10 Joris Van Damme <[email protected]> 2104 2105 * libtiff/tif_win32.c: use SetFilePointer instead of 2106 SetFilePointerEx, as per bug 2107 2108 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 2109 21102007-07-19 Andrey Kiselev <[email protected]> 2111 2112 * libtiff/tif_stream.cxx: Put all callback functions declarations 2113 inside extern "C" block. 2114 2115 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 2116 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 2117 formatter instead of "%lld" with MSVC compiler. 2118 2119 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 2120 _TIFFUInt64ToDouble() functions. 2121 21222007-07-18 Andrey Kiselev <[email protected]> 2123 2124 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 2125 integer constants. 2126 2127 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 2128 remove tif_config.h/tiffconf.h during cleaning. As per bug 2129 2130 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 2131 2132 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 2133 2134 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 2135 21362007-07-13 Andrey Kiselev <[email protected]> 2137 2138 * libtiff 4.0.0alpha released. 2139 21402007-07-12 Andrey Kiselev <[email protected]> 2141 2142 * tools/tiff2pdf.c: Added missed extern optind as per bug 2143 2144 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 2145 2146 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 2147 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 2148 extending scheme completed. 2149 21502007-07-11 Bob Friesenhahn <[email protected]> 2151 2152 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 2153 use standard C++ library size types and attempt to detect overflow 2154 cases. 2155 21562007-07-08 Andrey Kiselev <[email protected]> 2157 2158 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 2159 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 2160 tag extending scheme. Use the new scheme everywhere. 2161 2162 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 2163 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 2164 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 2165 TIFFFIeldInfo structure replaced with TIFFField structure. 2166 TIFFFieldInfo retained for the backward compatibility. 2167 21682007-07-05 Bob Friesenhahn <[email protected]> 2169 2170 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 2171 defined. 2172 21732007-07-04 Andrey Kiselev <[email protected]> 2174 2175 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 2176 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 2177 removed. 2178 2179 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 2180 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 2181 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 2182 These tags are not codec-specific and relate to image content, so 2183 process them as other normal tags. 2184 2185 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 2186 public tiffio.h to private tif_dir.h. 2187 2188 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 2189 outdated. 2190 21912007-07-03 Andrey Kiselev <[email protected]> 2192 2193 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 2194 tif_win3.c}: Obsoleted portability stuff removed. 2195 2196 * tools/tiff2ps.c: Added support 16-bit images as per bug 2197 2198 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 2199 2200 Patch from William Bader. 2201 2202 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 2203 significant upgrade of the whole utility as per bug 2204 2205 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 2206 2207 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 2208 PDF file using TIFFClientOpen() machinery as it is implemented 2209 by Leon Bottou. 2210 22112007-06-26 Bob Friesenhahn <[email protected]> 2212 2213 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 2214 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 2215 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 2216 allow returning -1 for errors. 2217 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 2218 22192007-06-25 Bob Friesenhahn <[email protected]> 2220 2221 * port/strtoull.c: New porting function in case strtoull() is not 2222 available on the target system. 2223 * configure.ac: Add configure support for determining sized types 2224 in a portable way and performing necessary substitutions in 2225 tif_config.h and tiffconf.h. Updated tiff.h to use the new 2226 definitions. 2227 22282007-04-27 Andrey Kiselev <[email protected]> 2229 2230 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 2231 2232 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 2233 22342007-04-07 Andrey Kiselev <[email protected]> 2235 2236 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 2237 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 2238 tif_predict.c, tif_zip.c}: Finally fix bug 2239 2240 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 2241 2242 by introducing _TIFFMergeFieldInfo() returning integer error status 2243 instead of void in case of problems with field merging (e.g., if the 2244 field with such a tag already registered). TIFFMergeFieldInfo() in 2245 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 2246 check returned value. 2247 22482007-04-07 Frank Warmerdam <[email protected]> 2249 2250 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 2251 blocks in TIFF_DownSample_Subsampled() (bug 1542). 2252 22532007-04-06 Frank Warmerdam <[email protected]> 2254 2255 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 2256 will convert from decompressor to compressor or compress to decompress 2257 if required by the force arguments. This works around a problem in 2258 where the JPEGFixupTestSubsampling() may cause a decompressor to 2259 be setup on a directory when later a compressor is required with the 2260 force flag set. Occurs with the addtiffo program for instance. 2261 22622007-04-06 Andrey Kiselev <[email protected]> 2263 2264 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 2265 functionality from Richard Nolde. As per bug 2266 2267 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 2268 22692007-03-28 Frank Warmerdam <[email protected]> 2270 2271 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 2272 22732007-03-17 Joris Van Damme <[email protected]> 2274 2275 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 2276 22772007-03-07 Joris Van Damme <[email protected]> 2278 2279 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 2280 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 2281 factor. This bug is mentioned in: 2282 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 2283 http://www.asmail.be/msg0054766825.html 2284 22852007-03-07 Joris Van Damme <[email protected]> 2286 2287 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 2288 2289 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 2290 unused arguments by standard C indication for the same 2291 22922007-02-27 Andrey Kiselev <[email protected]> 2293 2294 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 2295 counters in TIFFFetchData(). Should finally fix the issue 2296 2297 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 2298 22992007-02-24 Andrey Kiselev <[email protected]> 2300 2301 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 2302 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 2303 2304 * libtiff/tif_dirread.c: Added special function to handle 2305 SubjectDistance EXIF tag as per bug 2306 2307 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 2308 2309 * tools/tiff2pdf.c: Do not assume inches when the resolution units 2310 do not specified. As per bug 2311 2312 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 2313 2314 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 2315 it was set as infinite. As per bug 2316 2317 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 2318 2319 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 2320 by Richard Nolde. As per bug 2321 2322 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 2323 23242007-02-22 Andrey Kiselev <[email protected]> 2325 2326 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 2327 ExtraSamples == 999 produced by Corel Draw. As per bug 2328 2329 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 2330 2331 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 2332 changed from tsize_t to uint32 to be able to work with data arrays 2333 larger than 2GB. Fixes bug 2334 2335 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 2336 2337 Idea submitted by Matt Hancher. 2338 23392007-01-31 Andrey Kiselev <[email protected]> 2340 2341 * tools/tif2rgba.c: This utility does not work properly on big-endian 2342 architectures. It was fixed including the bug 2343 2344 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 2345 23462007-01-15 Mateusz Loskot <[email protected]> 2347 2348 * Submitted libtiff port for Windows CE platform 2349 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 2350 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 2351 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 2352 functons from tif_win32.c. 2353 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 2354 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 2355 standard header files for Windows CE build. 2356 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 2357 23582006-11-19 Frank Warmerdam <[email protected]> 2359 2360 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 2361 we move a strip. 2362 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 2363 23642006-10-13 Andrey Kiselev <[email protected]> 2365 2366 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 2367 in Gentoo bug (): 2368 2369 http://bugs.gentoo.org/show_bug.cgi?id=142383 2370 2371 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 2372 Though it is still far from the state of being working and useful. 2373 23742006-10-12 Andrey Kiselev <[email protected]> 2375 2376 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 2377 method. 2378 2379 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 2380 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 2381 2382 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 2383 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 2384 2385 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 2386 vulnerabilities, reported in Gentoo bug (): 2387 2388 http://bugs.gentoo.org/show_bug.cgi?id=142383 2389 23902006-09-28 Andrey Kiselev <[email protected]> 2391 2392 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 2393 vulnerabilities, as per Gentoo bug (): 2394 2395 http://bugs.gentoo.org/show_bug.cgi?id=142383 2396 23972006-09-27 Frank Warmerdam <[email protected]> 2398 2399 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 2400 encoding and decoding on the same read-write TIFF handle. The LZW 2401 code can now maintain encode and decode state at the same time. The 2402 ZIP code will switch back and forth as needed. 2403 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 2404 24052006-09-20 Frank Warmerdam <[email protected]> 2406 2407 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 2408 tif_config.vc.h for easier identification by folks using an IDE. 2409 24102006-07-25 Frank Warmerdam <[email protected]> 2411 2412 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 2413 24142006-07-19 Frank Warmerdam <[email protected]> 2415 2416 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 2417 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 2418 to bug report by Peng Gao with black strip at bottom of images. 2419 24202006-07-12 Frank Warmerdam <[email protected]> 2421 2422 * tif_dirwrite.c: make sure to use uint32 for wordcount in 2423 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 2424 It already seems to have been done for other field types. Needed 2425 for "tiffset" on files with geotiff ascii text. 2426 24272006-07-04 Bob Friesenhahn <[email protected]> 2428 2429 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 2430 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 2431 its use does not appear to be required, so use it only when it is 2432 available. 2433 24342006-06-24 Andrey Kiselev <[email protected]> 2435 2436 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 2437 2438 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 2439 function TIFFFetchDirectory() avoiding code duplication in 2440 TIFFReadDirectory() and TIFFReadCustomDirectory(). 2441 24422006-06-19 Frank Warmerdam <[email protected]> 2443 2444 * tools/tiff2pdf.c: Fix handling of -q values. 2445 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 2446 24472006-06-17 Frank Warmerdam <[email protected]> 2448 2449 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 2450 files. Modified TIFFReadDirectory() to not invoke 2451 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 2452 but one of them is zero. 2453 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 2454 24552006-06-08 Andrey Kiselev <[email protected]> 2456 2457 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 2458 checking code in the separate function TIFFCheckDirOffset(). 2459 2460 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 2461 2462 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 2463 2464 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 2465 2466 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 2467 2468 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 2469 2470 * tools/tiff2pdf.c: Fixed buffer overflow condition in 2471 t2p_write_pdf_string() as per bug 2472 2473 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 2474 24752006-06-07 Andrey Kiselev <[email protected]> 2476 2477 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 2478 support for JBIG compression scheme (34661 code) contributed by Lee 2479 Howard. As per bug 2480 2481 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 2482 2483 * configure, configure.ac: OJPEG support enabled by default. 2484 2485 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 2486 24872006-06-03 Bob Friesenhahn <[email protected]> 2488 2489 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 2490 TIFFPrintDirectory(). Joris Van Damme authored the fix. 2491 24922006-04-21 Andrey Kiselev <[email protected]> 2493 2494 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 2495 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 2496 2497 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 2498 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 2499 Added support for OpenVMS by Alexey Chupahin, [email protected]. 2500 25012006-04-20 Andrey Kiselev <[email protected]> 2502 2503 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 2504 Properly set the binary mode for stdin stream as per bug 2505 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 2506 2507 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 2508 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 2509 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 2510 tiffset.1}: Improvements in page formatting as per bug 2511 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 2512 2513 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 2514 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 2515 25162006-04-18 Frank Warmerdam <[email protected]> 2517 2518 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 2519 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 2520 25212006-04-12 Joris Van Damme <[email protected]> 2522 2523 * libtiff/tif_getimage.c: Added support for planarconfig separate 2524 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 2525 25262006-04-11 Joris Van Damme <[email protected]> 2527 2528 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 2529 - Conversion of unassociated alpha to associated alpha now done with 2530 more performant LUT, and calculation more correct 2531 - Conversion of 16bit data to 8bit data now done with 2532 more performant LUT, and calculation more correct 2533 - Bugfix of handling of 16bit RGB with unassociated alpha 2534 25352006-04-11 Joris Van Damme <[email protected]> 2536 2537 * libtiff/tif_getimage.c: 2538 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 2539 buffer for alpha strile and filled it, only to never read it back. 2540 Removed allocation and fill. 2541 - Minor rename of vars in gtTileSeparate and gtStripSeparate 2542 anticipating planned functionality extension 2543 25442006-04-08 Joris Van Damme <[email protected]> 2545 2546 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 2547 and pickTileSeparateCase to PickSeparateCase as both work on strips as 2548 well 2549 2550 * libtiff/tif_getimage.c: moved img->get selection from 2551 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 2552 logical hook for planned functionality extension 2553 25542006-04-08 Joris Van Damme <[email protected]> 2555 2556 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 2557 of inappropriate use of jpeg_abort instead of jpeg_destroy 2558 25592006-04-07 Joris Van Damme <[email protected]> 2560 2561 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 2562 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 2563 on subsampled images - this ought to get sorted when we feel brave 2564 enough to replace TIFFScanlineSize alltogether 2565 2566 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 2567 25682006-04-04 Joris Van Damme <[email protected]> 2569 2570 * libtiff/tiffio.h: added new type tstrile_t 2571 2572 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 2573 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 2574 toff_t* 2575 2576 * libtiff/tif_ojpeg.c: totally new implementation 2577 2578 * libtiff/tif_dirread.c: added several hacks to suit new support of 2579 OJPEG 2580 2581 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 2582 of OJPEG images in favor of tif_getimage.c native handling of 2583 YCbCr and desubsampling 2584 25852006-03-29 Frank Warmerdam <[email protected]> 2586 2587 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 2588 interpretation causes the "upsampled" flag to be recomputed. Fixes 2589 peculiar bug where photometric flag had to be set before jpegcolormode 2590 flag. 2591 25922006-03-25 Joris Van Damme <[email protected]> 2593 2594 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 2595 2596 * libtiff/tif_strip.c: temporarilly added two new versions of 2597 TIFFScanlineSize 2598 - TIFFNewScanlineSize: proposed new version, after all related 2599 issues and side-effects are sorted out 2600 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 2601 This needs further sorting out. 2602 26032006-03-25 Joris Van Damme <[email protected]> 2604 2605 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 2606 of last truncated strip data to TIFFWriteEncodedStrip 2607 26082006-03-25 Joris Van Damme <[email protected]> 2609 2610 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 2611 26122006-03-25 Joris Van Damme <[email protected]> 2613 2614 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 2615 2616 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 2617 2618 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 2619 prepare the path for new tif_ojpeg.c 2620 26212006-03-23 Andrey Kiselev <[email protected]> 2622 2623 * libtiff 3.8.2 released. 2624 2625 * tools/Makefile.am: Use runtime paths linker flags when rpath 2626 option enabled. 2627 26282006-03-21 Andrey Kiselev <[email protected]> 2629 2630 * libtiff/libtiff.def: Added missed exports as per bug 2631 http://bugzilla.remotesensing.org/attachment.cgi?id=337 2632 2633 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 2634 tools/Makefile.vc: Makefiles improvements as per bug 2635 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 2636 2637 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 2638 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 2639 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 2640 2641 * libtiff/tif_strip.c: Take subsampling in account when calculating 2642 TIFFScanlineSize(). 2643 2644 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 2645 26462006-03-17 Andrey Kiselev <[email protected]> 2647 2648 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 2649 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 2650 2651 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 2652 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 2653 26542006-03-16 Andrey Kiselev <[email protected]> 2655 2656 * libtiff/tiffiop.h: Added decalration for 2657 _TIFFSetDefaultCompressionState(). 2658 2659 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 2660 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 2661 codec cleanup methods. As per bug 2662 2663 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 2664 26652006-03-15 Andrey Kiselev <[email protected]> 2666 2667 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 2668 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 2669 2670 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 2671 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 2672 2673 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 2674 removed; move here the STRIP_SIZE_DEFAULT macro definition. 2675 2676 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 2677 macro definition. 2678 2679 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 2680 26812006-03-14 Andrey Kiselev <[email protected]> 2682 2683 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 2684 in TIFFReadDirectory, because it is always set at the start of 2685 function and we allow TIFFs without that tag set. 2686 26872005-03-13 Andrey Kiselev <[email protected]> 2688 2689 * libtiff 3.8.1 released. 2690 26912006-03-07 Andrey Kiselev <[email protected]> 2692 2693 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 2694 function as per bug 2695 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2696 2697 * libtiff/tif_dirread.c: More wise check for integer overflow 2698 condition as per bug 2699 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2700 2701 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 2702 Properly restore setfield/getfield methods in cleanup functions. As 2703 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2704 27052006-03-03 Andrey Kiselev <[email protected]> 2706 2707 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 2708 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 2709 2710 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 2711 TIFFPredictorCleanup() in codec cleanup methods. As per bug 2712 2713 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2714 2715 * libtiff/tif_dirread.c: Fixed integer overflow condition in 2716 TIFFFetchData() function. As per bug 2717 2718 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2719 27202006-03-01 Andrey Kiselev <[email protected]> 2721 2722 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 2723 TIFFSetField() method, not directly. As per bug 2724 2725 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 2726 2727 * tools/ppm2tiff.c: Added support for PBM files as per bug 2728 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 2729 27302006-02-27 Andrey Kiselev <[email protected]> 2731 2732 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 2733 to avoid crash as per bug 2734 2735 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 2736 27372006-02-26 Andrey Kiselev <[email protected]> 2738 2739 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 2740 t2p_sample_rgba_to_rgb() was used in place of each other, that was 2741 resulted in problems with RGBA images with associated alpha. 2742 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 2743 27442006-02-23 Andrey Kiselev <[email protected]> 2745 2746 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 2747 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 2748 2749 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 2750 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 2751 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 2752 2753 * tools/tiff2ps.c: Properly scale all the pages when converting 2754 multipage TIFF with /width/height/center options set. As per bug 2755 2756 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 2757 27582006-02-15 Andrey Kiselev <[email protected]> 2759 2760 * tools/tiff2pdf.c: Do not create output file until all option checks 2761 will be done. As per bug 2762 2763 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 2764 2765 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 2766 list of input files as per bug: 2767 2768 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 2769 27702006-02-09 Andrey Kiselev <[email protected]> 2771 2772 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 2773 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 2774 2775 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 2776 TIFFRGBAImage interface. 2777 2778 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 2779 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 2780 27812006-02-07 Frank Warmerdam <[email protected]> 2782 2783 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 2784 compressed TIFF files, per submission from Dan Cobra. 2785 27862006-02-07 Andrey Kiselev <[email protected]> 2787 2788 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 2789 cast values to avoid warnings. As per bug 2790 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2791 2792 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 2793 appropriate. As per bug 2794 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2795 2796 * libtiff/tif_aux.c: Fixed type of temporary variable in 2797 _TIFFCheckMalloc() as per bug 2798 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2799 28002006-02-06 Andrey Kiselev <[email protected]> 2801 2802 * libtiff/tif_aux.c: Return static array when fetching default 2803 YCbCrCoefficients (another problem, reported a the 2804 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 2805 28062006-02-03 Andrey Kiselev <[email protected]> 2807 2808 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 2809 YCbCrSubsampling and DotRange tags as per bugs 2810 2811 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 2812 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 2813 2814 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 2815 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 2816 2817 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 2818 28192006-01-23 Andrey Kiselev <[email protected]> 2820 2821 * libtool related stuff updated from the 2.1a branch. 2822 28232006-01-11 Frank Warmerdam <[email protected]> 2824 2825 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 2826 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 2827 properly as per bug: 2828 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 2829 28302006-01-09 Bob Friesenhahn <[email protected]> 2831 2832 * configure.ac: Fix with_default_strip_size comparison as reported 2833 by Norihiko Murase. 2834 28352006-01-08 Bob Friesenhahn <[email protected]> 2836 2837 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 2838 incorrectly, tests were not actually testing the uninstalled 2839 libtiff. Now they are. 2840 28412006-01-04 Andrey Kiselev <[email protected]> 2842 2843 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 2844 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 2845 should be uint32 value. 2846 28472006-01-02 Bob Friesenhahn <[email protected]> 2848 2849 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 2850 be used if build directory is not the same as source directory. 2851 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 2852 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 2853 and re-sorted tag names in alphabetical order. 2854 28552005-12-29 Andrey Kiselev <[email protected]> 2856 2857 * libtiff 3.8.0 released. 2858 28592005-12-28 Bob Friesenhahn <[email protected]> 2860 2861 * tools/bmp2tiff.c (main): Fixed warning regarding returning 2862 inconsistent types from a condition. 2863 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 2864 format. 2865 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 2866 28672005-12-28 Joris Van Damme <[email protected]> 2868 2869 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 2870 28712005-12-27 Andrey Kiselev <[email protected]> 2872 2873 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 2874 windows.h, to reduce the compile time. 2875 28762005-12-26 Bob Friesenhahn <[email protected]> 2877 2878 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 2879 28802005-12-26 Andrey Kiselev <[email protected]> 2881 2882 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 2883 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 2884 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 2885 private functions to retrieve FieldInfo arrays. 2886 28872005-12-24 Bob Friesenhahn <[email protected]> 2888 2889 * html/build.html: Added some additional instructions for when 2890 building using MSVC under Windows. Also fixed two HTML syntax 2891 errors and used HTML Tidy to tidy up the HTML syntax and 2892 formatting. 2893 28942005-12-24 Andrey Kiselev <[email protected]> 2895 2896 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 2897 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 2898 StoNits tags custom. 2899 29002005-12-23 Andrey Kiselev <[email protected]> 2901 2902 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 2903 WhitePoint tag custom. 2904 2905 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 2906 29072005-12-23 Joris Van Damme <[email protected]> 2908 2909 * libtiff/tiffio.h: fixed typo that potentially resulted in 2910 redefininition of USE_WIN32_FILEIO 2911 2912 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 2913 calls in core LibTiff. 2914 29152005-12-21 Andrey Kiselev <[email protected]> 2916 2917 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 2918 Photoshop and ICCProfile tags custom. 2919 29202005-12-21 Joris Van Damme <[email protected]> 2921 2922 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 2923 newer code to get context indicator in error handler and still 2924 remain compatible with older code: Done TIFFError calls everywhere 2925 except in tools 2926 29272005-12-20 Andrey Kiselev <[email protected]> 2928 2929 * tools/tiffcp.c: Added many error reporting messages; fixed integer 2930 overflow as per bug 2931 2932 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 2933 29342005-12-16 Frank Warmerdam <[email protected]> 2935 2936 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 2937 YCbCr images in jpeg compressed TIFF files. 2938 29392005-12-14 Andrey Kiselev <[email protected]> 2940 2941 * tools/tiffcp.c: Return non-zero status when reading fails (again). 2942 29432005-12-13 Andrey Kiselev <[email protected]> 2944 2945 * tools/tiffcp.c: Return non-zero status when reading fails. 2946 29472005-12-12 Andrey Kiselev <[email protected]> 2948 2949 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 2950 29512005-12-09 Andrey Kiselev <[email protected]> 2952 2953 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 2954 custom. 2955 2956 * tools/tiffinfo.c: Print EXIF directory contents if exist. 2957 2958 * libtiff/tiff.h: Few EXIF tag numbers added. 2959 2960 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 2961 tiffio.h}: Preliminary support to read custom directories. New 2962 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 2963 29642005-12-07 Andrey Kiselev <[email protected]> 2965 2966 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 2967 More work to implement custom directory read support. 2968 2969 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 2970 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 2971 tags custom. 2972 29732005-12-05 Andrey Kiselev <[email protected]> 2974 2975 * libtiff/tif_dirread.c: One more workaround for broken 2976 StripByteCounts tag. Handle the case when StripByteCounts array filled 2977 with completely wrong values. 2978 29792005-11-30 Andrey Kiselev <[email protected]> 2980 2981 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 2982 in the TIFFOpenW() function as per bug 2983 2984 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 2985 2986 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 2987 functions as per bug 2988 2989 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 2990 29912005-11-20 Frank Warmerdam <[email protected]> 2992 2993 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 2994 for MS MDI format. 2995 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 2996 2997 * .cvsignore: many files added, and a few update according 2998 to suggestion of Brad HArds on tiff mailing list. 2999 30002005-11-03 Frank Warmerdam <[email protected]> 3001 3002 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 3003 public. 3004 30052005-10-31 Andrey Kiselev <[email protected]> 3006 3007 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 3008 as per bug 3009 3010 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 3011 3012 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 3013 as per bug 3014 3015 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 3016 3017 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 3018 problem as per bug 3019 3020 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 3021 3022 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 3023 3024 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 3025 3026 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 3027 ResolutionUnit tags modifiable during write process. As per bug 3028 3029 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 3030 3031 * tools/tiffsplit.c: Copy fax related fields over splitted parts 3032 as per bug 3033 3034 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 3035 30362005-10-21 Frank Warmerdam <[email protected]> 3037 3038 * tif_dirread.c: Don't try and split single strips into "0" strips 3039 in ChopUpSingleUncompressedStrip. This happens in some degenerate 3040 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 3041 30422005-10-20 Joris Van Damme <[email protected]> 3043 3044 * tif_fax3.c: changed 'at scanline ...' style warning/errors 3045 with incorrect use of tif_row, to 'at line ... of 3046 strip/tile ...' style 3047 30482005-10-15 Frank Warmerdam <[email protected]> 3049 3050 * tif_write.c: fixed setting of planarconfig as per bug report 3051 on the mailing list from Joris. 3052 30532005-10-07 Andrey Kiselev <[email protected]> 3054 3055 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 3056 tif_dirread.c}: Make the default strip size configurable via the 3057 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 3058 30592005-09-30 Bob Friesenhahn <[email protected]> 3060 3061 * html/support.html: Fixed link to documentation on Greg Ward's 3062 LogLuv TIFF format. 3063 30642005-09-28 Andrey Kiselev <[email protected]> 3065 3066 * tools/tiffdump.c: Fixed crash when reading malformed tags. 3067 30682005-09-20 Andrey Kiselev <[email protected]> 3069 3070 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 3071 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 3072 30732005-09-12 Andrey Kiselev <[email protected]> 3074 3075 * libtiff 3.7.4 released. 3076 3077 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 3078 from Patrick Welche (all scripts moved in the 'config' and 'm4' 3079 directories). 3080 30812005-09-12 Frank Warmerdam <[email protected]> 3082 3083 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 3084 30852005-09-05 Frank Warmerdam <[email protected]> 3086 3087 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 3088 also set it to NULL to avoid double free when re-setting custom 3089 string fields as per: 3090 3091 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 3092 30932005-08-12 Frank Warmerdam <[email protected]> 3094 3095 * libtiff/tif_print.c: avoid signed/unsigned warning. 3096 3097 * libtiff/tif_dirread.c: removed unused variable. 3098 30992005-07-30 Frank Warmerdam <[email protected]> 3100 3101 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 3102 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 3103 pass on bigendian (macosx) system. 3104 31052005-07-28 Andrey Kiselev <[email protected]> 3106 3107 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 3108 CheckMalloc() function to _TIFFCheckMalloc() and make it available 3109 globally as an internal helper routine. 3110 31112005-07-27 Andrey Kiselev <[email protected]> 3112 3113 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 3114 the custom tags handling code. 3115 31162005-07-26 Andrey Kiselev <[email protected]> 3117 3118 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 3119 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 3120 function, use TIFFFetchNormalTag() instead as per bug 3121 3122 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 3123 3124 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 3125 instead. 3126 3127 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 3128 3129 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3130 31312005-07-25 Andrey Kiselev <[email protected]> 3132 3133 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 3134 3135 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 3136 31372005-07-21 Andrey Kiselev <[email protected]> 3138 3139 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 3140 the TIFFWriteCheck() function in case of single band images (as per 3141 TIFF spec). 3142 31432005-07-12 Andrey Kiselev <[email protected]> 3144 3145 * SConstruct, libtiff/SConstruct: Added the first very preliminary 3146 support for SCons software building tool (http://www.scons.org/). 3147 This is experimental infrastructure and it will exist along with the 3148 autotools mechanics. 3149 31502005-07-07 Andrey Kiselev <[email protected]> 3151 3152 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 3153 the NetBSD source tree (the old 4-clause BSD license changed to 3154 the new 3-clause one). 3155 3156 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 3157 replacement module. 3158 3159 * port/dummy.c: Make the dummy function static. 3160 31612005-07-06 Andrey Kiselev <[email protected]> 3162 3163 * tools/tiffcp.c: Fixed WhitePoint tag copying. 3164 3165 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 3166 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 3167 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 3168 31692005-07-04 Andrey Kiselev <[email protected]> 3170 3171 * libtiff 3.7.3 released. 3172 3173 * configure, configure.ac: Do not use empty -R option when linking 3174 with --enable-rpath. 3175 31762005-07-01 Andrey Kiselev <[email protected]> 3177 3178 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 3179 reading the first IFD when needed. As per bug 3180 3181 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 3182 3183 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 3184 effects. 3185 31862005-06-23 Andrey Kiselev <[email protected]> 3187 3188 * tools/tiff2pdf.c: Print two characters per loop in the 3189 t2p_write_pdf_trailer(). As per bug 3190 3191 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 3192 3193 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 3194 per bug 3195 3196 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 3197 3198 * acinclude.m4: Updated to latest OpenGL test macros versions. 3199 3200 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 3201 platform. As per bug 3202 3203 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 3204 32052005-06-14 Andrey Kiselev <[email protected]> 3206 3207 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 3208 and YClipPathUnits tags. 3209 32102005-06-07 Andrey Kiselev <[email protected]> 3211 3212 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 3213 use pixel sized shift in contigous case. 3214 32152005-06-06 Andrey Kiselev <[email protected]> 3216 3217 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 3218 Make overviews working for contiguos images. 3219 32202005-06-03 Andrey Kiselev <[email protected]> 3221 3222 * libtiff/tif_open.c: Replace runtime endianess check with the compile 3223 time one. 3224 3225 * libtiff/tif_predict.c: Floating point predictor now works on 3226 big-endian hosts. 3227 32282005-06-01 Andrey Kiselev <[email protected]> 3229 3230 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 3231 ASCII values. 3232 3233 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 3234 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 3235 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 3236 TargetPrinter tags custom. 3237 3238 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 3239 TIFF_CODERSETUP flag (to fix memry leaks). 3240 3241 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 3242 allocating. 3243 32442005-05-26 Andrey Kiselev <[email protected]> 3245 3246 * configure.ac, libtiff/Makefile.am: Added workaround for 3247 OpenBSD/MirOS soname problem as per bug 3248 3249 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 3250 3251 * libtiff/tif_dirwrite.c: Use tdir_count when calling 3252 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 3253 per bug 3254 3255 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 3256 32572005-05-25 Andrey Kiselev <[email protected]> 3258 3259 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 3260 the fscanf() function. As per bug 3261 3262 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 3263 3264 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 3265 uint16 array when fetching the BYTE and SBYTE filds, so we should 3266 consider result as pointer to uint16 array and not as array of chars. 3267 As per bug 3268 3269 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 3270 3271 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 3272 3273 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 3274 3275 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 3276 mode in CreateFile() call as per bug 3277 3278 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 3279 3280 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 3281 libtiffxx libraries as per bug 3282 3283 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 3284 3285 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 3286 GDAL. 3287 32882005-05-23 Frank Warmerdam <[email protected]> 3289 3290 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 3291 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 3292 in directory. 3293 32942005-05-22 Frank Warmerdam <[email protected]> 3295 3296 * libtiff/tif_dirread.c: Changed the code that computes 3297 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 3298 zero. This is a common case with GDAL indicating a "null" tile/strip. 3299 33002005-05-17 Andrey Kiselev <[email protected]> 3301 3302 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 3303 33042005-05-06 Frank Warmerdam <[email protected]> 3305 3306 * libtiff/tif_dirread.c: Applied similar change to 3307 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 3308 3309 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 3310 3311 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 3312 33132005-05-06 Andrey Kiselev <[email protected]> 3314 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 3315 added new option '-b' to use interpolation in output PDF files (Bruno 3316 Ledoux). 3317 33182005-05-05 Frank Warmerdam <[email protected]> 3319 3320 * libtiff/tif_dirread.c: Ensure that broken files with too many 3321 values in PerSampleShorts work ok instead of crashing. 3322 3323 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 3324 33252005-04-27 Andrey Kiselev <[email protected]> 3326 3327 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 3328 input file. 3329 33302005-04-15 Andrey Kiselev <[email protected]> 3331 3332 * libtiff/tif_predict.c: Added ability to encode floating point 3333 predictor, as per TIFF Technical Note 3. 3334 33352005-04-14 Andrey Kiselev <[email protected]> 3336 3337 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 3338 floating point predictor, as per TIFF Technical Note 3. 3339 33402005-04-13 Andrey Kiselev <[email protected]> 3341 3342 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 3343 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 3344 swap 24-bit floating point values. 3345 3346 * libtiff/tiff.h: Added predictor constants. 3347 33482005-04-08 Andrey Kiselev <[email protected]> 3349 3350 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 3351 values in _TIFFVSetField() function. Inspired by the bug 3352 3353 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 3354 3355 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 3356 as per bug 3357 3358 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 3359 33602005-03-30 Andrey Kiselev <[email protected]> 3361 3362 * libtiff/tif_open.c: Do not read header in case the output file 3363 should be truncated (Ron). 3364 3365 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 3366 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 3367 3368 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 3369 33702005-03-22 Andrey Kiselev <[email protected]> 3371 3372 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 3373 rpath option. 3374 33752005-03-21 Andrey Kiselev <[email protected]> 3376 3377 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 3378 tags. 3379 33802005-03-18 Andrey Kiselev <[email protected]> 3381 3382 * libtiff/dirinfo.c: Added DNG tags. 3383 3384 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 3385 handling code. 3386 3387 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 3388 added DNG 1.1.0.0 tags. 3389 3390 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 3391 bug 3392 3393 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 3394 3395 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 3396 33972005-03-17 Andrey Kiselev <[email protected]> 3398 3399 * nmake.opt: Build with Win32 CRT library by default. 3400 3401 * tools/tiff2ps.c: Fixed typo in page size handling code. 3402 3403 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 3404 by value. 3405 3406 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 3407 34082005-03-15 Andrey Kiselev <[email protected]> 3409 3410 * libtiff 3.7.2 released. 3411 34122005-03-09 Andrey Kiselev <[email protected]> 3413 3414 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 3415 floating point data; complain on unsupported bit depths. 3416 34172005-03-05 Andrey Kiselev <[email protected]> 3418 3419 * tif_stream.cxx: Use ios namespace instead of ios_base to support 3420 GCC 2.95. 3421 3422 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 3423 Lee Howard for HylaFax DCS tag 3424 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 3425 34262005-03-04 Andrey Kiselev <[email protected]> 3427 3428 * configure, configure.ac: Use -rpath option instead of -R as per bug 3429 3430 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 3431 3432 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 3433 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 3434 software. As per bug 3435 3436 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 3437 3438 * nmake.opt, html/build.html: Add more comments, change the config 3439 file organization a bit as per bug 3440 3441 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 3442 3443 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 3444 as per bug 3445 3446 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 3447 34482005-03-03 Andrey Kiselev <[email protected]> 3449 3450 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 3451 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 3452 3453 * tools/fax2ps.c: Replace insecure mktemp() function with the 3454 tmpfile() as per bug 3455 3456 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 3457 34582005-02-04 Andrey Kiselev <[email protected]> 3459 3460 * libtiff/tiff.h: Changed the int8 definition to be always signed char 3461 as per bug 3462 3463 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 3464 3465 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 3466 block as per bug 3467 3468 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 3469 34702005-02-03 Bob Friesenhahn <[email protected]> 3471 3472 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 3473 display more correctly. Images display brighter than they should 3474 on a Sun workstation. 3475 34762005-02-03 Andrey Kiselev <[email protected]> 3477 3478 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 3479 suspicious values in the tags. As per bugs 3480 3481 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 3482 3483 and 3484 3485 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 3486 3487 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 3488 3489 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 3490 34912005-01-31 Bob Friesenhahn <[email protected]> 3492 3493 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 3494 (TIFFTAG_TILELENGTH): Corrected description. 3495 34962005-01-30 Andrey Kiselev <[email protected]> 3497 3498 * configure.ac: Fixes for --with-docdir option as per bug 3499 3500 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 3501 3502 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 3503 bug 3504 3505 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 3506 3507 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 3508 Michael Rinne and Edward Lam. 3509 35102005-01-15 Andrey Kiselev <[email protected]> 3511 3512 * configure.ac: Make the documentation directory location configurable 3513 via the --with-docdir option (as suggested by Jeremy C. Reed). 3514 3515 * libtiff/tif_color.c: Use double as the second argument of pow() 3516 function in TIFFCIELabToRGBInit(). As per bug 3517 3518 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 3519 3520 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 3521 integer as per bug 3522 3523 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 3524 3525 * libtiff/tif_getimage.c: Always fill the error message buffer in 3526 TIFFRGBAImageBegin() as per bug 3527 3528 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 3529 35302005-01-12 Andrey Kiselev <[email protected]> 3531 3532 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 3533 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 3534 tags as per bug 3535 3536 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 3537 3538 * libtiff/tif_win32.c: Fixed message formatting in functions 3539 Win32WarningHandler() and Win32ErrorHandler() as per bug 3540 3541 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 3542 3543 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 3544 per bug 3545 3546 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 3547 35482005-01-11 Andrey Kiselev <[email protected]> 3549 3550 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 3551 "C"' section as per bug 3552 3553 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 3554 3555 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 3556 compiler to avoid double definition of BSD types as per bug 3557 3558 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3559 3560 * libtiff/Makefile.am: Place the C++ stream API in the separate 3561 library called libtiffxx to avoid unneeded dependencies. Probably 3562 there will be more C++ API in the future. As per bugs 3563 3564 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 3565 3566 and 3567 3568 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 3569 35702005-01-05 Andrey Kiselev <[email protected]> 3571 3572 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 3573 wrong tag counts (Dmitry V. Levin, Martin Pitt). 3574 3575 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 3576 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 3577 35782004-12-25 Andrey Kiselev <[email protected]> 3579 3580 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 3581 RGB-images as per bug 3582 3583 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 3584 3585 3586 * tools/tiffset.c: Convert character option to integer value as per 3587 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 3588 35892004-12-20 Andrey Kiselev <[email protected]> 3590 3591 * libtiff 3.7.1 released. 3592 3593 * html/tiffset.1.html: Add missed manual page as per bug 3594 3595 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 3596 3597 * libtiff/tiff.h: Revert back libtiff data type definitions as per 3598 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 3599 36002004-12-19 Andrey Kiselev <[email protected]> 3601 3602 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 3603 checking for tag count in TIFFReadDirectory() function. As per bug 3604 3605 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 3606 3607 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 3608 CheckMallock() function. 3609 3610 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 3611 RGB-images as per bug 3612 3613 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 3614 36152004-12-15 Frank Warmerdam <[email protected]> 3616 3617 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 3618 SunPro compiler. 3619 36202004-12-11 Bob Friesenhahn <[email protected]> 3621 3622 * autogen.sh: aclocal and autoheader should be executed after 3623 libtoolize. Also add '-I .' to aclocal invocation to check 3624 current directory for macros. 3625 36262004-12-10 Andrey Kiselev <[email protected]> 3627 3628 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 3629 as per bugs 3630 3631 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 3632 3633 and 3634 3635 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 3636 36372004-12-04 Andrey Kiselev <[email protected]> 3638 3639 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 3640 3641 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3642 3643 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 3644 mode as per bug 3645 3646 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3647 3648 * libtiff/tif_config.in.vc: Removed unneded definitions for 3649 read/open/close/lseek functions to fix the 3650 3651 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 3652 36532004-12-03 Andrey Kiselev <[email protected]> 3654 3655 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 3656 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 3657 must be removed in the future, as it was never used properly. As per 3658 bug 3659 3660 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 3661 36622004-11-30 Bob Friesenhahn <[email protected]> 3663 3664 * libtiff/tif_jpeg.c: Added a work-around in order to allow 3665 compilation with the heavily modified version of libjpeg delivered 3666 with Cygwin. 3667 36682004-11-29 Andrey Kiselev <[email protected]> 3669 3670 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 3671 counts. As per bug 3672 3673 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 3674 3675 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 3676 3677 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 3678 36792004-11-28 Andrey Kiselev <[email protected]> 3680 3681 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 3682 on Windows. 3683 3684 * nmake.opt: Add missed DLLNAME variable. 3685 36862004-11-26 Frank Warmerdam <[email protected]> 3687 3688 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 3689 36902004-11-24 Andrey Kiselev <[email protected]> 3691 3692 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 3693 per bug 3694 3695 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 3696 3697 * man/tiffset.1: Added manual page for tiffset tool written by Jay 3698 Berkenbilt. As per bug 3699 3700 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 3701 37022004-11-23 Frank Warmerdam <[email protected]> 3703 3704 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 3705 37062004-11-21 Frank Warmerdam <[email protected]> 3707 3708 * html/document.html: Updated Adobe web links as per email from Joris. 3709 37102004-11-21 Andrey Kiselev <[email protected]> 3711 3712 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 3713 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 3714 use C++ streams should #include <tiffio.hxx>. 3715 37162004-11-13 Andrey Kiselev <[email protected]> 3717 3718 * libtiff/tiff.h: Added Adobe DNG tags. 3719 3720 * libtiff/tif_win32.c: Typo fixed. 3721 3722 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 3723 be compliant with the latest standard. Appropriate additions in 3724 makefiles now completed. 3725 37262004-11-11 Andrey Kiselev <[email protected]> 3727 3728 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 3729 different tag types. As per bug 3730 3731 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 3732 37332004-11-10 Andrey Kiselev <[email protected]> 3734 3735 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 3736 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 3737 37382004-11-09 Andrey Kiselev <[email protected]> 3739 3740 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 3741 37422004-11-07 Andrey Kiselev <[email protected]> 3743 3744 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 3745 contributed by Edward Lam (see 3746 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 3747 Though no changes in any makefiles yet. 3748 37492004-11-05 Frank Warmerdam <[email protected]> 3750 3751 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 3752 is bad. This is the callers responsibility. 3753 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 3754 37552004-11-05 Andrey Kiselev <[email protected]> 3756 3757 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 3758 function to work with the double byte strings (used to represent 3759 filenames in some locales). As per bug 3760 3761 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 3762 3763 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 3764 Compression tags of type LONG from broken TIFFS as per bug 3765 3766 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 3767 3768 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 3769 the writecount should have uint32 type. As per bug 3770 3771 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 3772 3773 * libtiff/tif_write.c: Fixed wrong if() statement in 3774 TIFFAppendToStrip() function as per bug 3775 3776 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 3777 37782004-11-04 Andrey Kiselev <[email protected]> 3779 3780 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 3781 field. The caller should supply a count when setting this field. As 3782 per bug 3783 3784 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 3785 3786 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 3787 uint32 count. Use this type everywhere. 3788 37892004-11-03 Frank Warmerdam <[email protected]> 3790 3791 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 3792 37932004-11-02 Frank Warmerdam <[email protected]> 3794 3795 * tools/tiff2rgba.c: removed extra newlines in usage message. 3796 37972004-10-30 Andrey Kiselev <[email protected]> 3798 3799 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 3800 3801 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 3802 tags (Tristan Hill). 3803 38042004-10-30 Frank Warmerdam <[email protected]> 3805 3806 * libtiff/tiffiop.h: added fallback definition of assert() if we 3807 don't have assert.h. 3808 38092004-10-29 Andrey Kiselev <[email protected]> 3810 3811 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 3812 choosing when the incorrect Group4Options tag set. As per bug 3813 3814 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 3815 3816 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 3817 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 3818 TIFFWriteNormalTag(). 3819 38202004-10-28 Andrey Kiselev <[email protected]> 3821 3822 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 3823 tags (Peter Fales). 3824 3825 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 3826 38272004-10-28 Frank Warmerdam <[email protected]> 3828 3829 * tools/tiff2pdf.c: added casts to avoid warnings. 3830 3831 * libtiff/libtiff.def: Added several more entry points required 3832 to link fax2tiff.c against the DLL on windows. 3833 38342004-10-27 Andrey Kiselev <[email protected]> 3835 3836 * configure, configure.ac: Added --enable-rpath option to embed linker 3837 paths into library binary. 3838 38392004-10-26 Andrey Kiselev <[email protected]> 3840 3841 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 3842 3843 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 3844 (Vladimir Nadvornik, Dmitry V. Levin). 3845 38462004-10-16 Andrey Kiselev <[email protected]> 3847 3848 * libtiff 3.7.0 released. 3849 38502004-10-15 Bob Friesenhahn <[email protected]> 3851 3852 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 3853 in this file so its inclusion is removed. Including stdio.h 3854 sometimes incurs an INT32 typedef conflict between MinGW's 3855 basetsd.h and libjpeg's jmorecfg.h. 3856 38572004-10-15 Andrey Kiselev <[email protected]> 3858 3859 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 3860 38612004-10-13 Bob Friesenhahn <[email protected]> 3862 3863 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 3864 conflict noticed under MinGW. 3865 * ltmain.sh: Fix for MinGW compilation. 3866 38672004-10-13 Frank Warmerdam <[email protected]> 3868 3869 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 3870 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 3871 38722004-10-12 Andrey Kiselev <[email protected]> 3873 3874 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 3875 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 3876 properly (Dmitry V. Levin, Marcus Meissner). 3877 38782004-10-11 Andrey Kiselev <[email protected]> 3879 3880 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 3881 to TIFF_IFD. 3882 38832004-10-10 Andrey Kiselev <[email protected]> 3884 3885 * tools/bmp2tif.c: Check the space allocation results. 3886 38872004-10-09 Andrey Kiselev <[email protected]> 3888 3889 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 3890 of the TIFFDirectory structure with the 0 instead of -1 to avoid 3891 confusing integer overflows in TIFFTileRowSize() for striped images. 3892 3893 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 3894 by Ross A. Finlayson. 3895 3896 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 3897 3898 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 3899 39002004-10-08 Frank Warmerdam <[email protected]> 3901 3902 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 3903 of tif_fieldinfo. 3904 3905 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 3906 39072004-10-04 Bob Friesenhahn <[email protected]> 3908 3909 * contrib/iptcutil/README: Added the missing README which goes 3910 along with iptcutil. 3911 39122004-10-03 Andrey Kiselev <[email protected]> 3913 3914 * libtiff/tif_compress.c: Improved error reporting in 3915 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 3916 39172004-10-02 Andrey Kiselev <[email protected]> 3918 3919 * libtiff 3.7.0beta2 released. 3920 3921 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 3922 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 3923 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 3924 allocations and integer overflows (Dmitry V. Levin). 3925 3926 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 3927 39282004-10-01 Frank Warmerdam <[email protected]> 3929 3930 * libtiff/tif_open.c: added a more informative message if a BigTIFF 3931 file is opened. 3932 39332004-09-30 Frank Warmerdam <[email protected]> 3934 3935 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 3936 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 3937 in the Adobe XMP Specification. 3938 39392004-09-29 Andrey Kiselev <[email protected]> 3940 3941 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 3942 memset(). 3943 3944 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 3945 from Dmitry V. Levin to fix possible integer overflow problems. 3946 39472004-09-28 Andrey Kiselev <[email protected]> 3948 3949 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 3950 (Dmitry V. Levin). 3951 39522004-09-26 Andrey Kiselev <[email protected]> 3953 3954 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 3955 Optimize checking for the strip bounds. 3956 3957 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 3958 TIFFRasterScanlineSize() functions report zero in the case of integer 3959 overflow now. Properly handle this case in TIFFReadDirectory() 3960 (patches from Dmitry V. Levin). 3961 39622004-09-25 Andrey Kiselev <[email protected]> 3963 3964 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 3965 macro where appropriate. 3966 3967 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 3968 noted by Gennady Khokhorin. 3969 3970 * libtiff/tif_dirread.c: Always check the return values, returned 3971 by the _TIFFmalloc() (Dmitry V. Levin). 3972 3973 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 3974 functions (Dmitry V. Levin). 3975 3976 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 3977 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 3978 TIFFGrowStrips() (found by Dmitry V. Levin). 3979 39802004-09-24 Andrey Kiselev <[email protected]> 3981 3982 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 3983 to get the list of configured codecs. 3984 3985 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 3986 Dmitry V. Levin. 3987 39882004-09-23 Andrey Kiselev <[email protected]> 3989 3990 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 3991 possible integer overflow in CheckMalloc() function. 3992 39932004-09-22 Andrey Kiselev <[email protected]> 3994 3995 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 3996 of plain TIFFhowmany() where appropriate. 3997 39982004-09-21 Andrey Kiselev <[email protected]> 3999 4000 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 4001 40022004-09-19 Andrey Kiselev <[email protected]> 4003 4004 * libtiff 3.7.0beta released. 4005 4006 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 4007 overruns fixed, as noted by Chris Evans. 4008 40092004-09-14 Bob Friesenhahn <[email protected]> 4010 4011 * commit: Added a script to make it more convenient to commit 4012 updates. The CVS commit message is extracted from this ChangeLog 4013 file. 4014 40152004-09-14 Andrey Kiselev <[email protected]> 4016 4017 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 4018 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 4019 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 4020 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 4021 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 4022 tif_config.h.in, tiffiop.h}: 4023 Get rid of BSD data types (u_char, u_short, u_int, u_long). 4024 40252004-09-13 Bob Friesenhahn <[email protected]> 4026 4027 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 4028 specification. Reference libtiff bug tracking system to submit 4029 private tag additions. 4030 40312004-09-12 Bob Friesenhahn <[email protected]> 4032 4033 * tools/tiffgt.c: Include "tif_config.h". 4034 4035 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 4036 tiffgt. This results in the 'compile' script being added to the 4037 project. 4038 4039 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 4040 required to find OpenGL headers necessary to build tiffgt. Also 4041 ensure that the libtiff that we built is used rather than some other 4042 libtiff installed on the system. 4043 40442004-09-12 Andrey Kiselev <[email protected]> 4045 4046 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 4047 libraries. 4048 40492004-09-11 Bob Friesenhahn <[email protected]> 4050 4051 * configure.ac: Pass library configuration defines via 4052 tif_config.h rather than extending CPPFLAGS. Configure a 4053 libtiff/tiffconf.h in order to satisfy application requirements 4054 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 4055 this causes failure to build on systems which properly respect 4056 this request. 4057 4058 * libtiff/tiffconf.h.in: New file to act as the template for the 4059 configured tiffconf.h 4060 4061 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 4062 40632004-09-10 Frank Warmerdam <[email protected]> 4064 4065 * html/internals.html: Split off a discussion of adding new tags 4066 into addingtags.html. 4067 40682004-09-10 Andrey Kiselev <[email protected]> 4069 4070 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 4071 4072 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 4073 4074 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4075 4076 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 4077 4078 * libtiff/tif_dirread.c: Don't reject to read tags of the 4079 SamplesPerPixel size when the tag count is greater than number of 4080 samples as per bug 4081 4082 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 4083 4084 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 4085 defining int8/uint8/... etc. types. As per bug 4086 4087 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 4088 40892004-09-09 Frank Warmerdam <[email protected]> 4090 4091 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 4092 to avoid compile warnings about getopt() and a few other things. 4093 40942004-09-02 Andrey Kiselev <[email protected]> 4095 4096 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 4097 assigning magic in TIFFFetchFloat(). 4098 40992004-09-01 Andrey Kiselev <[email protected]> 4100 4101 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 4102 to avoid requirement for tiffiop.h inclusion in some applications. See 4103 here 4104 4105 http://www.asmail.be/msg0054799560.html 4106 4107 for details. 4108 4109 * tools/fax2tiff.c: Use the new functions in the code. 4110 41112004-08-25 Andrey Kiselev <[email protected]> 4112 4113 * tools/tiff2pdf.c: Initialize arrays properly. 4114 4115 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 4116 properly initialize array in PSDataBW(). 4117 41182004-08-24 Andrey Kiselev <[email protected]> 4119 4120 * tools/tiff2pdf.c: More fixes for bug 4121 4122 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4123 4124 from Ross Finlayson. 4125 41262004-08-23 Andrey Kiselev <[email protected]> 4127 4128 * tools/tiff2ps.c: Fixed problem with uninitialized values. 4129 4130 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 4131 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 4132 4133 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 4134 4135 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4136 41372004-08-20 Andrey Kiselev <[email protected]> 4138 4139 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 4140 that the input file has compression, photometric interpretation, 4141 etcetra, tags or if not than a more descriptive error is returned. 4142 4143 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 4144 code, responsible for tag data type checking. 4145 41462004-08-19 Andrey Kiselev <[email protected]> 4147 4148 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 4149 variable as per bug 4150 4151 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 4152 41532004-08-16 Andrey Kiselev <[email protected]> 4154 4155 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 4156 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 4157 41582004-08-01 Andrey Kiselev <[email protected]> 4159 4160 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 4161 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 4162 41632004-07-24 Andrey Kiselev <[email protected]> 4164 4165 * libtiff/tif_lzw.c: LZW compression code is merged back from the 4166 separate package. All libtiff tools are updated to not advertise an 4167 abcence of LZW support. 4168 41692004-07-12 Andrey Kiselev <[email protected]> 4170 4171 * libtiff/tiffio.h: Revert thandle_t back to void* type. 4172 41732004-07-11 Andrey Kiselev <[email protected]> 4174 4175 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 4176 messages, as suggested by Bernd Herd. 4177 41782004-07-03 Andrey Kiselev <[email protected]> 4179 4180 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 4181 when setting custom tags by value. Reported by Eric Fieleke. 4182 41832004-06-14 Andrey Kiselev <[email protected]> 4184 4185 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 4186 41872004-06-08 Andrey Kiselev <[email protected]> 4188 4189 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 4190 into TIFFs. 4191 41922004-06-07 Andrey Kiselev <[email protected]> 4193 4194 * libtiff 3.7.0alpha released. 4195 41962004-06-06 Andrey Kiselev <[email protected]> 4197 4198 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 4199 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 4200 ones :-). 4201 4202 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 4203 problems in 64-bit environment). 4204 42052004-06-05 Andrey Kiselev <[email protected]> 4206 4207 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 4208 Tags can be supplied by the mnemonic name or number. 4209 4210 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 4211 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 4212 42132004-05-27 Andrey Kiselev <[email protected]> 4214 4215 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 4216 markers as per bug 4217 4218 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 4219 42202004-05-24 Andrey Kiselev <[email protected]> 4221 4222 * tools/tiffsplit.c: Don't forget to copy Photometric 4223 Interpretation tag. 4224 42252004-05-20 Andrey Kiselev <[email protected]> 4226 4227 * libtiff/{tif_open.c, tiffio.h}: New function added: 4228 TIFFIsBigEndian(). Function returns nonzero if given was file written 4229 in big-endian order. 4230 4231 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 4232 files. Now output files will be written using the same byte order 4233 flag as in the input image. See 4234 4235 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 4236 4237 for details. 4238 42392004-05-19 Frank Warmerdam <[email protected]> 4240 4241 * libtiff/tif_print.c: added (untested) support for printing 4242 SSHORT, SLONG and SRATIONAL fields. 4243 4244 * tools/tiffcp.c: close output file on normal exit. 4245 42462004-05-17 Andrey Kiselev <[email protected]> 4247 4248 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 4249 if compression type mismatches. See 4250 4251 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 4252 42532004-04-30 Andrey Kiselev <[email protected]> 4254 4255 * libtiff/tif_strip.c: Never return 0 from the 4256 TIFFNumberOfStrips(). 4257 42582004-04-29 Andrey Kiselev <[email protected]> 4259 4260 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 4261 store single SampleFormat value for multisampled images. See 4262 4263 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 4264 42652004-04-25 Andrey Kiselev <[email protected]> 4266 4267 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 4268 int16 and int32 types to avoid complains on some compilers. Details at 4269 4270 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4271 42722004-04-20 Andrey Kiselev <[email protected]> 4273 4274 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 4275 4276 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 4277 42782004-04-14 Andrey Kiselev <[email protected]> 4279 4280 * libtiff/tif_write.c: Allow in-place updating of the compressed 4281 images (don't work properly with all codecs). For details see GDAL bug 4282 4283 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 4284 42852004-04-06 Andrey Kiselev <[email protected]> 4286 4287 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 4288 in the Intergarph JPEG compressed TIFF images as per bug: 4289 4290 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 4291 42922004-04-04 Frank Warmerdam <[email protected]> 4293 4294 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 4295 via bad2. 4296 42972004-03-26 Andrey Kiselev <[email protected]> 4298 4299 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 4300 JPEG compression of grayscale images. 4301 4302 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 4303 present in the input image. 4304 43052004-03-19 Andrey Kiselev <[email protected]> 4306 4307 * {many}: The first attempt to switch to autotools. 4308 43092004-03-03 Andrey Kiselev <[email protected]> 4310 4311 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 4312 TIFFClientOpen() when the appropriate client functions was not 4313 supplied by user. 4314 43152004-03-02 Frank Warmerdam <[email protected]> 4316 4317 * tools/ycbcr.c: fixed main() declaration as per: 4318 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 4319 43202004-02-26 Andrey Kiselev <[email protected]> 4321 4322 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 4323 images. Reported by Artem Mirolubov. 4324 4325 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 4326 tag type in TIFFFetchNormalTag() as per bug 4327 4328 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 4329 43302004-02-17 Frank Warmerdam <[email protected]> 4331 4332 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 4333 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 4334 43352004-02-05 Andrey Kiselev <[email protected]> 4336 4337 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 4338 bug 4339 4340 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 4341 4342 But we need more work on fax codec to support update mode. 4343 43442004-01-30 Frank Warmerdam <[email protected]> 4345 4346 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 4347 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 4348 Scott Reynolds. 4349 43502004-01-29 Andrey Kiselev <[email protected]> 4351 4352 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 4353 and TIFFTAG_INDEXED as per bug 4354 4355 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 4356 4357 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 4358 NULL before proceeding further as per bug 4359 4360 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 4361 4362 Check results, returned by the TIFFFdOpen() before returning and close 4363 file if TIFFFdOpen() failed as per bug 4364 4365 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4366 4367 * libtiff/tif_open.c: More fixes for 4368 4369 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4370 43712004-01-28 Andrey Kiselev <[email protected]> 4372 4373 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 4374 TIFFCleanup() from the TIFFClose() in order to fix the bug 4375 4376 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4377 4378 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 4379 InkNames tag as per bug 4380 4381 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 4382 4383 Memory leak fixed. 4384 43852004-01-21 Frank Warmerdam <[email protected]> 4386 4387 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 4388 are field_passcount=TRUE properly. Arguably anonymous custom tags 4389 should be declared as passcount=FALSE, but I don't want to change 4390 that without a careful review. 4391 43922004-01-20 Andrey Kiselev <[email protected]> 4393 4394 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 4395 stripped image in TIFFWriteBufferSetup(). As per bug 4396 4397 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 4398 43992004-01-11 Andrey Kiselev <[email protected]> 4400 4401 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 4402 patch from Gerben Koopmans. 4403 4404 * libtiff/tif_dirread.c: Check field_passcount value before setting 4405 the value of undefined type, patch from Gerben Koopmans. 4406 44072004-01-02 Andrey Kiselev <[email protected]> 4408 4409 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 4410 non-RGB images. 4411 44122003-12-31 Andrey Kiselev <[email protected]> 4413 4414 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 4415 pointer passed. Patch supplied by Larry Grill. 4416 4417 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 4418 suggested by Jeremy C. Reed. 4419 44202003-12-26 Andrey Kiselev <[email protected]> 4421 4422 * libtiff 3.6.1 released. 4423 44242003-12-24 Andrey Kiselev <[email protected]> 4425 4426 * config.guess, config.sub: Updated from the recent upstream. 4427 44282003-12-22 Andrey Kiselev <[email protected]> 4429 4430 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 4431 More cleanups in color conversion interface, added appropriate manual 4432 page. 4433 44342003-12-19 Andrey Kiselev <[email protected]> 4435 4436 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 4437 per bug 4438 4439 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 4440 4441 * tools/tiff2ps.c: Added support for alpha channel. Fixes 4442 4443 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 4444 4445 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 4446 Interface for Lab->RGB color conversion is finally cleaned up. 4447 Added support for ReferenceBlackWhite tag handling when converted from 4448 YCbCr color space. The latter closes 4449 4450 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 4451 44522003-12-07 Andrey Kiselev <[email protected]> 4453 4454 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 4455 4456 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 4457 library. 4458 44592003-12-06 Andrey Kiselev <[email protected]> 4460 4461 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 4462 file and properly use it for CIE Lab->RGB transform. 4463 44642003-12-04 Andrey Kiselev <[email protected]> 4465 4466 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 4467 conversion routines now in the tif_color.c module. New function 4468 TIFFYCbCrtoRGB() available in TIFF API. 4469 4470 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 4471 44722003-12-03 Andrey Kiselev <[email protected]> 4473 4474 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 4475 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 4476 module. 4477 4478 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 4479 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 4480 Finally resolved problems with orientation handling. TIFFRGBAImage 4481 interface now properly supports all possible orientations, i.e. images 4482 will be flipped both in horizontal and vertical directions if 4483 required. 'Known bugs' section now removed from the appropriate manual 4484 pages. Closed bug entry: 4485 4486 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 4487 44882003-12-02 Andrey Kiselev <[email protected]> 4489 4490 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 4491 function calls as per bug 4492 4493 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 4494 44952003-11-28 Ross Finlayson <[email protected]> 4496 4497 * tools/tiff2pdf.c: Some bugs fixed. 4498 44992003-11-27 Andrey Kiselev <[email protected]> 4500 4501 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 4502 reported by Antonio Scuri. 4503 4504 * man/tiff2pdf.1: Few improvements in page layout. 4505 4506 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 4507 Added support fpr tiff2pdf manual page. 4508 45092003-11-26 Ross Finlayson <[email protected]> 4510 4511 * /man/tiff2pdf.1: File added to repository. 4512 45132003-11-26 Andrey Kiselev <[email protected]> 4514 4515 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 4516 Added support fpr tiff2pdf utility. 4517 45182003-11-25 Ross Finlayson <[email protected]> 4519 4520 * /tools/tiff2pdf.c: File added to repository. 4521 45222003-11-22 Andrey Kiselev <[email protected]> 4523 4524 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 4525 45262003-11-21 Andrey Kiselev <[email protected]> 4527 4528 * /tools/raw2tiff.c: #include <getopt.h> removed. 4529 4530 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 4531 sgigt utility removed and replaced with the completely rewritten 4532 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 4533 there is a lot of things to improve. 4534 4535 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 4536 extract the fields from the OJPEG files. Patch supplied by Ross 4537 Finlayson. 4538 4539 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 4540 Added new function TIFFIsCODECConfigured(), suggested by Ross 4541 Finlayson. 4542 45432003-11-18 Andrey Kiselev <[email protected]> 4544 4545 * libtiff/tif_dirinfo.c: Implemented binary search in 4546 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 4547 4548 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 4549 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 4550 45512003-11-17 Frank Warmerdam <[email protected]> 4552 4553 * tif_dirread.c: do not mark all anonymously defined tags to be 4554 IGNOREd. 4555 45562003-11-17 Andrey Kiselev <[email protected]> 4557 4558 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 4559 TIFFDataWidth() function insted of tiffDataWidth array. 4560 45612003-11-16 Andrey Kiselev <[email protected]> 4562 4563 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 4564 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 4565 45662003-11-15 Frank Warmerdam <[email protected]> 4567 4568 * Makefile.in: fixed missing backslash for tif_color.c in list. 4569 45702003-11-13 Andrey Kiselev <[email protected]> 4571 4572 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 4573 New color space conversion code: CIE L*a*b* 1976 images now supported 4574 by the TIFFRGBAImage interface. All introduced routines go to new 4575 module tif_color.c. Eventually all color conversion functions should 4576 be moved there. 4577 45782003-11-12 Andrey Kiselev <[email protected]> 4579 4580 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 4581 with the reverse byte order (it is reported by the magic header 4582 field). Problem reported by Andreas Wiesmann. 4583 4584 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 4585 calculation function. Guessing mechanics now documented in manual page. 4586 45872003-11-11 Andrey Kiselev <[email protected]> 4588 4589 * tools/raw2tiff.c: Implemented image size guessing using 4590 correlation coefficient calculation between two neighbour lines. 4591 45922003-11-09 Frank Warmerdam <[email protected]> 4593 4594 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 4595 planarconfig_contig case in TIFFComputeTile(). 4596 4597 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 4598 45992003-11-09 Andrey Kiselev <[email protected]> 4600 4601 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 4602 46032003-11-07 Andrey Kiselev <[email protected]> 4604 4605 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 4606 Added TIFFRawStripSize() function as suggested by Chris Hanson. 4607 46082003-11-03 Andrey Kiselev <[email protected]> 4609 4610 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 4611 per bug 4612 4613 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 4614 46152003-10-29 Andrey Kiselev <[email protected]> 4616 4617 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 4618 4619 * html/build.html: Added note about GNU make requirement. 4620 46212003-10-25 Andrey Kiselev <[email protected]> 4622 4623 * Makefile.in: Fixes in using MAKEFLAGS as per bug 4624 4625 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 4626 4627 * port/install.sh.in: Option -p added to the mkdir command to create 4628 all directory tree structure before installing. 4629 46302003-10-18 Andrey Kiselev <[email protected]> 4631 4632 * /tools/tiff2ps.c: #include <strings.h> replaced with the 4633 #include <string.h>. 4634 46352003-10-16 Andrey Kiselev <[email protected]> 4636 4637 * Makefile.in: Add an absolute path to the test_pics.sh call. 4638 46392003-10-12 Andrey Kiselev <[email protected]> 4640 4641 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 4642 typedefs. 4643 46442003-10-09 Andrey Kiselev <[email protected]> 4645 4646 * configure, libtiff/{Makefile.in, mkversion.c}: 4647 Relative buildings fixed. 4648 4649 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 4650 rule. 4651 46522003-10-07 Andrey Kiselev <[email protected]> 4653 4654 * Makefile.in: Added missed v3.6.0.html. 4655 4656 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 4657 ORIENTATION_BOTLEFT. 4658 46592003-10-04 Andrey Kiselev <[email protected]> 4660 4661 * 3.6.0 final release. 4662 46632003-10-03 Andrey Kiselev <[email protected]> 4664 4665 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 4666 function TIFFReadRGBAImageOriented() implemented to retrieve raster 4667 array with user-specified origin position as suggested by Jason Frank. 4668 See 4669 4670 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 4671 4672 for details. 4673 4674 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 4675 instead of TIFFReadRGBAImage(). 4676 4677 * tools/tiff2ps.c: Fixed possible endless loop as per bug 4678 4679 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 4680 46812003-09-30 Andrey Kiselev <[email protected]> 4682 4683 * libtiff/tif_dirread.c: Check field counter against number of fields 4684 in order to fix 4685 4686 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 4687 4688 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 4689 4690 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 4691 46922003-09-25 Andrey Kiselev <[email protected]> 4693 4694 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 4695 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 4696 4697 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 4698 46992003-09-23 Andrey Kiselev <[email protected]> 4700 4701 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 4702 4703 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4704 47052003-08-21 Andrey Kiselev <[email protected]> 4706 4707 * tools/tiffmedian.c: int declaration replaced with the uint32 to 4708 support large images as per bug 4709 4710 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 4711 47122003-08-12 Andrey Kiselev <[email protected]> 4713 4714 * libtiff/Makefile.in: Fixed problem with building in different 4715 directory. 4716 4717 * tools/tiff2ps.c: Added missing #include <strings.h>. 4718 4719 * libtiff/tif_dirwrite.c: More fixes for custom tags code 4720 from Ashley Dreier. 4721 47222003-08-07 Andrey Kiselev <[email protected]> 4723 4724 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 4725 Patch submitted by Balatoni Denes (with corrections from Tom 4726 Kacvinsky). 4727 4728 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 4729 being used. Reported by Tom Kacvinsky. 4730 4731 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 4732 reported by Ashley Dreier. 4733 4734 * libtiff/tif_print.c: Fixed problem with float tags reading, support 4735 for printing RATIONAL and BYTE tags added. 4736 47372003-08-05 Andrey Kiselev <[email protected]> 4738 4739 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 4740 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 4741 problems with predictor initialization. Remove O_RDONLY check during 4742 state block allocation to be able open LZW compressed files in update 4743 mode. 4744 4745 Problem exist for libtiff version of the tif_lzw.c module. One from 4746 lzw-compression-kit hasn't such troubles. 4747 47482003-08-04 Frank Warmerdam <[email protected]> 4749 4750 * libtiff/tif_write.c: modified tif_write.c so that the various 4751 encoded write functions use tif_postdecode() to apply byte order 4752 swapping (swab) to the application passed data buffer if the same 4753 would be done when reading. This allows us to write pixel data with 4754 more than 8 bits per sample to existing files of a non-native byte 4755 order. One side effect of this change is the applications buffer 4756 itself is altered in this case by the act of writing. 4757 4758 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 4759 47602003-07-25 Frank Warmerdam <[email protected]> 4761 4762 * libtiff/tif_open.c: avoid signed/unsigned casting warning 4763 initializing typemask as per patch from J.A. Strother. 4764 4765 * tools/tiffcp.c: fixed signed/unsigned casting warning. 4766 4767 * libtiff/tif_print.c: dos2unix conversion. 4768 4769 * tools/tiffsplit.c: increased the maximum number of pages that 4770 can be split. Patch provided by Andrew J. Montalenti. 4771 47722003-07-11 Andrey Kiselev <[email protected]> 4773 4774 * tools/raw2tiff.c: Added option `-p' to explicitly select color 4775 space of input image data. Closes 4776 4777 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 4778 47792003-07-08 Frank Warmerdam <[email protected]> 4780 4781 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 4782 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 4783 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 4784 avoid casting warning at /W4. 4785 47862003-07-03 Andrey Kiselev <[email protected]> 4787 4788 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 4789 47902003-06-30 Andrey Kiselev <[email protected]> 4791 4792 * libtiff/tif_pixarlog.c: Unused variables removed. 4793 4794 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 4795 EstimateStripByteCounts() as per bug 4796 4797 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4798 4799 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 4800 64-bit architectures as per bug 4801 4802 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 4803 4804 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 4805 unknown data type. 4806 48072003-06-19 Frank Warmerdam <[email protected]> 4808 4809 * libtiff/tif_print.c: fixed some serious bugs when printing 4810 custom tags ... almost certain to crash. 4811 4812 * libtiff/tif_dirread.c: Don't ignore custom fields that are 4813 autodefined. Not sure how this got to be like this. 4814 48152003-06-18 Andrey Kiselev <[email protected]> 4816 4817 * 3.6.0 Beta2 released. 4818 4819 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 4820 comparing as per bug 4821 4822 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 4823 4824 `-z' option now can be used to set the number of reported different 4825 bytes. 4826 48272003-06-09 Andrey Kiselev <[email protected]> 4828 4829 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 4830 to -r option to get the entire image as one strip. See 4831 4832 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4833 4834 for details. 4835 48362003-06-04 Andrey Kiselev <[email protected]> 4837 4838 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 4839 values as per bug 4840 4841 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4842 48432003-05-27 Frank Warmerdam <[email protected]> 4844 4845 * libtiff/tif_jpeg.c: modified segment_height calculation to always 4846 be a full height tile for tiled images. Also changed error to just 4847 be a warning. 4848 48492003-05-25 Andrey Kiselev <[email protected]> 4850 4851 * tools/fax2tiff.c: Page numbering fixed, as per bug 4852 4853 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 4854 48552003-05-20 Andrey Kiselev <[email protected]> 4856 4857 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4858 configure, Makefile.in: Switched back to the old behaviour. Likely 4859 better solution should be found for OJPEG support. 4860 48612003-05-11 Andrey Kiselev <[email protected]> 4862 4863 * libtiff/mkversion.c: Fixed problem with wrong string size when 4864 reading RELEASE-DATE file. 4865 48662003-05-07 Andrey Kiselev <[email protected]> 4867 4868 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 4869 index was out of range. 4870 48712003-05-06 Andrey Kiselev <[email protected]> 4872 4873 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4874 configure, Makefile.in: Improved libtiff compilation with OJPEG 4875 support. Now no need for patching IJG JPEG library, hack requred by 4876 libtiff will be compiled and used in-place. Implemented with 4877 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 4878 4879 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 4880 TIFFVGetFieldDefaulted() function. 4881 48822003-05-05 Andrey Kiselev <[email protected]> 4883 4884 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 4885 comments. 4886 4887 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 4888 was not copied from source image. 4889 4890 * libtiff/getimage.c: Workaround for some images without correct 4891 info about alpha channel as per bug 4892 4893 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 4894 48952003-04-29 Andrey Kiselev <[email protected]> 4896 4897 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 4898 It basically allows one to use the /flateDecode filter for ZIP 4899 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 4900 4901 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 4902 4903 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 4904 as per bug 4905 4906 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 4907 49082003-04-17 Andrey Kiselev <[email protected]> 4909 4910 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 4911 due to problems with multidirectory images. Quality of error messages 4912 improved. 4913 49142003-04-16 Andrey Kiselev <[email protected]> 4915 4916 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 4917 encoded images. See bug entries 4918 4919 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 4920 4921 and 4922 4923 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4924 4925 * libtiff/tif_dirread.c: Additional check for StripByteCounts 4926 correctness. Fixes 4927 4928 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 4929 49302003-03-12 Andrey Kiselev <[email protected]> 4931 4932 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 4933 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 4934 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 4935 tiffmedian.c}: Added library version reporting facility to all tools. 4936 49372003-03-06 Frank Warmerdam <[email protected]> 4938 4939 * port/install.sh.in: Fixed problems with install producing paths 4940 like ///usr/local/lib on cygwin. 4941 49422003-02-27 Andrey Kiselev <[email protected]> 4943 4944 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 4945 raw input page. Patch supplied by Julien Gaulmin. See 4946 4947 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 4948 4949 for details. 4950 49512003-02-26 Frank Warmerdam <[email protected]> 4952 4953 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 4954 responsible for byte swapping complex image data. 4955 4956 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 4957 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 4958 49592003-02-07 Andrey Kiselev <[email protected]> 4960 4961 * tools/ppm2tiff.c: Fixed problem with too many arguments. 4962 49632003-02-04 Andrey Kiselev <[email protected]> 4964 4965 * tools/raw2tiff.c: Memory leak fixed. 4966 49672003-02-03 Andrey Kiselev <[email protected]> 4968 4969 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 4970 (thanks, Julien!). More switches for fax2tiff tool for better control 4971 of input and output. Details at 4972 4973 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 4974 49752003-02-03 Frank Warmerdam <[email protected]> 4976 4977 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 4978 library so that we can check if there is already any tile/strip data 4979 before deciding between creating a compressor or a decompressor. 4980 49812003-01-31 Frank Warmerdam <[email protected]> 4982 4983 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 4984 a pre-existing compressed image. That is, image writing to 4985 pre-existing compressed images is not allowed. 4986 4987 * libtiff/tif_open.c: Removed error if opening a compressed file 4988 in update mode. 4989 4990 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 4991 49922003-01-31 Andrey Kiselev <[email protected]> 4993 4994 * config.guess, config.sub: Updated to recent upstream versions. 4995 49962003-01-15 Frank Warmerdam <[email protected]> 4997 4998 * cut 3.6.0 Beta release. 4999 50002002-12-20 Andrey Kiselev <[email protected]> 5001 5002 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 5003 in wrong way as per bug 5004 5005 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 5006 50072002-12-17 Frank Warmerdam <[email protected]> 5008 5009 * libtiff/tif_dirread.c: Allow wrong sized arrays in 5010 TIFFFetchStripThing(). 5011 5012 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 5013 50142002-12-02 Frank Warmerdam <[email protected]> 5015 5016 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 5017 Was using realloc even first time. Fix by Igor Venevtsev. 5018 50192002-11-30 Frank Warmerdam <[email protected]> 5020 5021 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 5022 field value. 5023 5024 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 5025 tags in TIFFVGetField() ... added missing break. 5026 50272002-10-14 Frank Warmerdam <[email protected]> 5028 5029 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 5030 the scanline buffer long enough when writing rgb triplets. 5031 The scanline needs to be 3 X the number of dots or else it will 5032 contain an incomplete triplet and programs that try to separate 5033 the eps by redefining the colorimage operator will get messed up. 5034 Patch supplied by William Bader. 5035 5036 * Makefile.in: added tif_extension.c to file list as per 5037 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 5038 50392002-10-11 Andrey Kiselev <[email protected]> 5040 5041 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 5042 large files (>2GiB) supporting. New option in the config.site: 5043 LARGEFILE="yes". Should be enough for I/O of the large files. 5044 50452002-10-10 Frank Warmerdam <[email protected]> 5046 5047 * libtiff/html/v3.6.0.html: new release notes. 5048 5049 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 5050 link for Andrey. Pointer to v3.6.0.html. 5051 5052 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 5053 50542002-10-07 Andrey Kiselev <[email protected]> 5055 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 5056 (thanks, Sebastian!). New switches: 5057 -b # for a bottom margin of # inches 5058 -c center image 5059 -l # for a left margin of # inches 5060 -r rotate the image by 180 degrees 5061 New features merged with code for shrinking/overlapping. 5062 Previously added -c and -n switches (for overriding PS units) renamed 5063 in -x and -y respectively. 5064 5065 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 5066 5067 * html/man/*.html: Updated from actual manual pages. 5068 50692002-10-06 Frank Warmerdam <[email protected]> 5070 5071 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 5072 size on windows. Use #define boolean hack. 5073 5074 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 5075 5076 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 5077 USING_VISUALAGE is defined. 5078 5079 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5080 50812002-10-03 Frank Warmerdam <[email protected]> 5082 5083 * libtiff/tiff.h: added COMPRESSION_JP2000. 5084 50852002-10-02 Andrey Kiselev <[email protected]> 5086 5087 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 5088 by the TIFFFetchByteArray() function. Should finally resolve 5089 5090 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5091 5092 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 5093 5094 * html/Makefile.in: New targets added: html and groffhtml for 5095 producing HTML representations of the manual pages automatically. 5096 html target uses man2html tool, groffhtml uses groff tool. 5097 50982002-09-29 Frank Warmerdam <[email protected]> 5099 5100 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 5101 from John H. DuBois III. 5102 51032002-09-15 Andrey Kiselev <[email protected]> 5104 5105 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 5106 manual page for raw2tiff(1) tool. 5107 51082002-09-12 Andrey Kiselev <[email protected]> 5109 5110 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 5111 the tiffio.h header file. 5112 5113 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 5114 manual page for TIFFDataWidth() function 5115 51162002-09-08 Frank Warmerdam <[email protected]> 5117 5118 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 5119 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 5120 5121 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 5122 since we are unable to properly include the amount to skip. 5123 5124 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 5125 51262002-09-02 Andrey Kiselev <[email protected]> 5127 5128 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 5129 in TIFFFetchByteArray(). Problem described at 5130 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5131 51322002-08-22 Andrey Kiselev <[email protected]> 5133 5134 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 5135 in _TIFFSetupFieldInfo() function. 5136 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 5137 5138 * /libtiff/tif_lzw.c: Additional consistency checking added in 5139 LZWDecode() and LZWDecodeCompat(). 5140 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 5141 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5142 5143 * /libtiff/tif_lzw.c: 5144 Added check for valid code lengths in LZWDecode() and 5145 LZWDecodeCompat(). Fixes 5146 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 5147 51482002-08-16 Andrey Kiselev <[email protected]> 5149 5150 * /libtiff/{Makefile.vc, libtiff.def}: 5151 Missed declarations added. 5152 51532002-08-15 Frank Warmerdam <[email protected]> 5154 5155 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 5156 return code from the underlying pick function. 5157 5158 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 5159 5160 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 5161 with FIELD_CUSTOM as mentioned in bug 169. 5162 5163 * tif_close.c: added logic to free dynamically created anonymous 5164 field definitions to correct a small memory leak. 5165 5166 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 5167 51682002-08-10 Andrey Kiselev <[email protected]> 5169 5170 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 5171 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 5172 51732002-07-31 Frank Warmerdam <[email protected]> 5174 5175 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 5176 JPEGDecode() as per bugzilla bug (issue 1): 5177 5178 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 5179 5180 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 5181 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 5182 present in the tiff tags. 5183 5184 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 5185 5186 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 5187 TIFFWriteScanline() now set tif_row explicitly in case the codec has 5188 fooled with the value. 5189 5190 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 5191 51922002-06-22 Andrey Kiselev <[email protected]> 5193 5194 * /tools/tiff2ps.c: Added workaround for some software that may crash 5195 when last strip of image contains fewer number of scanlines than 5196 specified by the `/Height' variable. See 5197 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 5198 for explanation. 5199 52002002-06-21 Andrey Kiselev <[email protected]> 5201 5202 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 5203 splitting long images in several pages. See 5204 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 5205 Patch granted by John Williams <[email protected]>. 5206 52072002-06-11 Frank Warmerdam <[email protected]> 5208 5209 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 5210 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 5211 This one is described in: 5212 5213 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 5214 5215 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 5216 5217 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 5218 52192002-05-10 Andrey Kiselev <[email protected]> 5220 5221 * tools/tiff2ps: New commandline switches to override resolution 5222 units obtained from the input file. Closes 5223 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 5224 52252002-04-26 Andrey Kiselev <[email protected]> 5226 5227 * libtiff/libtiff.def: Added missed declaration. 5228 52292002-04-22 Andrey Kiselev <[email protected]> 5230 5231 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 5232 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 5233 52342002-04-20 Andrey Kiselev <[email protected]> 5235 5236 * libtiff/tif_open.c: Pointers to custom procedures 5237 in TIFFClientOpen() are checked to be not NULL-pointers. 5238 52392002-04-18 Andrey Kiselev <[email protected]> 5240 5241 * libtiff/libtiff.def: Added missed declarations. 5242 5243 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 5244 52452002-04-16 Andrey Kiselev <[email protected]> 5246 5247 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 5248 Should finally close 5249 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5250 52512002-04-10 Andrey Kiselev <[email protected]> 5252 5253 * tools/tiff2ps: Division by zero fixed. 5254 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 5255 52562002-04-09 Andrey Kiselev <[email protected]> 5257 5258 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 5259 TIFFCheckpointDirectory() routine added. 5260 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 5261 5262 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 5263 for the new function. 5264 52652002-04-08 Andrey Kiselev <[email protected]> 5266 5267 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 5268 additional members tif->tif_decodestatus and tif->tif_encodestatus 5269 for correct handling of unconfigured codecs (we should not try to read 5270 data or to define data size without correct codecs). 5271 5272 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 5273 changed. Now it has used tif->tif_decodestatus and 5274 tif->tif_encodestatus. 5275 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 5276 case of __cvs_8.tif test image). 5277 5278 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 5279 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 5280 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 5281 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 5282 52832002-04-04 Andrey Kiselev <[email protected]> 5284 5285 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 5286 replaced by warnings. Now libtiff should read corrupted LZW-compressed 5287 files by skipping bad strips. 5288 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5289 52902002-04-03 Frank Warmerdam <[email protected]> 5291 5292 * libtiff/tif_dirwrite.c: Removed some dead code. 5293 5294 * libtiff/*: Cleanup some warnings. 5295 5296 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 5297 for variable length FIELD_CUSTOM values. Was int * but should be 5298 u_short *. 5299 53002002-04-01 Andrey Kiselev <[email protected]> 5301 5302 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 5303 utility (at cpStripToTile routine). 5304 53052002-03-27 Frank Warmerdam <[email protected]> 5306 5307 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 5308 5309 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 5310 5311 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 5312 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 5313 5314 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 5315 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 5316 53172002-03-26 Dwight Kelly <[email protected]> 5318 5319 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 5320 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 5321 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 5322 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 5323 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 5324 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 5325 53262002-03-26 Andrey Kiselev <[email protected]> 5327 5328 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 5329 now also uses TIFFRGBAImageOK before reading. This is additional fix 5330 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 5331 53322002-03-25 Andrey Kiselev <[email protected]> 5333 5334 * libtiff/: tif_getimage.c: Additional check for supported 5335 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 5336 TIFFRGBAImageOK before reading. 5337 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 5338 53392002-03-15 Andrey Kiselev <[email protected]> 5340 5341 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 5342 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 5343 TIFFDataType sizes instead of working with tiffDataWidth array 5344 directly. Should prevent out-of-borders bugs in case of unknown or 5345 broken data types. EstimateStripByteCounts routine modified, so it 5346 won't work when tags with uknown sizes founded. 5347 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 5348 53492002-03-13 Andrey Kiselev <[email protected]> 5350 5351 * libtiff/tif_getimage.c: Added support for correct handling 5352 `Orientation' tag in gtTileContig. Should be added in other gt* 5353 functions as well, but I have not images for testing yet. Partially 5354 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 5355 53562002-03-10 Andrey Kiselev <[email protected]> 5357 5358 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 5359 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 5360 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 5361 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 5362 53632002-03-08 Andrey Kiselev <[email protected]> 5364 5365 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 5366 be stripped when installing, utility binaries will do. Closes 5367 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 5368 53692002-02-28 Frank Warmerdam <[email protected]> 5370 5371 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 5372 5373 * man/libtiff.3t: added copyright tag info. 5374 53752002-02-11 Frank Warmerdam <[email protected]> 5376 5377 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 5378 5379 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 5380 5381 * man/Makefile.in: Patch DESTDIR handling 5382 5383 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 5384 5385 * configure: OpenBSD changes for Sparc64 and DSO version. 5386 5387 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 5388 53892002-02-05 Frank Warmerdam <[email protected]> 5390 5391 * config.site/configure: added support for OJPEG=yes option to enable 5392 OJPEG support from config.site. 5393 53942002-01-27 Frank Warmerdam <[email protected]> 5395 5396 * html/document.html: fixed links for TIFf 6 docs. 5397 53982002-01-18 Frank Warmerdam <[email protected]> 5399 5400 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 5401 5402 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 5403 decodestrip function returns anything not greater than zero as per 5404 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 5405 5406 * configure: Modify CheckForBigEndian so it can work in a cross 5407 compiled situation. 5408 54092002-01-16 Frank Warmerdam <[email protected]> 5410 5411 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 5412 5413 * tools/tiffset.c: fix bug in error reporting. 5414 5415 * tools/tiffcp.c: fix several warnings that show up with -Wall. 5416 54172002-01-04 Frank Warmerdam <[email protected]> 5418 5419 * libtiff/tif_jpeg.c: fixed computation of segment_width for 5420 tiles files to avoid error about it not matching the 5421 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 5422 size.") for ITIFF files. Apparently the problem was incorporated since 5423 3.5.5, presumably during the OJPEG/JPEG work recently. 5424 54252001-12-15 Frank Warmerdam <[email protected]> 5426 5427 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 5428 5429 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 5430 5431 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 5432 (defined in tiffconf.h - 1 by default) then the RGBA interface 5433 will assume that a fourth extra sample is ASSOCALPHA if the 5434 EXTRASAMPLE value isn't set for it. This changes the behaviour of 5435 the library, but makes it work better with RGBA files produced by 5436 lots of applications that don't mark the alpha values properly. 5437 5438 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 5439 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 5440 54412001-12-12 Frank Warmerdam <[email protected]> 5442 5443 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 5444 override those from tiff directory. This makes this work with 5445 ImageGear generated files. 5446 54472001-12-07 Frank Warmerdam <[email protected]> 5448 5449 * html/Makefile.in: added missing images per bug 92. 5450 5451 * port/Makefile.in: fixed clean target per bug 92. 5452 54532001-11-28 Frank Warmerdam <[email protected]> 5454 5455 * Reissue 3.5.7 release. 5456 5457 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 5458 YYYYMMDD so that it is increasing over time. 5459 5460 * Makefile.in: Ensure that tiffvers.h is regenerated in the 5461 make release target. 5462 5463 * Makefile.in: added libtiff/tiffvers.h to the release file list. 5464 54652001-11-23 Frank Warmerdam <[email protected]> 5466 5467 * added html/v3.5.7.html, updated html/index.html. 5468 5469 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 5470 54712001-11-15 Frank Warmerdam <[email protected]> 5472 5473 * configure: fixed test for -lm. 5474 54752001-11-02 Frank Warmerdam <[email protected]> 5476 5477 * Added PHOTOMETRIC_ITULAB as per bug 90. 5478 5479 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 5480 54812001-10-10 Frank Warmerdam <[email protected]> 5482 5483 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 5484 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 5485 in keeping with TIFF 6.0 standard in tiff.h 5486 5487 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 5488 54892001-09-26 Frank Warmerdam <[email protected]> 5490 5491 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 5492 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 5493 54942001-09-24 Frank Warmerdam <[email protected]> 5495 5496 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 5497 5498 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 5499 5500 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 5501 error about LZW not being available. 5502 5503 * libtiff/tif_dir.c: propagate failure to initialize compression 5504 back from TIFFSetField() as an error status, so applications can 5505 detect failure. 5506 5507 * libtiff/tif_dir.c: removed the auto replacement of 5508 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 5509 5510 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 5511 from CVS as they are all supposed to be auto-generated by configure. 5512 55132001-09-22 Frank Warmerdam <[email protected]> 5514 5515 * libtiff/tif_ojpeg.c: new update from Scott. 5516 55172001-09-09 Frank Warmerdam <[email protected]> 5518 5519 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 5520 always use the "safe" version, even if there is a very slight 5521 cost in performance. 5522 5523 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 5524 5525 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 5526 in two places. 5527 5528 * libtiff/tif_getimage.c: Fixed problem with reading strips or 5529 tiles that don't start on a tile boundary. Fix contributed by 5530 Josep Vallverdu (from HP), and further described in bug 47. 5531 5532 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 5533 5534 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 5535 5536 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 5537 55382001-09-06 Frank Warmerdam <[email protected]> 5539 5540 * libtiff/tif_packbits.c: fixed memory overrun error. 5541 5542 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 5543 55442001-08-31 Frank Warmerdam <[email protected]> 5545 5546 * libtiff/tif_getimage.c: relax handling of contig case where 5547 there are extra samples that are supposed to be ignored. This 5548 should now work for 8bit greyscale or palletted images. 5549 5550 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 5551 55522001-08-28 Frank Warmerdam <[email protected]> 5553 5554 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 5555 images with more than four samples per pixel. See: 5556 5557 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 5558 55592001-08-10 Frank Warmerdam <[email protected]> 5560 5561 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 5562 in TIFFReadRGBATile() to avoid issues in cases of overlapping 5563 buffers. See Bug 69 in Bugzilla. 5564 5565 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 5566 5567 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 5568 55692001-08-09 Frank Warmerdam <[email protected]> 5570 5571 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 5572 when checking for 64 bit architectures as per bugzilla bug 67. 5573 55742001-07-27 Frank Warmerdam <[email protected]> 5575 5576 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 5577 bug 66. 5578 55792001-07-20 Frank Warmerdam <[email protected]> 5580 5581 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 5582 has been included. 5583 55842001-07-19 Frank Warmerdam <[email protected]> 5585 5586 * libtiff/tif_open.c: Seek back to zero after failed read, 5587 before writing header. 5588 55892001-07-18 Frank Warmerdam <[email protected]> 5590 5591 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 5592 much better. Now depends on having patched libjpeg as per 5593 patch in contrib/ojpeg/*. 5594 55952001-07-17 Frank Warmerdam <[email protected]> 5596 5597 * */Makefile.in: added DESTDIR support. 5598 5599 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 5600 56012001-07-16 Frank Warmerdam <[email protected]> 5602 5603 * configure, libtiff/Makefile.in: applied OpenBSD patches 5604 as per: 5605 5606 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 5607 56082001-06-28 Frank Warmerdam <[email protected]> 5609 5610 * libtiff/tif_getimage.c: Fixed so that failure is properly 5611 reported by gtTileContig, gtStripContig, gtTileSeparate and 5612 gtStripSeparate. 5613 5614 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 5615 5616 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 5617 Updated bug section of tiffcmp.1 to note tiled file issues. 5618 5619 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 5620 56212001-06-22 Frank Warmerdam <[email protected]> 5622 5623 * configure: Changes for DSO generation on AIX provided by 5624 John Marquart <[email protected]>. 5625 5626 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 5627 on Darwin thanks to Robert Krajewski ([email protected]) and 5628 Keisuke Fujii ([email protected]). 5629 56302001-06-13 Frank Warmerdam <[email protected]> 5631 5632 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 5633 5634 * man/tiff2rgba.1: new 5635 56362001-05-22 Frank Warmerdam <[email protected]> 5637 5638 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 5639 56402001-05-13 Frank Warmerdam <[email protected]> 5641 5642 * libtiff/tools/thumbnail.c: changed default output compression 5643 to packbits from LZW since LZW isn't generally available. 5644 56452001-05-12 Frank Warmerdam <[email protected]> 5646 5647 * libtiff/tif_ojpeg.c: New. 5648 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 5649 to OJPEG support. 5650 5651 Scott Marovich <[email protected]> supplied OJPEG support. 5652 56532001-05-11 Frank Warmerdam <[email protected]> 5654 5655 * tiff.h: removed, it duplicates libtiff/tiff.h. 5656 56572001-05-08 Frank Warmerdam <[email protected]> 5658 5659 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 5660 ensure everything is in order. 5661 5662 * libtiff/libtiff.def: added TIFFCreateDirectory and 5663 TIFFDefaultStripSize as per: 5664 5665 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 5666 56672001-05-02 Frank Warmerdam <[email protected]> 5668 5669 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 5670 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 5671 force use of uint32 counts instead of short counts. 5672 5673 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 5674 case of writing TIFF_BYTE/TIFF_SBYTE fields. 5675 5676 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 5677 56782001-05-01 Frank Warmerdam <[email protected]> 5679 5680 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 5681 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 5682 56832001-04-05 Frank Warmerdam <[email protected]> 5684 5685 * tiffio.h: removed C++ style comment. 5686 5687 * configure: fixed up SCRIPT_SH/SHELL handling. 5688 5689 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 5690 5691 * config.guess: documented more variables as per bug 40. 5692 56932001-04-03 Frank Warmerdam <[email protected]> 5694 5695 * configure, *Makefile.in: Various changes to improve configuration 5696 for HP/UX specifically, and also in general. They include: 5697 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 5698 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 5699 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 5700 - Use -${MAKEFLAGS} in sub makes from makefiles. 5701 5702 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 5703 57042001-04-02 Frank Warmerdam <[email protected]> 5705 5706 * libtiff/tiff.h: Applied hac to try and resolve the problem 5707 with the inttypes.h include file on AIX. 5708 5709 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5710 5711 * VERSION: update to 3.5.7 beta in preparation for release. 5712 5713 * configure/config.site: modified to check if -lm is needed for 5714 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 5715 5716 * config.guess: updated wholesale to an FSF version apparently 5717 from 1998 (as opposed to 1994). This is mainly inspired by 5718 providing for MacOS X support. 5719 57202001-03-29 Frank Warmerdam <[email protected]> 5721 5722 * configure, Makefile.in, etc: added support for OPTIMIZER being 5723 set from config.site. 5724 57252001-03-28 Frank Warmerdam <[email protected]> 5726 5727 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 5728 5729 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 5730 sizes. It fixes two problems: 5731 5732 Without scaling (-S) the fax is now centered on the page size specified 5733 with -H and/or -W. Before, fax2ps was using an obscure and practially 5734 useless algorithm to allocate the image relative to Letter sized paper 5735 which sometime sled to useless whitespace on the paper, while at the 5736 same time cutting of the faxes printable area at the opposite border. 5737 5738 Second, scaling now preserves aspect ratio, which makes unusual faxes 5739 (in particular short ones) print properly. 5740 5741 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 5742 5743 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 5744 Bruce A. Mallett. See check message for detailed information 5745 on all the changes, including a faster encoder, fixes for level 5746 2 PostScript, and support for the imagemask operator. 5747 57482001-03-27 Frank Warmerdam <[email protected]> 5749 5750 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 5751 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 5752 5753 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5754 57552001-03-16 Frank Warmerdam <[email protected]> 5756 5757 * tif_dirinfo.c: moved definition of copyright tag in field list. 5758 Apparently they have to be in sorted order by tag id. 5759 57602001-03-13 Frank Warmerdam <[email protected]> 5761 5762 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 5763 images in RGBA interface. 5764 57652001-03-02 Frank Warmerdam <[email protected]> 5766 5767 * Added TIFFTAG_COPYRIGHT support. 5768 57692001-02-19 Frank Warmerdam <[email protected]> 5770 5771 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 5772 with support for extracting subimages with the ,n syntax, and also 5773 adding the -b bias removal flag. 5774 57752001-02-16 Frank Warmerdam <[email protected]> 5776 5777 * libtiff/libtiff.def: Brent Roman submitted new version adding 5778 serveral missing entry points. 5779 5780 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 5781 Some sort of weird VMS thing. 5782 5783 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 5784 5785 * tif_luv.c/tiff.h/tiffio.h: 5786 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 5787 ([email protected]). He writes: 5788 5789 1) I improved the gamut-mapping function in tif_luv.c for imaginary 5790 colors, because some images were being super-saturated on the input 5791 side and this resulted in some strange color shifts in the output. 5792 5793 2) I added a psuedotag in tiff.h to control random dithering during 5794 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 5795 on for 24-bit LogLuv output. Dithering improves the average color 5796 accuracy over the image. 5797 5798 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 5799 tiffio.h, to expose internal routines for converting between LogLuv and 5800 XYZ coordinates. This is helpful for writing more efficient, 5801 specialized conversion routines, especially for reading LogLuv files. 5802 5803 Changes applied with minor edits. 5804 58052001-01-23 Frank Warmerdam <[email protected]> 5806 5807 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 5808 whether we are encoding or decoding. This is to ensure graceful 5809 recovery if TIFFClientOpen() discovers an attempt to open a compressed 5810 file for "r+" access, and subsequently close it, as it resets the 5811 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 5812 compressor's concept of whether it is in encode or decode mode. 5813 58142001-01-08 Mike Welles <[email protected]> 5815 5816 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 5817 58182001-01-07 Frank Warmerdam <[email protected]> 5819 5820 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 5821 as per bug report by Patrick Connor. 5822 58232000-12-28 Frank Warmerdam <[email protected]> 5824 5825 * Added RELEASE-DATE file to release file list. 5826 5827 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 5828 58292000-12-22 Mike Welles <[email protected]> 5830 * added link to CVS mirror from index.html 5831 5832 * updated html/internals.html to note that LZW compression is 5833 not supported by default. 5834 58352000-12-22 Frank Warmerdam <[email protected]> 5836 5837 * updated html/libtiff.html to not point at Niles' old JPL web site 5838 for the man pages, point at www.libtiff.org. 5839 58402000-12-21 Frank Warmerdam <[email protected]> 5841 5842 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 5843 Leonard Rosenthol <[email protected]>. May interfere 5844 with correct building on older systems. If so, please let me know. 5845 58462000-12-19 Mike Welles <[email protected]> 5847 5848 * Took out LZW Encoding from tif_lzw.c 5849 5850 * Created HOWTO-RELEASE 5851 5852 * Created html/v3.5.6.html 5853 5854 * updated index.html 5855 58562000-12-01 Frank Warmerdam <[email protected]> 5857 5858 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 5859 Patches supplied by Frank Cringle <[email protected]> 5860 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 5861 58622000-11-24 Frank Warmerdam <[email protected]> 5863 5864 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 5865 target so that the private headers required by libgeotiff can be 5866 installed with the others. They are not installed by default. 5867 5868 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 5869 targets so libtiff.so will be built with an explicit dependency 5870 on libm.so. 5871 5872 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 5873 libtiff.so.3.5.5. 5874 5875 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 5876 file, or ALPHA version logic. Added stuff about DIST_POINT in 5877 place of DIST_TYPE and the alpha release number stuff. 5878 58792000-11-22 Frank Warmerdam <[email protected]> 5880 5881 * I have applied a patch from Steffen Moeller <[email protected]> to 5882 the configure script so that it now accepts the --prefix, and 5883 --exec-prefix directives. 5884 58852000-11-13 Frank Warmerdam <warmerda@cs46980-c> 5886 5887 * I have made a variety of modifications in an effort to ensure the 5888 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 5889 file which seems to be updated regularly. 5890 5891 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 5892 version include file. 5893 o renamed version.h to tiffvers.h because we now have to install it 5894 with the public libtiff include files. 5895 o include tiffvers.h in tiffio.h. 5896 o updated tif_version.c to use tiffvers.h. 5897 o Updated Makefile.in accordingly. 5898 5899 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 5900 I have updated the win32 detection rules in tiffcomp.h. 5901 59022000-10-20 Frank Warmerdam <warmerda@cs46980-c> 5903 5904 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 5905 the strip/tile width and height aren't multiples of the sampling size. 5906 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 5907 Some patches from Rick LaMont of Dot C Software. 5908 5909 * Modified tif_packbits.c encoder to avoid compressing more 5910 data than provided if rowsize doesn't factor into provided data 5911 (such as occurs for YCbCr). 5912 59132000-10-19 Frank Warmerdam <warmerda@cs46980-c> 5914 5915 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 5916 roundup if rows_per_strip not a multiple of vertical sample size. 5917 59182000-10-16 Frank Warmerdam <warmerda@cs46980-c> 5919 5920 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 5921 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5922 from [email protected]. 5923 5924 * Modified tif_packbits.c decoding to avoid overrunning the 5925 output buffer, and to issue a warning if data needs to be 5926 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5927 59282000-10-12 Frank Warmerdam <warmerda@cs46980-c> 5929 5930 * Modified tiff2bw to ensure portions add to 100%, and that 5931 white is properly recovered. 5932 5933 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 5934 Patch c/o Stanislav Brabec <[email protected]> 5935 59362000-09-30 Frank Warmerdam <warmerda@cs46980-c> 5937 5938 * Modified TIFFClientOpen() to emit an error on an attempt to 5939 open a comperessed file for update (O_RDWR/r+) access. This is 5940 because the compressor/decompressor code gets very confused when 5941 the mode is O_RDWR, assuming this means writing only. See 5942 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 5943 59442000-09-27 Frank Warmerdam <warmerda@cs46980-c> 5945 5946 * Added GNULDdso target an`d switched linux and freebsd to use it. 5947 59482000-09-26 Frank Warmerdam <warmerda@cs46980-c> 5949 5950 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 5951 of EXPAND1D() as per bug 11 (from Roman). 5952 59532000-09-25 Frank Warmerdam <warmerda@cs46980-c> 5954 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 5955 cygwin compatibility. 5956 5957 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 5958 be a proper fix to the buffer sizing problem. See 5959 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 5960 5961 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 5962 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 5963 Thanks to Nick Lamb <[email protected]> for reporting the 5964 bug and proving the patch. 5965 59662000-09-18 Frank Warmerdam <warmerda@cs46980-c> 5967 5968 * Fixed tif_jpeg.c so avoid destroying the decompressor before 5969 we are done access data thanks to bug report from: 5970 Michael Eckstein <[email protected]>. 5971 5972 * Reverted tif_flush change. 5973 59742000-09-14 Frank Warmerdam <warmerda@cs46980-c> 5975 5976 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 5977 error when TIFF_BEENWRITING is not set. This ensures that the 5978 directory contents can still be flushed by TIFFFlush(). 5979 59802000-08-14 Frank Warmerdam <[email protected]> 5981 5982 * tif_open.c: Don't set MMAP for O_RDWR files. 5983 5984 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 5985 so that files opened for update can be strip chopped too. 5986 5987 * tif_read.c: fixed up bug with files missing rowsperstrip and 5988 the strips per separation fix done a few weeks ago. 5989 59902000-07-17 Frank Warmerdam <warmerda@cs46980-c> 5991 5992 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 5993 SAMPLEFORMAT_COMPLEXINT. 5994 59952000-07-13 Mike Welles <[email protected]> 5996 5997 * index.html, bugs.html: added bugzilla info. 5998 59992000-07-12 Frank Warmerdam <[email protected]> 6000 6001 * tif_read.c: fix subtle bug with determining the number of 6002 rows for strips that are the last strip in a separation but 6003 not the last strip of all in TIFFReadEncodedStrip(). 6004 6005 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 6006 Peter Skarpetis <[email protected]> 6007 60082000-06-15 Frank Warmerdam <[email protected]> 6009 6010 * Modified tiffio.h logic with regard to including windows.h. It 6011 won't include it when building with __CYGWIN__. 6012 60132000-05-11 Frank Warmerdam <warmerda@cs46980-c> 6014 6015 * README: update to mention www.libtiff.org, don't list Sam's old 6016 email address. 6017 6018 * configure: Fixed DSO test for Linux as per patch from 6019 Jan Van Buggenhout <[email protected]>. 6020 60212000-04-21 Frank Warmerdam <[email protected]> 6022 6023 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 6024 one tile/strip images with an offset, and byte count of zero. These 6025 could be "unpopulated" images. 6026 60272000-04-18 Frank Warmerdam <[email protected]> 6028 6029 * contrib/addtiffo: Added "averaging" resampling option. 6030 6031 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 6032 6033Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 6034 6035 * tools/Makefile.in: Modified to install properly on SGI. 6036 60372000-04-12 Mike Welles <[email protected]> 6038 * configure: Fixed stupid mistake in libc6 test on Linux 6039 60402000-04-04 Mike Welles <[email protected]> 6041 * tif_win32.c: Applied patch to fix overreads and ovverwrites 6042 caught by BoundsChecker. From Arvan Pritchard 6043 <[email protected]> (untested). 6044 6045 * tif_getimage.c: Applied patch to silence VC6 warnings. From 6046 Arvan Pritchard <[email protected]> 6047 6048 * tif_lzw.c: Applied patch to silence VC6 warnings. From 6049 Arvan Pritchard <[email protected]> 6050 60512000-03-28 Frank Warmerdam <warmerda@cs46980-c> 6052 6053 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 6054 60552000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 6056 6057 * fax2ps: Fixed mixup of width and height in bounding box statement 6058 as per submission by Nalin Dahyabhai <[email protected]>. 6059 60602000-03-27 Mike Welles <[email protected]> 6061 6062 * fax2ps: Modified printruns to take uint32 instead of uint16. 6063 Patch courtesy of Bernt Herd <[email protected]> 6064 60652000-03-20 Mike Welles <[email protected]> 6066 6067 * configure: added test for libc6 for linux targets. Bug reported by 6068 Stanislav Brabec <[email protected]> 6069 6070 * Added 3.5 docs to html/Makefile.in. 6071 Thanks to Stanislav Brabec <[email protected]> 6072 6073 * configure: fixed bugs in sed scripts 6074 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 6075 fix submitted to Stanislav Brabec <[email protected]> 6076 6077 * tools/iptcutil was not in files list, and wasn't being 6078 added to tar archive. Updated Makefile.in. 6079 60802000-03-17 Frank Warmerdam <warmerda@cs46980-c> 6081 6082 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 6083 conversion for the run arrays. 6084 60852000-03-03 Frank Warmerdam <[email protected]> 6086 6087 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 6088 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 6089 60902000-03-02 Frank Warmerdam <[email protected]> 6091 6092 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 6093 6094 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 6095 to avoid overruns encountered with frle_bug.tif. 6096 6097Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 6098 6099 * Fixed tools/tiffcmp so that stopondiff testing works. 6100 Patch care of Joseph Orost <[email protected]>. 6101 61022000-01-28 <warmerda@CS46980-B> 6103 6104 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 6105 set to 1, and added default (off) setting in tiffconf.h. This 6106 should eventually be set by the configure script somehow. 6107 6108 The original work on all these 2-4GB changes was done by 6109 Peter Smith ([email protected]). 6110 6111 * Modified tif_win32.c to support 2-4GB seeks. 6112 6113 * tentatively changed toff_t to be unsigned instead of signed to 6114 facilitate support for 2-4GB files. 6115 6116 * Updated a variety of files to use toff_t. Fixed some mixups 6117 between toff_t and tsize_t. 6118 6119Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 6120 6121 * Largely reimplemented contrib/addtiffo to avoid temp files, 6122 updating the TIFF file in place. Fixed a few other bugs to. 6123 6124 * Set tif_rawdatasize to zero when freeing raw data buffer in 6125 TIFFWriteDirectory(). 6126 6127 * Enabled "REWRITE_HACK" in tif_write.c by default. 6128 6129 * Fix bug in tif_write.c when switching between reading one directory 6130 and writing to another. 6131 6132 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 6133 6134Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 6135 6136 * Added TIFFmemory(3t) functions to libtiff.def. 6137 6138Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 6139 6140 * Added libtiff/libtiff.def to TIFFILES distribution list. 6141 6142Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 6143 6144 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 6145 6146 * Altered descriptions in tools to reflect "by default" lzw not supported 6147 6148 * Updated index.html to note lzw compression kit. 6149 6150Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 6151 6152 * Added fax3sm_winnt.c to distribution list in Makefile.in. 6153 6154Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 6155 6156 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 6157 6158 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 6159 when LZW compression invoked. 6160 6161 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 6162 in tools to reflect removal of LZW compression 6163 6164Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 6165 6166 * Fixed bug that caused LZW (non) compression to segfault. Added 6167 warning about LZW compression removed being removed, and why. 6168 6169 * Added nostrip to install in tools/Makefile.in so that debugging 6170 symbols are kept. 6171 6172Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 6173 6174 * Added patch from Ivo Penzar <[email protected]>, 6175 supporting Adobe ZIP deflate. Untested. 6176 6177Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 6178 6179 * Made Packbits the default compression in tools/tiff2rgba.c instead 6180 of LZW. 6181 6182Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 6183 6184 * Added tif_luv to contrib/djgpp/Makefile.lib. 6185 6186Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 6187 6188 * Added zip creation to relase makefile target 6189 6190 * Added html for TIFFWriteTile.3t man page. 6191 6192Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 6193 6194 * Added some changes to tif_write.c to support rewriting existing 6195 fixed sized tiles and strips. Code mods disabled by default, only 6196 enabled if REWRITE_HACK is defined for now. 6197 6198Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 6199 6200 * Added TIFFWriteTile.3t man page. 6201 6202Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 6203 6204 * Added notes on use of makefile.vc in build.html, and fixed 6205 email subscription address. 6206 6207199-11-28 Mike Welles <[email protected]> 6208 6209 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 6210 6211 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 6212 from Bruce Carmeron <[email protected]> -- modifications of 6213 changes made by Frank (sun cc still complained on cast). 6214 6215 * Added tiffconf.h to install target per request from Bill 6216 Radcliffe <[email protected]>: "We need a way for ImageMagick to 6217 know features have been compiled into the TIFF library in order to 6218 handle things properly". 6219 6220Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 6221 6222 * fixed various VC++ warnings as suggested by Gilles Vollant 6223 <[email protected]>. 6224 6225Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 6226 6227 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 6228 not imply applications are responsible for image data swapping. 6229 62301999-11-22 Mike Welles <[email protected]> 6231 * HTML-ized the man pages, added to html/man 6232 6233 * Removed LZW Compression to comply with Unisys patent extortion. 6234 62351999-09-29 Mike Welles <[email protected]> 6236 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 6237 From Ivo Penzar <[email protected]. 6238 6239 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 6240 memory mapped files. <[email protected]> 6241 62421999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 6243 * Corrected alpha versioning. 6244 6245 * Removed distinction between alpha and release targets in Makefile.in. 6246 6247 * added release.stamp target, which tags cvs tree, and updates 6248 "RELEASE-DATE" 6249 6250 * added releasediff target, which diffs tree with source as of 6251 date in "RELEASE-DATE" 6252 6253 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 6254 away from alpha/non-alpha distinctions). 6255 6256 * updated html to reflect release 6257 62581999-09-23 <warmerda@CS46980-B> 6259 6260 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 6261 6262 * Added CYGWIN case in configure. 6263 6264Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 6265 6266 * Applied Francois Dagand's patch to handle fax decompression bug. 6267 (sizes >= 65536 were failing) 6268 6269Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 6270 6271 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 6272 by Christopher Lawton <[email protected]> 6273 6274Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 6275 6276 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 6277 Albert Chin-A-Young <[email protected]> 6278 6279 * Added TIFFReassignTagToIgnore() API on behalf of 6280 Bruce Cameron <[email protected]>. Man page still pending. 6281 6282Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 6283 6284 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 6285 files to provide for a rudimentary testsuite. 6286 6287 * Added contrib/tags back from old distribution ... fixed up a bit. 6288 62891999-08-16 <warmerda@CS46980-B> 6290 6291 * Added simple makefile.vc makefiles for building with MS VC++ 6292 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 6293 better solutions for some users. 6294 6295Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 6296 6297 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 6298 put it in tools since part of it is in C++. 6299 63001999-08-16 Michael L. Welles <[email protected]> 6301 6302 * Updated html/index.html with anon CVS instructions. 6303 6304Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 6305 6306 * pre-remove so link before softlink in LINUXdso action in 6307 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 6308 the first. 6309 6310 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 6311 colormaps owned by the TIFF handle itself when trying to fixup wrong 6312 (eight bit) colormaps. Corrected by maintaining a private copy of 6313 the colormap. 6314 6315 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 6316 tif_getimage.c. 6317 6318 * CVS Repository placed at remotesensing.org. ChangeLog added. 6319