12015-05-30 Bob Friesenhahn <[email protected]> 2 3 * contrib/addtiffo/addtiffo.c (main): Possibly address Coverity 4 1024226 "Untrusted value as argument". 5 6 * tools/gif2tiff.c (readgifimage): Fix Coverity 1024222 "Untrusted 7 value as argument". 8 (checksignature): Fix Coverity 1024894 "Ignoring number of bytes 9 read". 10 (readextension): Fix Coverity 1024893 "Ignoring number of bytes 11 read". 12 (readgifimage): Fix Coverity 1024890 "Ignoring number of bytes 13 read". 14 (readraster): Fix Coverity 1024891 "Ignoring number of bytes 15 read". 16 (readgifimage): Fix Coverity 1024892 "Ignoring number of bytes 17 read". 18 19 * tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 1024181 20 "Structurally dead code". 21 22 * tools/raw2tiff.c (main): Fix Coverity 1024887 "Unchecked return 23 value from library". 24 (guessSize): Fix Coverity 1024888 "Unchecked return value from 25 library". 26 (guessSize): Fix Coverity 1214162 "Ignoring number of bytes read". 27 (guessSize): Fix Coverity 1024889 "Unchecked return value from 28 library". 29 30 * tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 298621 31 "Resource leak". 32 (t2p_readwrite_pdf_image): Fix Coverity 1024181 "Structurally dead 33 code". 34 (t2p_write_pdf): Fix Coverity 1227690 "Unused value". 35 362015-05-29 Bob Friesenhahn <[email protected]> 37 38 * contrib/iptcutil/iptcutil.c (formatIPTC): Fix Coverity 1024468 39 "Infinite loop". 40 (formatIPTC): Fix Coverity 1024727 "Truncated stdio return value". 41 (formatIPTC): Fix Coverity 1214240 "Untrusted loop bound". 42 432015-05-28 Bob Friesenhahn <[email protected]> 44 45 * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix 46 Coverity 298615 "Resource leak". 47 (TIFFGetOvrBlock): Fix Coverity 1024649 "Unintended sign 48 extension". 49 50 * tools/bmp2tiff.c (main): Fix Coverity 1024225 "Untrusted value 51 as argument". 52 (main): Fix Coverity 1024678 "Unchecked return value from 53 library". 54 (main): Fix Coverity 1024679 "Unchecked return value from 55 library". 56 (main): Fix Coverity 1214160 "Ignoring number of bytes read". 57 58 * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix 59 Coverity 298615 "Resource leak". 60 61 * tools/tiffcp.c: Fix Coverity 1024306, 1024307, 1024308, 1024309 62 "Resource leak". 63 64 * tools/tiffsplit.c (cpTiles): Fix Coverity 1024304 "Resource 65 leak". 66 (cpStrips): Fix Coverity 1024305 "Resource leak". 67 682015-05-27 Bob Friesenhahn <[email protected]> 69 70 * tools/ras2tiff.c: Fix Sun Raster header definition to be safe 71 for 64-bit systems. Add some header validations. Should fix many 72 Coverity issues. 73 (main): Fix Coverity 1301206: "Integer handling issues (BAD_SHIFT)". 74 (main): Quiet Coverity 1024223 "Untrusted value as argument". 75 76 * tools/tiffmedian.c (GetInputLine): Fix Coverity 1024795 "Nesting 77 level does not match indentation". 78 (get_histogram): Quiet Coverity 1024386 "Out-of-bounds read". 79 This was a benign mis-diagnosis but added code to enforce against 80 buffer overflow. 81 82 * tools/tiffcrop.c (ROTATE_ANY): Fix Coverity 1294542 "Logical 83 vs. bitwise operator". 84 (readContigStripsIntoBuffer): Fix Coverity 1024545 "Division or 85 modulo by zero". 86 (readContigTilesIntoBuffer): Fix Coverity 1024586 "Logically dead 87 code". 88 (writeSingleSection): Fix Coverity 1024796 "Nesting level does not 89 match indentation". 90 (writeCroppedImage): Fix Coverity 1024797 "Nesting level does not 91 match indentation". 92 (loadImage): Fix Coverity 1299741 "Dereference before null check". 93 (loadImage): Fix Coverity 1299740 "Out-of-bounds write". 94 952015-03-02 Even Rouault <[email protected]> 96 97 * tools/tiffdither.c: check memory allocations to avoid writing to 98 NULL pointer. Also check multiplication overflow. Fixes #2501, 99 CVE-2014-8128. Derived from patch by Petr Gajdos. 100 1012015-01-26 Even Rouault <[email protected]> 102 103 * add html/v4.0.4beta.html under version control 104 * HOWTO-RELEASE: write that cvs add html/vX.X.html must be used 105 1062015-01-26 Even Rouault <[email protected]> 107 108 * libtiff 4.0.4beta released 109 1102015-01-26 Even Rouault <[email protected]> 111 112 * automake: updated to 1.15 113 * libtool: updated to 2.4.5 114 1152015-01-22 Even Rouault <[email protected]> 116 117 * tools/tiff2pdf.c: Fix two crashes (oCERT-2014-013) 118 1192015-01-05 Frank Warmerdam <[email protected]> 120 121 * html/bugs.html: remove note about needing to email the tiff mailing 122 list administrator about being approved for membership, this appears 123 not to be true. 124 1252015-01-05 Olivier Paquet <[email protected]> 126 127 * tools/tiff2pdf.c: Fixed unsigned integer addition overflow detection. 128 1292015-01-03 Even Rouault <[email protected]> 130 131 * libtiff/tif_dirread.c: in TIFFCheckDirOffset(), avoid uint16 overflow 132 when reading more than 65535 directories, and effectively error out when 133 reaching that limit. 134 1352014-12-29 Even Rouault <[email protected]> 136 137 * libtiff/tif_jpeg.c: in JPEGFixupTags(), recognize SOF2, SOF9 and SOF10 138 markers to avoid emitting a warning (even if, according to the TechNote, 139 there are admitedly unusual/not recommended or even forbidden variants, but 140 they do work well with libjpeg for SOF2, and with libjpeg-turbo for SOF2, 141 SOF9 and SOF10). 142 Define in_color_space and input_components to the right values in 143 JPEGSetupEncode(), before calling jpeg_set_defaults(), as specified by 144 libjpeg API documentation, so as to be compatible with mozjpeg library. 145 Note: the default settings of mozjpeg will produce progressive scans, which 146 is forbidden by the TechNote. 147 1482014-12-29 Even Rouault <[email protected]> 149 150 * libtiff/tif_getimage.c: move test on vertical value of YCbCr subsampling. 151 to avoid buffer leak (fix previous fix, found by Coverity scan) 152 1532014-12-29 Even Rouault <[email protected]> 154 155 * libtiff/tif_next.c: add new tests to check that we don't read outside of 156 the compressed input stream buffer. 157 158 * libtiff/tif_getimage.c: in OJPEG case, fix checks on strile width/height 159 in the putcontig8bitYCbCr42tile, putcontig8bitYCbCr41tile and 160 putcontig8bitYCbCr21tile cases. 161 1622014-12-27 Even Rouault <[email protected]> 163 164 * libtiff/tif_dir.c: in TIFFDefaultDirectory(), reset any already existing 165 extented tags installed by user code through the extender mechaninm before 166 calling the extender callback (GDAL #5054) 167 1682014-12-26 Bob Friesenhahn <[email protected]> 169 170 * tools/tiffcrop.c: Fix warnings about variables set but not used. 171 172 * contrib/iptcutil/iptcutil.c: Fix warnings about variables set 173 but not used. 174 175 * tools/tiffgt.c: Fix warnings about unused parameters. 176 177 * libtiff/tif_stream.cxx: Fix warnings about unused parameters. 178 1792014-12-25 Even Rouault <[email protected]> 180 181 * libtiff/tif_getimage.c, libtiff/tif_ojpeg.c, libtiff/tif_zip.c: fix 182 various typos found by Debian lintian tool (GDAL #5756) 183 1842014-12-24 Even Rouault <[email protected]> 185 186 * libtiff/tif_getimage.c: avoid divide by zero on invalid YCbCr subsampling. 187 http://bugzilla.maptools.org/show_bug.cgi?id=2235 188 1892014-12-24 Even Rouault <[email protected]> 190 191 * tools/tiff2pdf.c: fix buffer overflow on some YCbCr JPEG compressed images. 192 http://bugzilla.maptools.org/show_bug.cgi?id=2445 193 1942014-12-24 Even Rouault <[email protected]> 195 196 * tools/tiff2pdf.c: fix buffer overflow on YCbCr JPEG compressed image. 197 Derived from patch by Petr Gajdos, 198 http://bugzilla.maptools.org/show_bug.cgi?id=2443 199 2002014-12-23 Even Rouault <[email protected]> 201 202 * libtiff/tif_dirread.c: In EstimateStripByteCounts(), check return code 203 of _TIFFFillStriles(). This solves crashing bug on corrupted 204 images generated by afl. 205 2062014-12-23 Even Rouault <[email protected]> 207 208 * libtiff/tif_read.c: fix several invalid comparisons of a uint64 value with 209 <= 0 by casting it to int64 first. This solves crashing bug on corrupted 210 images generated by afl. 211 2122014-12-21 Bob Friesenhahn <[email protected]> 213 214 * tools/tiffdump.c: Guard against arithmetic overflow when 215 calculating allocation buffer sizes. 216 2172014-12-21 Even Rouault <[email protected]> 218 219 * tools/tiff2bw.c: when Photometric=RGB, the utility only works if 220 SamplesPerPixel = 3. Enforce that 221 http://bugzilla.maptools.org/show_bug.cgi?id=2485 (CVE-2014-8127) 222 2232014-12-21 Even Rouault <[email protected]> 224 225 * tools/pal2rgb.c, tools/thumbnail.c: fix crash by disabling TIFFTAG_INKNAMES 226 copying. The right fix would be to properly copy it, but not worth the burden 227 for those esoteric utilities. 228 http://bugzilla.maptools.org/show_bug.cgi?id=2484 (CVE-2014-8127) 229 2302014-12-21 Even Rouault <[email protected]> 231 232 * tools/thumbnail.c: fix out-of-buffer write 233 http://bugzilla.maptools.org/show_bug.cgi?id=2489 (CVE-2014-8128) 234 2352014-12-21 Even Rouault <[email protected]> 236 237 * tools/thumbnail.c, tools/tiffcmp.c: only read/write TIFFTAG_GROUP3OPTIONS 238 or TIFFTAG_GROUP4OPTIONS if compression is COMPRESSION_CCITTFAX3 or 239 COMPRESSION_CCITTFAX4 240 http://bugzilla.maptools.org/show_bug.cgi?id=2493 (CVE-2014-8128) 241 2422014-12-21 Even Rouault <[email protected]> 243 244 * libtiff/tif_next.c: check that BitsPerSample = 2. Fixes 245 http://bugzilla.maptools.org/show_bug.cgi?id=2487 (CVE-2014-8129) 246 2472014-12-21 Even Rouault <[email protected]> 248 249 * tools/tiff2pdf.c: check return code of TIFFGetField() when reading 250 TIFFTAG_SAMPLESPERPIXEL 251 2522014-12-21 Even Rouault <[email protected]> 253 254 * tools/tiffcp.c: fix crash when converting YCbCr JPEG-compressed to none. 255 Based on patch by Tomasz Buchert (http://bugzilla.maptools.org/show_bug.cgi?id=2480) 256 Description: fix for Debian bug #741451 257 tiffcp crashes when converting JPEG-encoded TIFF to a different 258 encoding (like none or lzw). For example this will probably fail: 259 tiffcp -c none jpeg_encoded_file.tif output.tif 260 The reason is that when the input file contains JPEG data, 261 the tiffcp code forces conversion to RGB space. However, 262 the output normally inherits YCbCr subsampling parameters 263 from the input, which leads to a smaller working buffer 264 than necessary. The buffer is subsequently overrun inside 265 cpStripToTile() (called from writeBufferToContigTiles). 266 Note that the resulting TIFF file would be scrambled even 267 if tiffcp wouldn't crash, since the output file would contain 268 RGB data intepreted as subsampled YCbCr values. 269 This patch fixes the problem by forcing RGB space on the output 270 TIF if the input is JPEG-encoded and output is *not* JPEG-encoded. 271 Author: Tomasz Buchert <[email protected]> 272 2732014-12-21 Even Rouault <[email protected]> 274 275 Fix various crasher bugs on fuzzed images. 276 * libtiff/tif_dir.c: TIFFSetField(): refuse to set negative values for 277 TIFFTAG_XRESOLUTION and TIFFTAG_YRESOLUTION that cause asserts when writing 278 the directory 279 * libtiff/tif_dirread.c: TIFFReadDirectory(): refuse to read ColorMap or 280 TransferFunction if BitsPerSample has not yet been read, otherwise reading 281 it later will cause user code to crash if BitsPerSample > 1 282 * libtiff/tif_getimage.c: TIFFRGBAImageOK(): return FALSE if LOGLUV with 283 SamplesPerPixel != 3, or if CIELAB with SamplesPerPixel != 3 or BitsPerSample != 8 284 * libtiff/tif_next.c: in the "run mode", use tilewidth for tiled images 285 instead of imagewidth to avoid crash 286 * tools/bmp2tiff.c: fix crash due to int overflow related to input BMP dimensions 287 * tools/tiff2pdf.c: fix crash due to invalid tile count (should likely be checked by 288 libtiff too). Detect invalid settings of BitsPerSample/SamplesPerPixel for CIELAB / ITULAB 289 * tools/tiffcrop.c: fix crash due to invalid TileWidth/TileHeight 290 * tools/tiffdump.c: fix crash due to overflow of entry count. 291 2922014-12-15 Even Rouault <[email protected]> 293 294 * libtiff/tif_jpeg.c: Fix regression introduced on 2010-05-07 that caused 295 all tiles/strips to include quantization tables even when the jpegtablesmode 296 had the JPEGTABLESMODE_QUANT bit set. 297 Also add explicit removal of Huffman tables when jpegtablesmode has the 298 JPEGTABLESMODE_HUFF bit set, which avoids Huffman tables to be emitted in the 299 first tile/strip (only useful in update scenarios. create-only was 300 fine) 301 3022014-12-09 Bob Friesenhahn <[email protected]> 303 304 * tools/tiff2pdf.c: Assure that memory size calculations for 305 _TIFFmalloc() do not overflow the range of tmsize_t. 306 3072014-12-07 Even Rouault <[email protected]> 308 309 * tools/thumbnail.c, tools/tiffcrop.c: "fix" heap read over-run found with 310 Valgrind and Address Sanitizer on test suite 311 3122014-12-07 Bob Friesenhahn <[email protected]> 313 314 * tools/tiff2pdf.c (t2p_read_tiff_init): TIFFTAG_TRANSFERFUNCTION 315 tag can return one channel, with the other two channels set to 316 NULL. The tiff2pdf code was expecting that other two channels 317 were duplicate pointers in the case where there is only one 318 channel. Detect this condition in order to avoid a crash, and 319 presumably perform correctly with just one channel. 320 3212014-12-06 Bob Friesenhahn <[email protected]> 322 323 * tools/tiffdump.c: Fix double-free bug. 324 3252014-11-27 Even Rouault <[email protected]> 326 327 * libtiff/tif_config.vc.h: no longer use "#define snprintf _snprintf" with 328 Visual Studio 2015 aka VC 14 aka MSVC 1900 329 3302014-11-20 Even Rouault <[email protected]> 331 332 * libtiff/tif_lzw.c: prevent potential null dereference of 333 sp->dec_codetab in LZWPreDecode (bug #2459) 334 335 * libtiff/tif_read.c: in TIFFReadBufferSetup(), avoid passing -1 size 336 to TIFFmalloc() if passed user buffer size is 0 (bug #2459) 337 338 * libtiff/tif_ojpeg.c: make Coverity happier (not a bug, #2459) 339 340 * libtiff/tif_dir.c: in _TIFFVGetField() and _TIFFVSetField(), make 341 Coverity happier (not a bug, #2459) 342 343 * libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make Coverity happier 344 (not a bug, #2459) 345 346 * tools/tiff2pdf.c: close PDF file (bug #2479) 347 348 * tools/fax2ps.c: check malloc()/realloc() result (bug #2470) 349 350 * tools/tiffdump.c: detect cycle in TIFF directory chaining (bug #2463) 351 and avoid passing a NULL pointer to read() if seek() failed before (bug #2459) 352 353 * tools/tiffcrop.c: fix segfault if bad value passed to -Z option 354 (bug #2459) and add missing va_end in dump_info (#2459) 355 356 * tools/gif2tif.c: apply patch for CVE-2013-4243 (#2451) 357 3582014-11-20 Even Rouault <[email protected]> 359 * libtiff/tif_jpeg.c: fix segfault in JPEGFixupTagsSubsampling() on 360 corrupted image where tif->tif_dir.td_stripoffset == NULL (bug #2471) 361 3622014-11-20 Even Rouault <[email protected]> 363 * automake: updated to 1.14.1 364 * libtool: updated to 2.4.3 365 * HOWTO-RELEASE: small update about autotools building order 366 3672014-10-20 Olivier Paquet <[email protected]> 368 * tools/tiff2pdf.c: Preserve input file directory order when pages 369 are tagged with the same page number. 370 3712014-08-31 Bob Friesenhahn <[email protected]> 372 373 * libtiff/tif_dirread.c (TIFFReadDirEntryOutputErr): Incorrect 374 count for tag should be a warning rather than an error since 375 errors terminate processing. 376 3772014-06-07 Bob Friesenhahn <[email protected]> 378 379 * tools/tiff2rgba.c (]): Fixed tiff2rgba usage message in that zip 380 was wrongly described. Fix suggested by Miguel Medalha. 381 3822014-05-06 Bob Friesenhahn <[email protected]> 383 384 * libtiff/tif_dirinfo.c (TIFFField) : Fix data type for 385 TIFFTAG_GLOBALPARAMETERSIFD tag. Patch by Steve Underwood. 386 Reviewed and forwarded by Lee Howard. 387 3882013-11-30 Frank Warmerdam <[email protected]> 389 390 * libtiff/tif_dir.c: fix last fix for TIFFNumberOfDirectories() 391 3922013-10-21 Frank Warmerdam <[email protected]> 393 394 * libtiff/tif_dir.c: generate error in case of directory count 395 overflow. 396 3972013-10-01 Frank Warmerdam <[email protected]> 398 399 * libtiff/tiff.h, libtiff/tif_dirinfo.c: add definitions for 400 TIFF/EP CFARepeatPatternDim and CFAPattern tags (bug #2457) 401 4022013-09-12 Bob Friesenhahn <[email protected]> 403 404 * libtiff/tif_dir.c (TIFFAdvanceDirectory): If nextdir is found to 405 be defective, then set it to zero before returning error in order 406 to terminate processing of truncated TIFF. Issue found and fix 407 suggested by Richard Nolde. 408 4092013-08-14 Frank Warmerdam <[email protected]> 410 411 * tools/gif2tiff.c: fix possible OOB write (#2452, CVE-2013-4244) 412 4132013-08-13 Frank Warmerdam <[email protected]> 414 415 * tools/gif2tiff.c: Be more careful about corrupt or 416 hostile input files (#2450, CVE-2013-4231) 417 418 * tools/tiff2pdf.c: terminate after failure of allocating 419 ycbcr buffer (bug #2449, CVE-2013-4232) 420 4212013-07-09 Frank Warmerdam <[email protected]> 422 423 * tools/tiffinfo.c: Default various values fetched with 424 TIFFGetField() to avoid being uninitialized. 425 4262013-05-02 Tom Lane <[email protected]> 427 428 * tools/tiff2pdf.c: Rewrite JPEG marker parsing in 429 t2p_process_jpeg_strip to be at least marginally competent. The 430 approach is still fundamentally flawed, but at least now it won't 431 stomp all over memory when given bogus input. Fixes CVE-2013-1960. 432 4332013-05-02 Tom Lane <[email protected]> 434 435 * contrib/dbs/xtiff/xtiff.c, libtiff/tif_codec.c, 436 libtiff/tif_dirinfo.c, tools/rgb2ycbcr.c, tools/tiff2bw.c, 437 tools/tiff2pdf.c, tools/tiff2ps.c, tools/tiffcrop.c, 438 tools/tiffdither.c: Enlarge some fixed-size buffers that weren't 439 large enough, and eliminate substantially all uses of sprintf(buf, 440 ...) in favor of using snprintf(buf, sizeof(buf), ...), so as to 441 protect against overflow of fixed-size buffers. This responds in 442 particular to CVE-2013-1961 concerning overflow in tiff2pdf.c's 443 t2p_write_pdf_page(), but in general it seems like a good idea to 444 deprecate use of sprintf(). 445 4462013-03-29 Bob Friesenhahn <[email protected]> 447 448 * configure.ac: Applied patch by Brad Smith to improve pkg-config 449 static linking by adding -lm to Libs.private when needed. 450 4512013-03-05 Tom Lane <[email protected]> 452 453 * html/man/tiff2ps.1.html, html/man/tiffcp.1.html, 454 html/man/tiffdither.1.html, man/tiff2ps.1, man/tiffcp.1, 455 man/tiffdither.1, tools/tiff2ps.c, tools/tiffcp.c, 456 tools/tiffdither.c: Sync tool usage printouts and man pages with 457 reality (quite a few options had escaped being documented in one 458 or both places). Per an old report from Miroslav Vadkerti. 459 4602013-01-25 Bob Friesenhahn <[email protected]> 461 462 * tools/tiff2ps.c:Fix bug in auto rotate option code. Once a 463 rotation angle was set by the auto rotate check, it was retained 464 for all pages that followed instead ofa being retested for each 465 page. Patch by Richard Nolde. 466 4672013-01-18 Frank Warmerdam <[email protected]> 468 469 * libtiff/tif_write.c: tmsize_t related casting warning fixed for 470 64bit linux. 471 472 * libtiff/tif_read.c: uint64/tmsize_t change for MSVC warnings. 473 http://bugzilla.maptools.org/show_bug.cgi?id=2427 474 4752012-12-20 Tom Lane <[email protected]> 476 477 * test/raw_decode.c: Relax raw_decode's pixel-value checks so that 478 it will pass with more versions of libjpeg. (There are at least 479 three in active use now, and JPEG_LIB_VERSION doesn't tell us 480 enough to uniquely identify expected results.) 481 4822012-12-12 Tom Lane <[email protected]> 483 484 * libtiff/tif_print.c: Fix TIFFPrintDirectory's handling of 485 field_passcount fields: it had the TIFF_VARIABLE and 486 TIFF_VARIABLE2 cases backwards. 487 4882012-12-10 Tom Lane <[email protected]> 489 490 * tools/ppm2tiff.c: Improve previous patch for CVE-2012-4564: 491 check the linebytes calculation too, get the max() calculation 492 straight, avoid redundant error messages, check for malloc 493 failure. 494 4952012-12-10 Tom Lane <[email protected]> 496 497 * libtiff/tif_pixarlog.c: Improve previous patch for CVE-2012-4447 498 (to enlarge tbuf for possible partial stride at end) so that 499 overflow in the integer addition is detected. Per gripe from 500 Huzaifa Sidhpurwala. 501 5022012-12-03 Bob Friesenhahn <[email protected]> 503 504 * tools/tiffset.c: tiffset now supports a -u option to unset a 505 tag. Patch by Zach Baker. See 506 http://bugzilla.maptools.org/show_bug.cgi?id=2419 507 5082012-11-18 Bob Friesenhahn <[email protected]> 509 510 * automake: Update Automake to 1.12.5 release. 511 512 * libtiff/tif_{unix,vms,win32}.c (_TIFFmalloc): ANSI C does not 513 require malloc() to return NULL pointer if requested allocation 514 size is zero. Assure that _TIFFmalloc does. 515 5162012-11-01 Frank Warmerdam <[email protected]> 517 518 * tools/ppm2tiff.c: avoid zero size buffer vulnerability. 519 CVE-2012-4564 - Thanks to Huzaifa Sidhpurwala of the 520 Red Hat Security Response team for the fix. 521 5222012-10-18 Frank Warmerdam <[email protected]> 523 524 * tif_zip.c: Avoid crash on NULL error messages. 525 5262012-09-22 Bob Friesenhahn <[email protected]> 527 528 * libtiff 4.0.3 released. 529 5302012-09-20 Bob Friesenhahn <[email protected]> 531 532 * Makefile.am: Update to Automake 1.12.4 533 5342012-08-19 Bob Friesenhahn <[email protected]> 535 536 * Makefile.in: Update to Automake 1.12.3 537 538 * libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add 539 some TIFF/FX support in libtiff. Add the tag definitions to 540 tiff.h. Add the related TIFF field definitions to tif_dirinfo.c, 541 and also fixes an error in a comment. Adds the photometric values 542 to tif_print.c, and fixes a bug. These changes are by Steve 543 Underwood. 544 5452012-08-13 Frank Warmerdam <[email protected]> 546 547 * libtiff/tif_write.c: Fix bug rewriting image tiles in a 548 compressed file: http://trac.osgeo.org/gdal/ticket/4771 549 5502012-08-02 Frank Warmerdam <[email protected]> 551 552 * libtiff/tif_dirread.c: report error in case of mismatch value 553 counts for tags (ie. DotRange). 554 5552012-07-26 Tom Lane <[email protected]> 556 557 * libtiff/{tiffio.h, tif_dirinfo.c, libtiff.def}: Add six new 558 functions TIFFFieldTag(), TIFFFieldName(), TIFFFieldDataType(), 559 TIFFFieldPassCount(), TIFFFieldReadCount(), TIFFFieldWriteCount() 560 as external accessors for the opaque type TIFFField. 561 562 * tools/tiffset.c: Make tiffset use the above functions instead of 563 relying on library private headers. 564 5652012-07-19 Tom Lane <[email protected]> 566 567 * tools/tiff2pdf.c: Fix two places where t2p_error didn't get set 568 after a malloc failure. No crash risk AFAICS, but the program 569 might not report exit code 1 as desired. h/t [email protected] 570 5712012-07-18 Tom Lane <[email protected]> 572 573 * tools/tiff2pdf.c: Fail when TIFFSetDirectory() fails. This 574 prevents core dumps or perhaps even arbitrary code execution when 575 processing a corrupt input file (CVE-2012-3401). 576 5772012-07-06 Bob Friesenhahn <[email protected]> 578 579 * test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+. 580 IJG JPEG 7+ uses a different upsampling algorithm which produces 581 different numeric results. 582 583 * libtiff/tif_jpeg.c (JPEGPreDecode): Patch from Even Rouault to 584 work with IJG JPEG 7+. 585 5862012-07-04 Bob Friesenhahn <[email protected]> 587 588 * test/raw_decode.c: Add changes so that test can run with build 589 directory outside of source directory. 590 5912012-07-02 Frank Warmerdam <[email protected]> 592 593 * libtiff/tif_jpeg.c: Fix handling when writing RGBA jpeg compressed 594 imagery (http://trac.osgeo.org/gdal/ticket/4732) 595 5962012-06-20 Frank Warmerdam <[email protected]> 597 598 * libtiff/tif_fax3.c: fix memory initialization of runs, only 599 partly done. 600 601 * libtiff/tif_pixarlog.c: Make sure tbuf is large enough for one 602 full "stride" past the end. 603 6042012-06-19 Frank Warmerdam <[email protected]> 605 606 * libtiff/tif_packbits.c: fix read past end of data buffer. 607 6082012-06-15 Frank Warmerdam <[email protected]> 609 610 * libtiff 4.0.2 released. 611 612 * tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable 613 warnings with clang. 614 6152012-06-15 Tom Lane <[email protected]> 616 617 * tools/tiff2pdf.c: Defend against integer overflows while 618 calculating required buffer sizes (CVE-2012-2113). 619 6202012-06-12 Frank Warmerdam <[email protected]> 621 622 * libtiff/tif_print.c: Be careful about printing corrupt inknames. 623 624 * libtiff/tif_fax3.c: Ensure runs array is initialized to zeros. 625 6262012-06-07 Frank Warmerdam <[email protected]> 627 628 * libtiff/tif_print.c: avoid pretty printing other fields when 629 we don't have the proper amount and type of data or if the field 630 is actually autodefined. 631 6322012-06-05 Frank Warmerdam <[email protected]> 633 634 * libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal 635 ycbcrsubsampling values result in a runtime error, not just an 636 assertion. 637 638 * tests/custom_dir.c: Add testing of EXIF and custom directory 639 reading and writing. 640 641 * libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory() 642 and TIFFCreateEXIFDirectory() functions. 643 644 * libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for 645 PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING. Implement DOTRANGE 646 differently. This is to avoid using special TIFFGetField/TIFFSetField 647 rules for these fields in non-image directories (like EXIF). 648 6492012-06-04 Frank Warmerdam <[email protected]> 650 651 * libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling 652 in JPEGPreDecode(). If a fixup will be done it needs to be done sooner 653 in JPEGFixupTagsSubsampling() or else buffer sized may be wrong. 654 6552012-06-01 Frank Warmerdam <[email protected]> 656 657 * tools/tiffinfo.c: Do not try to read image data in EXIF directories. 658 659 * libtiff/tif_getimage.c: added support for _SEPARATED CMYK images. 660 http://bugzilla.maptools.org/show_bug.cgi?id=2379 661 662 * libtiff/tif_unix.c: use strerror() to return a more specific error message 663 on failed open. 664 http://bugzilla.maptools.org/show_bug.cgi?id=2341 665 666 * libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs. 667 http://bugzilla.maptools.org/show_bug.cgi?id=2386 668 669 * tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support 670 for testing jpeg in tiff image decoding including the "raw" decode interface. 671 6722012-05-31 Frank Warmerdam <[email protected]> 673 674 * libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in 675 JPEGDecodeRaw() - mostly likely to occur when there is confusion about 676 sampling values. 677 678 * libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed. 679 680 * libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval. 681 http://bugzilla.maptools.org/show_bug.cgi?id=2398 682 6832012-05-29 Frank Warmerdam <[email protected]> 684 685 * libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories, 686 like EXIF directories. This fixes problems like a tag "320" existing in a custom directory getting 687 processed as if it were a colormap when it isn't really. Damn the wide variety of argument formulations 688 to get/set functions for different tags! 689 690 * libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata 691 is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag. 692 6932012-05-24 Frank Warmerdam <[email protected]> 694 695 * libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward 696 accumulate" and overwrite the end by one word in at least some cases. 697 6982012-05-23 Frank Warmerdam <[email protected]> 699 700 * libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs. 701 702 * tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files. 703 704 * libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on 705 the same image. 706 707 * libtiff/tif_ojpeg.c: make things more resilient in the face of files without 708 stripbytecounts or stripoffsets or where loading these fails. 709 710 * libtiff/tif_print.c: be careful about whether min/max values are singular 711 or one per sample. 712 713 * libtiff/tif_print.c: Avoid confusion about count size when printing custom fields. 714 May affect things like ISOSpeedRatings. 715 716 * libtiff/tif_dir.c: avoid one byte past end of ink names reading 717 in some cases. 718 7192012-05-19 Bob Friesenhahn <[email protected]> 720 721 * man/TIFFGetField.3tiff: Correct the 'count' field type in the 722 example for how to retreive the value of unsupported tags. 723 7242012-03-30 Frank Warmerdam <[email protected]> 725 726 * tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173) 727 care of Tom Lane @ Red Hat. 728 7292012-02-18 Bob Friesenhahn <[email protected]> 730 731 * libtiff 4.0.1 released. 732 733 * Update automake used to 1.11.3. 734 735 * libtiff/tiffio.h: Use double-underbar syntax in GCC printf 736 attribute specification to lessen the risk of accidental macro 737 substitution. Patch from Vincent Torri. 738 7392012-01-31 Frank Warmerdam <[email protected]> 740 741 * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around 742 assumption tag fetching is always successful. 743 744 * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL. 745 7462012-01-22 Bob Friesenhahn <[email protected]> 747 748 * configure.ac: Add support for using library symbol versioning on 749 ELF systems with the GNU linker. Support is enabled via 750 --enable-ld-version-script. Disabled by default for now until 751 there is a decision for how to deploy a libtiff with versioned 752 symbols after libtiff 4.0.0 was already released. 753 7542011-12-22 Bob Friesenhahn <[email protected]> 755 756 * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in 757 758 tif_win32.c. Patch by Edward Lam. 759 760 * configure.ac: Add libtiff private dependency on -llzma for 761 pkg-config. Patch by Mark Brand. 762 Updated Automake to 1.11.2. 763 7642011-12-21 Bob Friesenhahn <[email protected]> 765 766 * libtiff 4.0.0 released. 767 7682011-12-08 Frank Warmerdam <[email protected]> 769 770 * libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking 771 of _TIFFFillStriles() results (#gdal 4372) 772 7732011-12-07 Frank Warmerdam <[email protected]> 774 775 * libtiff/tif_dirread.c: fixes to deal with invalid files where 776 _TIFFFillStriles() fails, and we try to chop up strips (gdal #4372) 777 778 * libtiff/tif_dirread.c: fix error reporting when there is no 779 tag information struct and name (gdal #4373) 780 7812011-10-22 Bob Friesenhahn <[email protected]> 782 783 * Update GNU libtool to 2.4.2. 784 785 * tools/tiffsplit.c (tiffcp): TIFFGetField count field should be 786 uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe 787 Deroulers. 788 7892011-06-21 Frank Warmerdam <[email protected]> 790 791 * libtiff/libtiff.def: Restore TIFFMergeFieldInfo. 792 7932011-05-31 Jim Meyering <[email protected]> 794 795 * libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also 796 upon failure to allocate "resizeddata". 797 * tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for 798 allocation failure, not before. 799 * libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path 800 * tools/rgb2ycbcr.c (cvtRaster): unchecked malloc 801 * libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark 802 NULL-deref and possible overflow 803 * tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written" 804 * libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration 805 and set of otherwise unused local, data_is_empty. 806 * libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]: 807 Diagnose out-of-memory failure and return 0 rather than 808 dereferencing NULL. 809 8102011-05-24 Frank Warmerdam <[email protected]> 811 812 * libtiff/tif_dirread.c: produce special error message for zero tag 813 directories instead of error out on the malloc(0) failure. 814 8152011-05-16 Frank Warmerdam <[email protected]> 816 817 * libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and 818 related declarations as they are in active use by libraries 819 such as libgeotiff, and work just fine. (#2315) 820 8212011-04-20 Frank Warmerdam <[email protected]> 822 823 * libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete 824 TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API. 825 http://bugzilla.maptools.org/show_bug.cgi?id=2315 826 827 * libtiff/libtiff.def: add some missing (64bit) APIs. 828 http://bugzilla.maptools.org/show_bug.cgi?id=2316 829 8302011-04-09 Bob Friesenhahn <[email protected]> 831 832 * libtiff 4.0.0beta7 released. 833 8342011-04-09 Bob Friesenhahn <[email protected]> 835 836 * configure.ac: Should use AC_CANONICAL_HOST since host specifies 837 the run-time target whereas target is used to specify the final 838 output target if the package is a build tool (like a compiler), 839 which libtiff is not. Resolves libtiff bug 2307 "Use 840 AC_CANONICAL_HOST macro". 841 8422011-04-02 Bob Friesenhahn <[email protected]> 843 844 * configure.ac: Support configuring TIFF_INT64_FORMAT and 845 TIFF_UINT64_FORMAT appropriately for MinGW32. 846 847 * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32 848 printf conventions for 64-bit types because it uses the WIN32 CRT. 849 850 * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c, 851 tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32 852 printf conventions for 64-bit types because it uses the WIN32 CRT. 853 854 * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not 855 understood by WIN32 CRT. 856 857 * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC. 858 859 * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since 860 it is much more portable. Tmpfile is included in ISO/IEC 861 9899:1990 and the WIN32 CRT. 862 8632011-03-26 Frank Warmerdam <[email protected]> 864 865 * tools/tiffset.c: add -d and -sd switches to allow operation on 866 a particular directory, not just the first (jef). 867 8682011-03-21 Frank Warmerdam <[email protected]> 869 870 * libtiff/tif_thunder.c: Correct potential buffer overflow with 871 thunder encoded files with wrong bitspersample set. The libtiff 872 development team would like to thank Marin Barbella and TippingPoint's 873 Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004, 874 CVE-2011-1167). 875 http://bugzilla.maptools.org/show_bug.cgi?id=2300 876 8772011-03-10 Frank Warmerdam <[email protected]> 878 879 * libtiff/tif_fax3.h: Fix to last change allowing zero length 880 runs at the start of a scanline - needed for legal cases. 881 8822011-03-02 Frank Warmerdam <[email protected]> 883 884 * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 885 a move left. Without this, a malicious input file can generate an 886 indefinitely large series of runs without a0 ever reaching the right 887 margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192. 888 This is a modified version of a patch proposed by Drew Yao of Apple 889 Product Security. It adds an unexpected() report, and disallows the 890 equality case, since emitting a run without increasing a0 still allows 891 buffer overrun. 892 8932011-02-23 Frank Warmerdam <[email protected]> 894 895 * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296) 896 897 * tools/tiff2rgba.c: close source file on error to make leak 898 detection easier. 899 900 * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails. 901 902 http://bugzilla.maptools.org/show_bug.cgi?id=2295 903 9042011-02-22 Frank Warmerdam <[email protected]> 905 906 * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ 907 _SUPPORT) 908 9092011-02-18 Frank Warmerdam <[email protected]> 910 911 * configure.ac, configure: Added support for --enable-chunky-strip-read 912 configure option to enable the experimental feature from a couple 913 months ago for reading big strips in chunks. 914 915 * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 916 tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c: 917 Implement optional support for deferring the load of strip/tile 918 offset and size tags for optimized scanning of directories. Enabled 919 with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD 920 #define in tif_config.h). 921 9222011-02-11 Frank Warmerdam <[email protected]> 923 924 * libtiff/tif_print.c: remove unused variable. 925 9262011-02-09 Frank Warmerdam <[email protected]> 927 928 * libtiff/tif_win32.c: avoid error/warning buffer overrun problem 929 with non-console (popup message) builds on win32. 930 931 http://bugzilla.maptools.org/show_bug.cgi?id=2293 932 9332011-01-24 Olivier Paquet <[email protected]> 934 935 * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c, 936 tif_print.c, tiff.h, tiffiop.h} : Added support for 937 TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different 938 values for each sample. Presents the min/max of all samples by default for 939 compatibility. TIFFSetField/TIFFGetField can be made to handle those tags 940 as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag. 941 http://www.asmail.be/msg0055458208.html 942 9432011-01-06 Frank Warmerdam <[email protected]> 944 945 * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 946 maintained. 947 948 * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 949 for CHUNKY_STRIP_READ_SUPPORT. 950 951 * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained 952 during JPEGPreDecode and JPEGDecode calls. 953 * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 954 as compression formats like JPEG keep 16 lines interleaved in a sense 955 and might need to touch quite a bit of data. 956 957 http://trac.osgeo.org/gdal/ticket/3894 958 9592011-01-03 Lee Howard <[email protected]> 960 961 * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images 962 caused by commit on 2010-12-14. Submitted by e-mail from 963 Even Rouault <[email protected]> 964 9652010-12-31 Olivier Paquet <[email protected]> 966 967 * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE. 968 http://bugzilla.maptools.org/show_bug.cgi?id=2266 969 9702010-12-23 Andrey Kiselev <[email protected]> 971 972 * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the 973 compression level parameter (preset) for Deflate and LZMA encoders, 974 e.g "-c lzma:p1" or "-c zip:p9". 975 976 * libtiff/tif_lzma.c: Properly set the LZMA2 compression level 977 (preset) in LZMAVSetField(). 978 9792010-12-18 Bob Friesenhahn <[email protected]> 980 981 * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to 982 Makefile. 983 9842010-12-14 Andrey Kiselev <[email protected]> 985 986 * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h, 987 tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new 988 TIFF compression scheme LZMA reserving a new value 34925 for 989 Compression tag. As per 990 bug http://bugzilla.maptools.org/show_bug.cgi?id=2221 991 9922010-12-14 Lee Howard <[email protected]> 993 994 * libtiff/tif_dirread.c: tolerate some cases where 995 FIELD_COLORMAP is missing 996 http://bugzilla.maptools.org/show_bug.cgi?id=2189 997 9982010-12-14 Lee Howard <[email protected]> 999 1000 * libtiff/tif_read.c: change read_ahead to tmsize_t 1001 http://bugzilla.maptools.org/show_bug.cgi?id=2222 1002 10032010-12-14 Lee Howard <[email protected]> 1004 1005 * configure.ac, libtiff/Makefile.am: Build tif_win32.c on 1006 Windows except on Cygwin 1007 http://bugzilla.maptools.org/show_bug.cgi?id=2224 1008 10092010-12-14 Lee Howard <[email protected]> 1010 1011 * tools/gif2tiff.c: fix buffer overrun 1012 http://bugzilla.maptools.org/show_bug.cgi?id=2270 1013 10142010-12-14 Lee Howard <[email protected]> 1015 1016 * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order 1017 to improve compatibility with various viewers 1018 submitted by e-mail from Dwight Kelly <[email protected]> 1019 10202010-12-13 Lee Howard <[email protected]> 1021 1022 * tools/fax2ps.c: be consistent with page-numbering 1023 http://bugzilla.maptools.org/show_bug.cgi?id=2225 1024 10252010-12-13 Lee Howard <[email protected]> 1026 1027 * libtiff/tif_color.c: prevent crash in handling bad TIFFs 1028 resolves CVE-2010-2595 1029 http://bugzilla.maptools.org/show_bug.cgi?id=2208 1030 10312010-12-13 Lee Howard <[email protected]> 1032 1033 * tools/tiffcrop.c: new release by Richard Nolde 1034 http://bugzilla.maptools.org/show_bug.cgi?id=2004 1035 10362010-12-12 Lee Howard <[email protected]> 1037 1038 * tools/tiff2pdf.c: fix colors for images with RGBA 1039 interleaved data 1040 http://bugzilla.maptools.org/show_bug.cgi?id=2250 1041 10422010-12-12 Lee Howard <[email protected]> 1043 1044 * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files 1045 http://bugzilla.maptools.org/show_bug.cgi?id=2164 1046 10472010-12-11 Lee Howard <[email protected]> 1048 1049 * tools/tiff2pdf.c: remove invalid duplication for Lab 1050 http://bugzilla.maptools.org/show_bug.cgi?id=2162 1051 10522010-12-11 Lee Howard <[email protected]> 1053 1054 * libtiff/tif_jpeg.c: fix use of clumplines calculation 1055 http://bugzilla.maptools.org/show_bug.cgi?id=2149 1056 10572010-12-11 Lee Howard <[email protected]> 1058 1059 * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp() 1060 http://bugzilla.maptools.org/show_bug.cgi?id=2118 1061 10622010-12-11 Lee Howard <[email protected]> 1063 1064 * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c, 1065 libtiff/tif_zip.c: fix build errors for VC6 1066 http://bugzilla.maptools.org/show_bug.cgi?id=2105 1067 10682010-12-11 Lee Howard <[email protected]> 1069 1070 * libtiff/tif_stream.cxx: warnings cleanup 1071 http://bugzilla.maptools.org/show_bug.cgi?id=2091 1072 * libtiff/tif_dirread.c: warnings cleanup 1073 http://bugzilla.maptools.org/show_bug.cgi?id=2092 1074 10752010-12-11 Lee Howard <[email protected]> 1076 1077 * tools/tiff2pdf.c: add fill-page option 1078 http://bugzilla.maptools.org/show_bug.cgi?id=2051 1079 10802010-12-11 Lee Howard <[email protected]> 1081 1082 * libtiff/tif_dirread.c: modify warnings 1083 http://bugzilla.maptools.org/show_bug.cgi?id=2016 1084 10852010-12-11 Lee Howard <[email protected]> 1086 1087 * libtiff/tif_ojpeg.c: fix buffer overflow on problem data 1088 http://bugzilla.maptools.org/show_bug.cgi?id=1999 1089 10902010-12-11 Lee Howard <[email protected]> 1091 1092 * tools/tiffinfoce.c: strip byte counts are uint64* now 1093 10942010-12-11 Lee Howard <[email protected]> 1095 1096 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero 1097 or missing byte-count tag 1098 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count 1099 per http://bugzilla.maptools.org/show_bug.cgi?id=1996 1100 11012010-12-08 Lee Howard <[email protected]> 1102 1103 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed 1104 TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994 1105 11062010-12-06 Lee Howard <[email protected]> 1107 1108 * libtiff/tif_open.c: Fix mode check before opening a file. 1109 http://bugzilla.maptools.org/show_bug.cgi?id=1906 1110 11112010-11-27 Bob Friesenhahn <[email protected]> 1112 1113 * libtiff-4.pc.in: Added libtiff pkg-config .pc file support. 1114 Patch by Vincent Torri. 1115 11162010-10-21 Frank Warmerdam <[email protected]> 1117 1118 * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler. 1119 1120 * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf. 1121 1122 * libtiff/libtiff.def: export _TIFFCheckMalloc for tools. 1123 11242010-09-25 Lee Howard <[email protected]> 1125 1126 * tools/tiff2ps.c: improvements and enhancements from Richard Nolde 1127 with additional command line options for Document Title, 1128 Document Creator, and Page Orientation 1129 11302010-07-13 Bob Friesenhahn <[email protected]> 1131 1132 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 1133 potentially unterminated buffer due to using an exceptionally long 1134 file name. 1135 11362010-07-08 Andrey Kiselev <[email protected]> 1137 1138 * tools/tiff2pdf.c: Fixed ID buffer filling in 1139 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 1140 11412010-07-07 Andrey Kiselev <[email protected]> 1142 1143 * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 1144 to expected value as the warning message suggests. As per bug 1145 http://bugzilla.maptools.org/show_bug.cgi?id=1963 1146 11472010-07-06 Andrey Kiselev <[email protected]> 1148 1149 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 1150 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 1151 which should be set by value. 1152 1153 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 1154 and _TIFFFieldWithName() if the tag is not found in the tag table. 1155 This should be normal situation and returned NULL value should be 1156 properly handled by the caller. 1157 11582010-07-02 Andrey Kiselev <[email protected]> 1159 1160 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 1161 integer type conversions. As per bug 1162 http://bugzilla.maptools.org/show_bug.cgi?id=2207 1163 1164 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 1165 WhitePoint tag as per bug 1166 http://bugzilla.maptools.org/show_bug.cgi?id=2042 1167 1168 * libtiff/tif_getimage.c: Check the number of samples per pixel when 1169 working with YCbCr image in PickContigCase(). As per bug 1170 http://bugzilla.maptools.org/show_bug.cgi?id=2216 1171 1172 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 1173 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 1174 we don't need any post-processing. That helps to reset the hook if we 1175 previously set this field to some other value and the hook was 1176 initialized accordingly. As per bug 1177 http://bugzilla.maptools.org/show_bug.cgi?id=2035 1178 11792010-07-01 Andrey Kiselev <[email protected]> 1180 1181 * tools/tiffgt.c: Properly check the raster buffer allocations for 1182 integer overflows. As per bug 1183 http://bugzilla.maptools.org/show_bug.cgi?id=2108 1184 1185 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 1186 upstream. 1187 1188 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 1189 multiply_32() and multiply_64() functions into tif_aux.c file and 1190 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 1191 11922010-06-30 Andrey Kiselev <[email protected]> 1193 1194 * tools/tiff2pdf.c: Better generation of ID field in 1195 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 1196 1197 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 1198 converting JPEG encoded tiles. 1199 1200 * tools/tiff2pdf.c: Better handling of string fields, use static 1201 string buffers instead of dynamically allocated, use strncpy() instead 1202 of strcpy(), control the string lengths. 1203 12042010-06-25 Andrey Kiselev <[email protected]> 1205 1206 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 1207 referencing to uninitialized memory in some cases (e.g. when tile size 1208 set bigger than the image size). 1209 12102010-06-15 Bob Friesenhahn <[email protected]> 1211 1212 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 1213 subsampled data since tiffcrop currently doesn't support it. Fix 1214 JPEG support. 1215 12162010-06-13 Frank Warmerdam <[email protected]> 1217 1218 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 1219 1220 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 1221 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 1222 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 1223 size is larger. Also, there are a bunch of places that try to 1224 memset() a malloc'd buffer before checking for malloc failure, which 1225 would result in core dump if there actually were a failure. (#2211) 1226 12272010-06-11 Bob Friesenhahn <[email protected]> 1228 1229 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 1230 avoid compiler warnings if parameter types are not sign 1231 consistent. 1232 1233 * libtiff 4.0.0alpha6 released. 1234 1235 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 1236 European page size dimensions. Added an option to allow the user 1237 to specify a custom page size on the command line. Fix the case 1238 where a page size specified with a fractional part was being 1239 coerced to an integer by retyping the variables that define the 1240 paper size. 1241 1242 * html/index.html: Update for the 3.9.3 release. 1243 1244 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 1245 YCbCr subsampled data since tiffcp currently doesn't support it. 1246 http://bugzilla.maptools.org/show_bug.cgi?id=2097 1247 1248 * Update libtool to version 2.2.10. 1249 12502010-06-10 Bob Friesenhahn <[email protected]> 1251 1252 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 1253 multiplier is zero. 1254 12552010-06-09 Bob Friesenhahn <[email protected]> 1256 1257 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 1258 CVE-2010-1411 was not complete. 1259 1260 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 1261 multiply two integers. Returns zero if there is an integer 1262 overflow. 1263 1264 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 1265 is reported when reading the input file. 1266 12672010-06-08 Bob Friesenhahn <[email protected]> 1268 1269 * Update libtool to version 2.2.8. 1270 1271 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 1272 buffer due to integer overflow in TIFFroundup() and several other 1273 potential overflows. In conjunction with the fix to TIFFhowmany(), 1274 fixes CVE-2010-1411. 1275 1276 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 1277 result in an integer overflow. This causes TIFFroundup() to also 1278 return zero if there would be an integer overflow. 1279 1280 * contrib: Add an emacs formatting mode footer to all source files 1281 so that emacs can be effectively used. 1282 12832010-06-03 Oliver Chen Feng <[email protected]> 1284 1285 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 1286 file PAGENUMBER value in sequence for users who care the page 1287 sequence, this will also prevent tiff2pdf from creating pdf file from 1288 the merged tiff file with wrong page sequence. 1289 12902010-05-08 Olivier Paquet <[email protected]> 1291 1292 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 1293 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 1294 * libtiff/tif_dirinfo.c: Use correct set_field_type for 1295 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 1296 http://bugzilla.maptools.org/show_bug.cgi?id=2192 1297 12982010-05-07 Frank Warmerdam <[email protected]> 1299 1300 * libtiff/tif_jpeg.c: Ensure that quality is always set in 1301 JPEGPreEncode(), not just when we want to output local tables. 1302 Otherwise the quality used during compression may not be right and 1303 might not match the tables in the tables tag. This bug only occurs 1304 when seeking between directories in the midst of writing blocks. 1305 http://trac.osgeo.org/gdal/ticket/3539 1306 13072010-05-06 Andrey Kiselev <[email protected]> 1308 1309 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 1310 Regenerated from the source. 1311 13122010-05-05 Olivier Paquet <[email protected]> 1313 1314 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 1315 had stopped working. Also made it always print 6 floats instead of 1316 2*SamplesPerPixel. 1317 http://bugzilla.maptools.org/show_bug.cgi?id=2191 1318 http://bugzilla.maptools.org/show_bug.cgi?id=2186 1319 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 1320 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 1321 13222010-05-05 Frank Warmerdam <[email protected]> 1323 1324 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 1325 if the jpeg table was written. This is a fix for the last fix on 04-21. 1326 13272010-04-21 Frank Warmerdam <[email protected]> 1328 1329 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 1330 JPEGSetupEncode() is called if the tables already seem to be 1331 established. This prevents spurious updates and rewriting of 1332 directories with jpegtables when doing updates to existing images. 1333 http://trac.osgeo.org/gdal/ticket/3539 1334 13352010-04-20 Olivier Paquet <[email protected]> 1336 1337 * libtiff/tif_dirinfo.c: Use correct set_field_type for 1338 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 1339 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 1340 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 1341 http://bugzilla.maptools.org/show_bug.cgi?id=2139 1342 13432010-04-10 Bob Friesenhahn <[email protected]> 1344 1345 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 1346 when the tag count value is zero. Error handling is still a 1347 regression since in 3.9.2, empty tags are skipped (with a warning) 1348 rather than returning a hard error and refusing to read the file. 1349 1350 * tools/ppm2tiff.c (main): While case for parsing comment line 1351 requires extra parenthesis to work as expected. Reported by 1352 Thomas Sinclair. 1353 13542010-04-02 Frank Warmerdam <[email protected]> 1355 1356 * libtiff/tif_read.c (primarily): Add support for 1357 CHUNKY_STRIP_READ_SUPPORT where large strips are 1358 read in chunks for applications using TIFFReadScanline(). 1359 This is intended to make it more practical work with very 1360 large compressed one-strip files. Feature is off by default. 1361 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 1362 http://trac.osgeo.org/gdal/ticket/3514 1363 13642010-03-31 Frank Warmerdam <[email protected]> 1365 1366 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 1367 directories so previously placed directories will be migrated to 1368 the end of file if needed. 1369 13702010-03-30 Frank Warmerdam <[email protected]> 1371 1372 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 1373 to support operating on strips/tiles of more than 256MB. 1374 http://trac.osgeo.org/gdal/ticket/3512 1375 13762010-03-10 Bob Friesenhahn <[email protected]> 1377 1378 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 1379 that it is clearly a memory allocation error message, and also 1380 includes the size of the allocation request. 1381 13822010-02-22 Lee Howard <[email protected]> 1383 1384 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 1385 the JPEG TIFF as is is not required in order to prevent it from 1386 being unused and filled with invalid data. (Leave it to be 1387 generated by later activity.) 1388 http://bugzilla.maptools.org/show_bug.cgi?id=2135 1389 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 1390 data rather than skipping them. This fixes the ability to view in 1391 Acrobat Reader, Evince, and Ghostscript. 1392 http://bugzilla.maptools.org/show_bug.cgi?id=2135 1393 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 1394 strips. 1395 http://bugzilla.maptools.org/show_bug.cgi?id=2029 1396 13972009-12-03 Frank Warmerdam <[email protected]> 1398 1399 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 1400 Made so that when working with downsampled images a stub function 1401 reporting an error is used for tif_decoderow. We cannot meaningfully 1402 support reading scanlines in this situation. (#1936) 1403 1404 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 1405 resetting of the upsampling values (gdal:#3259). 1406 http://bugzilla.maptools.org/show_bug.cgi?id=1936 1407 14082009-11-30 Frank Warmerdam <[email protected]> 1409 1410 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 1411 tools/ras2tiff.c: Fix resource leaks on error. 1412 http://bugzilla.maptools.org/show_bug.cgi?id=2121 1413 1414 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 1415 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 1416 of as a custom(generic) field to avoid a potential reentrancy problem. 1417 http://bugzilla.maptools.org/show_bug.cgi?id=2125 1418 1419 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 1420 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 1421 const, and display_sRGB static and const. 1422 http://bugzilla.maptools.org/show_bug.cgi?id=2124 1423 14242009-11-04 Bob Friesenhahn <[email protected]> 1425 1426 * libtiff 4.0.0alpha5 released. 1427 14282009-11-03 Bob Friesenhahn <[email protected]> 1429 1430 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 1431 version has undergone substantial testing with arbitrary sample 1432 bit depths. Also eliminates GCC compilation warnings. 1433 14342009-11-02 Bob Friesenhahn <[email protected]> 1435 1436 * port/libport.h: Add extern declarations for getopt standard 1437 globals. 1438 14392009-10-31 Bob Friesenhahn <[email protected]> 1440 1441 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 1442 noticed in 64-bit build of libtiff with Visual Studio 2005. 1443 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 1444 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 1445 1446 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 1447 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 1448 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 1449 http://bugzilla.maptools.org/show_bug.cgi?id=2068 1450 14512009-10-29 Bob Friesenhahn <[email protected]> 1452 1453 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 1454 pointer" warnings. 1455 14562009-10-28 Bob Friesenhahn <[email protected]> 1457 1458 * html/tools.html: Add manual page links, and a summary 1459 description of tiffcrop. 1460 14612009-10-07 Bob Friesenhahn <[email protected]> 1462 1463 * configure.ac: x86_64 should use the same fill order as i386. 1464 14652009-09-24 Bob Friesenhahn <[email protected]> 1466 1467 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 1468 Nolde. Major updates to add significant functionality for reading 1469 and writing tile based images with bit depths not a multiple of 8 1470 which cannot be handled by tiffcp. 1471 14722009-09-03 Bob Friesenhahn <[email protected]> 1473 1474 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 1475 do_fancy_upsampling=FALSE in order to read raw data. Resolves 1476 "Bug 2090 - OJPEG crash with libjpeg v7". 1477 http://bugzilla.maptools.org/show_bug.cgi?id=2090 1478 14792009-09-03 Frank Warmerdam <[email protected]> 1480 1481 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 1482 interface when stoponerror is set. 1483 http://bugzilla.maptools.org/show_bug.cgi?id=2071 1484 14852009-08-30 Bob Friesenhahn <[email protected]> 1486 1487 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 1488 fix build with gcc when using the "-Wformat 1489 -Werror=format-security" flags. 1490 14912009-08-29 Bob Friesenhahn <[email protected]> 1492 1493 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 1494 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 1495 utilities tests. 1496 14972009-08-28 Bob Friesenhahn <[email protected]> 1498 1499 * tools/tiffinfo.c: tiffinfo should return error status to the 1500 caller. Register a private error callback to accomplish that. 1501 1502 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 1503 PNM formats so that we will be able to test more of the tools. 1504 While adding these test images I notice that bmp2tiff and gif2tiff 1505 only support ancient versions of their respective formats. 1506 15072009-08-27 Bob Friesenhahn <[email protected]> 1508 1509 * libtiff 4.0.0alpha4 released. 1510 1511 * HOWTO-RELEASE: Improved release instructions. 1512 15132009-08-24 Bob Friesenhahn <[email protected]> 1514 1515 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 1516 fixes for "Bug 2023 - nroff errors in manual pages". 1517 http://bugzilla.maptools.org/show_bug.cgi?id=2023 1518 1519 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 1520 CVE-2009-2347 libtiff: integer overflows in various inter-color 1521 space conversion tools". 1522 http://bugzilla.maptools.org/show_bug.cgi?id=2079 1523 1524 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 1525 Berkenbilt for "Bug 2024 - possible null pointer dereference with 1526 one-line fix". 1527 http://bugzilla.maptools.org/show_bug.cgi?id=2024 1528 1529 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 1530 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 1531 segfault after setting tdir_tag = IGNORE". 1532 http://bugzilla.maptools.org/show_bug.cgi?id=1895 1533 15342009-08-23 Bob Friesenhahn <[email protected]> 1535 1536 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 1537 tiffcrop.sh into a collection of many specific tests. Re-wrote 1538 all of the existing tests to be based on some simple shell 1539 functions. Make distcheck works again. 1540 1541 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 1542 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 1543 tests under valgrind. 1544 15452009-08-21 Bob Friesenhahn <[email protected]> 1546 1547 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 1548 build. 1549 1550 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 1551 actually activated since it needed to be enabled in this 1552 Makefile.am. Also activated parallel-tests mode since it offers 1553 useful features such as per-test .log files and a summary test 1554 report .log file. 1555 15562009-08-20 Bob Friesenhahn <[email protected]> 1557 1558 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 1559 libtool 2.2.6. Enabled support for silent build rules 1560 (--enable-silent-rules or 'make V=0') and colorized tests. 1561 1562 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 1563 15642009-06-30 Frank Warmerdam <[email protected]> 1565 1566 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 1567 1568 * tools/tiffcp.c: add -c sgilog support. 1569 1570 * libtiff/tif_luv.c: correct return codes from encoderow to be 1571 1 on success instead of zero. 1572 http://bugzilla.maptools.org/show_bug.cgi?id=2069 1573 1574 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 1575 #1085 for a better underflow fix that errors properly. 1576 http://bugzilla.maptools.org/show_bug.cgi?id=2065 1577 http://bugzilla.maptools.org/show_bug.cgi?id=1985 1578 15792009-06-26 Frank Warmerdam <[email protected]> 1580 1581 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 1582 fails on oddly sized 12bit jpeg compressed ycbcr images. 1583 15842009-06-22 Frank Warmerdam <[email protected]> 1585 1586 * libtiff/tif_lzw.c: Fix buffer underflow bug. 1587 http://bugzilla.maptools.org/show_bug.cgi?id=2065 1588 15892009-06-21 Frank Warmerdam <[email protected]> 1590 1591 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 1592 for dual mode 8/12 bit jpeg support. 1593 15942009-06-03 Frank Warmerdam <[email protected]> 1595 1596 * libtiff/tif_write.c: do not override the planar configuration to be 1597 contig for one sample files if planar configuration is already set. 1598 http://bugzilla.maptools.org/show_bug.cgi?id=2057 1599 16002009-06-02 Frank Warmerdam <[email protected]> 1601 1602 * libtiff/libtiff.def: Add TIFFUnsetField. 1603 16042009-05-03 Frank Warmerdam <[email protected]> 1605 1606 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 1607 error reports to use "%s" as format string. 1608 http://trac.osgeo.org/gdal/ticket/2976 1609 16102009-03-12 Frank Warmerdam <[email protected]> 1611 1612 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 1613 for some codecs (#2020). 1614 16152009-02-12 Frank Warmerdam <[email protected]> 1616 1617 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 1618 http://bugzilla.maptools.org/show_bug.cgi?id=2005 1619 16202009-02-09 Frank Warmerdam <[email protected]> 1621 1622 * libtiff/tif_dirread.c: Improve allocation safety when allocated 1623 buffer for large tags. (#1998) Related to (#1993) 1624 16252009-02-06 Frank Warmerdam <[email protected]> 1626 1627 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 1628 test suite should pass. 1629 16302009-02-05 Frank Warmerdam <[email protected]> 1631 1632 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 1633 but at the 2GB boundary to avoid overflow on 32bit systems. 1634 http://bugzilla.maptools.org/show_bug.cgi?id=1993 1635 1636 * libtiff/tif_dirread.c: Remove some assertions that blow due to 1637 corrupt files rather than in response to library internal 1638 inconsistencies. 1639 http://bugzilla.maptools.org/show_bug.cgi?id=1995 1640 http://bugzilla.maptools.org/show_bug.cgi?id=1991 1641 1642 * libtiff/tif_dirread.c: Fixed testing for failed result from 1643 TIFFReadDirectoryFindFieldInfo(). 1644 http://bugzilla.maptools.org/show_bug.cgi?id=1992 1645 16462009-01-23 Frank Warmerdam <[email protected]> 1647 1648 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 1649 http://bugzilla.maptools.org/show_bug.cgi?id=1911 1650 1651 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 1652 1653 http://bugzilla.maptools.org/show_bug.cgi?id=1924 1654 1655 * tools/tiffcrop.c: initialize xres/yres values. 1656 1657 * test/*.sh - default ${srcdir} to local directory. 1658 1659 * test/common.sh - start verbose mode after common settings. 1660 1661 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 1662 avoid type mismatches on different platforms. 1663 http://bugzilla.maptools.org/show_bug.cgi?id=1889 1664 16652009-01-22 Frank Warmerdam <[email protected]> 1666 1667 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 1668 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 1669 1670 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 1671 defined, primarily to reduce prototype warnings on windows. 1672 1673 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 1674 about unused parameters, and uninitialized variables. 1675 16762009-01-21 Bob Friesenhahn <[email protected]> 1677 1678 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 1679 order to trace full execution detail while executing the test suite. 1680 16812009-01-20 Frank Warmerdam <[email protected]> 1682 1683 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 1684 16852009-01-20 Bob Friesenhahn <[email protected]> 1686 1687 * test/Makefile.am (CLEANFILES): Make sure that test output files 1688 are removed by 'make clean' 1689 1690 * Update autotools for 4.0.0 beta3 1691 1692 * 4.0.0 beta3 produced. 1693 16942009-01-12 Bob Friesenhahn <[email protected]> 1695 1696 * test/tiffcrop.sh: New test script for tiffcrop from Richard 1697 Nolde. 1698 1699 * tools/tiff2ps.c: Remove spurious message to stderr. 1700 17012009-01-11 Bob Friesenhahn <[email protected]> 1702 1703 * tools/tiff2ps.c: Incorporated significant functionality update 1704 from Richard Nolde. In particular, support for rotating the image 1705 by 90, 180, 270, and 'auto' has been added. 1706 1707 * man/tiffcrop.1: Incorporated documentation updates from Richard 1708 Nolde. 1709 1710 * tools/tiffcrop.c: Incorporated significant functionality update 1711 from Richard Nolde. 1712 17132008-12-31 Bob Friesenhahn <[email protected]> 1714 1715 * libtiff/tiffio.h: GCC will now validate format specifications 1716 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 1717 TIFFWarningExt() in order to reveal bugs. 1718 1719 * Many fixes throughout to work better as a 64-bit build. 1720 17212008-12-30 Bob Friesenhahn <[email protected]> 1722 1723 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 1724 tags now require 64-bit parameter rather than 32-bit. 1725 1726 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 1727 64-bit values. 1728 1729 * tools/thumbnail.c: Eliminate crash noticed while running test 1730 suite. 1731 17322008-12-29 Bob Friesenhahn <[email protected]> 1733 1734 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 1735 Initialize stack variables to avoid compiler warning. 1736 1737 * tools/tiffinfoce.c (main): Use toff_t for offset type when 1738 retrieving offset of EXIF IFD. 1739 1740 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 1741 TIFFClientOpen() callback and other external function definitions. 1742 1743 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 1744 type now. Fixes crash when dumping files containing an EXIF IFD. 1745 1746 * m4/libtool.m4: Update to libtool 2.2.6. 1747 17482008-12-21 Frank Warmerdam <[email protected]> 1749 1750 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 1751 1752 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 1753 strip for the last partial strip in a jpeg compressed file. 1754 http://bugzilla.maptools.org/show_bug.cgi?id=1981 1755 17562008-10-29 Frank Warmerdam <[email protected]> 1757 1758 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 1759 we take the shortcut to only update the strip/tile offsets in place. 1760 http://trac.osgeo.org/gdal/ticket/2621 1761 17622008-10-21 Andrey Kiselev <[email protected]> 1763 1764 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 1765 the older versions retained). 1766 17672008-10-09 Frank Warmerdam <[email protected]> 1768 1769 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 1770 IPP enabled version of libjpeg from Intel. 1771 http://bugzilla.maptools.org/show_bug.cgi?id=1951 1772 17732008-09-05 Andrey Kiselev <[email protected]> 1774 1775 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 1776 Required for libtiff 4.0. 1777 1778 * tools/tiffsplit.c: Use dynamically allocated array instead of static 1779 when constructing output file names. 1780 17812008-09-03 Andrey Kiselev <[email protected]> 1782 1783 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 1784 doing the filename/path construction. 1785 1786 * tools/tiff2pdf.c: More appropriate format string in 1787 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 1788 1789 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 1790 1791 http://bugzilla.maptools.org/show_bug.cgi?id=1929 1792 1793 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 1794 CVE-2008-2327 security issue. 1795 17962008-09-01 Frank Warmerdam <[email protected]> 1797 1798 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 1799 1800 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 1801 depending on whether the file is bigtiff or classic tiff. 1802 http://bugzilla.maptools.org/show_bug.cgi?id=1917 1803 18042008-08-12 Edward Lam <[email protected]> 1805 1806 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 1807 consistent (__int64) casting when testing if _lseeki64 has 1808 successfully seeked as requested. This is necessary for large 1809 file support to work since off_t is only 32-bit. 1810 18112008-07-29 Frank Warmerdam <[email protected]> 1812 1813 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 1814 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 1815 with control logic to return runtime errors (c/o Even Rouault) (#1927). 1816 18172008-06-17 Frank Warmerdam <[email protected]> 1818 1819 * tools/tiffcrop.c: Fix some portability problems. 1820 1821 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 1822 used in tif_jpeg.c. 1823 1824 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 1825 as TIFFOpen(). 1826 18272008-06-01 Frank Warmerdam <[email protected]> 1828 1829 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 1830 like Sparc/Solaris. 1831 http://bugzilla.maptools.org/show_bug.cgi?id=1892 1832 18332008-05-27 Frank Warmerdam <[email protected]> 1834 1835 * libtiff.def: Add TIFFFindField 1836 http://bugzilla.maptools.org/show_bug.cgi?id=1891 1837 18382008-05-26 Frank Warmerdam <[email protected]> 1839 1840 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 1841 1842 * li2008-04-15 Andrey Kiselev <[email protected]> 1843 1844btiff/tif_win32.c: Replace custom Win32 memory api with generic 1845 POSIX one. No apparent value to use of GlobalAlloc() in the modern 1846 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 1847 1848 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 1849 in windows version (care of Edward Lam). 1850 18512008-05-24 Frank Warmerdam <[email protected]> 1852 1853 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 1854 compression codec codes. 1855 1856 * tif_dirwrite.c: fix potential memory leak. 1857 1858 * tif_dirread.c: Fix unchecked malloc result. 1859 18602008-05-24 Bob Friesenhahn <[email protected]> 1861 1862 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 1863 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 1864 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 1865 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 1866 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 1867 suggestions from Lee Howard posted to the tiff list on 13 Sep 1868 2007. 1869 18702008-05-23 Frank Warmerdam <[email protected]> 1871 1872 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 1873 possible runtime problem reported by coverity. 1874 1875 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 1876 1877 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 1878 http://bugzilla.maptools.org/show_bug.cgi?id=1888 1879 1880 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 1881 1882 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 1883 1884 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 1885 Cleanup scanline allocation to avoid coverity warning. 1886 1887 * tools/thumbnail.c: Check for TIFFOpen() failure. 1888 18892008-05-18 Frank Warmerdam <[email protected]> 1890 1891 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 1892 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 1893 why this is needed. 1894 18952008-05-09 Bob Friesenhahn <[email protected]> 1896 1897 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 1898 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 1899 19002008-04-15 Andrey Kiselev <[email protected]> 1901 1902 * test/: Test suite updated. Everything is passed now. 1903 1904 * libtiff/tif_dirinfo.c: Fixed description of the 1905 TIFFTAG_NUMBEROFINKS tag. 1906 19072008-04-14 Andrey Kiselev <[email protected]> 1908 1909 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 1910 Get rid of some of "dereferencing type-punned" warnings by converting 1911 tdir_offset field of TIFFDirEntry structure into union. 1912 19132008-04-10 Andrey Kiselev <[email protected]> 1914 1915 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 1916 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 1917 from the public interface. Type of its 'count' parameter changed 1918 from uint32 to tmsize_t. 1919 1920 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 1921 of the tiff structure have the size_t type instead of uint32. 1922 19232008-04-09 Andrey Kiselev <[email protected]> 1924 1925 * tools/tiffdump.c: Added support for MSVS 6.0. 1926 1927 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 1928 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 1929 point values on MSVS 6.0 platform. 1930 19312008-03-14 Frank Warmerdam <[email protected]> 1932 1933 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 1934 TIFFReadDirEntryArray() since they are interfering with seemingly 1935 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 1936 19372008-02-09 Joris Van Damme <[email protected]> 1938 1939 * tif_dirread.c: Added handling for the case of number of values for 1940 PageNumber tag different from 2 (previously resulted in an assert 1941 indicating lack of handling and was forgotten about) 1942 19432008-02-01 Frank Warmerdam <[email protected]> 1944 1945 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 1946 the actual jpeg data stream if the first strip/tile has zero size. 1947 This is the case when GDAL creates a new file with zero sizes, closes 1948 and reopens it. 1949 19502008-01-07 Frank Warmerdam <[email protected]> 1951 1952 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 1953 19542008-01-01 Frank Warmerdam <[email protected]> 1955 1956 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 1957 1958 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 1959 targets. 1960 1961 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 1962 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 1963 (x64). 1964 1965 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 1966 and TIFFFieldWithName() now return TIFFField pointers instead of 1967 TIFFFieldInfo pointers. 1968 1969 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 1970 exist. This makes it compile again on Windows 1971 1972 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 1973 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 1974 1975 * test/rewrite_tag.c: New test for TIFFRewriteField(). 1976 19772007-12-31 Frank Warmerdam <[email protected]> 1978 1979 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 1980 rewrites one field "on disk" updating an existing directory 1981 entry. Lots of limitations still... 1982 1983 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 1984 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 1985 the strip offset/size values are dirty but nothing else about the 1986 directory is dirty. In flush handle "just stripmaps dirty" as a 1987 special case that just rewrites these values without otherwise 1988 modifying the directory on disk using TIFFRewriteField(). 1989 1990 We also modify logic so that in update mode the directory is not 1991 marked dirty on read, but only when something is changed. This 1992 means we need to keep track of updates to the stripmap stuff in 1993 TIFFAppendToStrip(). 1994 19952007-12-10 Frank Warmerdam <[email protected]> 1996 1997 * tif_jpeg.c: Improve ability to switch between encoding and decoding 1998 in the jpeg code (gdal bug #2033). 1999 20002007-11-23 Frank Warmerdam <[email protected]> 2001 2002 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 2003 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 2004 rawcp/rawcc buffer are for writing and thus may require flushing. 2005 Necessary to distinguish whether they need to be written to disk when 2006 in mixed read/write mode and doing a mixture of writing followed by 2007 reading. http://trac.osgeo.org/gdal/ticket/1758 2008 20092007-11-23 Andrey Kiselev <[email protected]> 2010 2011 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 2012 from Alexey Chupahin. 2013 20142007-11-02 Frank Warmerdam <[email protected]> 2015 2016 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 2017 establishing if an existing tile can be rewritten to the same location 2018 by comparing the current size to all the other blocks in the same 2019 directory. This is dangerous in many situations and can easily 2020 corrupt a file. (observed in esoteric GDAL situation that's hard to 2021 document). This change involves leaving the stripbytecount[] values 2022 unaltered till TIFFAppendToStrip(). Now we only write a block back 2023 to the same location it used to be at if the new data is the same 2024 size or smaller - otherwise we move it to the end of file. 2025 2026 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 2027 data when writing the directory just because we have BEENWRITING at 2028 some point in the past. This was causing odd junk to be written out 2029 in a tile of data when a single tile had an interleaving of reading 2030 and writing with reading last. (highlighted by gdal 2031 autotest/gcore/tif_write.py test 7. 2032 2033 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 2034 modifying callers buffer. 2035 http://trac.osgeo.org/gdal/ticket/1965 2036 2037 * tif_predict.c/h: more fixes related to last item, keeping a 2038 distinct pfunc for encode and decode cases as these were getting 2039 mixed up sometimes. 2040 http://trac.osgeo.org/gdal/ticket/1948 2041 20422007-11-01 Frank Warmerdam <[email protected]> 2043 2044 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 2045 predictor based encoding and decoding works in read-write update 2046 mode properly. 2047 http://trac.osgeo.org/gdal/ticket/1948 2048 20492007-10-24 Joris Van Damme <[email protected]> 2050 2051 * tif_dirread.c: Fixed problem with bogus file triggering 2052 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 2053 ChopUpSingleUncompressedStrip 2054 20552007-10-22 Joris Van Damme <[email protected]> 2056 2057 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 2058 at best, access violation at worst, when subsampled JPEG compressed imagery 2059 is decoded without the JPEG_COLORMODE feature 2060 20612007-10-11 Frank Warmerdam <[email protected]> 2062 2063 * html/index.html: Update "people responsible" section. 2064 20652007-10-05 Frank Warmerdam <[email protected]> 2066 2067 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 2068 as reported on the mailing list. 2069 20702007-10-01 Joris Van Damme <[email protected]> 2071 2072 * changed some more incorrect %lud printf flags to %lu 2073 20742007-09-29 Joris Van Damme <[email protected]> 2075 2076 * tif_dirread.c: Strip chopping interfered badly with uncompressed 2077 subsampled images because it tried to divide subsampled rowblocks, 2078 leading to all sorts of errors throughout the library for these 2079 images. Fixed by making strip chopping divide in row counts that 2080 are a multiple of vertical subsampling value. 2081 20822007-09-28 Joris Van Damme <[email protected]> 2083 2084 * tif_dirread.c: Logical cast working around compiler warning 2085 2086 * tif_read.c: Correction of some error flags and parameter lists 2087 20882007-09-27 Joris Van Damme <[email protected]> 2089 2090 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 2091 when dealing with large bitspersample values, shutting up purification 2092 tools that warn about truncation, though it remains incorrect and 2093 indicates a conceptual problem there. 2094 2095 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 2096 of first IFD) to proper place because it badly interfered with memory 2097 mapping, resulting in mapping flag even with dummy mapping functions 2098 that returned 0 whilst at the same time the mapping tif_size wasn't 2099 set, thus resulting in continuous incorrect beyond-eof errors. 2100 21012007-09-24 Joris Van Damme <[email protected]> 2102 2103 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 2104 inconsistent use of const in tiffFields and exifFields definition 2105 21062007-09-20 Frank Warmerdam <[email protected]> 2107 2108 * tif_dirwrite.c: Always write tile/strip offsets and sizes 2109 using LONG8 type when output format is BigTIFF. The 2110 TIFFWriteDirectoryTagLongLong8Array() function was restructured 2111 accordingly. 2112 2113 * tif_dirread.c: Improvements to error reporting text in 2114 TIFFFetchDirectory(). 2115 21162007-09-19 Bob Friesenhahn <[email protected]> 2117 2118 * test/images: Added a small collection of test images for use by 2119 test programs and scripts. 2120 * test/tiffinfo.sh: A trivial example test script. 2121 * test/common.sh: Added small script for setting the environment 2122 used by script-based tests. 2123 21242007-08-24 Frank Warmerdam <[email protected]> 2125 2126 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 2127 zero when writing directory contents to preserve the ability to 2128 rewrite directories in place, even in the middle of a directory 2129 chain. 2130 2131 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 2132 definitions that are missing. Existing definitions are silently 2133 ignored. 2134 2135 * tif_dirread.c: Add runtime error for fields for which no definition 2136 is found (in addition to an assert for developers) in 2137 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 2138 prudent. 2139 21402007-08-10 Joris Van Damme <[email protected]> 2141 2142 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 2143 from _TIFFRGBAImage structure to revert unwanted ABI change. 2144 21452007-08-10 Joris Van Damme <[email protected]> 2146 2147 * libtiff/tif_win32.c: use SetFilePointer instead of 2148 SetFilePointerEx, as per bug 2149 2150 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 2151 21522007-07-19 Andrey Kiselev <[email protected]> 2153 2154 * libtiff/tif_stream.cxx: Put all callback functions declarations 2155 inside extern "C" block. 2156 2157 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 2158 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 2159 formatter instead of "%lld" with MSVC compiler. 2160 2161 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 2162 _TIFFUInt64ToDouble() functions. 2163 21642007-07-18 Andrey Kiselev <[email protected]> 2165 2166 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 2167 integer constants. 2168 2169 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 2170 remove tif_config.h/tiffconf.h during cleaning. As per bug 2171 2172 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 2173 2174 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 2175 2176 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 2177 21782007-07-13 Andrey Kiselev <[email protected]> 2179 2180 * libtiff 4.0.0alpha released. 2181 21822007-07-12 Andrey Kiselev <[email protected]> 2183 2184 * tools/tiff2pdf.c: Added missed extern optind as per bug 2185 2186 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 2187 2188 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 2189 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 2190 extending scheme completed. 2191 21922007-07-11 Bob Friesenhahn <[email protected]> 2193 2194 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 2195 use standard C++ library size types and attempt to detect overflow 2196 cases. 2197 21982007-07-08 Andrey Kiselev <[email protected]> 2199 2200 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 2201 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 2202 tag extending scheme. Use the new scheme everywhere. 2203 2204 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 2205 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 2206 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 2207 TIFFFIeldInfo structure replaced with TIFFField structure. 2208 TIFFFieldInfo retained for the backward compatibility. 2209 22102007-07-05 Bob Friesenhahn <[email protected]> 2211 2212 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 2213 defined. 2214 22152007-07-04 Andrey Kiselev <[email protected]> 2216 2217 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 2218 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 2219 removed. 2220 2221 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 2222 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 2223 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 2224 These tags are not codec-specific and relate to image content, so 2225 process them as other normal tags. 2226 2227 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 2228 public tiffio.h to private tif_dir.h. 2229 2230 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 2231 outdated. 2232 22332007-07-03 Andrey Kiselev <[email protected]> 2234 2235 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 2236 tif_win3.c}: Obsoleted portability stuff removed. 2237 2238 * tools/tiff2ps.c: Added support 16-bit images as per bug 2239 2240 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 2241 2242 Patch from William Bader. 2243 2244 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 2245 significant upgrade of the whole utility as per bug 2246 2247 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 2248 2249 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 2250 PDF file using TIFFClientOpen() machinery as it is implemented 2251 by Leon Bottou. 2252 22532007-06-26 Bob Friesenhahn <[email protected]> 2254 2255 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 2256 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 2257 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 2258 allow returning -1 for errors. 2259 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 2260 22612007-06-25 Bob Friesenhahn <[email protected]> 2262 2263 * port/strtoull.c: New porting function in case strtoull() is not 2264 available on the target system. 2265 * configure.ac: Add configure support for determining sized types 2266 in a portable way and performing necessary substitutions in 2267 tif_config.h and tiffconf.h. Updated tiff.h to use the new 2268 definitions. 2269 22702007-04-27 Andrey Kiselev <[email protected]> 2271 2272 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 2273 2274 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 2275 22762007-04-07 Andrey Kiselev <[email protected]> 2277 2278 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 2279 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 2280 tif_predict.c, tif_zip.c}: Finally fix bug 2281 2282 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 2283 2284 by introducing _TIFFMergeFieldInfo() returning integer error status 2285 instead of void in case of problems with field merging (e.g., if the 2286 field with such a tag already registered). TIFFMergeFieldInfo() in 2287 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 2288 check returned value. 2289 22902007-04-07 Frank Warmerdam <[email protected]> 2291 2292 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 2293 blocks in TIFF_DownSample_Subsampled() (bug 1542). 2294 22952007-04-06 Frank Warmerdam <[email protected]> 2296 2297 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 2298 will convert from decompressor to compressor or compress to decompress 2299 if required by the force arguments. This works around a problem in 2300 where the JPEGFixupTestSubsampling() may cause a decompressor to 2301 be setup on a directory when later a compressor is required with the 2302 force flag set. Occurs with the addtiffo program for instance. 2303 23042007-04-06 Andrey Kiselev <[email protected]> 2305 2306 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 2307 functionality from Richard Nolde. As per bug 2308 2309 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 2310 23112007-03-28 Frank Warmerdam <[email protected]> 2312 2313 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 2314 23152007-03-17 Joris Van Damme <[email protected]> 2316 2317 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 2318 23192007-03-07 Joris Van Damme <[email protected]> 2320 2321 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 2322 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 2323 factor. This bug is mentioned in: 2324 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 2325 http://www.asmail.be/msg0054766825.html 2326 23272007-03-07 Joris Van Damme <[email protected]> 2328 2329 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 2330 2331 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 2332 unused arguments by standard C indication for the same 2333 23342007-02-27 Andrey Kiselev <[email protected]> 2335 2336 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 2337 counters in TIFFFetchData(). Should finally fix the issue 2338 2339 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 2340 23412007-02-24 Andrey Kiselev <[email protected]> 2342 2343 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 2344 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 2345 2346 * libtiff/tif_dirread.c: Added special function to handle 2347 SubjectDistance EXIF tag as per bug 2348 2349 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 2350 2351 * tools/tiff2pdf.c: Do not assume inches when the resolution units 2352 do not specified. As per bug 2353 2354 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 2355 2356 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 2357 it was set as infinite. As per bug 2358 2359 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 2360 2361 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 2362 by Richard Nolde. As per bug 2363 2364 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 2365 23662007-02-22 Andrey Kiselev <[email protected]> 2367 2368 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 2369 ExtraSamples == 999 produced by Corel Draw. As per bug 2370 2371 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 2372 2373 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 2374 changed from tsize_t to uint32 to be able to work with data arrays 2375 larger than 2GB. Fixes bug 2376 2377 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 2378 2379 Idea submitted by Matt Hancher. 2380 23812007-01-31 Andrey Kiselev <[email protected]> 2382 2383 * tools/tif2rgba.c: This utility does not work properly on big-endian 2384 architectures. It was fixed including the bug 2385 2386 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 2387 23882007-01-15 Mateusz Loskot <[email protected]> 2389 2390 * Submitted libtiff port for Windows CE platform 2391 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 2392 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 2393 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 2394 functons from tif_win32.c. 2395 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 2396 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 2397 standard header files for Windows CE build. 2398 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 2399 24002006-11-19 Frank Warmerdam <[email protected]> 2401 2402 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 2403 we move a strip. 2404 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 2405 24062006-10-13 Andrey Kiselev <[email protected]> 2407 2408 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 2409 in Gentoo bug (): 2410 2411 http://bugs.gentoo.org/show_bug.cgi?id=142383 2412 2413 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 2414 Though it is still far from the state of being working and useful. 2415 24162006-10-12 Andrey Kiselev <[email protected]> 2417 2418 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 2419 method. 2420 2421 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 2422 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 2423 2424 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 2425 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 2426 2427 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 2428 vulnerabilities, reported in Gentoo bug (): 2429 2430 http://bugs.gentoo.org/show_bug.cgi?id=142383 2431 24322006-09-28 Andrey Kiselev <[email protected]> 2433 2434 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 2435 vulnerabilities, as per Gentoo bug (): 2436 2437 http://bugs.gentoo.org/show_bug.cgi?id=142383 2438 24392006-09-27 Frank Warmerdam <[email protected]> 2440 2441 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 2442 encoding and decoding on the same read-write TIFF handle. The LZW 2443 code can now maintain encode and decode state at the same time. The 2444 ZIP code will switch back and forth as needed. 2445 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 2446 24472006-09-20 Frank Warmerdam <[email protected]> 2448 2449 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 2450 tif_config.vc.h for easier identification by folks using an IDE. 2451 24522006-07-25 Frank Warmerdam <[email protected]> 2453 2454 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 2455 24562006-07-19 Frank Warmerdam <[email protected]> 2457 2458 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 2459 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 2460 to bug report by Peng Gao with black strip at bottom of images. 2461 24622006-07-12 Frank Warmerdam <[email protected]> 2463 2464 * tif_dirwrite.c: make sure to use uint32 for wordcount in 2465 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 2466 It already seems to have been done for other field types. Needed 2467 for "tiffset" on files with geotiff ascii text. 2468 24692006-07-04 Bob Friesenhahn <[email protected]> 2470 2471 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 2472 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 2473 its use does not appear to be required, so use it only when it is 2474 available. 2475 24762006-06-24 Andrey Kiselev <[email protected]> 2477 2478 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 2479 2480 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 2481 function TIFFFetchDirectory() avoiding code duplication in 2482 TIFFReadDirectory() and TIFFReadCustomDirectory(). 2483 24842006-06-19 Frank Warmerdam <[email protected]> 2485 2486 * tools/tiff2pdf.c: Fix handling of -q values. 2487 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 2488 24892006-06-17 Frank Warmerdam <[email protected]> 2490 2491 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 2492 files. Modified TIFFReadDirectory() to not invoke 2493 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 2494 but one of them is zero. 2495 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 2496 24972006-06-08 Andrey Kiselev <[email protected]> 2498 2499 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 2500 checking code in the separate function TIFFCheckDirOffset(). 2501 2502 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 2503 2504 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 2505 2506 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 2507 2508 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 2509 2510 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 2511 2512 * tools/tiff2pdf.c: Fixed buffer overflow condition in 2513 t2p_write_pdf_string() as per bug 2514 2515 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 2516 25172006-06-07 Andrey Kiselev <[email protected]> 2518 2519 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 2520 support for JBIG compression scheme (34661 code) contributed by Lee 2521 Howard. As per bug 2522 2523 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 2524 2525 * configure, configure.ac: OJPEG support enabled by default. 2526 2527 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 2528 25292006-06-03 Bob Friesenhahn <[email protected]> 2530 2531 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 2532 TIFFPrintDirectory(). Joris Van Damme authored the fix. 2533 25342006-04-21 Andrey Kiselev <[email protected]> 2535 2536 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 2537 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 2538 2539 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 2540 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 2541 Added support for OpenVMS by Alexey Chupahin, [email protected]. 2542 25432006-04-20 Andrey Kiselev <[email protected]> 2544 2545 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 2546 Properly set the binary mode for stdin stream as per bug 2547 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 2548 2549 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 2550 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 2551 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 2552 tiffset.1}: Improvements in page formatting as per bug 2553 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 2554 2555 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 2556 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 2557 25582006-04-18 Frank Warmerdam <[email protected]> 2559 2560 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 2561 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 2562 25632006-04-12 Joris Van Damme <[email protected]> 2564 2565 * libtiff/tif_getimage.c: Added support for planarconfig separate 2566 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 2567 25682006-04-11 Joris Van Damme <[email protected]> 2569 2570 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 2571 - Conversion of unassociated alpha to associated alpha now done with 2572 more performant LUT, and calculation more correct 2573 - Conversion of 16bit data to 8bit data now done with 2574 more performant LUT, and calculation more correct 2575 - Bugfix of handling of 16bit RGB with unassociated alpha 2576 25772006-04-11 Joris Van Damme <[email protected]> 2578 2579 * libtiff/tif_getimage.c: 2580 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 2581 buffer for alpha strile and filled it, only to never read it back. 2582 Removed allocation and fill. 2583 - Minor rename of vars in gtTileSeparate and gtStripSeparate 2584 anticipating planned functionality extension 2585 25862006-04-08 Joris Van Damme <[email protected]> 2587 2588 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 2589 and pickTileSeparateCase to PickSeparateCase as both work on strips as 2590 well 2591 2592 * libtiff/tif_getimage.c: moved img->get selection from 2593 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 2594 logical hook for planned functionality extension 2595 25962006-04-08 Joris Van Damme <[email protected]> 2597 2598 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 2599 of inappropriate use of jpeg_abort instead of jpeg_destroy 2600 26012006-04-07 Joris Van Damme <[email protected]> 2602 2603 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 2604 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 2605 on subsampled images - this ought to get sorted when we feel brave 2606 enough to replace TIFFScanlineSize alltogether 2607 2608 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 2609 26102006-04-04 Joris Van Damme <[email protected]> 2611 2612 * libtiff/tiffio.h: added new type tstrile_t 2613 2614 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 2615 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 2616 toff_t* 2617 2618 * libtiff/tif_ojpeg.c: totally new implementation 2619 2620 * libtiff/tif_dirread.c: added several hacks to suit new support of 2621 OJPEG 2622 2623 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 2624 of OJPEG images in favor of tif_getimage.c native handling of 2625 YCbCr and desubsampling 2626 26272006-03-29 Frank Warmerdam <[email protected]> 2628 2629 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 2630 interpretation causes the "upsampled" flag to be recomputed. Fixes 2631 peculiar bug where photometric flag had to be set before jpegcolormode 2632 flag. 2633 26342006-03-25 Joris Van Damme <[email protected]> 2635 2636 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 2637 2638 * libtiff/tif_strip.c: temporarilly added two new versions of 2639 TIFFScanlineSize 2640 - TIFFNewScanlineSize: proposed new version, after all related 2641 issues and side-effects are sorted out 2642 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 2643 This needs further sorting out. 2644 26452006-03-25 Joris Van Damme <[email protected]> 2646 2647 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 2648 of last truncated strip data to TIFFWriteEncodedStrip 2649 26502006-03-25 Joris Van Damme <[email protected]> 2651 2652 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 2653 26542006-03-25 Joris Van Damme <[email protected]> 2655 2656 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 2657 2658 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 2659 2660 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 2661 prepare the path for new tif_ojpeg.c 2662 26632006-03-23 Andrey Kiselev <[email protected]> 2664 2665 * libtiff 3.8.2 released. 2666 2667 * tools/Makefile.am: Use runtime paths linker flags when rpath 2668 option enabled. 2669 26702006-03-21 Andrey Kiselev <[email protected]> 2671 2672 * libtiff/libtiff.def: Added missed exports as per bug 2673 http://bugzilla.remotesensing.org/attachment.cgi?id=337 2674 2675 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 2676 tools/Makefile.vc: Makefiles improvements as per bug 2677 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 2678 2679 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 2680 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 2681 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 2682 2683 * libtiff/tif_strip.c: Take subsampling in account when calculating 2684 TIFFScanlineSize(). 2685 2686 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 2687 26882006-03-17 Andrey Kiselev <[email protected]> 2689 2690 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 2691 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 2692 2693 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 2694 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 2695 26962006-03-16 Andrey Kiselev <[email protected]> 2697 2698 * libtiff/tiffiop.h: Added decalration for 2699 _TIFFSetDefaultCompressionState(). 2700 2701 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 2702 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 2703 codec cleanup methods. As per bug 2704 2705 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 2706 27072006-03-15 Andrey Kiselev <[email protected]> 2708 2709 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 2710 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 2711 2712 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 2713 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 2714 2715 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 2716 removed; move here the STRIP_SIZE_DEFAULT macro definition. 2717 2718 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 2719 macro definition. 2720 2721 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 2722 27232006-03-14 Andrey Kiselev <[email protected]> 2724 2725 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 2726 in TIFFReadDirectory, because it is always set at the start of 2727 function and we allow TIFFs without that tag set. 2728 27292005-03-13 Andrey Kiselev <[email protected]> 2730 2731 * libtiff 3.8.1 released. 2732 27332006-03-07 Andrey Kiselev <[email protected]> 2734 2735 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 2736 function as per bug 2737 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2738 2739 * libtiff/tif_dirread.c: More wise check for integer overflow 2740 condition as per bug 2741 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2742 2743 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 2744 Properly restore setfield/getfield methods in cleanup functions. As 2745 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2746 27472006-03-03 Andrey Kiselev <[email protected]> 2748 2749 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 2750 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 2751 2752 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 2753 TIFFPredictorCleanup() in codec cleanup methods. As per bug 2754 2755 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2756 2757 * libtiff/tif_dirread.c: Fixed integer overflow condition in 2758 TIFFFetchData() function. As per bug 2759 2760 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2761 27622006-03-01 Andrey Kiselev <[email protected]> 2763 2764 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 2765 TIFFSetField() method, not directly. As per bug 2766 2767 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 2768 2769 * tools/ppm2tiff.c: Added support for PBM files as per bug 2770 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 2771 27722006-02-27 Andrey Kiselev <[email protected]> 2773 2774 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 2775 to avoid crash as per bug 2776 2777 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 2778 27792006-02-26 Andrey Kiselev <[email protected]> 2780 2781 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 2782 t2p_sample_rgba_to_rgb() was used in place of each other, that was 2783 resulted in problems with RGBA images with associated alpha. 2784 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 2785 27862006-02-23 Andrey Kiselev <[email protected]> 2787 2788 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 2789 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 2790 2791 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 2792 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 2793 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 2794 2795 * tools/tiff2ps.c: Properly scale all the pages when converting 2796 multipage TIFF with /width/height/center options set. As per bug 2797 2798 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 2799 28002006-02-15 Andrey Kiselev <[email protected]> 2801 2802 * tools/tiff2pdf.c: Do not create output file until all option checks 2803 will be done. As per bug 2804 2805 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 2806 2807 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 2808 list of input files as per bug: 2809 2810 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 2811 28122006-02-09 Andrey Kiselev <[email protected]> 2813 2814 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 2815 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 2816 2817 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 2818 TIFFRGBAImage interface. 2819 2820 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 2821 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 2822 28232006-02-07 Frank Warmerdam <[email protected]> 2824 2825 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 2826 compressed TIFF files, per submission from Dan Cobra. 2827 28282006-02-07 Andrey Kiselev <[email protected]> 2829 2830 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 2831 cast values to avoid warnings. As per bug 2832 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2833 2834 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 2835 appropriate. As per bug 2836 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2837 2838 * libtiff/tif_aux.c: Fixed type of temporary variable in 2839 _TIFFCheckMalloc() as per bug 2840 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2841 28422006-02-06 Andrey Kiselev <[email protected]> 2843 2844 * libtiff/tif_aux.c: Return static array when fetching default 2845 YCbCrCoefficients (another problem, reported a the 2846 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 2847 28482006-02-03 Andrey Kiselev <[email protected]> 2849 2850 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 2851 YCbCrSubsampling and DotRange tags as per bugs 2852 2853 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 2854 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 2855 2856 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 2857 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 2858 2859 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 2860 28612006-01-23 Andrey Kiselev <[email protected]> 2862 2863 * libtool related stuff updated from the 2.1a branch. 2864 28652006-01-11 Frank Warmerdam <[email protected]> 2866 2867 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 2868 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 2869 properly as per bug: 2870 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 2871 28722006-01-09 Bob Friesenhahn <[email protected]> 2873 2874 * configure.ac: Fix with_default_strip_size comparison as reported 2875 by Norihiko Murase. 2876 28772006-01-08 Bob Friesenhahn <[email protected]> 2878 2879 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 2880 incorrectly, tests were not actually testing the uninstalled 2881 libtiff. Now they are. 2882 28832006-01-04 Andrey Kiselev <[email protected]> 2884 2885 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 2886 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 2887 should be uint32 value. 2888 28892006-01-02 Bob Friesenhahn <[email protected]> 2890 2891 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 2892 be used if build directory is not the same as source directory. 2893 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 2894 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 2895 and re-sorted tag names in alphabetical order. 2896 28972005-12-29 Andrey Kiselev <[email protected]> 2898 2899 * libtiff 3.8.0 released. 2900 29012005-12-28 Bob Friesenhahn <[email protected]> 2902 2903 * tools/bmp2tiff.c (main): Fixed warning regarding returning 2904 inconsistent types from a condition. 2905 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 2906 format. 2907 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 2908 29092005-12-28 Joris Van Damme <[email protected]> 2910 2911 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 2912 29132005-12-27 Andrey Kiselev <[email protected]> 2914 2915 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 2916 windows.h, to reduce the compile time. 2917 29182005-12-26 Bob Friesenhahn <[email protected]> 2919 2920 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 2921 29222005-12-26 Andrey Kiselev <[email protected]> 2923 2924 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 2925 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 2926 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 2927 private functions to retrieve FieldInfo arrays. 2928 29292005-12-24 Bob Friesenhahn <[email protected]> 2930 2931 * html/build.html: Added some additional instructions for when 2932 building using MSVC under Windows. Also fixed two HTML syntax 2933 errors and used HTML Tidy to tidy up the HTML syntax and 2934 formatting. 2935 29362005-12-24 Andrey Kiselev <[email protected]> 2937 2938 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 2939 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 2940 StoNits tags custom. 2941 29422005-12-23 Andrey Kiselev <[email protected]> 2943 2944 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 2945 WhitePoint tag custom. 2946 2947 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 2948 29492005-12-23 Joris Van Damme <[email protected]> 2950 2951 * libtiff/tiffio.h: fixed typo that potentially resulted in 2952 redefininition of USE_WIN32_FILEIO 2953 2954 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 2955 calls in core LibTiff. 2956 29572005-12-21 Andrey Kiselev <[email protected]> 2958 2959 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 2960 Photoshop and ICCProfile tags custom. 2961 29622005-12-21 Joris Van Damme <[email protected]> 2963 2964 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 2965 newer code to get context indicator in error handler and still 2966 remain compatible with older code: Done TIFFError calls everywhere 2967 except in tools 2968 29692005-12-20 Andrey Kiselev <[email protected]> 2970 2971 * tools/tiffcp.c: Added many error reporting messages; fixed integer 2972 overflow as per bug 2973 2974 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 2975 29762005-12-16 Frank Warmerdam <[email protected]> 2977 2978 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 2979 YCbCr images in jpeg compressed TIFF files. 2980 29812005-12-14 Andrey Kiselev <[email protected]> 2982 2983 * tools/tiffcp.c: Return non-zero status when reading fails (again). 2984 29852005-12-13 Andrey Kiselev <[email protected]> 2986 2987 * tools/tiffcp.c: Return non-zero status when reading fails. 2988 29892005-12-12 Andrey Kiselev <[email protected]> 2990 2991 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 2992 29932005-12-09 Andrey Kiselev <[email protected]> 2994 2995 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 2996 custom. 2997 2998 * tools/tiffinfo.c: Print EXIF directory contents if exist. 2999 3000 * libtiff/tiff.h: Few EXIF tag numbers added. 3001 3002 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 3003 tiffio.h}: Preliminary support to read custom directories. New 3004 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 3005 30062005-12-07 Andrey Kiselev <[email protected]> 3007 3008 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 3009 More work to implement custom directory read support. 3010 3011 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 3012 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 3013 tags custom. 3014 30152005-12-05 Andrey Kiselev <[email protected]> 3016 3017 * libtiff/tif_dirread.c: One more workaround for broken 3018 StripByteCounts tag. Handle the case when StripByteCounts array filled 3019 with completely wrong values. 3020 30212005-11-30 Andrey Kiselev <[email protected]> 3022 3023 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 3024 in the TIFFOpenW() function as per bug 3025 3026 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 3027 3028 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 3029 functions as per bug 3030 3031 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 3032 30332005-11-20 Frank Warmerdam <[email protected]> 3034 3035 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 3036 for MS MDI format. 3037 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 3038 3039 * .cvsignore: many files added, and a few update according 3040 to suggestion of Brad HArds on tiff mailing list. 3041 30422005-11-03 Frank Warmerdam <[email protected]> 3043 3044 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 3045 public. 3046 30472005-10-31 Andrey Kiselev <[email protected]> 3048 3049 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 3050 as per bug 3051 3052 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 3053 3054 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 3055 as per bug 3056 3057 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 3058 3059 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 3060 problem as per bug 3061 3062 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 3063 3064 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 3065 3066 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 3067 3068 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 3069 ResolutionUnit tags modifiable during write process. As per bug 3070 3071 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 3072 3073 * tools/tiffsplit.c: Copy fax related fields over splitted parts 3074 as per bug 3075 3076 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 3077 30782005-10-21 Frank Warmerdam <[email protected]> 3079 3080 * tif_dirread.c: Don't try and split single strips into "0" strips 3081 in ChopUpSingleUncompressedStrip. This happens in some degenerate 3082 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 3083 30842005-10-20 Joris Van Damme <[email protected]> 3085 3086 * tif_fax3.c: changed 'at scanline ...' style warning/errors 3087 with incorrect use of tif_row, to 'at line ... of 3088 strip/tile ...' style 3089 30902005-10-15 Frank Warmerdam <[email protected]> 3091 3092 * tif_write.c: fixed setting of planarconfig as per bug report 3093 on the mailing list from Joris. 3094 30952005-10-07 Andrey Kiselev <[email protected]> 3096 3097 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 3098 tif_dirread.c}: Make the default strip size configurable via the 3099 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 3100 31012005-09-30 Bob Friesenhahn <[email protected]> 3102 3103 * html/support.html: Fixed link to documentation on Greg Ward's 3104 LogLuv TIFF format. 3105 31062005-09-28 Andrey Kiselev <[email protected]> 3107 3108 * tools/tiffdump.c: Fixed crash when reading malformed tags. 3109 31102005-09-20 Andrey Kiselev <[email protected]> 3111 3112 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 3113 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 3114 31152005-09-12 Andrey Kiselev <[email protected]> 3116 3117 * libtiff 3.7.4 released. 3118 3119 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 3120 from Patrick Welche (all scripts moved in the 'config' and 'm4' 3121 directories). 3122 31232005-09-12 Frank Warmerdam <[email protected]> 3124 3125 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 3126 31272005-09-05 Frank Warmerdam <[email protected]> 3128 3129 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 3130 also set it to NULL to avoid double free when re-setting custom 3131 string fields as per: 3132 3133 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 3134 31352005-08-12 Frank Warmerdam <[email protected]> 3136 3137 * libtiff/tif_print.c: avoid signed/unsigned warning. 3138 3139 * libtiff/tif_dirread.c: removed unused variable. 3140 31412005-07-30 Frank Warmerdam <[email protected]> 3142 3143 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 3144 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 3145 pass on bigendian (macosx) system. 3146 31472005-07-28 Andrey Kiselev <[email protected]> 3148 3149 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 3150 CheckMalloc() function to _TIFFCheckMalloc() and make it available 3151 globally as an internal helper routine. 3152 31532005-07-27 Andrey Kiselev <[email protected]> 3154 3155 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 3156 the custom tags handling code. 3157 31582005-07-26 Andrey Kiselev <[email protected]> 3159 3160 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 3161 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 3162 function, use TIFFFetchNormalTag() instead as per bug 3163 3164 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 3165 3166 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 3167 instead. 3168 3169 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 3170 3171 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3172 31732005-07-25 Andrey Kiselev <[email protected]> 3174 3175 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 3176 3177 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 3178 31792005-07-21 Andrey Kiselev <[email protected]> 3180 3181 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 3182 the TIFFWriteCheck() function in case of single band images (as per 3183 TIFF spec). 3184 31852005-07-12 Andrey Kiselev <[email protected]> 3186 3187 * SConstruct, libtiff/SConstruct: Added the first very preliminary 3188 support for SCons software building tool (http://www.scons.org/). 3189 This is experimental infrastructure and it will exist along with the 3190 autotools mechanics. 3191 31922005-07-07 Andrey Kiselev <[email protected]> 3193 3194 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 3195 the NetBSD source tree (the old 4-clause BSD license changed to 3196 the new 3-clause one). 3197 3198 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 3199 replacement module. 3200 3201 * port/dummy.c: Make the dummy function static. 3202 32032005-07-06 Andrey Kiselev <[email protected]> 3204 3205 * tools/tiffcp.c: Fixed WhitePoint tag copying. 3206 3207 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 3208 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 3209 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 3210 32112005-07-04 Andrey Kiselev <[email protected]> 3212 3213 * libtiff 3.7.3 released. 3214 3215 * configure, configure.ac: Do not use empty -R option when linking 3216 with --enable-rpath. 3217 32182005-07-01 Andrey Kiselev <[email protected]> 3219 3220 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 3221 reading the first IFD when needed. As per bug 3222 3223 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 3224 3225 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 3226 effects. 3227 32282005-06-23 Andrey Kiselev <[email protected]> 3229 3230 * tools/tiff2pdf.c: Print two characters per loop in the 3231 t2p_write_pdf_trailer(). As per bug 3232 3233 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 3234 3235 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 3236 per bug 3237 3238 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 3239 3240 * acinclude.m4: Updated to latest OpenGL test macros versions. 3241 3242 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 3243 platform. As per bug 3244 3245 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 3246 32472005-06-14 Andrey Kiselev <[email protected]> 3248 3249 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 3250 and YClipPathUnits tags. 3251 32522005-06-07 Andrey Kiselev <[email protected]> 3253 3254 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 3255 use pixel sized shift in contigous case. 3256 32572005-06-06 Andrey Kiselev <[email protected]> 3258 3259 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 3260 Make overviews working for contiguos images. 3261 32622005-06-03 Andrey Kiselev <[email protected]> 3263 3264 * libtiff/tif_open.c: Replace runtime endianess check with the compile 3265 time one. 3266 3267 * libtiff/tif_predict.c: Floating point predictor now works on 3268 big-endian hosts. 3269 32702005-06-01 Andrey Kiselev <[email protected]> 3271 3272 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 3273 ASCII values. 3274 3275 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 3276 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 3277 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 3278 TargetPrinter tags custom. 3279 3280 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 3281 TIFF_CODERSETUP flag (to fix memry leaks). 3282 3283 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 3284 allocating. 3285 32862005-05-26 Andrey Kiselev <[email protected]> 3287 3288 * configure.ac, libtiff/Makefile.am: Added workaround for 3289 OpenBSD/MirOS soname problem as per bug 3290 3291 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 3292 3293 * libtiff/tif_dirwrite.c: Use tdir_count when calling 3294 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 3295 per bug 3296 3297 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 3298 32992005-05-25 Andrey Kiselev <[email protected]> 3300 3301 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 3302 the fscanf() function. As per bug 3303 3304 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 3305 3306 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 3307 uint16 array when fetching the BYTE and SBYTE filds, so we should 3308 consider result as pointer to uint16 array and not as array of chars. 3309 As per bug 3310 3311 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 3312 3313 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 3314 3315 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 3316 3317 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 3318 mode in CreateFile() call as per bug 3319 3320 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 3321 3322 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 3323 libtiffxx libraries as per bug 3324 3325 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 3326 3327 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 3328 GDAL. 3329 33302005-05-23 Frank Warmerdam <[email protected]> 3331 3332 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 3333 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 3334 in directory. 3335 33362005-05-22 Frank Warmerdam <[email protected]> 3337 3338 * libtiff/tif_dirread.c: Changed the code that computes 3339 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 3340 zero. This is a common case with GDAL indicating a "null" tile/strip. 3341 33422005-05-17 Andrey Kiselev <[email protected]> 3343 3344 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 3345 33462005-05-06 Frank Warmerdam <[email protected]> 3347 3348 * libtiff/tif_dirread.c: Applied similar change to 3349 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 3350 3351 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 3352 3353 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 3354 33552005-05-06 Andrey Kiselev <[email protected]> 3356 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 3357 added new option '-b' to use interpolation in output PDF files (Bruno 3358 Ledoux). 3359 33602005-05-05 Frank Warmerdam <[email protected]> 3361 3362 * libtiff/tif_dirread.c: Ensure that broken files with too many 3363 values in PerSampleShorts work ok instead of crashing. 3364 3365 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 3366 33672005-04-27 Andrey Kiselev <[email protected]> 3368 3369 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 3370 input file. 3371 33722005-04-15 Andrey Kiselev <[email protected]> 3373 3374 * libtiff/tif_predict.c: Added ability to encode floating point 3375 predictor, as per TIFF Technical Note 3. 3376 33772005-04-14 Andrey Kiselev <[email protected]> 3378 3379 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 3380 floating point predictor, as per TIFF Technical Note 3. 3381 33822005-04-13 Andrey Kiselev <[email protected]> 3383 3384 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 3385 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 3386 swap 24-bit floating point values. 3387 3388 * libtiff/tiff.h: Added predictor constants. 3389 33902005-04-08 Andrey Kiselev <[email protected]> 3391 3392 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 3393 values in _TIFFVSetField() function. Inspired by the bug 3394 3395 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 3396 3397 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 3398 as per bug 3399 3400 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 3401 34022005-03-30 Andrey Kiselev <[email protected]> 3403 3404 * libtiff/tif_open.c: Do not read header in case the output file 3405 should be truncated (Ron). 3406 3407 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 3408 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 3409 3410 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 3411 34122005-03-22 Andrey Kiselev <[email protected]> 3413 3414 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 3415 rpath option. 3416 34172005-03-21 Andrey Kiselev <[email protected]> 3418 3419 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 3420 tags. 3421 34222005-03-18 Andrey Kiselev <[email protected]> 3423 3424 * libtiff/dirinfo.c: Added DNG tags. 3425 3426 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 3427 handling code. 3428 3429 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 3430 added DNG 1.1.0.0 tags. 3431 3432 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 3433 bug 3434 3435 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 3436 3437 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 3438 34392005-03-17 Andrey Kiselev <[email protected]> 3440 3441 * nmake.opt: Build with Win32 CRT library by default. 3442 3443 * tools/tiff2ps.c: Fixed typo in page size handling code. 3444 3445 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 3446 by value. 3447 3448 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 3449 34502005-03-15 Andrey Kiselev <[email protected]> 3451 3452 * libtiff 3.7.2 released. 3453 34542005-03-09 Andrey Kiselev <[email protected]> 3455 3456 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 3457 floating point data; complain on unsupported bit depths. 3458 34592005-03-05 Andrey Kiselev <[email protected]> 3460 3461 * tif_stream.cxx: Use ios namespace instead of ios_base to support 3462 GCC 2.95. 3463 3464 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 3465 Lee Howard for HylaFax DCS tag 3466 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 3467 34682005-03-04 Andrey Kiselev <[email protected]> 3469 3470 * configure, configure.ac: Use -rpath option instead of -R as per bug 3471 3472 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 3473 3474 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 3475 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 3476 software. As per bug 3477 3478 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 3479 3480 * nmake.opt, html/build.html: Add more comments, change the config 3481 file organization a bit as per bug 3482 3483 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 3484 3485 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 3486 as per bug 3487 3488 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 3489 34902005-03-03 Andrey Kiselev <[email protected]> 3491 3492 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 3493 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 3494 3495 * tools/fax2ps.c: Replace insecure mktemp() function with the 3496 tmpfile() as per bug 3497 3498 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 3499 35002005-02-04 Andrey Kiselev <[email protected]> 3501 3502 * libtiff/tiff.h: Changed the int8 definition to be always signed char 3503 as per bug 3504 3505 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 3506 3507 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 3508 block as per bug 3509 3510 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 3511 35122005-02-03 Bob Friesenhahn <[email protected]> 3513 3514 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 3515 display more correctly. Images display brighter than they should 3516 on a Sun workstation. 3517 35182005-02-03 Andrey Kiselev <[email protected]> 3519 3520 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 3521 suspicious values in the tags. As per bugs 3522 3523 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 3524 3525 and 3526 3527 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 3528 3529 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 3530 3531 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 3532 35332005-01-31 Bob Friesenhahn <[email protected]> 3534 3535 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 3536 (TIFFTAG_TILELENGTH): Corrected description. 3537 35382005-01-30 Andrey Kiselev <[email protected]> 3539 3540 * configure.ac: Fixes for --with-docdir option as per bug 3541 3542 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 3543 3544 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 3545 bug 3546 3547 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 3548 3549 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 3550 Michael Rinne and Edward Lam. 3551 35522005-01-15 Andrey Kiselev <[email protected]> 3553 3554 * configure.ac: Make the documentation directory location configurable 3555 via the --with-docdir option (as suggested by Jeremy C. Reed). 3556 3557 * libtiff/tif_color.c: Use double as the second argument of pow() 3558 function in TIFFCIELabToRGBInit(). As per bug 3559 3560 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 3561 3562 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 3563 integer as per bug 3564 3565 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 3566 3567 * libtiff/tif_getimage.c: Always fill the error message buffer in 3568 TIFFRGBAImageBegin() as per bug 3569 3570 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 3571 35722005-01-12 Andrey Kiselev <[email protected]> 3573 3574 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 3575 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 3576 tags as per bug 3577 3578 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 3579 3580 * libtiff/tif_win32.c: Fixed message formatting in functions 3581 Win32WarningHandler() and Win32ErrorHandler() as per bug 3582 3583 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 3584 3585 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 3586 per bug 3587 3588 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 3589 35902005-01-11 Andrey Kiselev <[email protected]> 3591 3592 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 3593 "C"' section as per bug 3594 3595 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 3596 3597 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 3598 compiler to avoid double definition of BSD types as per bug 3599 3600 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3601 3602 * libtiff/Makefile.am: Place the C++ stream API in the separate 3603 library called libtiffxx to avoid unneeded dependencies. Probably 3604 there will be more C++ API in the future. As per bugs 3605 3606 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 3607 3608 and 3609 3610 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 3611 36122005-01-05 Andrey Kiselev <[email protected]> 3613 3614 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 3615 wrong tag counts (Dmitry V. Levin, Martin Pitt). 3616 3617 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 3618 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 3619 36202004-12-25 Andrey Kiselev <[email protected]> 3621 3622 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 3623 RGB-images as per bug 3624 3625 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 3626 3627 3628 * tools/tiffset.c: Convert character option to integer value as per 3629 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 3630 36312004-12-20 Andrey Kiselev <[email protected]> 3632 3633 * libtiff 3.7.1 released. 3634 3635 * html/tiffset.1.html: Add missed manual page as per bug 3636 3637 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 3638 3639 * libtiff/tiff.h: Revert back libtiff data type definitions as per 3640 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 3641 36422004-12-19 Andrey Kiselev <[email protected]> 3643 3644 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 3645 checking for tag count in TIFFReadDirectory() function. As per bug 3646 3647 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 3648 3649 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 3650 CheckMallock() function. 3651 3652 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 3653 RGB-images as per bug 3654 3655 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 3656 36572004-12-15 Frank Warmerdam <[email protected]> 3658 3659 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 3660 SunPro compiler. 3661 36622004-12-11 Bob Friesenhahn <[email protected]> 3663 3664 * autogen.sh: aclocal and autoheader should be executed after 3665 libtoolize. Also add '-I .' to aclocal invocation to check 3666 current directory for macros. 3667 36682004-12-10 Andrey Kiselev <[email protected]> 3669 3670 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 3671 as per bugs 3672 3673 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 3674 3675 and 3676 3677 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 3678 36792004-12-04 Andrey Kiselev <[email protected]> 3680 3681 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 3682 3683 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3684 3685 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 3686 mode as per bug 3687 3688 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3689 3690 * libtiff/tif_config.in.vc: Removed unneded definitions for 3691 read/open/close/lseek functions to fix the 3692 3693 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 3694 36952004-12-03 Andrey Kiselev <[email protected]> 3696 3697 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 3698 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 3699 must be removed in the future, as it was never used properly. As per 3700 bug 3701 3702 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 3703 37042004-11-30 Bob Friesenhahn <[email protected]> 3705 3706 * libtiff/tif_jpeg.c: Added a work-around in order to allow 3707 compilation with the heavily modified version of libjpeg delivered 3708 with Cygwin. 3709 37102004-11-29 Andrey Kiselev <[email protected]> 3711 3712 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 3713 counts. As per bug 3714 3715 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 3716 3717 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 3718 3719 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 3720 37212004-11-28 Andrey Kiselev <[email protected]> 3722 3723 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 3724 on Windows. 3725 3726 * nmake.opt: Add missed DLLNAME variable. 3727 37282004-11-26 Frank Warmerdam <[email protected]> 3729 3730 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 3731 37322004-11-24 Andrey Kiselev <[email protected]> 3733 3734 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 3735 per bug 3736 3737 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 3738 3739 * man/tiffset.1: Added manual page for tiffset tool written by Jay 3740 Berkenbilt. As per bug 3741 3742 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 3743 37442004-11-23 Frank Warmerdam <[email protected]> 3745 3746 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 3747 37482004-11-21 Frank Warmerdam <[email protected]> 3749 3750 * html/document.html: Updated Adobe web links as per email from Joris. 3751 37522004-11-21 Andrey Kiselev <[email protected]> 3753 3754 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 3755 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 3756 use C++ streams should #include <tiffio.hxx>. 3757 37582004-11-13 Andrey Kiselev <[email protected]> 3759 3760 * libtiff/tiff.h: Added Adobe DNG tags. 3761 3762 * libtiff/tif_win32.c: Typo fixed. 3763 3764 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 3765 be compliant with the latest standard. Appropriate additions in 3766 makefiles now completed. 3767 37682004-11-11 Andrey Kiselev <[email protected]> 3769 3770 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 3771 different tag types. As per bug 3772 3773 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 3774 37752004-11-10 Andrey Kiselev <[email protected]> 3776 3777 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 3778 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 3779 37802004-11-09 Andrey Kiselev <[email protected]> 3781 3782 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 3783 37842004-11-07 Andrey Kiselev <[email protected]> 3785 3786 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 3787 contributed by Edward Lam (see 3788 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 3789 Though no changes in any makefiles yet. 3790 37912004-11-05 Frank Warmerdam <[email protected]> 3792 3793 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 3794 is bad. This is the callers responsibility. 3795 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 3796 37972004-11-05 Andrey Kiselev <[email protected]> 3798 3799 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 3800 function to work with the double byte strings (used to represent 3801 filenames in some locales). As per bug 3802 3803 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 3804 3805 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 3806 Compression tags of type LONG from broken TIFFS as per bug 3807 3808 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 3809 3810 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 3811 the writecount should have uint32 type. As per bug 3812 3813 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 3814 3815 * libtiff/tif_write.c: Fixed wrong if() statement in 3816 TIFFAppendToStrip() function as per bug 3817 3818 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 3819 38202004-11-04 Andrey Kiselev <[email protected]> 3821 3822 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 3823 field. The caller should supply a count when setting this field. As 3824 per bug 3825 3826 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 3827 3828 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 3829 uint32 count. Use this type everywhere. 3830 38312004-11-03 Frank Warmerdam <[email protected]> 3832 3833 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 3834 38352004-11-02 Frank Warmerdam <[email protected]> 3836 3837 * tools/tiff2rgba.c: removed extra newlines in usage message. 3838 38392004-10-30 Andrey Kiselev <[email protected]> 3840 3841 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 3842 3843 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 3844 tags (Tristan Hill). 3845 38462004-10-30 Frank Warmerdam <[email protected]> 3847 3848 * libtiff/tiffiop.h: added fallback definition of assert() if we 3849 don't have assert.h. 3850 38512004-10-29 Andrey Kiselev <[email protected]> 3852 3853 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 3854 choosing when the incorrect Group4Options tag set. As per bug 3855 3856 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 3857 3858 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 3859 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 3860 TIFFWriteNormalTag(). 3861 38622004-10-28 Andrey Kiselev <[email protected]> 3863 3864 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 3865 tags (Peter Fales). 3866 3867 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 3868 38692004-10-28 Frank Warmerdam <[email protected]> 3870 3871 * tools/tiff2pdf.c: added casts to avoid warnings. 3872 3873 * libtiff/libtiff.def: Added several more entry points required 3874 to link fax2tiff.c against the DLL on windows. 3875 38762004-10-27 Andrey Kiselev <[email protected]> 3877 3878 * configure, configure.ac: Added --enable-rpath option to embed linker 3879 paths into library binary. 3880 38812004-10-26 Andrey Kiselev <[email protected]> 3882 3883 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 3884 3885 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 3886 (Vladimir Nadvornik, Dmitry V. Levin). 3887 38882004-10-16 Andrey Kiselev <[email protected]> 3889 3890 * libtiff 3.7.0 released. 3891 38922004-10-15 Bob Friesenhahn <[email protected]> 3893 3894 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 3895 in this file so its inclusion is removed. Including stdio.h 3896 sometimes incurs an INT32 typedef conflict between MinGW's 3897 basetsd.h and libjpeg's jmorecfg.h. 3898 38992004-10-15 Andrey Kiselev <[email protected]> 3900 3901 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 3902 39032004-10-13 Bob Friesenhahn <[email protected]> 3904 3905 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 3906 conflict noticed under MinGW. 3907 * ltmain.sh: Fix for MinGW compilation. 3908 39092004-10-13 Frank Warmerdam <[email protected]> 3910 3911 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 3912 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 3913 39142004-10-12 Andrey Kiselev <[email protected]> 3915 3916 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 3917 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 3918 properly (Dmitry V. Levin, Marcus Meissner). 3919 39202004-10-11 Andrey Kiselev <[email protected]> 3921 3922 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 3923 to TIFF_IFD. 3924 39252004-10-10 Andrey Kiselev <[email protected]> 3926 3927 * tools/bmp2tif.c: Check the space allocation results. 3928 39292004-10-09 Andrey Kiselev <[email protected]> 3930 3931 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 3932 of the TIFFDirectory structure with the 0 instead of -1 to avoid 3933 confusing integer overflows in TIFFTileRowSize() for striped images. 3934 3935 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 3936 by Ross A. Finlayson. 3937 3938 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 3939 3940 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 3941 39422004-10-08 Frank Warmerdam <[email protected]> 3943 3944 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 3945 of tif_fieldinfo. 3946 3947 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 3948 39492004-10-04 Bob Friesenhahn <[email protected]> 3950 3951 * contrib/iptcutil/README: Added the missing README which goes 3952 along with iptcutil. 3953 39542004-10-03 Andrey Kiselev <[email protected]> 3955 3956 * libtiff/tif_compress.c: Improved error reporting in 3957 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 3958 39592004-10-02 Andrey Kiselev <[email protected]> 3960 3961 * libtiff 3.7.0beta2 released. 3962 3963 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 3964 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 3965 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 3966 allocations and integer overflows (Dmitry V. Levin). 3967 3968 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 3969 39702004-10-01 Frank Warmerdam <[email protected]> 3971 3972 * libtiff/tif_open.c: added a more informative message if a BigTIFF 3973 file is opened. 3974 39752004-09-30 Frank Warmerdam <[email protected]> 3976 3977 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 3978 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 3979 in the Adobe XMP Specification. 3980 39812004-09-29 Andrey Kiselev <[email protected]> 3982 3983 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 3984 memset(). 3985 3986 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 3987 from Dmitry V. Levin to fix possible integer overflow problems. 3988 39892004-09-28 Andrey Kiselev <[email protected]> 3990 3991 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 3992 (Dmitry V. Levin). 3993 39942004-09-26 Andrey Kiselev <[email protected]> 3995 3996 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 3997 Optimize checking for the strip bounds. 3998 3999 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 4000 TIFFRasterScanlineSize() functions report zero in the case of integer 4001 overflow now. Properly handle this case in TIFFReadDirectory() 4002 (patches from Dmitry V. Levin). 4003 40042004-09-25 Andrey Kiselev <[email protected]> 4005 4006 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 4007 macro where appropriate. 4008 4009 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 4010 noted by Gennady Khokhorin. 4011 4012 * libtiff/tif_dirread.c: Always check the return values, returned 4013 by the _TIFFmalloc() (Dmitry V. Levin). 4014 4015 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 4016 functions (Dmitry V. Levin). 4017 4018 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 4019 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 4020 TIFFGrowStrips() (found by Dmitry V. Levin). 4021 40222004-09-24 Andrey Kiselev <[email protected]> 4023 4024 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 4025 to get the list of configured codecs. 4026 4027 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 4028 Dmitry V. Levin. 4029 40302004-09-23 Andrey Kiselev <[email protected]> 4031 4032 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 4033 possible integer overflow in CheckMalloc() function. 4034 40352004-09-22 Andrey Kiselev <[email protected]> 4036 4037 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 4038 of plain TIFFhowmany() where appropriate. 4039 40402004-09-21 Andrey Kiselev <[email protected]> 4041 4042 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 4043 40442004-09-19 Andrey Kiselev <[email protected]> 4045 4046 * libtiff 3.7.0beta released. 4047 4048 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 4049 overruns fixed, as noted by Chris Evans. 4050 40512004-09-14 Bob Friesenhahn <[email protected]> 4052 4053 * commit: Added a script to make it more convenient to commit 4054 updates. The CVS commit message is extracted from this ChangeLog 4055 file. 4056 40572004-09-14 Andrey Kiselev <[email protected]> 4058 4059 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 4060 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 4061 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 4062 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 4063 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 4064 tif_config.h.in, tiffiop.h}: 4065 Get rid of BSD data types (u_char, u_short, u_int, u_long). 4066 40672004-09-13 Bob Friesenhahn <[email protected]> 4068 4069 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 4070 specification. Reference libtiff bug tracking system to submit 4071 private tag additions. 4072 40732004-09-12 Bob Friesenhahn <[email protected]> 4074 4075 * tools/tiffgt.c: Include "tif_config.h". 4076 4077 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 4078 tiffgt. This results in the 'compile' script being added to the 4079 project. 4080 4081 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 4082 required to find OpenGL headers necessary to build tiffgt. Also 4083 ensure that the libtiff that we built is used rather than some other 4084 libtiff installed on the system. 4085 40862004-09-12 Andrey Kiselev <[email protected]> 4087 4088 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 4089 libraries. 4090 40912004-09-11 Bob Friesenhahn <[email protected]> 4092 4093 * configure.ac: Pass library configuration defines via 4094 tif_config.h rather than extending CPPFLAGS. Configure a 4095 libtiff/tiffconf.h in order to satisfy application requirements 4096 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 4097 this causes failure to build on systems which properly respect 4098 this request. 4099 4100 * libtiff/tiffconf.h.in: New file to act as the template for the 4101 configured tiffconf.h 4102 4103 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 4104 41052004-09-10 Frank Warmerdam <[email protected]> 4106 4107 * html/internals.html: Split off a discussion of adding new tags 4108 into addingtags.html. 4109 41102004-09-10 Andrey Kiselev <[email protected]> 4111 4112 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 4113 4114 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 4115 4116 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4117 4118 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 4119 4120 * libtiff/tif_dirread.c: Don't reject to read tags of the 4121 SamplesPerPixel size when the tag count is greater than number of 4122 samples as per bug 4123 4124 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 4125 4126 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 4127 defining int8/uint8/... etc. types. As per bug 4128 4129 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 4130 41312004-09-09 Frank Warmerdam <[email protected]> 4132 4133 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 4134 to avoid compile warnings about getopt() and a few other things. 4135 41362004-09-02 Andrey Kiselev <[email protected]> 4137 4138 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 4139 assigning magic in TIFFFetchFloat(). 4140 41412004-09-01 Andrey Kiselev <[email protected]> 4142 4143 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 4144 to avoid requirement for tiffiop.h inclusion in some applications. See 4145 here 4146 4147 http://www.asmail.be/msg0054799560.html 4148 4149 for details. 4150 4151 * tools/fax2tiff.c: Use the new functions in the code. 4152 41532004-08-25 Andrey Kiselev <[email protected]> 4154 4155 * tools/tiff2pdf.c: Initialize arrays properly. 4156 4157 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 4158 properly initialize array in PSDataBW(). 4159 41602004-08-24 Andrey Kiselev <[email protected]> 4161 4162 * tools/tiff2pdf.c: More fixes for bug 4163 4164 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4165 4166 from Ross Finlayson. 4167 41682004-08-23 Andrey Kiselev <[email protected]> 4169 4170 * tools/tiff2ps.c: Fixed problem with uninitialized values. 4171 4172 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 4173 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 4174 4175 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 4176 4177 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4178 41792004-08-20 Andrey Kiselev <[email protected]> 4180 4181 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 4182 that the input file has compression, photometric interpretation, 4183 etcetra, tags or if not than a more descriptive error is returned. 4184 4185 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 4186 code, responsible for tag data type checking. 4187 41882004-08-19 Andrey Kiselev <[email protected]> 4189 4190 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 4191 variable as per bug 4192 4193 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 4194 41952004-08-16 Andrey Kiselev <[email protected]> 4196 4197 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 4198 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 4199 42002004-08-01 Andrey Kiselev <[email protected]> 4201 4202 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 4203 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 4204 42052004-07-24 Andrey Kiselev <[email protected]> 4206 4207 * libtiff/tif_lzw.c: LZW compression code is merged back from the 4208 separate package. All libtiff tools are updated to not advertise an 4209 abcence of LZW support. 4210 42112004-07-12 Andrey Kiselev <[email protected]> 4212 4213 * libtiff/tiffio.h: Revert thandle_t back to void* type. 4214 42152004-07-11 Andrey Kiselev <[email protected]> 4216 4217 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 4218 messages, as suggested by Bernd Herd. 4219 42202004-07-03 Andrey Kiselev <[email protected]> 4221 4222 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 4223 when setting custom tags by value. Reported by Eric Fieleke. 4224 42252004-06-14 Andrey Kiselev <[email protected]> 4226 4227 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 4228 42292004-06-08 Andrey Kiselev <[email protected]> 4230 4231 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 4232 into TIFFs. 4233 42342004-06-07 Andrey Kiselev <[email protected]> 4235 4236 * libtiff 3.7.0alpha released. 4237 42382004-06-06 Andrey Kiselev <[email protected]> 4239 4240 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 4241 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 4242 ones :-). 4243 4244 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 4245 problems in 64-bit environment). 4246 42472004-06-05 Andrey Kiselev <[email protected]> 4248 4249 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 4250 Tags can be supplied by the mnemonic name or number. 4251 4252 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 4253 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 4254 42552004-05-27 Andrey Kiselev <[email protected]> 4256 4257 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 4258 markers as per bug 4259 4260 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 4261 42622004-05-24 Andrey Kiselev <[email protected]> 4263 4264 * tools/tiffsplit.c: Don't forget to copy Photometric 4265 Interpretation tag. 4266 42672004-05-20 Andrey Kiselev <[email protected]> 4268 4269 * libtiff/{tif_open.c, tiffio.h}: New function added: 4270 TIFFIsBigEndian(). Function returns nonzero if given was file written 4271 in big-endian order. 4272 4273 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 4274 files. Now output files will be written using the same byte order 4275 flag as in the input image. See 4276 4277 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 4278 4279 for details. 4280 42812004-05-19 Frank Warmerdam <[email protected]> 4282 4283 * libtiff/tif_print.c: added (untested) support for printing 4284 SSHORT, SLONG and SRATIONAL fields. 4285 4286 * tools/tiffcp.c: close output file on normal exit. 4287 42882004-05-17 Andrey Kiselev <[email protected]> 4289 4290 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 4291 if compression type mismatches. See 4292 4293 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 4294 42952004-04-30 Andrey Kiselev <[email protected]> 4296 4297 * libtiff/tif_strip.c: Never return 0 from the 4298 TIFFNumberOfStrips(). 4299 43002004-04-29 Andrey Kiselev <[email protected]> 4301 4302 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 4303 store single SampleFormat value for multisampled images. See 4304 4305 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 4306 43072004-04-25 Andrey Kiselev <[email protected]> 4308 4309 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 4310 int16 and int32 types to avoid complains on some compilers. Details at 4311 4312 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4313 43142004-04-20 Andrey Kiselev <[email protected]> 4315 4316 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 4317 4318 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 4319 43202004-04-14 Andrey Kiselev <[email protected]> 4321 4322 * libtiff/tif_write.c: Allow in-place updating of the compressed 4323 images (don't work properly with all codecs). For details see GDAL bug 4324 4325 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 4326 43272004-04-06 Andrey Kiselev <[email protected]> 4328 4329 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 4330 in the Intergarph JPEG compressed TIFF images as per bug: 4331 4332 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 4333 43342004-04-04 Frank Warmerdam <[email protected]> 4335 4336 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 4337 via bad2. 4338 43392004-03-26 Andrey Kiselev <[email protected]> 4340 4341 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 4342 JPEG compression of grayscale images. 4343 4344 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 4345 present in the input image. 4346 43472004-03-19 Andrey Kiselev <[email protected]> 4348 4349 * {many}: The first attempt to switch to autotools. 4350 43512004-03-03 Andrey Kiselev <[email protected]> 4352 4353 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 4354 TIFFClientOpen() when the appropriate client functions was not 4355 supplied by user. 4356 43572004-03-02 Frank Warmerdam <[email protected]> 4358 4359 * tools/ycbcr.c: fixed main() declaration as per: 4360 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 4361 43622004-02-26 Andrey Kiselev <[email protected]> 4363 4364 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 4365 images. Reported by Artem Mirolubov. 4366 4367 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 4368 tag type in TIFFFetchNormalTag() as per bug 4369 4370 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 4371 43722004-02-17 Frank Warmerdam <[email protected]> 4373 4374 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 4375 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 4376 43772004-02-05 Andrey Kiselev <[email protected]> 4378 4379 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 4380 bug 4381 4382 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 4383 4384 But we need more work on fax codec to support update mode. 4385 43862004-01-30 Frank Warmerdam <[email protected]> 4387 4388 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 4389 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 4390 Scott Reynolds. 4391 43922004-01-29 Andrey Kiselev <[email protected]> 4393 4394 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 4395 and TIFFTAG_INDEXED as per bug 4396 4397 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 4398 4399 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 4400 NULL before proceeding further as per bug 4401 4402 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 4403 4404 Check results, returned by the TIFFFdOpen() before returning and close 4405 file if TIFFFdOpen() failed as per bug 4406 4407 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4408 4409 * libtiff/tif_open.c: More fixes for 4410 4411 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4412 44132004-01-28 Andrey Kiselev <[email protected]> 4414 4415 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 4416 TIFFCleanup() from the TIFFClose() in order to fix the bug 4417 4418 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4419 4420 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 4421 InkNames tag as per bug 4422 4423 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 4424 4425 Memory leak fixed. 4426 44272004-01-21 Frank Warmerdam <[email protected]> 4428 4429 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 4430 are field_passcount=TRUE properly. Arguably anonymous custom tags 4431 should be declared as passcount=FALSE, but I don't want to change 4432 that without a careful review. 4433 44342004-01-20 Andrey Kiselev <[email protected]> 4435 4436 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 4437 stripped image in TIFFWriteBufferSetup(). As per bug 4438 4439 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 4440 44412004-01-11 Andrey Kiselev <[email protected]> 4442 4443 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 4444 patch from Gerben Koopmans. 4445 4446 * libtiff/tif_dirread.c: Check field_passcount value before setting 4447 the value of undefined type, patch from Gerben Koopmans. 4448 44492004-01-02 Andrey Kiselev <[email protected]> 4450 4451 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 4452 non-RGB images. 4453 44542003-12-31 Andrey Kiselev <[email protected]> 4455 4456 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 4457 pointer passed. Patch supplied by Larry Grill. 4458 4459 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 4460 suggested by Jeremy C. Reed. 4461 44622003-12-26 Andrey Kiselev <[email protected]> 4463 4464 * libtiff 3.6.1 released. 4465 44662003-12-24 Andrey Kiselev <[email protected]> 4467 4468 * config.guess, config.sub: Updated from the recent upstream. 4469 44702003-12-22 Andrey Kiselev <[email protected]> 4471 4472 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 4473 More cleanups in color conversion interface, added appropriate manual 4474 page. 4475 44762003-12-19 Andrey Kiselev <[email protected]> 4477 4478 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 4479 per bug 4480 4481 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 4482 4483 * tools/tiff2ps.c: Added support for alpha channel. Fixes 4484 4485 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 4486 4487 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 4488 Interface for Lab->RGB color conversion is finally cleaned up. 4489 Added support for ReferenceBlackWhite tag handling when converted from 4490 YCbCr color space. The latter closes 4491 4492 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 4493 44942003-12-07 Andrey Kiselev <[email protected]> 4495 4496 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 4497 4498 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 4499 library. 4500 45012003-12-06 Andrey Kiselev <[email protected]> 4502 4503 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 4504 file and properly use it for CIE Lab->RGB transform. 4505 45062003-12-04 Andrey Kiselev <[email protected]> 4507 4508 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 4509 conversion routines now in the tif_color.c module. New function 4510 TIFFYCbCrtoRGB() available in TIFF API. 4511 4512 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 4513 45142003-12-03 Andrey Kiselev <[email protected]> 4515 4516 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 4517 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 4518 module. 4519 4520 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 4521 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 4522 Finally resolved problems with orientation handling. TIFFRGBAImage 4523 interface now properly supports all possible orientations, i.e. images 4524 will be flipped both in horizontal and vertical directions if 4525 required. 'Known bugs' section now removed from the appropriate manual 4526 pages. Closed bug entry: 4527 4528 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 4529 45302003-12-02 Andrey Kiselev <[email protected]> 4531 4532 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 4533 function calls as per bug 4534 4535 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 4536 45372003-11-28 Ross Finlayson <[email protected]> 4538 4539 * tools/tiff2pdf.c: Some bugs fixed. 4540 45412003-11-27 Andrey Kiselev <[email protected]> 4542 4543 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 4544 reported by Antonio Scuri. 4545 4546 * man/tiff2pdf.1: Few improvements in page layout. 4547 4548 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 4549 Added support fpr tiff2pdf manual page. 4550 45512003-11-26 Ross Finlayson <[email protected]> 4552 4553 * /man/tiff2pdf.1: File added to repository. 4554 45552003-11-26 Andrey Kiselev <[email protected]> 4556 4557 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 4558 Added support fpr tiff2pdf utility. 4559 45602003-11-25 Ross Finlayson <[email protected]> 4561 4562 * /tools/tiff2pdf.c: File added to repository. 4563 45642003-11-22 Andrey Kiselev <[email protected]> 4565 4566 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 4567 45682003-11-21 Andrey Kiselev <[email protected]> 4569 4570 * /tools/raw2tiff.c: #include <getopt.h> removed. 4571 4572 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 4573 sgigt utility removed and replaced with the completely rewritten 4574 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 4575 there is a lot of things to improve. 4576 4577 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 4578 extract the fields from the OJPEG files. Patch supplied by Ross 4579 Finlayson. 4580 4581 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 4582 Added new function TIFFIsCODECConfigured(), suggested by Ross 4583 Finlayson. 4584 45852003-11-18 Andrey Kiselev <[email protected]> 4586 4587 * libtiff/tif_dirinfo.c: Implemented binary search in 4588 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 4589 4590 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 4591 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 4592 45932003-11-17 Frank Warmerdam <[email protected]> 4594 4595 * tif_dirread.c: do not mark all anonymously defined tags to be 4596 IGNOREd. 4597 45982003-11-17 Andrey Kiselev <[email protected]> 4599 4600 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 4601 TIFFDataWidth() function insted of tiffDataWidth array. 4602 46032003-11-16 Andrey Kiselev <[email protected]> 4604 4605 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 4606 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 4607 46082003-11-15 Frank Warmerdam <[email protected]> 4609 4610 * Makefile.in: fixed missing backslash for tif_color.c in list. 4611 46122003-11-13 Andrey Kiselev <[email protected]> 4613 4614 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 4615 New color space conversion code: CIE L*a*b* 1976 images now supported 4616 by the TIFFRGBAImage interface. All introduced routines go to new 4617 module tif_color.c. Eventually all color conversion functions should 4618 be moved there. 4619 46202003-11-12 Andrey Kiselev <[email protected]> 4621 4622 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 4623 with the reverse byte order (it is reported by the magic header 4624 field). Problem reported by Andreas Wiesmann. 4625 4626 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 4627 calculation function. Guessing mechanics now documented in manual page. 4628 46292003-11-11 Andrey Kiselev <[email protected]> 4630 4631 * tools/raw2tiff.c: Implemented image size guessing using 4632 correlation coefficient calculation between two neighbour lines. 4633 46342003-11-09 Frank Warmerdam <[email protected]> 4635 4636 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 4637 planarconfig_contig case in TIFFComputeTile(). 4638 4639 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 4640 46412003-11-09 Andrey Kiselev <[email protected]> 4642 4643 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 4644 46452003-11-07 Andrey Kiselev <[email protected]> 4646 4647 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 4648 Added TIFFRawStripSize() function as suggested by Chris Hanson. 4649 46502003-11-03 Andrey Kiselev <[email protected]> 4651 4652 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 4653 per bug 4654 4655 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 4656 46572003-10-29 Andrey Kiselev <[email protected]> 4658 4659 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 4660 4661 * html/build.html: Added note about GNU make requirement. 4662 46632003-10-25 Andrey Kiselev <[email protected]> 4664 4665 * Makefile.in: Fixes in using MAKEFLAGS as per bug 4666 4667 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 4668 4669 * port/install.sh.in: Option -p added to the mkdir command to create 4670 all directory tree structure before installing. 4671 46722003-10-18 Andrey Kiselev <[email protected]> 4673 4674 * /tools/tiff2ps.c: #include <strings.h> replaced with the 4675 #include <string.h>. 4676 46772003-10-16 Andrey Kiselev <[email protected]> 4678 4679 * Makefile.in: Add an absolute path to the test_pics.sh call. 4680 46812003-10-12 Andrey Kiselev <[email protected]> 4682 4683 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 4684 typedefs. 4685 46862003-10-09 Andrey Kiselev <[email protected]> 4687 4688 * configure, libtiff/{Makefile.in, mkversion.c}: 4689 Relative buildings fixed. 4690 4691 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 4692 rule. 4693 46942003-10-07 Andrey Kiselev <[email protected]> 4695 4696 * Makefile.in: Added missed v3.6.0.html. 4697 4698 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 4699 ORIENTATION_BOTLEFT. 4700 47012003-10-04 Andrey Kiselev <[email protected]> 4702 4703 * 3.6.0 final release. 4704 47052003-10-03 Andrey Kiselev <[email protected]> 4706 4707 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 4708 function TIFFReadRGBAImageOriented() implemented to retrieve raster 4709 array with user-specified origin position as suggested by Jason Frank. 4710 See 4711 4712 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 4713 4714 for details. 4715 4716 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 4717 instead of TIFFReadRGBAImage(). 4718 4719 * tools/tiff2ps.c: Fixed possible endless loop as per bug 4720 4721 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 4722 47232003-09-30 Andrey Kiselev <[email protected]> 4724 4725 * libtiff/tif_dirread.c: Check field counter against number of fields 4726 in order to fix 4727 4728 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 4729 4730 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 4731 4732 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 4733 47342003-09-25 Andrey Kiselev <[email protected]> 4735 4736 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 4737 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 4738 4739 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 4740 47412003-09-23 Andrey Kiselev <[email protected]> 4742 4743 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 4744 4745 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4746 47472003-08-21 Andrey Kiselev <[email protected]> 4748 4749 * tools/tiffmedian.c: int declaration replaced with the uint32 to 4750 support large images as per bug 4751 4752 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 4753 47542003-08-12 Andrey Kiselev <[email protected]> 4755 4756 * libtiff/Makefile.in: Fixed problem with building in different 4757 directory. 4758 4759 * tools/tiff2ps.c: Added missing #include <strings.h>. 4760 4761 * libtiff/tif_dirwrite.c: More fixes for custom tags code 4762 from Ashley Dreier. 4763 47642003-08-07 Andrey Kiselev <[email protected]> 4765 4766 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 4767 Patch submitted by Balatoni Denes (with corrections from Tom 4768 Kacvinsky). 4769 4770 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 4771 being used. Reported by Tom Kacvinsky. 4772 4773 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 4774 reported by Ashley Dreier. 4775 4776 * libtiff/tif_print.c: Fixed problem with float tags reading, support 4777 for printing RATIONAL and BYTE tags added. 4778 47792003-08-05 Andrey Kiselev <[email protected]> 4780 4781 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 4782 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 4783 problems with predictor initialization. Remove O_RDONLY check during 4784 state block allocation to be able open LZW compressed files in update 4785 mode. 4786 4787 Problem exist for libtiff version of the tif_lzw.c module. One from 4788 lzw-compression-kit hasn't such troubles. 4789 47902003-08-04 Frank Warmerdam <[email protected]> 4791 4792 * libtiff/tif_write.c: modified tif_write.c so that the various 4793 encoded write functions use tif_postdecode() to apply byte order 4794 swapping (swab) to the application passed data buffer if the same 4795 would be done when reading. This allows us to write pixel data with 4796 more than 8 bits per sample to existing files of a non-native byte 4797 order. One side effect of this change is the applications buffer 4798 itself is altered in this case by the act of writing. 4799 4800 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 4801 48022003-07-25 Frank Warmerdam <[email protected]> 4803 4804 * libtiff/tif_open.c: avoid signed/unsigned casting warning 4805 initializing typemask as per patch from J.A. Strother. 4806 4807 * tools/tiffcp.c: fixed signed/unsigned casting warning. 4808 4809 * libtiff/tif_print.c: dos2unix conversion. 4810 4811 * tools/tiffsplit.c: increased the maximum number of pages that 4812 can be split. Patch provided by Andrew J. Montalenti. 4813 48142003-07-11 Andrey Kiselev <[email protected]> 4815 4816 * tools/raw2tiff.c: Added option `-p' to explicitly select color 4817 space of input image data. Closes 4818 4819 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 4820 48212003-07-08 Frank Warmerdam <[email protected]> 4822 4823 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 4824 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 4825 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 4826 avoid casting warning at /W4. 4827 48282003-07-03 Andrey Kiselev <[email protected]> 4829 4830 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 4831 48322003-06-30 Andrey Kiselev <[email protected]> 4833 4834 * libtiff/tif_pixarlog.c: Unused variables removed. 4835 4836 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 4837 EstimateStripByteCounts() as per bug 4838 4839 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4840 4841 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 4842 64-bit architectures as per bug 4843 4844 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 4845 4846 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 4847 unknown data type. 4848 48492003-06-19 Frank Warmerdam <[email protected]> 4850 4851 * libtiff/tif_print.c: fixed some serious bugs when printing 4852 custom tags ... almost certain to crash. 4853 4854 * libtiff/tif_dirread.c: Don't ignore custom fields that are 4855 autodefined. Not sure how this got to be like this. 4856 48572003-06-18 Andrey Kiselev <[email protected]> 4858 4859 * 3.6.0 Beta2 released. 4860 4861 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 4862 comparing as per bug 4863 4864 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 4865 4866 `-z' option now can be used to set the number of reported different 4867 bytes. 4868 48692003-06-09 Andrey Kiselev <[email protected]> 4870 4871 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 4872 to -r option to get the entire image as one strip. See 4873 4874 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4875 4876 for details. 4877 48782003-06-04 Andrey Kiselev <[email protected]> 4879 4880 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 4881 values as per bug 4882 4883 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4884 48852003-05-27 Frank Warmerdam <[email protected]> 4886 4887 * libtiff/tif_jpeg.c: modified segment_height calculation to always 4888 be a full height tile for tiled images. Also changed error to just 4889 be a warning. 4890 48912003-05-25 Andrey Kiselev <[email protected]> 4892 4893 * tools/fax2tiff.c: Page numbering fixed, as per bug 4894 4895 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 4896 48972003-05-20 Andrey Kiselev <[email protected]> 4898 4899 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4900 configure, Makefile.in: Switched back to the old behaviour. Likely 4901 better solution should be found for OJPEG support. 4902 49032003-05-11 Andrey Kiselev <[email protected]> 4904 4905 * libtiff/mkversion.c: Fixed problem with wrong string size when 4906 reading RELEASE-DATE file. 4907 49082003-05-07 Andrey Kiselev <[email protected]> 4909 4910 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 4911 index was out of range. 4912 49132003-05-06 Andrey Kiselev <[email protected]> 4914 4915 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4916 configure, Makefile.in: Improved libtiff compilation with OJPEG 4917 support. Now no need for patching IJG JPEG library, hack requred by 4918 libtiff will be compiled and used in-place. Implemented with 4919 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 4920 4921 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 4922 TIFFVGetFieldDefaulted() function. 4923 49242003-05-05 Andrey Kiselev <[email protected]> 4925 4926 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 4927 comments. 4928 4929 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 4930 was not copied from source image. 4931 4932 * libtiff/getimage.c: Workaround for some images without correct 4933 info about alpha channel as per bug 4934 4935 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 4936 49372003-04-29 Andrey Kiselev <[email protected]> 4938 4939 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 4940 It basically allows one to use the /flateDecode filter for ZIP 4941 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 4942 4943 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 4944 4945 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 4946 as per bug 4947 4948 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 4949 49502003-04-17 Andrey Kiselev <[email protected]> 4951 4952 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 4953 due to problems with multidirectory images. Quality of error messages 4954 improved. 4955 49562003-04-16 Andrey Kiselev <[email protected]> 4957 4958 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 4959 encoded images. See bug entries 4960 4961 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 4962 4963 and 4964 4965 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4966 4967 * libtiff/tif_dirread.c: Additional check for StripByteCounts 4968 correctness. Fixes 4969 4970 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 4971 49722003-03-12 Andrey Kiselev <[email protected]> 4973 4974 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 4975 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 4976 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 4977 tiffmedian.c}: Added library version reporting facility to all tools. 4978 49792003-03-06 Frank Warmerdam <[email protected]> 4980 4981 * port/install.sh.in: Fixed problems with install producing paths 4982 like ///usr/local/lib on cygwin. 4983 49842003-02-27 Andrey Kiselev <[email protected]> 4985 4986 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 4987 raw input page. Patch supplied by Julien Gaulmin. See 4988 4989 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 4990 4991 for details. 4992 49932003-02-26 Frank Warmerdam <[email protected]> 4994 4995 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 4996 responsible for byte swapping complex image data. 4997 4998 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 4999 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 5000 50012003-02-07 Andrey Kiselev <[email protected]> 5002 5003 * tools/ppm2tiff.c: Fixed problem with too many arguments. 5004 50052003-02-04 Andrey Kiselev <[email protected]> 5006 5007 * tools/raw2tiff.c: Memory leak fixed. 5008 50092003-02-03 Andrey Kiselev <[email protected]> 5010 5011 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 5012 (thanks, Julien!). More switches for fax2tiff tool for better control 5013 of input and output. Details at 5014 5015 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 5016 50172003-02-03 Frank Warmerdam <[email protected]> 5018 5019 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 5020 library so that we can check if there is already any tile/strip data 5021 before deciding between creating a compressor or a decompressor. 5022 50232003-01-31 Frank Warmerdam <[email protected]> 5024 5025 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 5026 a pre-existing compressed image. That is, image writing to 5027 pre-existing compressed images is not allowed. 5028 5029 * libtiff/tif_open.c: Removed error if opening a compressed file 5030 in update mode. 5031 5032 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 5033 50342003-01-31 Andrey Kiselev <[email protected]> 5035 5036 * config.guess, config.sub: Updated to recent upstream versions. 5037 50382003-01-15 Frank Warmerdam <[email protected]> 5039 5040 * cut 3.6.0 Beta release. 5041 50422002-12-20 Andrey Kiselev <[email protected]> 5043 5044 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 5045 in wrong way as per bug 5046 5047 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 5048 50492002-12-17 Frank Warmerdam <[email protected]> 5050 5051 * libtiff/tif_dirread.c: Allow wrong sized arrays in 5052 TIFFFetchStripThing(). 5053 5054 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 5055 50562002-12-02 Frank Warmerdam <[email protected]> 5057 5058 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 5059 Was using realloc even first time. Fix by Igor Venevtsev. 5060 50612002-11-30 Frank Warmerdam <[email protected]> 5062 5063 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 5064 field value. 5065 5066 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 5067 tags in TIFFVGetField() ... added missing break. 5068 50692002-10-14 Frank Warmerdam <[email protected]> 5070 5071 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 5072 the scanline buffer long enough when writing rgb triplets. 5073 The scanline needs to be 3 X the number of dots or else it will 5074 contain an incomplete triplet and programs that try to separate 5075 the eps by redefining the colorimage operator will get messed up. 5076 Patch supplied by William Bader. 5077 5078 * Makefile.in: added tif_extension.c to file list as per 5079 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 5080 50812002-10-11 Andrey Kiselev <[email protected]> 5082 5083 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 5084 large files (>2GiB) supporting. New option in the config.site: 5085 LARGEFILE="yes". Should be enough for I/O of the large files. 5086 50872002-10-10 Frank Warmerdam <[email protected]> 5088 5089 * libtiff/html/v3.6.0.html: new release notes. 5090 5091 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 5092 link for Andrey. Pointer to v3.6.0.html. 5093 5094 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 5095 50962002-10-07 Andrey Kiselev <[email protected]> 5097 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 5098 (thanks, Sebastian!). New switches: 5099 -b # for a bottom margin of # inches 5100 -c center image 5101 -l # for a left margin of # inches 5102 -r rotate the image by 180 degrees 5103 New features merged with code for shrinking/overlapping. 5104 Previously added -c and -n switches (for overriding PS units) renamed 5105 in -x and -y respectively. 5106 5107 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 5108 5109 * html/man/*.html: Updated from actual manual pages. 5110 51112002-10-06 Frank Warmerdam <[email protected]> 5112 5113 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 5114 size on windows. Use #define boolean hack. 5115 5116 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 5117 5118 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 5119 USING_VISUALAGE is defined. 5120 5121 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5122 51232002-10-03 Frank Warmerdam <[email protected]> 5124 5125 * libtiff/tiff.h: added COMPRESSION_JP2000. 5126 51272002-10-02 Andrey Kiselev <[email protected]> 5128 5129 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 5130 by the TIFFFetchByteArray() function. Should finally resolve 5131 5132 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5133 5134 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 5135 5136 * html/Makefile.in: New targets added: html and groffhtml for 5137 producing HTML representations of the manual pages automatically. 5138 html target uses man2html tool, groffhtml uses groff tool. 5139 51402002-09-29 Frank Warmerdam <[email protected]> 5141 5142 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 5143 from John H. DuBois III. 5144 51452002-09-15 Andrey Kiselev <[email protected]> 5146 5147 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 5148 manual page for raw2tiff(1) tool. 5149 51502002-09-12 Andrey Kiselev <[email protected]> 5151 5152 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 5153 the tiffio.h header file. 5154 5155 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 5156 manual page for TIFFDataWidth() function 5157 51582002-09-08 Frank Warmerdam <[email protected]> 5159 5160 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 5161 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 5162 5163 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 5164 since we are unable to properly include the amount to skip. 5165 5166 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 5167 51682002-09-02 Andrey Kiselev <[email protected]> 5169 5170 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 5171 in TIFFFetchByteArray(). Problem described at 5172 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5173 51742002-08-22 Andrey Kiselev <[email protected]> 5175 5176 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 5177 in _TIFFSetupFieldInfo() function. 5178 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 5179 5180 * /libtiff/tif_lzw.c: Additional consistency checking added in 5181 LZWDecode() and LZWDecodeCompat(). 5182 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 5183 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5184 5185 * /libtiff/tif_lzw.c: 5186 Added check for valid code lengths in LZWDecode() and 5187 LZWDecodeCompat(). Fixes 5188 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 5189 51902002-08-16 Andrey Kiselev <[email protected]> 5191 5192 * /libtiff/{Makefile.vc, libtiff.def}: 5193 Missed declarations added. 5194 51952002-08-15 Frank Warmerdam <[email protected]> 5196 5197 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 5198 return code from the underlying pick function. 5199 5200 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 5201 5202 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 5203 with FIELD_CUSTOM as mentioned in bug 169. 5204 5205 * tif_close.c: added logic to free dynamically created anonymous 5206 field definitions to correct a small memory leak. 5207 5208 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 5209 52102002-08-10 Andrey Kiselev <[email protected]> 5211 5212 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 5213 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 5214 52152002-07-31 Frank Warmerdam <[email protected]> 5216 5217 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 5218 JPEGDecode() as per bugzilla bug (issue 1): 5219 5220 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 5221 5222 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 5223 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 5224 present in the tiff tags. 5225 5226 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 5227 5228 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 5229 TIFFWriteScanline() now set tif_row explicitly in case the codec has 5230 fooled with the value. 5231 5232 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 5233 52342002-06-22 Andrey Kiselev <[email protected]> 5235 5236 * /tools/tiff2ps.c: Added workaround for some software that may crash 5237 when last strip of image contains fewer number of scanlines than 5238 specified by the `/Height' variable. See 5239 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 5240 for explanation. 5241 52422002-06-21 Andrey Kiselev <[email protected]> 5243 5244 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 5245 splitting long images in several pages. See 5246 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 5247 Patch granted by John Williams <[email protected]>. 5248 52492002-06-11 Frank Warmerdam <[email protected]> 5250 5251 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 5252 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 5253 This one is described in: 5254 5255 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 5256 5257 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 5258 5259 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 5260 52612002-05-10 Andrey Kiselev <[email protected]> 5262 5263 * tools/tiff2ps: New commandline switches to override resolution 5264 units obtained from the input file. Closes 5265 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 5266 52672002-04-26 Andrey Kiselev <[email protected]> 5268 5269 * libtiff/libtiff.def: Added missed declaration. 5270 52712002-04-22 Andrey Kiselev <[email protected]> 5272 5273 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 5274 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 5275 52762002-04-20 Andrey Kiselev <[email protected]> 5277 5278 * libtiff/tif_open.c: Pointers to custom procedures 5279 in TIFFClientOpen() are checked to be not NULL-pointers. 5280 52812002-04-18 Andrey Kiselev <[email protected]> 5282 5283 * libtiff/libtiff.def: Added missed declarations. 5284 5285 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 5286 52872002-04-16 Andrey Kiselev <[email protected]> 5288 5289 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 5290 Should finally close 5291 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5292 52932002-04-10 Andrey Kiselev <[email protected]> 5294 5295 * tools/tiff2ps: Division by zero fixed. 5296 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 5297 52982002-04-09 Andrey Kiselev <[email protected]> 5299 5300 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 5301 TIFFCheckpointDirectory() routine added. 5302 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 5303 5304 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 5305 for the new function. 5306 53072002-04-08 Andrey Kiselev <[email protected]> 5308 5309 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 5310 additional members tif->tif_decodestatus and tif->tif_encodestatus 5311 for correct handling of unconfigured codecs (we should not try to read 5312 data or to define data size without correct codecs). 5313 5314 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 5315 changed. Now it has used tif->tif_decodestatus and 5316 tif->tif_encodestatus. 5317 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 5318 case of __cvs_8.tif test image). 5319 5320 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 5321 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 5322 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 5323 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 5324 53252002-04-04 Andrey Kiselev <[email protected]> 5326 5327 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 5328 replaced by warnings. Now libtiff should read corrupted LZW-compressed 5329 files by skipping bad strips. 5330 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5331 53322002-04-03 Frank Warmerdam <[email protected]> 5333 5334 * libtiff/tif_dirwrite.c: Removed some dead code. 5335 5336 * libtiff/*: Cleanup some warnings. 5337 5338 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 5339 for variable length FIELD_CUSTOM values. Was int * but should be 5340 u_short *. 5341 53422002-04-01 Andrey Kiselev <[email protected]> 5343 5344 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 5345 utility (at cpStripToTile routine). 5346 53472002-03-27 Frank Warmerdam <[email protected]> 5348 5349 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 5350 5351 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 5352 5353 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 5354 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 5355 5356 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 5357 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 5358 53592002-03-26 Dwight Kelly <[email protected]> 5360 5361 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 5362 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 5363 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 5364 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 5365 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 5366 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 5367 53682002-03-26 Andrey Kiselev <[email protected]> 5369 5370 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 5371 now also uses TIFFRGBAImageOK before reading. This is additional fix 5372 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 5373 53742002-03-25 Andrey Kiselev <[email protected]> 5375 5376 * libtiff/: tif_getimage.c: Additional check for supported 5377 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 5378 TIFFRGBAImageOK before reading. 5379 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 5380 53812002-03-15 Andrey Kiselev <[email protected]> 5382 5383 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 5384 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 5385 TIFFDataType sizes instead of working with tiffDataWidth array 5386 directly. Should prevent out-of-borders bugs in case of unknown or 5387 broken data types. EstimateStripByteCounts routine modified, so it 5388 won't work when tags with uknown sizes founded. 5389 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 5390 53912002-03-13 Andrey Kiselev <[email protected]> 5392 5393 * libtiff/tif_getimage.c: Added support for correct handling 5394 `Orientation' tag in gtTileContig. Should be added in other gt* 5395 functions as well, but I have not images for testing yet. Partially 5396 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 5397 53982002-03-10 Andrey Kiselev <[email protected]> 5399 5400 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 5401 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 5402 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 5403 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 5404 54052002-03-08 Andrey Kiselev <[email protected]> 5406 5407 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 5408 be stripped when installing, utility binaries will do. Closes 5409 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 5410 54112002-02-28 Frank Warmerdam <[email protected]> 5412 5413 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 5414 5415 * man/libtiff.3t: added copyright tag info. 5416 54172002-02-11 Frank Warmerdam <[email protected]> 5418 5419 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 5420 5421 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 5422 5423 * man/Makefile.in: Patch DESTDIR handling 5424 5425 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 5426 5427 * configure: OpenBSD changes for Sparc64 and DSO version. 5428 5429 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 5430 54312002-02-05 Frank Warmerdam <[email protected]> 5432 5433 * config.site/configure: added support for OJPEG=yes option to enable 5434 OJPEG support from config.site. 5435 54362002-01-27 Frank Warmerdam <[email protected]> 5437 5438 * html/document.html: fixed links for TIFf 6 docs. 5439 54402002-01-18 Frank Warmerdam <[email protected]> 5441 5442 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 5443 5444 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 5445 decodestrip function returns anything not greater than zero as per 5446 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 5447 5448 * configure: Modify CheckForBigEndian so it can work in a cross 5449 compiled situation. 5450 54512002-01-16 Frank Warmerdam <[email protected]> 5452 5453 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 5454 5455 * tools/tiffset.c: fix bug in error reporting. 5456 5457 * tools/tiffcp.c: fix several warnings that show up with -Wall. 5458 54592002-01-04 Frank Warmerdam <[email protected]> 5460 5461 * libtiff/tif_jpeg.c: fixed computation of segment_width for 5462 tiles files to avoid error about it not matching the 5463 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 5464 size.") for ITIFF files. Apparently the problem was incorporated since 5465 3.5.5, presumably during the OJPEG/JPEG work recently. 5466 54672001-12-15 Frank Warmerdam <[email protected]> 5468 5469 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 5470 5471 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 5472 5473 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 5474 (defined in tiffconf.h - 1 by default) then the RGBA interface 5475 will assume that a fourth extra sample is ASSOCALPHA if the 5476 EXTRASAMPLE value isn't set for it. This changes the behaviour of 5477 the library, but makes it work better with RGBA files produced by 5478 lots of applications that don't mark the alpha values properly. 5479 5480 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 5481 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 5482 54832001-12-12 Frank Warmerdam <[email protected]> 5484 5485 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 5486 override those from tiff directory. This makes this work with 5487 ImageGear generated files. 5488 54892001-12-07 Frank Warmerdam <[email protected]> 5490 5491 * html/Makefile.in: added missing images per bug 92. 5492 5493 * port/Makefile.in: fixed clean target per bug 92. 5494 54952001-11-28 Frank Warmerdam <[email protected]> 5496 5497 * Reissue 3.5.7 release. 5498 5499 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 5500 YYYYMMDD so that it is increasing over time. 5501 5502 * Makefile.in: Ensure that tiffvers.h is regenerated in the 5503 make release target. 5504 5505 * Makefile.in: added libtiff/tiffvers.h to the release file list. 5506 55072001-11-23 Frank Warmerdam <[email protected]> 5508 5509 * added html/v3.5.7.html, updated html/index.html. 5510 5511 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 5512 55132001-11-15 Frank Warmerdam <[email protected]> 5514 5515 * configure: fixed test for -lm. 5516 55172001-11-02 Frank Warmerdam <[email protected]> 5518 5519 * Added PHOTOMETRIC_ITULAB as per bug 90. 5520 5521 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 5522 55232001-10-10 Frank Warmerdam <[email protected]> 5524 5525 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 5526 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 5527 in keeping with TIFF 6.0 standard in tiff.h 5528 5529 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 5530 55312001-09-26 Frank Warmerdam <[email protected]> 5532 5533 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 5534 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 5535 55362001-09-24 Frank Warmerdam <[email protected]> 5537 5538 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 5539 5540 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 5541 5542 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 5543 error about LZW not being available. 5544 5545 * libtiff/tif_dir.c: propagate failure to initialize compression 5546 back from TIFFSetField() as an error status, so applications can 5547 detect failure. 5548 5549 * libtiff/tif_dir.c: removed the auto replacement of 5550 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 5551 5552 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 5553 from CVS as they are all supposed to be auto-generated by configure. 5554 55552001-09-22 Frank Warmerdam <[email protected]> 5556 5557 * libtiff/tif_ojpeg.c: new update from Scott. 5558 55592001-09-09 Frank Warmerdam <[email protected]> 5560 5561 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 5562 always use the "safe" version, even if there is a very slight 5563 cost in performance. 5564 5565 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 5566 5567 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 5568 in two places. 5569 5570 * libtiff/tif_getimage.c: Fixed problem with reading strips or 5571 tiles that don't start on a tile boundary. Fix contributed by 5572 Josep Vallverdu (from HP), and further described in bug 47. 5573 5574 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 5575 5576 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 5577 5578 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 5579 55802001-09-06 Frank Warmerdam <[email protected]> 5581 5582 * libtiff/tif_packbits.c: fixed memory overrun error. 5583 5584 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 5585 55862001-08-31 Frank Warmerdam <[email protected]> 5587 5588 * libtiff/tif_getimage.c: relax handling of contig case where 5589 there are extra samples that are supposed to be ignored. This 5590 should now work for 8bit greyscale or palletted images. 5591 5592 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 5593 55942001-08-28 Frank Warmerdam <[email protected]> 5595 5596 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 5597 images with more than four samples per pixel. See: 5598 5599 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 5600 56012001-08-10 Frank Warmerdam <[email protected]> 5602 5603 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 5604 in TIFFReadRGBATile() to avoid issues in cases of overlapping 5605 buffers. See Bug 69 in Bugzilla. 5606 5607 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 5608 5609 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 5610 56112001-08-09 Frank Warmerdam <[email protected]> 5612 5613 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 5614 when checking for 64 bit architectures as per bugzilla bug 67. 5615 56162001-07-27 Frank Warmerdam <[email protected]> 5617 5618 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 5619 bug 66. 5620 56212001-07-20 Frank Warmerdam <[email protected]> 5622 5623 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 5624 has been included. 5625 56262001-07-19 Frank Warmerdam <[email protected]> 5627 5628 * libtiff/tif_open.c: Seek back to zero after failed read, 5629 before writing header. 5630 56312001-07-18 Frank Warmerdam <[email protected]> 5632 5633 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 5634 much better. Now depends on having patched libjpeg as per 5635 patch in contrib/ojpeg/*. 5636 56372001-07-17 Frank Warmerdam <[email protected]> 5638 5639 * */Makefile.in: added DESTDIR support. 5640 5641 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 5642 56432001-07-16 Frank Warmerdam <[email protected]> 5644 5645 * configure, libtiff/Makefile.in: applied OpenBSD patches 5646 as per: 5647 5648 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 5649 56502001-06-28 Frank Warmerdam <[email protected]> 5651 5652 * libtiff/tif_getimage.c: Fixed so that failure is properly 5653 reported by gtTileContig, gtStripContig, gtTileSeparate and 5654 gtStripSeparate. 5655 5656 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 5657 5658 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 5659 Updated bug section of tiffcmp.1 to note tiled file issues. 5660 5661 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 5662 56632001-06-22 Frank Warmerdam <[email protected]> 5664 5665 * configure: Changes for DSO generation on AIX provided by 5666 John Marquart <[email protected]>. 5667 5668 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 5669 on Darwin thanks to Robert Krajewski ([email protected]) and 5670 Keisuke Fujii ([email protected]). 5671 56722001-06-13 Frank Warmerdam <[email protected]> 5673 5674 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 5675 5676 * man/tiff2rgba.1: new 5677 56782001-05-22 Frank Warmerdam <[email protected]> 5679 5680 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 5681 56822001-05-13 Frank Warmerdam <[email protected]> 5683 5684 * libtiff/tools/thumbnail.c: changed default output compression 5685 to packbits from LZW since LZW isn't generally available. 5686 56872001-05-12 Frank Warmerdam <[email protected]> 5688 5689 * libtiff/tif_ojpeg.c: New. 5690 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 5691 to OJPEG support. 5692 5693 Scott Marovich <[email protected]> supplied OJPEG support. 5694 56952001-05-11 Frank Warmerdam <[email protected]> 5696 5697 * tiff.h: removed, it duplicates libtiff/tiff.h. 5698 56992001-05-08 Frank Warmerdam <[email protected]> 5700 5701 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 5702 ensure everything is in order. 5703 5704 * libtiff/libtiff.def: added TIFFCreateDirectory and 5705 TIFFDefaultStripSize as per: 5706 5707 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 5708 57092001-05-02 Frank Warmerdam <[email protected]> 5710 5711 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 5712 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 5713 force use of uint32 counts instead of short counts. 5714 5715 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 5716 case of writing TIFF_BYTE/TIFF_SBYTE fields. 5717 5718 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 5719 57202001-05-01 Frank Warmerdam <[email protected]> 5721 5722 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 5723 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 5724 57252001-04-05 Frank Warmerdam <[email protected]> 5726 5727 * tiffio.h: removed C++ style comment. 5728 5729 * configure: fixed up SCRIPT_SH/SHELL handling. 5730 5731 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 5732 5733 * config.guess: documented more variables as per bug 40. 5734 57352001-04-03 Frank Warmerdam <[email protected]> 5736 5737 * configure, *Makefile.in: Various changes to improve configuration 5738 for HP/UX specifically, and also in general. They include: 5739 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 5740 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 5741 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 5742 - Use -${MAKEFLAGS} in sub makes from makefiles. 5743 5744 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 5745 57462001-04-02 Frank Warmerdam <[email protected]> 5747 5748 * libtiff/tiff.h: Applied hac to try and resolve the problem 5749 with the inttypes.h include file on AIX. 5750 5751 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5752 5753 * VERSION: update to 3.5.7 beta in preparation for release. 5754 5755 * configure/config.site: modified to check if -lm is needed for 5756 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 5757 5758 * config.guess: updated wholesale to an FSF version apparently 5759 from 1998 (as opposed to 1994). This is mainly inspired by 5760 providing for MacOS X support. 5761 57622001-03-29 Frank Warmerdam <[email protected]> 5763 5764 * configure, Makefile.in, etc: added support for OPTIMIZER being 5765 set from config.site. 5766 57672001-03-28 Frank Warmerdam <[email protected]> 5768 5769 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 5770 5771 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 5772 sizes. It fixes two problems: 5773 5774 Without scaling (-S) the fax is now centered on the page size specified 5775 with -H and/or -W. Before, fax2ps was using an obscure and practially 5776 useless algorithm to allocate the image relative to Letter sized paper 5777 which sometime sled to useless whitespace on the paper, while at the 5778 same time cutting of the faxes printable area at the opposite border. 5779 5780 Second, scaling now preserves aspect ratio, which makes unusual faxes 5781 (in particular short ones) print properly. 5782 5783 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 5784 5785 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 5786 Bruce A. Mallett. See check message for detailed information 5787 on all the changes, including a faster encoder, fixes for level 5788 2 PostScript, and support for the imagemask operator. 5789 57902001-03-27 Frank Warmerdam <[email protected]> 5791 5792 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 5793 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 5794 5795 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5796 57972001-03-16 Frank Warmerdam <[email protected]> 5798 5799 * tif_dirinfo.c: moved definition of copyright tag in field list. 5800 Apparently they have to be in sorted order by tag id. 5801 58022001-03-13 Frank Warmerdam <[email protected]> 5803 5804 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 5805 images in RGBA interface. 5806 58072001-03-02 Frank Warmerdam <[email protected]> 5808 5809 * Added TIFFTAG_COPYRIGHT support. 5810 58112001-02-19 Frank Warmerdam <[email protected]> 5812 5813 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 5814 with support for extracting subimages with the ,n syntax, and also 5815 adding the -b bias removal flag. 5816 58172001-02-16 Frank Warmerdam <[email protected]> 5818 5819 * libtiff/libtiff.def: Brent Roman submitted new version adding 5820 serveral missing entry points. 5821 5822 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 5823 Some sort of weird VMS thing. 5824 5825 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 5826 5827 * tif_luv.c/tiff.h/tiffio.h: 5828 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 5829 ([email protected]). He writes: 5830 5831 1) I improved the gamut-mapping function in tif_luv.c for imaginary 5832 colors, because some images were being super-saturated on the input 5833 side and this resulted in some strange color shifts in the output. 5834 5835 2) I added a psuedotag in tiff.h to control random dithering during 5836 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 5837 on for 24-bit LogLuv output. Dithering improves the average color 5838 accuracy over the image. 5839 5840 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 5841 tiffio.h, to expose internal routines for converting between LogLuv and 5842 XYZ coordinates. This is helpful for writing more efficient, 5843 specialized conversion routines, especially for reading LogLuv files. 5844 5845 Changes applied with minor edits. 5846 58472001-01-23 Frank Warmerdam <[email protected]> 5848 5849 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 5850 whether we are encoding or decoding. This is to ensure graceful 5851 recovery if TIFFClientOpen() discovers an attempt to open a compressed 5852 file for "r+" access, and subsequently close it, as it resets the 5853 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 5854 compressor's concept of whether it is in encode or decode mode. 5855 58562001-01-08 Mike Welles <[email protected]> 5857 5858 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 5859 58602001-01-07 Frank Warmerdam <[email protected]> 5861 5862 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 5863 as per bug report by Patrick Connor. 5864 58652000-12-28 Frank Warmerdam <[email protected]> 5866 5867 * Added RELEASE-DATE file to release file list. 5868 5869 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 5870 58712000-12-22 Mike Welles <[email protected]> 5872 * added link to CVS mirror from index.html 5873 5874 * updated html/internals.html to note that LZW compression is 5875 not supported by default. 5876 58772000-12-22 Frank Warmerdam <[email protected]> 5878 5879 * updated html/libtiff.html to not point at Niles' old JPL web site 5880 for the man pages, point at www.libtiff.org. 5881 58822000-12-21 Frank Warmerdam <[email protected]> 5883 5884 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 5885 Leonard Rosenthol <[email protected]>. May interfere 5886 with correct building on older systems. If so, please let me know. 5887 58882000-12-19 Mike Welles <[email protected]> 5889 5890 * Took out LZW Encoding from tif_lzw.c 5891 5892 * Created HOWTO-RELEASE 5893 5894 * Created html/v3.5.6.html 5895 5896 * updated index.html 5897 58982000-12-01 Frank Warmerdam <[email protected]> 5899 5900 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 5901 Patches supplied by Frank Cringle <[email protected]> 5902 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 5903 59042000-11-24 Frank Warmerdam <[email protected]> 5905 5906 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 5907 target so that the private headers required by libgeotiff can be 5908 installed with the others. They are not installed by default. 5909 5910 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 5911 targets so libtiff.so will be built with an explicit dependency 5912 on libm.so. 5913 5914 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 5915 libtiff.so.3.5.5. 5916 5917 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 5918 file, or ALPHA version logic. Added stuff about DIST_POINT in 5919 place of DIST_TYPE and the alpha release number stuff. 5920 59212000-11-22 Frank Warmerdam <[email protected]> 5922 5923 * I have applied a patch from Steffen Moeller <[email protected]> to 5924 the configure script so that it now accepts the --prefix, and 5925 --exec-prefix directives. 5926 59272000-11-13 Frank Warmerdam <warmerda@cs46980-c> 5928 5929 * I have made a variety of modifications in an effort to ensure the 5930 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 5931 file which seems to be updated regularly. 5932 5933 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 5934 version include file. 5935 o renamed version.h to tiffvers.h because we now have to install it 5936 with the public libtiff include files. 5937 o include tiffvers.h in tiffio.h. 5938 o updated tif_version.c to use tiffvers.h. 5939 o Updated Makefile.in accordingly. 5940 5941 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 5942 I have updated the win32 detection rules in tiffcomp.h. 5943 59442000-10-20 Frank Warmerdam <warmerda@cs46980-c> 5945 5946 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 5947 the strip/tile width and height aren't multiples of the sampling size. 5948 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 5949 Some patches from Rick LaMont of Dot C Software. 5950 5951 * Modified tif_packbits.c encoder to avoid compressing more 5952 data than provided if rowsize doesn't factor into provided data 5953 (such as occurs for YCbCr). 5954 59552000-10-19 Frank Warmerdam <warmerda@cs46980-c> 5956 5957 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 5958 roundup if rows_per_strip not a multiple of vertical sample size. 5959 59602000-10-16 Frank Warmerdam <warmerda@cs46980-c> 5961 5962 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 5963 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5964 from [email protected]. 5965 5966 * Modified tif_packbits.c decoding to avoid overrunning the 5967 output buffer, and to issue a warning if data needs to be 5968 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5969 59702000-10-12 Frank Warmerdam <warmerda@cs46980-c> 5971 5972 * Modified tiff2bw to ensure portions add to 100%, and that 5973 white is properly recovered. 5974 5975 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 5976 Patch c/o Stanislav Brabec <[email protected]> 5977 59782000-09-30 Frank Warmerdam <warmerda@cs46980-c> 5979 5980 * Modified TIFFClientOpen() to emit an error on an attempt to 5981 open a comperessed file for update (O_RDWR/r+) access. This is 5982 because the compressor/decompressor code gets very confused when 5983 the mode is O_RDWR, assuming this means writing only. See 5984 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 5985 59862000-09-27 Frank Warmerdam <warmerda@cs46980-c> 5987 5988 * Added GNULDdso target an`d switched linux and freebsd to use it. 5989 59902000-09-26 Frank Warmerdam <warmerda@cs46980-c> 5991 5992 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 5993 of EXPAND1D() as per bug 11 (from Roman). 5994 59952000-09-25 Frank Warmerdam <warmerda@cs46980-c> 5996 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 5997 cygwin compatibility. 5998 5999 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 6000 be a proper fix to the buffer sizing problem. See 6001 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 6002 6003 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 6004 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 6005 Thanks to Nick Lamb <[email protected]> for reporting the 6006 bug and proving the patch. 6007 60082000-09-18 Frank Warmerdam <warmerda@cs46980-c> 6009 6010 * Fixed tif_jpeg.c so avoid destroying the decompressor before 6011 we are done access data thanks to bug report from: 6012 Michael Eckstein <[email protected]>. 6013 6014 * Reverted tif_flush change. 6015 60162000-09-14 Frank Warmerdam <warmerda@cs46980-c> 6017 6018 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 6019 error when TIFF_BEENWRITING is not set. This ensures that the 6020 directory contents can still be flushed by TIFFFlush(). 6021 60222000-08-14 Frank Warmerdam <[email protected]> 6023 6024 * tif_open.c: Don't set MMAP for O_RDWR files. 6025 6026 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 6027 so that files opened for update can be strip chopped too. 6028 6029 * tif_read.c: fixed up bug with files missing rowsperstrip and 6030 the strips per separation fix done a few weeks ago. 6031 60322000-07-17 Frank Warmerdam <warmerda@cs46980-c> 6033 6034 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 6035 SAMPLEFORMAT_COMPLEXINT. 6036 60372000-07-13 Mike Welles <[email protected]> 6038 6039 * index.html, bugs.html: added bugzilla info. 6040 60412000-07-12 Frank Warmerdam <[email protected]> 6042 6043 * tif_read.c: fix subtle bug with determining the number of 6044 rows for strips that are the last strip in a separation but 6045 not the last strip of all in TIFFReadEncodedStrip(). 6046 6047 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 6048 Peter Skarpetis <[email protected]> 6049 60502000-06-15 Frank Warmerdam <[email protected]> 6051 6052 * Modified tiffio.h logic with regard to including windows.h. It 6053 won't include it when building with __CYGWIN__. 6054 60552000-05-11 Frank Warmerdam <warmerda@cs46980-c> 6056 6057 * README: update to mention www.libtiff.org, don't list Sam's old 6058 email address. 6059 6060 * configure: Fixed DSO test for Linux as per patch from 6061 Jan Van Buggenhout <[email protected]>. 6062 60632000-04-21 Frank Warmerdam <[email protected]> 6064 6065 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 6066 one tile/strip images with an offset, and byte count of zero. These 6067 could be "unpopulated" images. 6068 60692000-04-18 Frank Warmerdam <[email protected]> 6070 6071 * contrib/addtiffo: Added "averaging" resampling option. 6072 6073 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 6074 6075Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 6076 6077 * tools/Makefile.in: Modified to install properly on SGI. 6078 60792000-04-12 Mike Welles <[email protected]> 6080 * configure: Fixed stupid mistake in libc6 test on Linux 6081 60822000-04-04 Mike Welles <[email protected]> 6083 * tif_win32.c: Applied patch to fix overreads and ovverwrites 6084 caught by BoundsChecker. From Arvan Pritchard 6085 <[email protected]> (untested). 6086 6087 * tif_getimage.c: Applied patch to silence VC6 warnings. From 6088 Arvan Pritchard <[email protected]> 6089 6090 * tif_lzw.c: Applied patch to silence VC6 warnings. From 6091 Arvan Pritchard <[email protected]> 6092 60932000-03-28 Frank Warmerdam <warmerda@cs46980-c> 6094 6095 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 6096 60972000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 6098 6099 * fax2ps: Fixed mixup of width and height in bounding box statement 6100 as per submission by Nalin Dahyabhai <[email protected]>. 6101 61022000-03-27 Mike Welles <[email protected]> 6103 6104 * fax2ps: Modified printruns to take uint32 instead of uint16. 6105 Patch courtesy of Bernt Herd <[email protected]> 6106 61072000-03-20 Mike Welles <[email protected]> 6108 6109 * configure: added test for libc6 for linux targets. Bug reported by 6110 Stanislav Brabec <[email protected]> 6111 6112 * Added 3.5 docs to html/Makefile.in. 6113 Thanks to Stanislav Brabec <[email protected]> 6114 6115 * configure: fixed bugs in sed scripts 6116 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 6117 fix submitted to Stanislav Brabec <[email protected]> 6118 6119 * tools/iptcutil was not in files list, and wasn't being 6120 added to tar archive. Updated Makefile.in. 6121 61222000-03-17 Frank Warmerdam <warmerda@cs46980-c> 6123 6124 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 6125 conversion for the run arrays. 6126 61272000-03-03 Frank Warmerdam <[email protected]> 6128 6129 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 6130 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 6131 61322000-03-02 Frank Warmerdam <[email protected]> 6133 6134 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 6135 6136 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 6137 to avoid overruns encountered with frle_bug.tif. 6138 6139Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 6140 6141 * Fixed tools/tiffcmp so that stopondiff testing works. 6142 Patch care of Joseph Orost <[email protected]>. 6143 61442000-01-28 <warmerda@CS46980-B> 6145 6146 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 6147 set to 1, and added default (off) setting in tiffconf.h. This 6148 should eventually be set by the configure script somehow. 6149 6150 The original work on all these 2-4GB changes was done by 6151 Peter Smith ([email protected]). 6152 6153 * Modified tif_win32.c to support 2-4GB seeks. 6154 6155 * tentatively changed toff_t to be unsigned instead of signed to 6156 facilitate support for 2-4GB files. 6157 6158 * Updated a variety of files to use toff_t. Fixed some mixups 6159 between toff_t and tsize_t. 6160 6161Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 6162 6163 * Largely reimplemented contrib/addtiffo to avoid temp files, 6164 updating the TIFF file in place. Fixed a few other bugs to. 6165 6166 * Set tif_rawdatasize to zero when freeing raw data buffer in 6167 TIFFWriteDirectory(). 6168 6169 * Enabled "REWRITE_HACK" in tif_write.c by default. 6170 6171 * Fix bug in tif_write.c when switching between reading one directory 6172 and writing to another. 6173 6174 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 6175 6176Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 6177 6178 * Added TIFFmemory(3t) functions to libtiff.def. 6179 6180Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 6181 6182 * Added libtiff/libtiff.def to TIFFILES distribution list. 6183 6184Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 6185 6186 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 6187 6188 * Altered descriptions in tools to reflect "by default" lzw not supported 6189 6190 * Updated index.html to note lzw compression kit. 6191 6192Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 6193 6194 * Added fax3sm_winnt.c to distribution list in Makefile.in. 6195 6196Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 6197 6198 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 6199 6200 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 6201 when LZW compression invoked. 6202 6203 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 6204 in tools to reflect removal of LZW compression 6205 6206Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 6207 6208 * Fixed bug that caused LZW (non) compression to segfault. Added 6209 warning about LZW compression removed being removed, and why. 6210 6211 * Added nostrip to install in tools/Makefile.in so that debugging 6212 symbols are kept. 6213 6214Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 6215 6216 * Added patch from Ivo Penzar <[email protected]>, 6217 supporting Adobe ZIP deflate. Untested. 6218 6219Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 6220 6221 * Made Packbits the default compression in tools/tiff2rgba.c instead 6222 of LZW. 6223 6224Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 6225 6226 * Added tif_luv to contrib/djgpp/Makefile.lib. 6227 6228Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 6229 6230 * Added zip creation to relase makefile target 6231 6232 * Added html for TIFFWriteTile.3t man page. 6233 6234Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 6235 6236 * Added some changes to tif_write.c to support rewriting existing 6237 fixed sized tiles and strips. Code mods disabled by default, only 6238 enabled if REWRITE_HACK is defined for now. 6239 6240Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 6241 6242 * Added TIFFWriteTile.3t man page. 6243 6244Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 6245 6246 * Added notes on use of makefile.vc in build.html, and fixed 6247 email subscription address. 6248 6249199-11-28 Mike Welles <[email protected]> 6250 6251 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 6252 6253 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 6254 from Bruce Carmeron <[email protected]> -- modifications of 6255 changes made by Frank (sun cc still complained on cast). 6256 6257 * Added tiffconf.h to install target per request from Bill 6258 Radcliffe <[email protected]>: "We need a way for ImageMagick to 6259 know features have been compiled into the TIFF library in order to 6260 handle things properly". 6261 6262Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 6263 6264 * fixed various VC++ warnings as suggested by Gilles Vollant 6265 <[email protected]>. 6266 6267Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 6268 6269 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 6270 not imply applications are responsible for image data swapping. 6271 62721999-11-22 Mike Welles <[email protected]> 6273 * HTML-ized the man pages, added to html/man 6274 6275 * Removed LZW Compression to comply with Unisys patent extortion. 6276 62771999-09-29 Mike Welles <[email protected]> 6278 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 6279 From Ivo Penzar <[email protected]. 6280 6281 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 6282 memory mapped files. <[email protected]> 6283 62841999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 6285 * Corrected alpha versioning. 6286 6287 * Removed distinction between alpha and release targets in Makefile.in. 6288 6289 * added release.stamp target, which tags cvs tree, and updates 6290 "RELEASE-DATE" 6291 6292 * added releasediff target, which diffs tree with source as of 6293 date in "RELEASE-DATE" 6294 6295 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 6296 away from alpha/non-alpha distinctions). 6297 6298 * updated html to reflect release 6299 63001999-09-23 <warmerda@CS46980-B> 6301 6302 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 6303 6304 * Added CYGWIN case in configure. 6305 6306Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 6307 6308 * Applied Francois Dagand's patch to handle fax decompression bug. 6309 (sizes >= 65536 were failing) 6310 6311Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 6312 6313 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 6314 by Christopher Lawton <[email protected]> 6315 6316Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 6317 6318 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 6319 Albert Chin-A-Young <[email protected]> 6320 6321 * Added TIFFReassignTagToIgnore() API on behalf of 6322 Bruce Cameron <[email protected]>. Man page still pending. 6323 6324Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 6325 6326 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 6327 files to provide for a rudimentary testsuite. 6328 6329 * Added contrib/tags back from old distribution ... fixed up a bit. 6330 63311999-08-16 <warmerda@CS46980-B> 6332 6333 * Added simple makefile.vc makefiles for building with MS VC++ 6334 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 6335 better solutions for some users. 6336 6337Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 6338 6339 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 6340 put it in tools since part of it is in C++. 6341 63421999-08-16 Michael L. Welles <[email protected]> 6343 6344 * Updated html/index.html with anon CVS instructions. 6345 6346Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 6347 6348 * pre-remove so link before softlink in LINUXdso action in 6349 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 6350 the first. 6351 6352 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 6353 colormaps owned by the TIFF handle itself when trying to fixup wrong 6354 (eight bit) colormaps. Corrected by maintaining a private copy of 6355 the colormap. 6356 6357 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 6358 tif_getimage.c. 6359 6360 * CVS Repository placed at remotesensing.org. ChangeLog added. 6361