12015-01-26 Even Rouault <[email protected]> 2 3 * add html/v4.0.4beta.html under version control 4 * HOWTO-RELEASE: write that cvs add html/vX.X.html must be used 5 62015-01-26 Even Rouault <[email protected]> 7 8 * libtiff 4.0.4beta released 9 102015-01-26 Even Rouault <[email protected]> 11 12 * automake: updated to 1.15 13 * libtool: updated to 2.4.5 14 152015-01-22 Even Rouault <[email protected]> 16 17 * tools/tiff2pdf.c: Fix two crashes (oCERT-2014-013) 18 192015-01-05 Frank Warmerdam <[email protected]> 20 21 * html/bugs.html: remove note about needing to email the tiff mailing 22 list administrator about being approved for membership, this appears 23 not to be true. 24 252015-01-05 Olivier Paquet <[email protected]> 26 27 * tools/tiff2pdf.c: Fixed unsigned integer addition overflow detection. 28 292015-01-03 Even Rouault <[email protected]> 30 31 * libtiff/tif_dirread.c: in TIFFCheckDirOffset(), avoid uint16 overflow 32 when reading more than 65535 directories, and effectively error out when 33 reaching that limit. 34 352014-12-29 Even Rouault <[email protected]> 36 37 * libtiff/tif_jpeg.c: in JPEGFixupTags(), recognize SOF2, SOF9 and SOF10 38 markers to avoid emitting a warning (even if, according to the TechNote, 39 there are admitedly unusual/not recommended or even forbidden variants, but 40 they do work well with libjpeg for SOF2, and with libjpeg-turbo for SOF2, 41 SOF9 and SOF10). 42 Define in_color_space and input_components to the right values in 43 JPEGSetupEncode(), before calling jpeg_set_defaults(), as specified by 44 libjpeg API documentation, so as to be compatible with mozjpeg library. 45 Note: the default settings of mozjpeg will produce progressive scans, which 46 is forbidden by the TechNote. 47 482014-12-29 Even Rouault <[email protected]> 49 50 * libtiff/tif_getimage.c: move test on vertical value of YCbCr subsampling. 51 to avoid buffer leak (fix previous fix, found by Coverity scan) 52 532014-12-29 Even Rouault <[email protected]> 54 55 * libtiff/tif_next.c: add new tests to check that we don't read outside of 56 the compressed input stream buffer. 57 58 * libtiff/tif_getimage.c: in OJPEG case, fix checks on strile width/height 59 in the putcontig8bitYCbCr42tile, putcontig8bitYCbCr41tile and 60 putcontig8bitYCbCr21tile cases. 61 622014-12-27 Even Rouault <[email protected]> 63 64 * libtiff/tif_dir.c: in TIFFDefaultDirectory(), reset any already existing 65 extented tags installed by user code through the extender mechaninm before 66 calling the extender callback (GDAL #5054) 67 682014-12-26 Bob Friesenhahn <[email protected]> 69 70 * tools/tiffcrop.c: Fix warnings about variables set but not used. 71 72 * contrib/iptcutil/iptcutil.c: Fix warnings about variables set 73 but not used. 74 75 * tools/tiffgt.c: Fix warnings about unused parameters. 76 77 * libtiff/tif_stream.cxx: Fix warnings about unused parameters. 78 792014-12-25 Even Rouault <[email protected]> 80 81 * libtiff/tif_getimage.c, libtiff/tif_ojpeg.c, libtiff/tif_zip.c: fix 82 various typos found by Debian lintian tool (GDAL #5756) 83 842014-12-24 Even Rouault <[email protected]> 85 86 * libtiff/tif_getimage.c: avoid divide by zero on invalid YCbCr subsampling. 87 http://bugzilla.maptools.org/show_bug.cgi?id=2235 88 892014-12-24 Even Rouault <[email protected]> 90 91 * tools/tiff2pdf.c: fix buffer overflow on some YCbCr JPEG compressed images. 92 http://bugzilla.maptools.org/show_bug.cgi?id=2445 93 942014-12-24 Even Rouault <[email protected]> 95 96 * tools/tiff2pdf.c: fix buffer overflow on YCbCr JPEG compressed image. 97 Derived from patch by Petr Gajdos, 98 http://bugzilla.maptools.org/show_bug.cgi?id=2443 99 1002014-12-23 Even Rouault <[email protected]> 101 102 * libtiff/tif_dirread.c: In EstimateStripByteCounts(), check return code 103 of _TIFFFillStriles(). This solves crashing bug on corrupted 104 images generated by afl. 105 1062014-12-23 Even Rouault <[email protected]> 107 108 * libtiff/tif_read.c: fix several invalid comparisons of a uint64 value with 109 <= 0 by casting it to int64 first. This solves crashing bug on corrupted 110 images generated by afl. 111 1122014-12-21 Bob Friesenhahn <[email protected]> 113 114 * tools/tiffdump.c: Guard against arithmetic overflow when 115 calculating allocation buffer sizes. 116 1172014-12-21 Even Rouault <[email protected]> 118 119 * tools/tiff2bw.c: when Photometric=RGB, the utility only works if 120 SamplesPerPixel = 3. Enforce that 121 http://bugzilla.maptools.org/show_bug.cgi?id=2485 (CVE-2014-8127) 122 1232014-12-21 Even Rouault <[email protected]> 124 125 * tools/pal2rgb.c, tools/thumbnail.c: fix crash by disabling TIFFTAG_INKNAMES 126 copying. The right fix would be to properly copy it, but not worth the burden 127 for those esoteric utilities. 128 http://bugzilla.maptools.org/show_bug.cgi?id=2484 (CVE-2014-8127) 129 1302014-12-21 Even Rouault <[email protected]> 131 132 * tools/thumbnail.c: fix out-of-buffer write 133 http://bugzilla.maptools.org/show_bug.cgi?id=2489 (CVE-2014-8128) 134 1352014-12-21 Even Rouault <[email protected]> 136 137 * tools/thumbnail.c, tools/tiffcmp.c: only read/write TIFFTAG_GROUP3OPTIONS 138 or TIFFTAG_GROUP4OPTIONS if compression is COMPRESSION_CCITTFAX3 or 139 COMPRESSION_CCITTFAX4 140 http://bugzilla.maptools.org/show_bug.cgi?id=2493 (CVE-2014-8128) 141 1422014-12-21 Even Rouault <[email protected]> 143 144 * libtiff/tif_next.c: check that BitsPerSample = 2. Fixes 145 http://bugzilla.maptools.org/show_bug.cgi?id=2487 (CVE-2014-8129) 146 1472014-12-21 Even Rouault <[email protected]> 148 149 * tools/tiff2pdf.c: check return code of TIFFGetField() when reading 150 TIFFTAG_SAMPLESPERPIXEL 151 1522014-12-21 Even Rouault <[email protected]> 153 154 * tools/tiffcp.c: fix crash when converting YCbCr JPEG-compressed to none. 155 Based on patch by Tomasz Buchert (http://bugzilla.maptools.org/show_bug.cgi?id=2480) 156 Description: fix for Debian bug #741451 157 tiffcp crashes when converting JPEG-encoded TIFF to a different 158 encoding (like none or lzw). For example this will probably fail: 159 tiffcp -c none jpeg_encoded_file.tif output.tif 160 The reason is that when the input file contains JPEG data, 161 the tiffcp code forces conversion to RGB space. However, 162 the output normally inherits YCbCr subsampling parameters 163 from the input, which leads to a smaller working buffer 164 than necessary. The buffer is subsequently overrun inside 165 cpStripToTile() (called from writeBufferToContigTiles). 166 Note that the resulting TIFF file would be scrambled even 167 if tiffcp wouldn't crash, since the output file would contain 168 RGB data intepreted as subsampled YCbCr values. 169 This patch fixes the problem by forcing RGB space on the output 170 TIF if the input is JPEG-encoded and output is *not* JPEG-encoded. 171 Author: Tomasz Buchert <[email protected]> 172 1732014-12-21 Even Rouault <[email protected]> 174 175 Fix various crasher bugs on fuzzed images. 176 * libtiff/tif_dir.c: TIFFSetField(): refuse to set negative values for 177 TIFFTAG_XRESOLUTION and TIFFTAG_YRESOLUTION that cause asserts when writing 178 the directory 179 * libtiff/tif_dirread.c: TIFFReadDirectory(): refuse to read ColorMap or 180 TransferFunction if BitsPerSample has not yet been read, otherwise reading 181 it later will cause user code to crash if BitsPerSample > 1 182 * libtiff/tif_getimage.c: TIFFRGBAImageOK(): return FALSE if LOGLUV with 183 SamplesPerPixel != 3, or if CIELAB with SamplesPerPixel != 3 or BitsPerSample != 8 184 * libtiff/tif_next.c: in the "run mode", use tilewidth for tiled images 185 instead of imagewidth to avoid crash 186 * tools/bmp2tiff.c: fix crash due to int overflow related to input BMP dimensions 187 * tools/tiff2pdf.c: fix crash due to invalid tile count (should likely be checked by 188 libtiff too). Detect invalid settings of BitsPerSample/SamplesPerPixel for CIELAB / ITULAB 189 * tools/tiffcrop.c: fix crash due to invalid TileWidth/TileHeight 190 * tools/tiffdump.c: fix crash due to overflow of entry count. 191 1922014-12-15 Even Rouault <[email protected]> 193 194 * libtiff/tif_jpeg.c: Fix regression introduced on 2010-05-07 that caused 195 all tiles/strips to include quantization tables even when the jpegtablesmode 196 had the JPEGTABLESMODE_QUANT bit set. 197 Also add explicit removal of Huffman tables when jpegtablesmode has the 198 JPEGTABLESMODE_HUFF bit set, which avoids Huffman tables to be emitted in the 199 first tile/strip (only useful in update scenarios. create-only was 200 fine) 201 2022014-12-09 Bob Friesenhahn <[email protected]> 203 204 * tools/tiff2pdf.c: Assure that memory size calculations for 205 _TIFFmalloc() do not overflow the range of tmsize_t. 206 2072014-12-07 Even Rouault <[email protected]> 208 209 * tools/thumbnail.c, tools/tiffcrop.c: "fix" heap read over-run found with 210 Valgrind and Address Sanitizer on test suite 211 2122014-12-07 Bob Friesenhahn <[email protected]> 213 214 * tools/tiff2pdf.c (t2p_read_tiff_init): TIFFTAG_TRANSFERFUNCTION 215 tag can return one channel, with the other two channels set to 216 NULL. The tiff2pdf code was expecting that other two channels 217 were duplicate pointers in the case where there is only one 218 channel. Detect this condition in order to avoid a crash, and 219 presumably perform correctly with just one channel. 220 2212014-12-06 Bob Friesenhahn <[email protected]> 222 223 * tools/tiffdump.c: Fix double-free bug. 224 2252014-11-27 Even Rouault <[email protected]> 226 227 * libtiff/tif_config.vc.h: no longer use "#define snprintf _snprintf" with 228 Visual Studio 2015 aka VC 14 aka MSVC 1900 229 2302014-11-20 Even Rouault <[email protected]> 231 232 * libtiff/tif_lzw.c: prevent potential null dereference of 233 sp->dec_codetab in LZWPreDecode (bug #2459) 234 235 * libtiff/tif_read.c: in TIFFReadBufferSetup(), avoid passing -1 size 236 to TIFFmalloc() if passed user buffer size is 0 (bug #2459) 237 238 * libtiff/tif_ojpeg.c: make Coverity happier (not a bug, #2459) 239 240 * libtiff/tif_dir.c: in _TIFFVGetField() and _TIFFVSetField(), make 241 Coverity happier (not a bug, #2459) 242 243 * libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make Coverity happier 244 (not a bug, #2459) 245 246 * tools/tiff2pdf.c: close PDF file (bug #2479) 247 248 * tools/fax2ps.c: check malloc()/realloc() result (bug #2470) 249 250 * tools/tiffdump.c: detect cycle in TIFF directory chaining (bug #2463) 251 and avoid passing a NULL pointer to read() if seek() failed before (bug #2459) 252 253 * tools/tiffcrop.c: fix segfault if bad value passed to -Z option 254 (bug #2459) and add missing va_end in dump_info (#2459) 255 256 * tools/gif2tif.c: apply patch for CVE-2013-4243 (#2451) 257 2582014-11-20 Even Rouault <[email protected]> 259 * libtiff/tif_jpeg.c: fix segfault in JPEGFixupTagsSubsampling() on 260 corrupted image where tif->tif_dir.td_stripoffset == NULL (bug #2471) 261 2622014-11-20 Even Rouault <[email protected]> 263 * automake: updated to 1.14.1 264 * libtool: updated to 2.4.3 265 * HOWTO-RELEASE: small update about autotools building order 266 2672014-10-20 Olivier Paquet <[email protected]> 268 * tools/tiff2pdf.c: Preserve input file directory order when pages 269 are tagged with the same page number. 270 2712014-08-31 Bob Friesenhahn <[email protected]> 272 273 * libtiff/tif_dirread.c (TIFFReadDirEntryOutputErr): Incorrect 274 count for tag should be a warning rather than an error since 275 errors terminate processing. 276 2772014-06-07 Bob Friesenhahn <[email protected]> 278 279 * tools/tiff2rgba.c (]): Fixed tiff2rgba usage message in that zip 280 was wrongly described. Fix suggested by Miguel Medalha. 281 2822014-05-06 Bob Friesenhahn <[email protected]> 283 284 * libtiff/tif_dirinfo.c (TIFFField) : Fix data type for 285 TIFFTAG_GLOBALPARAMETERSIFD tag. Patch by Steve Underwood. 286 Reviewed and forwarded by Lee Howard. 287 2882013-11-30 Frank Warmerdam <[email protected]> 289 290 * libtiff/tif_dir.c: fix last fix for TIFFNumberOfDirectories() 291 2922013-10-21 Frank Warmerdam <[email protected]> 293 294 * libtiff/tif_dir.c: generate error in case of directory count 295 overflow. 296 2972013-10-01 Frank Warmerdam <[email protected]> 298 299 * libtiff/tiff.h, libtiff/tif_dirinfo.c: add definitions for 300 TIFF/EP CFARepeatPatternDim and CFAPattern tags (bug #2457) 301 3022013-09-12 Bob Friesenhahn <[email protected]> 303 304 * libtiff/tif_dir.c (TIFFAdvanceDirectory): If nextdir is found to 305 be defective, then set it to zero before returning error in order 306 to terminate processing of truncated TIFF. Issue found and fix 307 suggested by Richard Nolde. 308 3092013-08-14 Frank Warmerdam <[email protected]> 310 311 * tools/gif2tiff.c: fix possible OOB write (#2452, CVE-2013-4244) 312 3132013-08-13 Frank Warmerdam <[email protected]> 314 315 * tools/gif2tiff.c: Be more careful about corrupt or 316 hostile input files (#2450, CVE-2013-4231) 317 318 * tools/tiff2pdf.c: terminate after failure of allocating 319 ycbcr buffer (bug #2449, CVE-2013-4232) 320 3212013-07-09 Frank Warmerdam <[email protected]> 322 323 * tools/tiffinfo.c: Default various values fetched with 324 TIFFGetField() to avoid being uninitialized. 325 3262013-05-02 Tom Lane <[email protected]> 327 328 * tools/tiff2pdf.c: Rewrite JPEG marker parsing in 329 t2p_process_jpeg_strip to be at least marginally competent. The 330 approach is still fundamentally flawed, but at least now it won't 331 stomp all over memory when given bogus input. Fixes CVE-2013-1960. 332 3332013-05-02 Tom Lane <[email protected]> 334 335 * contrib/dbs/xtiff/xtiff.c, libtiff/tif_codec.c, 336 libtiff/tif_dirinfo.c, tools/rgb2ycbcr.c, tools/tiff2bw.c, 337 tools/tiff2pdf.c, tools/tiff2ps.c, tools/tiffcrop.c, 338 tools/tiffdither.c: Enlarge some fixed-size buffers that weren't 339 large enough, and eliminate substantially all uses of sprintf(buf, 340 ...) in favor of using snprintf(buf, sizeof(buf), ...), so as to 341 protect against overflow of fixed-size buffers. This responds in 342 particular to CVE-2013-1961 concerning overflow in tiff2pdf.c's 343 t2p_write_pdf_page(), but in general it seems like a good idea to 344 deprecate use of sprintf(). 345 3462013-03-29 Bob Friesenhahn <[email protected]> 347 348 * configure.ac: Applied patch by Brad Smith to improve pkg-config 349 static linking by adding -lm to Libs.private when needed. 350 3512013-03-05 Tom Lane <[email protected]> 352 353 * html/man/tiff2ps.1.html, html/man/tiffcp.1.html, 354 html/man/tiffdither.1.html, man/tiff2ps.1, man/tiffcp.1, 355 man/tiffdither.1, tools/tiff2ps.c, tools/tiffcp.c, 356 tools/tiffdither.c: Sync tool usage printouts and man pages with 357 reality (quite a few options had escaped being documented in one 358 or both places). Per an old report from Miroslav Vadkerti. 359 3602013-01-25 Bob Friesenhahn <[email protected]> 361 362 * tools/tiff2ps.c:Fix bug in auto rotate option code. Once a 363 rotation angle was set by the auto rotate check, it was retained 364 for all pages that followed instead ofa being retested for each 365 page. Patch by Richard Nolde. 366 3672013-01-18 Frank Warmerdam <[email protected]> 368 369 * libtiff/tif_write.c: tmsize_t related casting warning fixed for 370 64bit linux. 371 372 * libtiff/tif_read.c: uint64/tmsize_t change for MSVC warnings. 373 http://bugzilla.maptools.org/show_bug.cgi?id=2427 374 3752012-12-20 Tom Lane <[email protected]> 376 377 * test/raw_decode.c: Relax raw_decode's pixel-value checks so that 378 it will pass with more versions of libjpeg. (There are at least 379 three in active use now, and JPEG_LIB_VERSION doesn't tell us 380 enough to uniquely identify expected results.) 381 3822012-12-12 Tom Lane <[email protected]> 383 384 * libtiff/tif_print.c: Fix TIFFPrintDirectory's handling of 385 field_passcount fields: it had the TIFF_VARIABLE and 386 TIFF_VARIABLE2 cases backwards. 387 3882012-12-10 Tom Lane <[email protected]> 389 390 * tools/ppm2tiff.c: Improve previous patch for CVE-2012-4564: 391 check the linebytes calculation too, get the max() calculation 392 straight, avoid redundant error messages, check for malloc 393 failure. 394 3952012-12-10 Tom Lane <[email protected]> 396 397 * libtiff/tif_pixarlog.c: Improve previous patch for CVE-2012-4447 398 (to enlarge tbuf for possible partial stride at end) so that 399 overflow in the integer addition is detected. Per gripe from 400 Huzaifa Sidhpurwala. 401 4022012-12-03 Bob Friesenhahn <[email protected]> 403 404 * tools/tiffset.c: tiffset now supports a -u option to unset a 405 tag. Patch by Zach Baker. See 406 http://bugzilla.maptools.org/show_bug.cgi?id=2419 407 4082012-11-18 Bob Friesenhahn <[email protected]> 409 410 * automake: Update Automake to 1.12.5 release. 411 412 * libtiff/tif_{unix,vms,win32}.c (_TIFFmalloc): ANSI C does not 413 require malloc() to return NULL pointer if requested allocation 414 size is zero. Assure that _TIFFmalloc does. 415 4162012-11-01 Frank Warmerdam <[email protected]> 417 418 * tools/ppm2tiff.c: avoid zero size buffer vulnerability. 419 CVE-2012-4564 - Thanks to Huzaifa Sidhpurwala of the 420 Red Hat Security Response team for the fix. 421 4222012-10-18 Frank Warmerdam <[email protected]> 423 424 * tif_zip.c: Avoid crash on NULL error messages. 425 4262012-09-22 Bob Friesenhahn <[email protected]> 427 428 * libtiff 4.0.3 released. 429 4302012-09-20 Bob Friesenhahn <[email protected]> 431 432 * Makefile.am: Update to Automake 1.12.4 433 4342012-08-19 Bob Friesenhahn <[email protected]> 435 436 * Makefile.in: Update to Automake 1.12.3 437 438 * libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add 439 some TIFF/FX support in libtiff. Add the tag definitions to 440 tiff.h. Add the related TIFF field definitions to tif_dirinfo.c, 441 and also fixes an error in a comment. Adds the photometric values 442 to tif_print.c, and fixes a bug. These changes are by Steve 443 Underwood. 444 4452012-08-13 Frank Warmerdam <[email protected]> 446 447 * libtiff/tif_write.c: Fix bug rewriting image tiles in a 448 compressed file: http://trac.osgeo.org/gdal/ticket/4771 449 4502012-08-02 Frank Warmerdam <[email protected]> 451 452 * libtiff/tif_dirread.c: report error in case of mismatch value 453 counts for tags (ie. DotRange). 454 4552012-07-26 Tom Lane <[email protected]> 456 457 * libtiff/{tiffio.h, tif_dirinfo.c, libtiff.def}: Add six new 458 functions TIFFFieldTag(), TIFFFieldName(), TIFFFieldDataType(), 459 TIFFFieldPassCount(), TIFFFieldReadCount(), TIFFFieldWriteCount() 460 as external accessors for the opaque type TIFFField. 461 462 * tools/tiffset.c: Make tiffset use the above functions instead of 463 relying on library private headers. 464 4652012-07-19 Tom Lane <[email protected]> 466 467 * tools/tiff2pdf.c: Fix two places where t2p_error didn't get set 468 after a malloc failure. No crash risk AFAICS, but the program 469 might not report exit code 1 as desired. h/t [email protected] 470 4712012-07-18 Tom Lane <[email protected]> 472 473 * tools/tiff2pdf.c: Fail when TIFFSetDirectory() fails. This 474 prevents core dumps or perhaps even arbitrary code execution when 475 processing a corrupt input file (CVE-2012-3401). 476 4772012-07-06 Bob Friesenhahn <[email protected]> 478 479 * test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+. 480 IJG JPEG 7+ uses a different upsampling algorithm which produces 481 different numeric results. 482 483 * libtiff/tif_jpeg.c (JPEGPreDecode): Patch from Even Rouault to 484 work with IJG JPEG 7+. 485 4862012-07-04 Bob Friesenhahn <[email protected]> 487 488 * test/raw_decode.c: Add changes so that test can run with build 489 directory outside of source directory. 490 4912012-07-02 Frank Warmerdam <[email protected]> 492 493 * libtiff/tif_jpeg.c: Fix handling when writing RGBA jpeg compressed 494 imagery (http://trac.osgeo.org/gdal/ticket/4732) 495 4962012-06-20 Frank Warmerdam <[email protected]> 497 498 * libtiff/tif_fax3.c: fix memory initialization of runs, only 499 partly done. 500 501 * libtiff/tif_pixarlog.c: Make sure tbuf is large enough for one 502 full "stride" past the end. 503 5042012-06-19 Frank Warmerdam <[email protected]> 505 506 * libtiff/tif_packbits.c: fix read past end of data buffer. 507 5082012-06-15 Frank Warmerdam <[email protected]> 509 510 * libtiff 4.0.2 released. 511 512 * tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable 513 warnings with clang. 514 5152012-06-15 Tom Lane <[email protected]> 516 517 * tools/tiff2pdf.c: Defend against integer overflows while 518 calculating required buffer sizes (CVE-2012-2113). 519 5202012-06-12 Frank Warmerdam <[email protected]> 521 522 * libtiff/tif_print.c: Be careful about printing corrupt inknames. 523 524 * libtiff/tif_fax3.c: Ensure runs array is initialized to zeros. 525 5262012-06-07 Frank Warmerdam <[email protected]> 527 528 * libtiff/tif_print.c: avoid pretty printing other fields when 529 we don't have the proper amount and type of data or if the field 530 is actually autodefined. 531 5322012-06-05 Frank Warmerdam <[email protected]> 533 534 * libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal 535 ycbcrsubsampling values result in a runtime error, not just an 536 assertion. 537 538 * tests/custom_dir.c: Add testing of EXIF and custom directory 539 reading and writing. 540 541 * libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory() 542 and TIFFCreateEXIFDirectory() functions. 543 544 * libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for 545 PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING. Implement DOTRANGE 546 differently. This is to avoid using special TIFFGetField/TIFFSetField 547 rules for these fields in non-image directories (like EXIF). 548 5492012-06-04 Frank Warmerdam <[email protected]> 550 551 * libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling 552 in JPEGPreDecode(). If a fixup will be done it needs to be done sooner 553 in JPEGFixupTagsSubsampling() or else buffer sized may be wrong. 554 5552012-06-01 Frank Warmerdam <[email protected]> 556 557 * tools/tiffinfo.c: Do not try to read image data in EXIF directories. 558 559 * libtiff/tif_getimage.c: added support for _SEPARATED CMYK images. 560 http://bugzilla.maptools.org/show_bug.cgi?id=2379 561 562 * libtiff/tif_unix.c: use strerror() to return a more specific error message 563 on failed open. 564 http://bugzilla.maptools.org/show_bug.cgi?id=2341 565 566 * libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs. 567 http://bugzilla.maptools.org/show_bug.cgi?id=2386 568 569 * tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support 570 for testing jpeg in tiff image decoding including the "raw" decode interface. 571 5722012-05-31 Frank Warmerdam <[email protected]> 573 574 * libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in 575 JPEGDecodeRaw() - mostly likely to occur when there is confusion about 576 sampling values. 577 578 * libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed. 579 580 * libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval. 581 http://bugzilla.maptools.org/show_bug.cgi?id=2398 582 5832012-05-29 Frank Warmerdam <[email protected]> 584 585 * libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories, 586 like EXIF directories. This fixes problems like a tag "320" existing in a custom directory getting 587 processed as if it were a colormap when it isn't really. Damn the wide variety of argument formulations 588 to get/set functions for different tags! 589 590 * libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata 591 is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag. 592 5932012-05-24 Frank Warmerdam <[email protected]> 594 595 * libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward 596 accumulate" and overwrite the end by one word in at least some cases. 597 5982012-05-23 Frank Warmerdam <[email protected]> 599 600 * libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs. 601 602 * tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files. 603 604 * libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on 605 the same image. 606 607 * libtiff/tif_ojpeg.c: make things more resilient in the face of files without 608 stripbytecounts or stripoffsets or where loading these fails. 609 610 * libtiff/tif_print.c: be careful about whether min/max values are singular 611 or one per sample. 612 613 * libtiff/tif_print.c: Avoid confusion about count size when printing custom fields. 614 May affect things like ISOSpeedRatings. 615 616 * libtiff/tif_dir.c: avoid one byte past end of ink names reading 617 in some cases. 618 6192012-05-19 Bob Friesenhahn <[email protected]> 620 621 * man/TIFFGetField.3tiff: Correct the 'count' field type in the 622 example for how to retreive the value of unsupported tags. 623 6242012-03-30 Frank Warmerdam <[email protected]> 625 626 * tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173) 627 care of Tom Lane @ Red Hat. 628 6292012-02-18 Bob Friesenhahn <[email protected]> 630 631 * libtiff 4.0.1 released. 632 633 * Update automake used to 1.11.3. 634 635 * libtiff/tiffio.h: Use double-underbar syntax in GCC printf 636 attribute specification to lessen the risk of accidental macro 637 substitution. Patch from Vincent Torri. 638 6392012-01-31 Frank Warmerdam <[email protected]> 640 641 * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around 642 assumption tag fetching is always successful. 643 644 * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL. 645 6462012-01-22 Bob Friesenhahn <[email protected]> 647 648 * configure.ac: Add support for using library symbol versioning on 649 ELF systems with the GNU linker. Support is enabled via 650 --enable-ld-version-script. Disabled by default for now until 651 there is a decision for how to deploy a libtiff with versioned 652 symbols after libtiff 4.0.0 was already released. 653 6542011-12-22 Bob Friesenhahn <[email protected]> 655 656 * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in 657 658 tif_win32.c. Patch by Edward Lam. 659 660 * configure.ac: Add libtiff private dependency on -llzma for 661 pkg-config. Patch by Mark Brand. 662 Updated Automake to 1.11.2. 663 6642011-12-21 Bob Friesenhahn <[email protected]> 665 666 * libtiff 4.0.0 released. 667 6682011-12-08 Frank Warmerdam <[email protected]> 669 670 * libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking 671 of _TIFFFillStriles() results (#gdal 4372) 672 6732011-12-07 Frank Warmerdam <[email protected]> 674 675 * libtiff/tif_dirread.c: fixes to deal with invalid files where 676 _TIFFFillStriles() fails, and we try to chop up strips (gdal #4372) 677 678 * libtiff/tif_dirread.c: fix error reporting when there is no 679 tag information struct and name (gdal #4373) 680 6812011-10-22 Bob Friesenhahn <[email protected]> 682 683 * Update GNU libtool to 2.4.2. 684 685 * tools/tiffsplit.c (tiffcp): TIFFGetField count field should be 686 uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe 687 Deroulers. 688 6892011-06-21 Frank Warmerdam <[email protected]> 690 691 * libtiff/libtiff.def: Restore TIFFMergeFieldInfo. 692 6932011-05-31 Jim Meyering <[email protected]> 694 695 * libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also 696 upon failure to allocate "resizeddata". 697 * tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for 698 allocation failure, not before. 699 * libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path 700 * tools/rgb2ycbcr.c (cvtRaster): unchecked malloc 701 * libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark 702 NULL-deref and possible overflow 703 * tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written" 704 * libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration 705 and set of otherwise unused local, data_is_empty. 706 * libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]: 707 Diagnose out-of-memory failure and return 0 rather than 708 dereferencing NULL. 709 7102011-05-24 Frank Warmerdam <[email protected]> 711 712 * libtiff/tif_dirread.c: produce special error message for zero tag 713 directories instead of error out on the malloc(0) failure. 714 7152011-05-16 Frank Warmerdam <[email protected]> 716 717 * libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and 718 related declarations as they are in active use by libraries 719 such as libgeotiff, and work just fine. (#2315) 720 7212011-04-20 Frank Warmerdam <[email protected]> 722 723 * libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete 724 TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API. 725 http://bugzilla.maptools.org/show_bug.cgi?id=2315 726 727 * libtiff/libtiff.def: add some missing (64bit) APIs. 728 http://bugzilla.maptools.org/show_bug.cgi?id=2316 729 7302011-04-09 Bob Friesenhahn <[email protected]> 731 732 * libtiff 4.0.0beta7 released. 733 7342011-04-09 Bob Friesenhahn <[email protected]> 735 736 * configure.ac: Should use AC_CANONICAL_HOST since host specifies 737 the run-time target whereas target is used to specify the final 738 output target if the package is a build tool (like a compiler), 739 which libtiff is not. Resolves libtiff bug 2307 "Use 740 AC_CANONICAL_HOST macro". 741 7422011-04-02 Bob Friesenhahn <[email protected]> 743 744 * configure.ac: Support configuring TIFF_INT64_FORMAT and 745 TIFF_UINT64_FORMAT appropriately for MinGW32. 746 747 * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32 748 printf conventions for 64-bit types because it uses the WIN32 CRT. 749 750 * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c, 751 tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32 752 printf conventions for 64-bit types because it uses the WIN32 CRT. 753 754 * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not 755 understood by WIN32 CRT. 756 757 * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC. 758 759 * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since 760 it is much more portable. Tmpfile is included in ISO/IEC 761 9899:1990 and the WIN32 CRT. 762 7632011-03-26 Frank Warmerdam <[email protected]> 764 765 * tools/tiffset.c: add -d and -sd switches to allow operation on 766 a particular directory, not just the first (jef). 767 7682011-03-21 Frank Warmerdam <[email protected]> 769 770 * libtiff/tif_thunder.c: Correct potential buffer overflow with 771 thunder encoded files with wrong bitspersample set. The libtiff 772 development team would like to thank Marin Barbella and TippingPoint's 773 Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004, 774 CVE-2011-1167). 775 http://bugzilla.maptools.org/show_bug.cgi?id=2300 776 7772011-03-10 Frank Warmerdam <[email protected]> 778 779 * libtiff/tif_fax3.h: Fix to last change allowing zero length 780 runs at the start of a scanline - needed for legal cases. 781 7822011-03-02 Frank Warmerdam <[email protected]> 783 784 * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 785 a move left. Without this, a malicious input file can generate an 786 indefinitely large series of runs without a0 ever reaching the right 787 margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192. 788 This is a modified version of a patch proposed by Drew Yao of Apple 789 Product Security. It adds an unexpected() report, and disallows the 790 equality case, since emitting a run without increasing a0 still allows 791 buffer overrun. 792 7932011-02-23 Frank Warmerdam <[email protected]> 794 795 * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296) 796 797 * tools/tiff2rgba.c: close source file on error to make leak 798 detection easier. 799 800 * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails. 801 802 http://bugzilla.maptools.org/show_bug.cgi?id=2295 803 8042011-02-22 Frank Warmerdam <[email protected]> 805 806 * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ 807 _SUPPORT) 808 8092011-02-18 Frank Warmerdam <[email protected]> 810 811 * configure.ac, configure: Added support for --enable-chunky-strip-read 812 configure option to enable the experimental feature from a couple 813 months ago for reading big strips in chunks. 814 815 * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 816 tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c: 817 Implement optional support for deferring the load of strip/tile 818 offset and size tags for optimized scanning of directories. Enabled 819 with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD 820 #define in tif_config.h). 821 8222011-02-11 Frank Warmerdam <[email protected]> 823 824 * libtiff/tif_print.c: remove unused variable. 825 8262011-02-09 Frank Warmerdam <[email protected]> 827 828 * libtiff/tif_win32.c: avoid error/warning buffer overrun problem 829 with non-console (popup message) builds on win32. 830 831 http://bugzilla.maptools.org/show_bug.cgi?id=2293 832 8332011-01-24 Olivier Paquet <[email protected]> 834 835 * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c, 836 tif_print.c, tiff.h, tiffiop.h} : Added support for 837 TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different 838 values for each sample. Presents the min/max of all samples by default for 839 compatibility. TIFFSetField/TIFFGetField can be made to handle those tags 840 as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag. 841 http://www.asmail.be/msg0055458208.html 842 8432011-01-06 Frank Warmerdam <[email protected]> 844 845 * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 846 maintained. 847 848 * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 849 for CHUNKY_STRIP_READ_SUPPORT. 850 851 * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained 852 during JPEGPreDecode and JPEGDecode calls. 853 * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 854 as compression formats like JPEG keep 16 lines interleaved in a sense 855 and might need to touch quite a bit of data. 856 857 http://trac.osgeo.org/gdal/ticket/3894 858 8592011-01-03 Lee Howard <[email protected]> 860 861 * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images 862 caused by commit on 2010-12-14. Submitted by e-mail from 863 Even Rouault <[email protected]> 864 8652010-12-31 Olivier Paquet <[email protected]> 866 867 * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE. 868 http://bugzilla.maptools.org/show_bug.cgi?id=2266 869 8702010-12-23 Andrey Kiselev <[email protected]> 871 872 * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the 873 compression level parameter (preset) for Deflate and LZMA encoders, 874 e.g "-c lzma:p1" or "-c zip:p9". 875 876 * libtiff/tif_lzma.c: Properly set the LZMA2 compression level 877 (preset) in LZMAVSetField(). 878 8792010-12-18 Bob Friesenhahn <[email protected]> 880 881 * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to 882 Makefile. 883 8842010-12-14 Andrey Kiselev <[email protected]> 885 886 * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h, 887 tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new 888 TIFF compression scheme LZMA reserving a new value 34925 for 889 Compression tag. As per 890 bug http://bugzilla.maptools.org/show_bug.cgi?id=2221 891 8922010-12-14 Lee Howard <[email protected]> 893 894 * libtiff/tif_dirread.c: tolerate some cases where 895 FIELD_COLORMAP is missing 896 http://bugzilla.maptools.org/show_bug.cgi?id=2189 897 8982010-12-14 Lee Howard <[email protected]> 899 900 * libtiff/tif_read.c: change read_ahead to tmsize_t 901 http://bugzilla.maptools.org/show_bug.cgi?id=2222 902 9032010-12-14 Lee Howard <[email protected]> 904 905 * configure.ac, libtiff/Makefile.am: Build tif_win32.c on 906 Windows except on Cygwin 907 http://bugzilla.maptools.org/show_bug.cgi?id=2224 908 9092010-12-14 Lee Howard <[email protected]> 910 911 * tools/gif2tiff.c: fix buffer overrun 912 http://bugzilla.maptools.org/show_bug.cgi?id=2270 913 9142010-12-14 Lee Howard <[email protected]> 915 916 * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order 917 to improve compatibility with various viewers 918 submitted by e-mail from Dwight Kelly <[email protected]> 919 9202010-12-13 Lee Howard <[email protected]> 921 922 * tools/fax2ps.c: be consistent with page-numbering 923 http://bugzilla.maptools.org/show_bug.cgi?id=2225 924 9252010-12-13 Lee Howard <[email protected]> 926 927 * libtiff/tif_color.c: prevent crash in handling bad TIFFs 928 resolves CVE-2010-2595 929 http://bugzilla.maptools.org/show_bug.cgi?id=2208 930 9312010-12-13 Lee Howard <[email protected]> 932 933 * tools/tiffcrop.c: new release by Richard Nolde 934 http://bugzilla.maptools.org/show_bug.cgi?id=2004 935 9362010-12-12 Lee Howard <[email protected]> 937 938 * tools/tiff2pdf.c: fix colors for images with RGBA 939 interleaved data 940 http://bugzilla.maptools.org/show_bug.cgi?id=2250 941 9422010-12-12 Lee Howard <[email protected]> 943 944 * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files 945 http://bugzilla.maptools.org/show_bug.cgi?id=2164 946 9472010-12-11 Lee Howard <[email protected]> 948 949 * tools/tiff2pdf.c: remove invalid duplication for Lab 950 http://bugzilla.maptools.org/show_bug.cgi?id=2162 951 9522010-12-11 Lee Howard <[email protected]> 953 954 * libtiff/tif_jpeg.c: fix use of clumplines calculation 955 http://bugzilla.maptools.org/show_bug.cgi?id=2149 956 9572010-12-11 Lee Howard <[email protected]> 958 959 * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp() 960 http://bugzilla.maptools.org/show_bug.cgi?id=2118 961 9622010-12-11 Lee Howard <[email protected]> 963 964 * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c, 965 libtiff/tif_zip.c: fix build errors for VC6 966 http://bugzilla.maptools.org/show_bug.cgi?id=2105 967 9682010-12-11 Lee Howard <[email protected]> 969 970 * libtiff/tif_stream.cxx: warnings cleanup 971 http://bugzilla.maptools.org/show_bug.cgi?id=2091 972 * libtiff/tif_dirread.c: warnings cleanup 973 http://bugzilla.maptools.org/show_bug.cgi?id=2092 974 9752010-12-11 Lee Howard <[email protected]> 976 977 * tools/tiff2pdf.c: add fill-page option 978 http://bugzilla.maptools.org/show_bug.cgi?id=2051 979 9802010-12-11 Lee Howard <[email protected]> 981 982 * libtiff/tif_dirread.c: modify warnings 983 http://bugzilla.maptools.org/show_bug.cgi?id=2016 984 9852010-12-11 Lee Howard <[email protected]> 986 987 * libtiff/tif_ojpeg.c: fix buffer overflow on problem data 988 http://bugzilla.maptools.org/show_bug.cgi?id=1999 989 9902010-12-11 Lee Howard <[email protected]> 991 992 * tools/tiffinfoce.c: strip byte counts are uint64* now 993 9942010-12-11 Lee Howard <[email protected]> 995 996 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero 997 or missing byte-count tag 998 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count 999 per http://bugzilla.maptools.org/show_bug.cgi?id=1996 1000 10012010-12-08 Lee Howard <[email protected]> 1002 1003 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed 1004 TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994 1005 10062010-12-06 Lee Howard <[email protected]> 1007 1008 * libtiff/tif_open.c: Fix mode check before opening a file. 1009 http://bugzilla.maptools.org/show_bug.cgi?id=1906 1010 10112010-11-27 Bob Friesenhahn <[email protected]> 1012 1013 * libtiff-4.pc.in: Added libtiff pkg-config .pc file support. 1014 Patch by Vincent Torri. 1015 10162010-10-21 Frank Warmerdam <[email protected]> 1017 1018 * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler. 1019 1020 * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf. 1021 1022 * libtiff/libtiff.def: export _TIFFCheckMalloc for tools. 1023 10242010-09-25 Lee Howard <[email protected]> 1025 1026 * tools/tiff2ps.c: improvements and enhancements from Richard Nolde 1027 with additional command line options for Document Title, 1028 Document Creator, and Page Orientation 1029 10302010-07-13 Bob Friesenhahn <[email protected]> 1031 1032 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 1033 potentially unterminated buffer due to using an exceptionally long 1034 file name. 1035 10362010-07-08 Andrey Kiselev <[email protected]> 1037 1038 * tools/tiff2pdf.c: Fixed ID buffer filling in 1039 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 1040 10412010-07-07 Andrey Kiselev <[email protected]> 1042 1043 * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 1044 to expected value as the warning message suggests. As per bug 1045 http://bugzilla.maptools.org/show_bug.cgi?id=1963 1046 10472010-07-06 Andrey Kiselev <[email protected]> 1048 1049 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 1050 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 1051 which should be set by value. 1052 1053 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 1054 and _TIFFFieldWithName() if the tag is not found in the tag table. 1055 This should be normal situation and returned NULL value should be 1056 properly handled by the caller. 1057 10582010-07-02 Andrey Kiselev <[email protected]> 1059 1060 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 1061 integer type conversions. As per bug 1062 http://bugzilla.maptools.org/show_bug.cgi?id=2207 1063 1064 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 1065 WhitePoint tag as per bug 1066 http://bugzilla.maptools.org/show_bug.cgi?id=2042 1067 1068 * libtiff/tif_getimage.c: Check the number of samples per pixel when 1069 working with YCbCr image in PickContigCase(). As per bug 1070 http://bugzilla.maptools.org/show_bug.cgi?id=2216 1071 1072 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 1073 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 1074 we don't need any post-processing. That helps to reset the hook if we 1075 previously set this field to some other value and the hook was 1076 initialized accordingly. As per bug 1077 http://bugzilla.maptools.org/show_bug.cgi?id=2035 1078 10792010-07-01 Andrey Kiselev <[email protected]> 1080 1081 * tools/tiffgt.c: Properly check the raster buffer allocations for 1082 integer overflows. As per bug 1083 http://bugzilla.maptools.org/show_bug.cgi?id=2108 1084 1085 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 1086 upstream. 1087 1088 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 1089 multiply_32() and multiply_64() functions into tif_aux.c file and 1090 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 1091 10922010-06-30 Andrey Kiselev <[email protected]> 1093 1094 * tools/tiff2pdf.c: Better generation of ID field in 1095 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 1096 1097 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 1098 converting JPEG encoded tiles. 1099 1100 * tools/tiff2pdf.c: Better handling of string fields, use static 1101 string buffers instead of dynamically allocated, use strncpy() instead 1102 of strcpy(), control the string lengths. 1103 11042010-06-25 Andrey Kiselev <[email protected]> 1105 1106 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 1107 referencing to uninitialized memory in some cases (e.g. when tile size 1108 set bigger than the image size). 1109 11102010-06-15 Bob Friesenhahn <[email protected]> 1111 1112 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 1113 subsampled data since tiffcrop currently doesn't support it. Fix 1114 JPEG support. 1115 11162010-06-13 Frank Warmerdam <[email protected]> 1117 1118 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 1119 1120 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 1121 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 1122 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 1123 size is larger. Also, there are a bunch of places that try to 1124 memset() a malloc'd buffer before checking for malloc failure, which 1125 would result in core dump if there actually were a failure. (#2211) 1126 11272010-06-11 Bob Friesenhahn <[email protected]> 1128 1129 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 1130 avoid compiler warnings if parameter types are not sign 1131 consistent. 1132 1133 * libtiff 4.0.0alpha6 released. 1134 1135 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 1136 European page size dimensions. Added an option to allow the user 1137 to specify a custom page size on the command line. Fix the case 1138 where a page size specified with a fractional part was being 1139 coerced to an integer by retyping the variables that define the 1140 paper size. 1141 1142 * html/index.html: Update for the 3.9.3 release. 1143 1144 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 1145 YCbCr subsampled data since tiffcp currently doesn't support it. 1146 http://bugzilla.maptools.org/show_bug.cgi?id=2097 1147 1148 * Update libtool to version 2.2.10. 1149 11502010-06-10 Bob Friesenhahn <[email protected]> 1151 1152 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 1153 multiplier is zero. 1154 11552010-06-09 Bob Friesenhahn <[email protected]> 1156 1157 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 1158 CVE-2010-1411 was not complete. 1159 1160 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 1161 multiply two integers. Returns zero if there is an integer 1162 overflow. 1163 1164 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 1165 is reported when reading the input file. 1166 11672010-06-08 Bob Friesenhahn <[email protected]> 1168 1169 * Update libtool to version 2.2.8. 1170 1171 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 1172 buffer due to integer overflow in TIFFroundup() and several other 1173 potential overflows. In conjunction with the fix to TIFFhowmany(), 1174 fixes CVE-2010-1411. 1175 1176 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 1177 result in an integer overflow. This causes TIFFroundup() to also 1178 return zero if there would be an integer overflow. 1179 1180 * contrib: Add an emacs formatting mode footer to all source files 1181 so that emacs can be effectively used. 1182 11832010-06-03 Oliver Chen Feng <[email protected]> 1184 1185 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 1186 file PAGENUMBER value in sequence for users who care the page 1187 sequence, this will also prevent tiff2pdf from creating pdf file from 1188 the merged tiff file with wrong page sequence. 1189 11902010-05-08 Olivier Paquet <[email protected]> 1191 1192 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 1193 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 1194 * libtiff/tif_dirinfo.c: Use correct set_field_type for 1195 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 1196 http://bugzilla.maptools.org/show_bug.cgi?id=2192 1197 11982010-05-07 Frank Warmerdam <[email protected]> 1199 1200 * libtiff/tif_jpeg.c: Ensure that quality is always set in 1201 JPEGPreEncode(), not just when we want to output local tables. 1202 Otherwise the quality used during compression may not be right and 1203 might not match the tables in the tables tag. This bug only occurs 1204 when seeking between directories in the midst of writing blocks. 1205 http://trac.osgeo.org/gdal/ticket/3539 1206 12072010-05-06 Andrey Kiselev <[email protected]> 1208 1209 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 1210 Regenerated from the source. 1211 12122010-05-05 Olivier Paquet <[email protected]> 1213 1214 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 1215 had stopped working. Also made it always print 6 floats instead of 1216 2*SamplesPerPixel. 1217 http://bugzilla.maptools.org/show_bug.cgi?id=2191 1218 http://bugzilla.maptools.org/show_bug.cgi?id=2186 1219 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 1220 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 1221 12222010-05-05 Frank Warmerdam <[email protected]> 1223 1224 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 1225 if the jpeg table was written. This is a fix for the last fix on 04-21. 1226 12272010-04-21 Frank Warmerdam <[email protected]> 1228 1229 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 1230 JPEGSetupEncode() is called if the tables already seem to be 1231 established. This prevents spurious updates and rewriting of 1232 directories with jpegtables when doing updates to existing images. 1233 http://trac.osgeo.org/gdal/ticket/3539 1234 12352010-04-20 Olivier Paquet <[email protected]> 1236 1237 * libtiff/tif_dirinfo.c: Use correct set_field_type for 1238 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 1239 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 1240 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 1241 http://bugzilla.maptools.org/show_bug.cgi?id=2139 1242 12432010-04-10 Bob Friesenhahn <[email protected]> 1244 1245 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 1246 when the tag count value is zero. Error handling is still a 1247 regression since in 3.9.2, empty tags are skipped (with a warning) 1248 rather than returning a hard error and refusing to read the file. 1249 1250 * tools/ppm2tiff.c (main): While case for parsing comment line 1251 requires extra parenthesis to work as expected. Reported by 1252 Thomas Sinclair. 1253 12542010-04-02 Frank Warmerdam <[email protected]> 1255 1256 * libtiff/tif_read.c (primarily): Add support for 1257 CHUNKY_STRIP_READ_SUPPORT where large strips are 1258 read in chunks for applications using TIFFReadScanline(). 1259 This is intended to make it more practical work with very 1260 large compressed one-strip files. Feature is off by default. 1261 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 1262 http://trac.osgeo.org/gdal/ticket/3514 1263 12642010-03-31 Frank Warmerdam <[email protected]> 1265 1266 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 1267 directories so previously placed directories will be migrated to 1268 the end of file if needed. 1269 12702010-03-30 Frank Warmerdam <[email protected]> 1271 1272 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 1273 to support operating on strips/tiles of more than 256MB. 1274 http://trac.osgeo.org/gdal/ticket/3512 1275 12762010-03-10 Bob Friesenhahn <[email protected]> 1277 1278 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 1279 that it is clearly a memory allocation error message, and also 1280 includes the size of the allocation request. 1281 12822010-02-22 Lee Howard <[email protected]> 1283 1284 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 1285 the JPEG TIFF as is is not required in order to prevent it from 1286 being unused and filled with invalid data. (Leave it to be 1287 generated by later activity.) 1288 http://bugzilla.maptools.org/show_bug.cgi?id=2135 1289 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 1290 data rather than skipping them. This fixes the ability to view in 1291 Acrobat Reader, Evince, and Ghostscript. 1292 http://bugzilla.maptools.org/show_bug.cgi?id=2135 1293 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 1294 strips. 1295 http://bugzilla.maptools.org/show_bug.cgi?id=2029 1296 12972009-12-03 Frank Warmerdam <[email protected]> 1298 1299 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 1300 Made so that when working with downsampled images a stub function 1301 reporting an error is used for tif_decoderow. We cannot meaningfully 1302 support reading scanlines in this situation. (#1936) 1303 1304 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 1305 resetting of the upsampling values (gdal:#3259). 1306 http://bugzilla.maptools.org/show_bug.cgi?id=1936 1307 13082009-11-30 Frank Warmerdam <[email protected]> 1309 1310 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 1311 tools/ras2tiff.c: Fix resource leaks on error. 1312 http://bugzilla.maptools.org/show_bug.cgi?id=2121 1313 1314 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 1315 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 1316 of as a custom(generic) field to avoid a potential reentrancy problem. 1317 http://bugzilla.maptools.org/show_bug.cgi?id=2125 1318 1319 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 1320 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 1321 const, and display_sRGB static and const. 1322 http://bugzilla.maptools.org/show_bug.cgi?id=2124 1323 13242009-11-04 Bob Friesenhahn <[email protected]> 1325 1326 * libtiff 4.0.0alpha5 released. 1327 13282009-11-03 Bob Friesenhahn <[email protected]> 1329 1330 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 1331 version has undergone substantial testing with arbitrary sample 1332 bit depths. Also eliminates GCC compilation warnings. 1333 13342009-11-02 Bob Friesenhahn <[email protected]> 1335 1336 * port/libport.h: Add extern declarations for getopt standard 1337 globals. 1338 13392009-10-31 Bob Friesenhahn <[email protected]> 1340 1341 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 1342 noticed in 64-bit build of libtiff with Visual Studio 2005. 1343 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 1344 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 1345 1346 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 1347 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 1348 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 1349 http://bugzilla.maptools.org/show_bug.cgi?id=2068 1350 13512009-10-29 Bob Friesenhahn <[email protected]> 1352 1353 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 1354 pointer" warnings. 1355 13562009-10-28 Bob Friesenhahn <[email protected]> 1357 1358 * html/tools.html: Add manual page links, and a summary 1359 description of tiffcrop. 1360 13612009-10-07 Bob Friesenhahn <[email protected]> 1362 1363 * configure.ac: x86_64 should use the same fill order as i386. 1364 13652009-09-24 Bob Friesenhahn <[email protected]> 1366 1367 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 1368 Nolde. Major updates to add significant functionality for reading 1369 and writing tile based images with bit depths not a multiple of 8 1370 which cannot be handled by tiffcp. 1371 13722009-09-03 Bob Friesenhahn <[email protected]> 1373 1374 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 1375 do_fancy_upsampling=FALSE in order to read raw data. Resolves 1376 "Bug 2090 - OJPEG crash with libjpeg v7". 1377 http://bugzilla.maptools.org/show_bug.cgi?id=2090 1378 13792009-09-03 Frank Warmerdam <[email protected]> 1380 1381 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 1382 interface when stoponerror is set. 1383 http://bugzilla.maptools.org/show_bug.cgi?id=2071 1384 13852009-08-30 Bob Friesenhahn <[email protected]> 1386 1387 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 1388 fix build with gcc when using the "-Wformat 1389 -Werror=format-security" flags. 1390 13912009-08-29 Bob Friesenhahn <[email protected]> 1392 1393 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 1394 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 1395 utilities tests. 1396 13972009-08-28 Bob Friesenhahn <[email protected]> 1398 1399 * tools/tiffinfo.c: tiffinfo should return error status to the 1400 caller. Register a private error callback to accomplish that. 1401 1402 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 1403 PNM formats so that we will be able to test more of the tools. 1404 While adding these test images I notice that bmp2tiff and gif2tiff 1405 only support ancient versions of their respective formats. 1406 14072009-08-27 Bob Friesenhahn <[email protected]> 1408 1409 * libtiff 4.0.0alpha4 released. 1410 1411 * HOWTO-RELEASE: Improved release instructions. 1412 14132009-08-24 Bob Friesenhahn <[email protected]> 1414 1415 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 1416 fixes for "Bug 2023 - nroff errors in manual pages". 1417 http://bugzilla.maptools.org/show_bug.cgi?id=2023 1418 1419 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 1420 CVE-2009-2347 libtiff: integer overflows in various inter-color 1421 space conversion tools". 1422 http://bugzilla.maptools.org/show_bug.cgi?id=2079 1423 1424 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 1425 Berkenbilt for "Bug 2024 - possible null pointer dereference with 1426 one-line fix". 1427 http://bugzilla.maptools.org/show_bug.cgi?id=2024 1428 1429 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 1430 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 1431 segfault after setting tdir_tag = IGNORE". 1432 http://bugzilla.maptools.org/show_bug.cgi?id=1895 1433 14342009-08-23 Bob Friesenhahn <[email protected]> 1435 1436 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 1437 tiffcrop.sh into a collection of many specific tests. Re-wrote 1438 all of the existing tests to be based on some simple shell 1439 functions. Make distcheck works again. 1440 1441 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 1442 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 1443 tests under valgrind. 1444 14452009-08-21 Bob Friesenhahn <[email protected]> 1446 1447 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 1448 build. 1449 1450 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 1451 actually activated since it needed to be enabled in this 1452 Makefile.am. Also activated parallel-tests mode since it offers 1453 useful features such as per-test .log files and a summary test 1454 report .log file. 1455 14562009-08-20 Bob Friesenhahn <[email protected]> 1457 1458 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 1459 libtool 2.2.6. Enabled support for silent build rules 1460 (--enable-silent-rules or 'make V=0') and colorized tests. 1461 1462 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 1463 14642009-06-30 Frank Warmerdam <[email protected]> 1465 1466 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 1467 1468 * tools/tiffcp.c: add -c sgilog support. 1469 1470 * libtiff/tif_luv.c: correct return codes from encoderow to be 1471 1 on success instead of zero. 1472 http://bugzilla.maptools.org/show_bug.cgi?id=2069 1473 1474 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 1475 #1085 for a better underflow fix that errors properly. 1476 http://bugzilla.maptools.org/show_bug.cgi?id=2065 1477 http://bugzilla.maptools.org/show_bug.cgi?id=1985 1478 14792009-06-26 Frank Warmerdam <[email protected]> 1480 1481 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 1482 fails on oddly sized 12bit jpeg compressed ycbcr images. 1483 14842009-06-22 Frank Warmerdam <[email protected]> 1485 1486 * libtiff/tif_lzw.c: Fix buffer underflow bug. 1487 http://bugzilla.maptools.org/show_bug.cgi?id=2065 1488 14892009-06-21 Frank Warmerdam <[email protected]> 1490 1491 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 1492 for dual mode 8/12 bit jpeg support. 1493 14942009-06-03 Frank Warmerdam <[email protected]> 1495 1496 * libtiff/tif_write.c: do not override the planar configuration to be 1497 contig for one sample files if planar configuration is already set. 1498 http://bugzilla.maptools.org/show_bug.cgi?id=2057 1499 15002009-06-02 Frank Warmerdam <[email protected]> 1501 1502 * libtiff/libtiff.def: Add TIFFUnsetField. 1503 15042009-05-03 Frank Warmerdam <[email protected]> 1505 1506 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 1507 error reports to use "%s" as format string. 1508 http://trac.osgeo.org/gdal/ticket/2976 1509 15102009-03-12 Frank Warmerdam <[email protected]> 1511 1512 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 1513 for some codecs (#2020). 1514 15152009-02-12 Frank Warmerdam <[email protected]> 1516 1517 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 1518 http://bugzilla.maptools.org/show_bug.cgi?id=2005 1519 15202009-02-09 Frank Warmerdam <[email protected]> 1521 1522 * libtiff/tif_dirread.c: Improve allocation safety when allocated 1523 buffer for large tags. (#1998) Related to (#1993) 1524 15252009-02-06 Frank Warmerdam <[email protected]> 1526 1527 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 1528 test suite should pass. 1529 15302009-02-05 Frank Warmerdam <[email protected]> 1531 1532 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 1533 but at the 2GB boundary to avoid overflow on 32bit systems. 1534 http://bugzilla.maptools.org/show_bug.cgi?id=1993 1535 1536 * libtiff/tif_dirread.c: Remove some assertions that blow due to 1537 corrupt files rather than in response to library internal 1538 inconsistencies. 1539 http://bugzilla.maptools.org/show_bug.cgi?id=1995 1540 http://bugzilla.maptools.org/show_bug.cgi?id=1991 1541 1542 * libtiff/tif_dirread.c: Fixed testing for failed result from 1543 TIFFReadDirectoryFindFieldInfo(). 1544 http://bugzilla.maptools.org/show_bug.cgi?id=1992 1545 15462009-01-23 Frank Warmerdam <[email protected]> 1547 1548 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 1549 http://bugzilla.maptools.org/show_bug.cgi?id=1911 1550 1551 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 1552 1553 http://bugzilla.maptools.org/show_bug.cgi?id=1924 1554 1555 * tools/tiffcrop.c: initialize xres/yres values. 1556 1557 * test/*.sh - default ${srcdir} to local directory. 1558 1559 * test/common.sh - start verbose mode after common settings. 1560 1561 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 1562 avoid type mismatches on different platforms. 1563 http://bugzilla.maptools.org/show_bug.cgi?id=1889 1564 15652009-01-22 Frank Warmerdam <[email protected]> 1566 1567 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 1568 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 1569 1570 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 1571 defined, primarily to reduce prototype warnings on windows. 1572 1573 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 1574 about unused parameters, and uninitialized variables. 1575 15762009-01-21 Bob Friesenhahn <[email protected]> 1577 1578 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 1579 order to trace full execution detail while executing the test suite. 1580 15812009-01-20 Frank Warmerdam <[email protected]> 1582 1583 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 1584 15852009-01-20 Bob Friesenhahn <[email protected]> 1586 1587 * test/Makefile.am (CLEANFILES): Make sure that test output files 1588 are removed by 'make clean' 1589 1590 * Update autotools for 4.0.0 beta3 1591 1592 * 4.0.0 beta3 produced. 1593 15942009-01-12 Bob Friesenhahn <[email protected]> 1595 1596 * test/tiffcrop.sh: New test script for tiffcrop from Richard 1597 Nolde. 1598 1599 * tools/tiff2ps.c: Remove spurious message to stderr. 1600 16012009-01-11 Bob Friesenhahn <[email protected]> 1602 1603 * tools/tiff2ps.c: Incorporated significant functionality update 1604 from Richard Nolde. In particular, support for rotating the image 1605 by 90, 180, 270, and 'auto' has been added. 1606 1607 * man/tiffcrop.1: Incorporated documentation updates from Richard 1608 Nolde. 1609 1610 * tools/tiffcrop.c: Incorporated significant functionality update 1611 from Richard Nolde. 1612 16132008-12-31 Bob Friesenhahn <[email protected]> 1614 1615 * libtiff/tiffio.h: GCC will now validate format specifications 1616 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 1617 TIFFWarningExt() in order to reveal bugs. 1618 1619 * Many fixes throughout to work better as a 64-bit build. 1620 16212008-12-30 Bob Friesenhahn <[email protected]> 1622 1623 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 1624 tags now require 64-bit parameter rather than 32-bit. 1625 1626 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 1627 64-bit values. 1628 1629 * tools/thumbnail.c: Eliminate crash noticed while running test 1630 suite. 1631 16322008-12-29 Bob Friesenhahn <[email protected]> 1633 1634 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 1635 Initialize stack variables to avoid compiler warning. 1636 1637 * tools/tiffinfoce.c (main): Use toff_t for offset type when 1638 retrieving offset of EXIF IFD. 1639 1640 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 1641 TIFFClientOpen() callback and other external function definitions. 1642 1643 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 1644 type now. Fixes crash when dumping files containing an EXIF IFD. 1645 1646 * m4/libtool.m4: Update to libtool 2.2.6. 1647 16482008-12-21 Frank Warmerdam <[email protected]> 1649 1650 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 1651 1652 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 1653 strip for the last partial strip in a jpeg compressed file. 1654 http://bugzilla.maptools.org/show_bug.cgi?id=1981 1655 16562008-10-29 Frank Warmerdam <[email protected]> 1657 1658 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 1659 we take the shortcut to only update the strip/tile offsets in place. 1660 http://trac.osgeo.org/gdal/ticket/2621 1661 16622008-10-21 Andrey Kiselev <[email protected]> 1663 1664 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 1665 the older versions retained). 1666 16672008-10-09 Frank Warmerdam <[email protected]> 1668 1669 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 1670 IPP enabled version of libjpeg from Intel. 1671 http://bugzilla.maptools.org/show_bug.cgi?id=1951 1672 16732008-09-05 Andrey Kiselev <[email protected]> 1674 1675 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 1676 Required for libtiff 4.0. 1677 1678 * tools/tiffsplit.c: Use dynamically allocated array instead of static 1679 when constructing output file names. 1680 16812008-09-03 Andrey Kiselev <[email protected]> 1682 1683 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 1684 doing the filename/path construction. 1685 1686 * tools/tiff2pdf.c: More appropriate format string in 1687 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 1688 1689 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 1690 1691 http://bugzilla.maptools.org/show_bug.cgi?id=1929 1692 1693 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 1694 CVE-2008-2327 security issue. 1695 16962008-09-01 Frank Warmerdam <[email protected]> 1697 1698 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 1699 1700 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 1701 depending on whether the file is bigtiff or classic tiff. 1702 http://bugzilla.maptools.org/show_bug.cgi?id=1917 1703 17042008-08-12 Edward Lam <[email protected]> 1705 1706 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 1707 consistent (__int64) casting when testing if _lseeki64 has 1708 successfully seeked as requested. This is necessary for large 1709 file support to work since off_t is only 32-bit. 1710 17112008-07-29 Frank Warmerdam <[email protected]> 1712 1713 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 1714 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 1715 with control logic to return runtime errors (c/o Even Rouault) (#1927). 1716 17172008-06-17 Frank Warmerdam <[email protected]> 1718 1719 * tools/tiffcrop.c: Fix some portability problems. 1720 1721 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 1722 used in tif_jpeg.c. 1723 1724 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 1725 as TIFFOpen(). 1726 17272008-06-01 Frank Warmerdam <[email protected]> 1728 1729 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 1730 like Sparc/Solaris. 1731 http://bugzilla.maptools.org/show_bug.cgi?id=1892 1732 17332008-05-27 Frank Warmerdam <[email protected]> 1734 1735 * libtiff.def: Add TIFFFindField 1736 http://bugzilla.maptools.org/show_bug.cgi?id=1891 1737 17382008-05-26 Frank Warmerdam <[email protected]> 1739 1740 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 1741 1742 * li2008-04-15 Andrey Kiselev <[email protected]> 1743 1744btiff/tif_win32.c: Replace custom Win32 memory api with generic 1745 POSIX one. No apparent value to use of GlobalAlloc() in the modern 1746 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 1747 1748 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 1749 in windows version (care of Edward Lam). 1750 17512008-05-24 Frank Warmerdam <[email protected]> 1752 1753 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 1754 compression codec codes. 1755 1756 * tif_dirwrite.c: fix potential memory leak. 1757 1758 * tif_dirread.c: Fix unchecked malloc result. 1759 17602008-05-24 Bob Friesenhahn <[email protected]> 1761 1762 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 1763 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 1764 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 1765 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 1766 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 1767 suggestions from Lee Howard posted to the tiff list on 13 Sep 1768 2007. 1769 17702008-05-23 Frank Warmerdam <[email protected]> 1771 1772 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 1773 possible runtime problem reported by coverity. 1774 1775 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 1776 1777 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 1778 http://bugzilla.maptools.org/show_bug.cgi?id=1888 1779 1780 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 1781 1782 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 1783 1784 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 1785 Cleanup scanline allocation to avoid coverity warning. 1786 1787 * tools/thumbnail.c: Check for TIFFOpen() failure. 1788 17892008-05-18 Frank Warmerdam <[email protected]> 1790 1791 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 1792 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 1793 why this is needed. 1794 17952008-05-09 Bob Friesenhahn <[email protected]> 1796 1797 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 1798 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 1799 18002008-04-15 Andrey Kiselev <[email protected]> 1801 1802 * test/: Test suite updated. Everything is passed now. 1803 1804 * libtiff/tif_dirinfo.c: Fixed description of the 1805 TIFFTAG_NUMBEROFINKS tag. 1806 18072008-04-14 Andrey Kiselev <[email protected]> 1808 1809 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 1810 Get rid of some of "dereferencing type-punned" warnings by converting 1811 tdir_offset field of TIFFDirEntry structure into union. 1812 18132008-04-10 Andrey Kiselev <[email protected]> 1814 1815 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 1816 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 1817 from the public interface. Type of its 'count' parameter changed 1818 from uint32 to tmsize_t. 1819 1820 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 1821 of the tiff structure have the size_t type instead of uint32. 1822 18232008-04-09 Andrey Kiselev <[email protected]> 1824 1825 * tools/tiffdump.c: Added support for MSVS 6.0. 1826 1827 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 1828 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 1829 point values on MSVS 6.0 platform. 1830 18312008-03-14 Frank Warmerdam <[email protected]> 1832 1833 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 1834 TIFFReadDirEntryArray() since they are interfering with seemingly 1835 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 1836 18372008-02-09 Joris Van Damme <[email protected]> 1838 1839 * tif_dirread.c: Added handling for the case of number of values for 1840 PageNumber tag different from 2 (previously resulted in an assert 1841 indicating lack of handling and was forgotten about) 1842 18432008-02-01 Frank Warmerdam <[email protected]> 1844 1845 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 1846 the actual jpeg data stream if the first strip/tile has zero size. 1847 This is the case when GDAL creates a new file with zero sizes, closes 1848 and reopens it. 1849 18502008-01-07 Frank Warmerdam <[email protected]> 1851 1852 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 1853 18542008-01-01 Frank Warmerdam <[email protected]> 1855 1856 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 1857 1858 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 1859 targets. 1860 1861 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 1862 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 1863 (x64). 1864 1865 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 1866 and TIFFFieldWithName() now return TIFFField pointers instead of 1867 TIFFFieldInfo pointers. 1868 1869 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 1870 exist. This makes it compile again on Windows 1871 1872 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 1873 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 1874 1875 * test/rewrite_tag.c: New test for TIFFRewriteField(). 1876 18772007-12-31 Frank Warmerdam <[email protected]> 1878 1879 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 1880 rewrites one field "on disk" updating an existing directory 1881 entry. Lots of limitations still... 1882 1883 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 1884 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 1885 the strip offset/size values are dirty but nothing else about the 1886 directory is dirty. In flush handle "just stripmaps dirty" as a 1887 special case that just rewrites these values without otherwise 1888 modifying the directory on disk using TIFFRewriteField(). 1889 1890 We also modify logic so that in update mode the directory is not 1891 marked dirty on read, but only when something is changed. This 1892 means we need to keep track of updates to the stripmap stuff in 1893 TIFFAppendToStrip(). 1894 18952007-12-10 Frank Warmerdam <[email protected]> 1896 1897 * tif_jpeg.c: Improve ability to switch between encoding and decoding 1898 in the jpeg code (gdal bug #2033). 1899 19002007-11-23 Frank Warmerdam <[email protected]> 1901 1902 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 1903 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 1904 rawcp/rawcc buffer are for writing and thus may require flushing. 1905 Necessary to distinguish whether they need to be written to disk when 1906 in mixed read/write mode and doing a mixture of writing followed by 1907 reading. http://trac.osgeo.org/gdal/ticket/1758 1908 19092007-11-23 Andrey Kiselev <[email protected]> 1910 1911 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 1912 from Alexey Chupahin. 1913 19142007-11-02 Frank Warmerdam <[email protected]> 1915 1916 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 1917 establishing if an existing tile can be rewritten to the same location 1918 by comparing the current size to all the other blocks in the same 1919 directory. This is dangerous in many situations and can easily 1920 corrupt a file. (observed in esoteric GDAL situation that's hard to 1921 document). This change involves leaving the stripbytecount[] values 1922 unaltered till TIFFAppendToStrip(). Now we only write a block back 1923 to the same location it used to be at if the new data is the same 1924 size or smaller - otherwise we move it to the end of file. 1925 1926 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 1927 data when writing the directory just because we have BEENWRITING at 1928 some point in the past. This was causing odd junk to be written out 1929 in a tile of data when a single tile had an interleaving of reading 1930 and writing with reading last. (highlighted by gdal 1931 autotest/gcore/tif_write.py test 7. 1932 1933 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 1934 modifying callers buffer. 1935 http://trac.osgeo.org/gdal/ticket/1965 1936 1937 * tif_predict.c/h: more fixes related to last item, keeping a 1938 distinct pfunc for encode and decode cases as these were getting 1939 mixed up sometimes. 1940 http://trac.osgeo.org/gdal/ticket/1948 1941 19422007-11-01 Frank Warmerdam <[email protected]> 1943 1944 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 1945 predictor based encoding and decoding works in read-write update 1946 mode properly. 1947 http://trac.osgeo.org/gdal/ticket/1948 1948 19492007-10-24 Joris Van Damme <[email protected]> 1950 1951 * tif_dirread.c: Fixed problem with bogus file triggering 1952 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 1953 ChopUpSingleUncompressedStrip 1954 19552007-10-22 Joris Van Damme <[email protected]> 1956 1957 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 1958 at best, access violation at worst, when subsampled JPEG compressed imagery 1959 is decoded without the JPEG_COLORMODE feature 1960 19612007-10-11 Frank Warmerdam <[email protected]> 1962 1963 * html/index.html: Update "people responsible" section. 1964 19652007-10-05 Frank Warmerdam <[email protected]> 1966 1967 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 1968 as reported on the mailing list. 1969 19702007-10-01 Joris Van Damme <[email protected]> 1971 1972 * changed some more incorrect %lud printf flags to %lu 1973 19742007-09-29 Joris Van Damme <[email protected]> 1975 1976 * tif_dirread.c: Strip chopping interfered badly with uncompressed 1977 subsampled images because it tried to divide subsampled rowblocks, 1978 leading to all sorts of errors throughout the library for these 1979 images. Fixed by making strip chopping divide in row counts that 1980 are a multiple of vertical subsampling value. 1981 19822007-09-28 Joris Van Damme <[email protected]> 1983 1984 * tif_dirread.c: Logical cast working around compiler warning 1985 1986 * tif_read.c: Correction of some error flags and parameter lists 1987 19882007-09-27 Joris Van Damme <[email protected]> 1989 1990 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 1991 when dealing with large bitspersample values, shutting up purification 1992 tools that warn about truncation, though it remains incorrect and 1993 indicates a conceptual problem there. 1994 1995 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 1996 of first IFD) to proper place because it badly interfered with memory 1997 mapping, resulting in mapping flag even with dummy mapping functions 1998 that returned 0 whilst at the same time the mapping tif_size wasn't 1999 set, thus resulting in continuous incorrect beyond-eof errors. 2000 20012007-09-24 Joris Van Damme <[email protected]> 2002 2003 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 2004 inconsistent use of const in tiffFields and exifFields definition 2005 20062007-09-20 Frank Warmerdam <[email protected]> 2007 2008 * tif_dirwrite.c: Always write tile/strip offsets and sizes 2009 using LONG8 type when output format is BigTIFF. The 2010 TIFFWriteDirectoryTagLongLong8Array() function was restructured 2011 accordingly. 2012 2013 * tif_dirread.c: Improvements to error reporting text in 2014 TIFFFetchDirectory(). 2015 20162007-09-19 Bob Friesenhahn <[email protected]> 2017 2018 * test/images: Added a small collection of test images for use by 2019 test programs and scripts. 2020 * test/tiffinfo.sh: A trivial example test script. 2021 * test/common.sh: Added small script for setting the environment 2022 used by script-based tests. 2023 20242007-08-24 Frank Warmerdam <[email protected]> 2025 2026 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 2027 zero when writing directory contents to preserve the ability to 2028 rewrite directories in place, even in the middle of a directory 2029 chain. 2030 2031 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 2032 definitions that are missing. Existing definitions are silently 2033 ignored. 2034 2035 * tif_dirread.c: Add runtime error for fields for which no definition 2036 is found (in addition to an assert for developers) in 2037 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 2038 prudent. 2039 20402007-08-10 Joris Van Damme <[email protected]> 2041 2042 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 2043 from _TIFFRGBAImage structure to revert unwanted ABI change. 2044 20452007-08-10 Joris Van Damme <[email protected]> 2046 2047 * libtiff/tif_win32.c: use SetFilePointer instead of 2048 SetFilePointerEx, as per bug 2049 2050 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 2051 20522007-07-19 Andrey Kiselev <[email protected]> 2053 2054 * libtiff/tif_stream.cxx: Put all callback functions declarations 2055 inside extern "C" block. 2056 2057 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 2058 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 2059 formatter instead of "%lld" with MSVC compiler. 2060 2061 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 2062 _TIFFUInt64ToDouble() functions. 2063 20642007-07-18 Andrey Kiselev <[email protected]> 2065 2066 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 2067 integer constants. 2068 2069 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 2070 remove tif_config.h/tiffconf.h during cleaning. As per bug 2071 2072 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 2073 2074 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 2075 2076 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 2077 20782007-07-13 Andrey Kiselev <[email protected]> 2079 2080 * libtiff 4.0.0alpha released. 2081 20822007-07-12 Andrey Kiselev <[email protected]> 2083 2084 * tools/tiff2pdf.c: Added missed extern optind as per bug 2085 2086 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 2087 2088 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 2089 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 2090 extending scheme completed. 2091 20922007-07-11 Bob Friesenhahn <[email protected]> 2093 2094 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 2095 use standard C++ library size types and attempt to detect overflow 2096 cases. 2097 20982007-07-08 Andrey Kiselev <[email protected]> 2099 2100 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 2101 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 2102 tag extending scheme. Use the new scheme everywhere. 2103 2104 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 2105 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 2106 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 2107 TIFFFIeldInfo structure replaced with TIFFField structure. 2108 TIFFFieldInfo retained for the backward compatibility. 2109 21102007-07-05 Bob Friesenhahn <[email protected]> 2111 2112 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 2113 defined. 2114 21152007-07-04 Andrey Kiselev <[email protected]> 2116 2117 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 2118 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 2119 removed. 2120 2121 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 2122 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 2123 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 2124 These tags are not codec-specific and relate to image content, so 2125 process them as other normal tags. 2126 2127 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 2128 public tiffio.h to private tif_dir.h. 2129 2130 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 2131 outdated. 2132 21332007-07-03 Andrey Kiselev <[email protected]> 2134 2135 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 2136 tif_win3.c}: Obsoleted portability stuff removed. 2137 2138 * tools/tiff2ps.c: Added support 16-bit images as per bug 2139 2140 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 2141 2142 Patch from William Bader. 2143 2144 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 2145 significant upgrade of the whole utility as per bug 2146 2147 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 2148 2149 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 2150 PDF file using TIFFClientOpen() machinery as it is implemented 2151 by Leon Bottou. 2152 21532007-06-26 Bob Friesenhahn <[email protected]> 2154 2155 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 2156 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 2157 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 2158 allow returning -1 for errors. 2159 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 2160 21612007-06-25 Bob Friesenhahn <[email protected]> 2162 2163 * port/strtoull.c: New porting function in case strtoull() is not 2164 available on the target system. 2165 * configure.ac: Add configure support for determining sized types 2166 in a portable way and performing necessary substitutions in 2167 tif_config.h and tiffconf.h. Updated tiff.h to use the new 2168 definitions. 2169 21702007-04-27 Andrey Kiselev <[email protected]> 2171 2172 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 2173 2174 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 2175 21762007-04-07 Andrey Kiselev <[email protected]> 2177 2178 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 2179 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 2180 tif_predict.c, tif_zip.c}: Finally fix bug 2181 2182 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 2183 2184 by introducing _TIFFMergeFieldInfo() returning integer error status 2185 instead of void in case of problems with field merging (e.g., if the 2186 field with such a tag already registered). TIFFMergeFieldInfo() in 2187 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 2188 check returned value. 2189 21902007-04-07 Frank Warmerdam <[email protected]> 2191 2192 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 2193 blocks in TIFF_DownSample_Subsampled() (bug 1542). 2194 21952007-04-06 Frank Warmerdam <[email protected]> 2196 2197 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 2198 will convert from decompressor to compressor or compress to decompress 2199 if required by the force arguments. This works around a problem in 2200 where the JPEGFixupTestSubsampling() may cause a decompressor to 2201 be setup on a directory when later a compressor is required with the 2202 force flag set. Occurs with the addtiffo program for instance. 2203 22042007-04-06 Andrey Kiselev <[email protected]> 2205 2206 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 2207 functionality from Richard Nolde. As per bug 2208 2209 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 2210 22112007-03-28 Frank Warmerdam <[email protected]> 2212 2213 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 2214 22152007-03-17 Joris Van Damme <[email protected]> 2216 2217 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 2218 22192007-03-07 Joris Van Damme <[email protected]> 2220 2221 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 2222 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 2223 factor. This bug is mentioned in: 2224 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 2225 http://www.asmail.be/msg0054766825.html 2226 22272007-03-07 Joris Van Damme <[email protected]> 2228 2229 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 2230 2231 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 2232 unused arguments by standard C indication for the same 2233 22342007-02-27 Andrey Kiselev <[email protected]> 2235 2236 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 2237 counters in TIFFFetchData(). Should finally fix the issue 2238 2239 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 2240 22412007-02-24 Andrey Kiselev <[email protected]> 2242 2243 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 2244 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 2245 2246 * libtiff/tif_dirread.c: Added special function to handle 2247 SubjectDistance EXIF tag as per bug 2248 2249 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 2250 2251 * tools/tiff2pdf.c: Do not assume inches when the resolution units 2252 do not specified. As per bug 2253 2254 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 2255 2256 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 2257 it was set as infinite. As per bug 2258 2259 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 2260 2261 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 2262 by Richard Nolde. As per bug 2263 2264 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 2265 22662007-02-22 Andrey Kiselev <[email protected]> 2267 2268 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 2269 ExtraSamples == 999 produced by Corel Draw. As per bug 2270 2271 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 2272 2273 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 2274 changed from tsize_t to uint32 to be able to work with data arrays 2275 larger than 2GB. Fixes bug 2276 2277 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 2278 2279 Idea submitted by Matt Hancher. 2280 22812007-01-31 Andrey Kiselev <[email protected]> 2282 2283 * tools/tif2rgba.c: This utility does not work properly on big-endian 2284 architectures. It was fixed including the bug 2285 2286 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 2287 22882007-01-15 Mateusz Loskot <[email protected]> 2289 2290 * Submitted libtiff port for Windows CE platform 2291 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 2292 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 2293 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 2294 functons from tif_win32.c. 2295 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 2296 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 2297 standard header files for Windows CE build. 2298 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 2299 23002006-11-19 Frank Warmerdam <[email protected]> 2301 2302 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 2303 we move a strip. 2304 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 2305 23062006-10-13 Andrey Kiselev <[email protected]> 2307 2308 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 2309 in Gentoo bug (): 2310 2311 http://bugs.gentoo.org/show_bug.cgi?id=142383 2312 2313 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 2314 Though it is still far from the state of being working and useful. 2315 23162006-10-12 Andrey Kiselev <[email protected]> 2317 2318 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 2319 method. 2320 2321 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 2322 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 2323 2324 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 2325 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 2326 2327 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 2328 vulnerabilities, reported in Gentoo bug (): 2329 2330 http://bugs.gentoo.org/show_bug.cgi?id=142383 2331 23322006-09-28 Andrey Kiselev <[email protected]> 2333 2334 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 2335 vulnerabilities, as per Gentoo bug (): 2336 2337 http://bugs.gentoo.org/show_bug.cgi?id=142383 2338 23392006-09-27 Frank Warmerdam <[email protected]> 2340 2341 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 2342 encoding and decoding on the same read-write TIFF handle. The LZW 2343 code can now maintain encode and decode state at the same time. The 2344 ZIP code will switch back and forth as needed. 2345 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 2346 23472006-09-20 Frank Warmerdam <[email protected]> 2348 2349 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 2350 tif_config.vc.h for easier identification by folks using an IDE. 2351 23522006-07-25 Frank Warmerdam <[email protected]> 2353 2354 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 2355 23562006-07-19 Frank Warmerdam <[email protected]> 2357 2358 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 2359 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 2360 to bug report by Peng Gao with black strip at bottom of images. 2361 23622006-07-12 Frank Warmerdam <[email protected]> 2363 2364 * tif_dirwrite.c: make sure to use uint32 for wordcount in 2365 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 2366 It already seems to have been done for other field types. Needed 2367 for "tiffset" on files with geotiff ascii text. 2368 23692006-07-04 Bob Friesenhahn <[email protected]> 2370 2371 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 2372 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 2373 its use does not appear to be required, so use it only when it is 2374 available. 2375 23762006-06-24 Andrey Kiselev <[email protected]> 2377 2378 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 2379 2380 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 2381 function TIFFFetchDirectory() avoiding code duplication in 2382 TIFFReadDirectory() and TIFFReadCustomDirectory(). 2383 23842006-06-19 Frank Warmerdam <[email protected]> 2385 2386 * tools/tiff2pdf.c: Fix handling of -q values. 2387 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 2388 23892006-06-17 Frank Warmerdam <[email protected]> 2390 2391 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 2392 files. Modified TIFFReadDirectory() to not invoke 2393 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 2394 but one of them is zero. 2395 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 2396 23972006-06-08 Andrey Kiselev <[email protected]> 2398 2399 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 2400 checking code in the separate function TIFFCheckDirOffset(). 2401 2402 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 2403 2404 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 2405 2406 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 2407 2408 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 2409 2410 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 2411 2412 * tools/tiff2pdf.c: Fixed buffer overflow condition in 2413 t2p_write_pdf_string() as per bug 2414 2415 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 2416 24172006-06-07 Andrey Kiselev <[email protected]> 2418 2419 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 2420 support for JBIG compression scheme (34661 code) contributed by Lee 2421 Howard. As per bug 2422 2423 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 2424 2425 * configure, configure.ac: OJPEG support enabled by default. 2426 2427 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 2428 24292006-06-03 Bob Friesenhahn <[email protected]> 2430 2431 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 2432 TIFFPrintDirectory(). Joris Van Damme authored the fix. 2433 24342006-04-21 Andrey Kiselev <[email protected]> 2435 2436 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 2437 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 2438 2439 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 2440 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 2441 Added support for OpenVMS by Alexey Chupahin, [email protected]. 2442 24432006-04-20 Andrey Kiselev <[email protected]> 2444 2445 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 2446 Properly set the binary mode for stdin stream as per bug 2447 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 2448 2449 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 2450 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 2451 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 2452 tiffset.1}: Improvements in page formatting as per bug 2453 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 2454 2455 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 2456 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 2457 24582006-04-18 Frank Warmerdam <[email protected]> 2459 2460 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 2461 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 2462 24632006-04-12 Joris Van Damme <[email protected]> 2464 2465 * libtiff/tif_getimage.c: Added support for planarconfig separate 2466 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 2467 24682006-04-11 Joris Van Damme <[email protected]> 2469 2470 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 2471 - Conversion of unassociated alpha to associated alpha now done with 2472 more performant LUT, and calculation more correct 2473 - Conversion of 16bit data to 8bit data now done with 2474 more performant LUT, and calculation more correct 2475 - Bugfix of handling of 16bit RGB with unassociated alpha 2476 24772006-04-11 Joris Van Damme <[email protected]> 2478 2479 * libtiff/tif_getimage.c: 2480 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 2481 buffer for alpha strile and filled it, only to never read it back. 2482 Removed allocation and fill. 2483 - Minor rename of vars in gtTileSeparate and gtStripSeparate 2484 anticipating planned functionality extension 2485 24862006-04-08 Joris Van Damme <[email protected]> 2487 2488 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 2489 and pickTileSeparateCase to PickSeparateCase as both work on strips as 2490 well 2491 2492 * libtiff/tif_getimage.c: moved img->get selection from 2493 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 2494 logical hook for planned functionality extension 2495 24962006-04-08 Joris Van Damme <[email protected]> 2497 2498 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 2499 of inappropriate use of jpeg_abort instead of jpeg_destroy 2500 25012006-04-07 Joris Van Damme <[email protected]> 2502 2503 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 2504 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 2505 on subsampled images - this ought to get sorted when we feel brave 2506 enough to replace TIFFScanlineSize alltogether 2507 2508 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 2509 25102006-04-04 Joris Van Damme <[email protected]> 2511 2512 * libtiff/tiffio.h: added new type tstrile_t 2513 2514 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 2515 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 2516 toff_t* 2517 2518 * libtiff/tif_ojpeg.c: totally new implementation 2519 2520 * libtiff/tif_dirread.c: added several hacks to suit new support of 2521 OJPEG 2522 2523 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 2524 of OJPEG images in favor of tif_getimage.c native handling of 2525 YCbCr and desubsampling 2526 25272006-03-29 Frank Warmerdam <[email protected]> 2528 2529 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 2530 interpretation causes the "upsampled" flag to be recomputed. Fixes 2531 peculiar bug where photometric flag had to be set before jpegcolormode 2532 flag. 2533 25342006-03-25 Joris Van Damme <[email protected]> 2535 2536 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 2537 2538 * libtiff/tif_strip.c: temporarilly added two new versions of 2539 TIFFScanlineSize 2540 - TIFFNewScanlineSize: proposed new version, after all related 2541 issues and side-effects are sorted out 2542 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 2543 This needs further sorting out. 2544 25452006-03-25 Joris Van Damme <[email protected]> 2546 2547 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 2548 of last truncated strip data to TIFFWriteEncodedStrip 2549 25502006-03-25 Joris Van Damme <[email protected]> 2551 2552 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 2553 25542006-03-25 Joris Van Damme <[email protected]> 2555 2556 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 2557 2558 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 2559 2560 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 2561 prepare the path for new tif_ojpeg.c 2562 25632006-03-23 Andrey Kiselev <[email protected]> 2564 2565 * libtiff 3.8.2 released. 2566 2567 * tools/Makefile.am: Use runtime paths linker flags when rpath 2568 option enabled. 2569 25702006-03-21 Andrey Kiselev <[email protected]> 2571 2572 * libtiff/libtiff.def: Added missed exports as per bug 2573 http://bugzilla.remotesensing.org/attachment.cgi?id=337 2574 2575 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 2576 tools/Makefile.vc: Makefiles improvements as per bug 2577 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 2578 2579 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 2580 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 2581 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 2582 2583 * libtiff/tif_strip.c: Take subsampling in account when calculating 2584 TIFFScanlineSize(). 2585 2586 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 2587 25882006-03-17 Andrey Kiselev <[email protected]> 2589 2590 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 2591 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 2592 2593 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 2594 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 2595 25962006-03-16 Andrey Kiselev <[email protected]> 2597 2598 * libtiff/tiffiop.h: Added decalration for 2599 _TIFFSetDefaultCompressionState(). 2600 2601 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 2602 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 2603 codec cleanup methods. As per bug 2604 2605 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 2606 26072006-03-15 Andrey Kiselev <[email protected]> 2608 2609 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 2610 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 2611 2612 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 2613 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 2614 2615 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 2616 removed; move here the STRIP_SIZE_DEFAULT macro definition. 2617 2618 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 2619 macro definition. 2620 2621 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 2622 26232006-03-14 Andrey Kiselev <[email protected]> 2624 2625 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 2626 in TIFFReadDirectory, because it is always set at the start of 2627 function and we allow TIFFs without that tag set. 2628 26292005-03-13 Andrey Kiselev <[email protected]> 2630 2631 * libtiff 3.8.1 released. 2632 26332006-03-07 Andrey Kiselev <[email protected]> 2634 2635 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 2636 function as per bug 2637 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2638 2639 * libtiff/tif_dirread.c: More wise check for integer overflow 2640 condition as per bug 2641 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2642 2643 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 2644 Properly restore setfield/getfield methods in cleanup functions. As 2645 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2646 26472006-03-03 Andrey Kiselev <[email protected]> 2648 2649 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 2650 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 2651 2652 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 2653 TIFFPredictorCleanup() in codec cleanup methods. As per bug 2654 2655 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2656 2657 * libtiff/tif_dirread.c: Fixed integer overflow condition in 2658 TIFFFetchData() function. As per bug 2659 2660 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2661 26622006-03-01 Andrey Kiselev <[email protected]> 2663 2664 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 2665 TIFFSetField() method, not directly. As per bug 2666 2667 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 2668 2669 * tools/ppm2tiff.c: Added support for PBM files as per bug 2670 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 2671 26722006-02-27 Andrey Kiselev <[email protected]> 2673 2674 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 2675 to avoid crash as per bug 2676 2677 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 2678 26792006-02-26 Andrey Kiselev <[email protected]> 2680 2681 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 2682 t2p_sample_rgba_to_rgb() was used in place of each other, that was 2683 resulted in problems with RGBA images with associated alpha. 2684 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 2685 26862006-02-23 Andrey Kiselev <[email protected]> 2687 2688 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 2689 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 2690 2691 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 2692 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 2693 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 2694 2695 * tools/tiff2ps.c: Properly scale all the pages when converting 2696 multipage TIFF with /width/height/center options set. As per bug 2697 2698 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 2699 27002006-02-15 Andrey Kiselev <[email protected]> 2701 2702 * tools/tiff2pdf.c: Do not create output file until all option checks 2703 will be done. As per bug 2704 2705 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 2706 2707 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 2708 list of input files as per bug: 2709 2710 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 2711 27122006-02-09 Andrey Kiselev <[email protected]> 2713 2714 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 2715 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 2716 2717 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 2718 TIFFRGBAImage interface. 2719 2720 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 2721 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 2722 27232006-02-07 Frank Warmerdam <[email protected]> 2724 2725 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 2726 compressed TIFF files, per submission from Dan Cobra. 2727 27282006-02-07 Andrey Kiselev <[email protected]> 2729 2730 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 2731 cast values to avoid warnings. As per bug 2732 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2733 2734 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 2735 appropriate. As per bug 2736 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2737 2738 * libtiff/tif_aux.c: Fixed type of temporary variable in 2739 _TIFFCheckMalloc() as per bug 2740 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2741 27422006-02-06 Andrey Kiselev <[email protected]> 2743 2744 * libtiff/tif_aux.c: Return static array when fetching default 2745 YCbCrCoefficients (another problem, reported a the 2746 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 2747 27482006-02-03 Andrey Kiselev <[email protected]> 2749 2750 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 2751 YCbCrSubsampling and DotRange tags as per bugs 2752 2753 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 2754 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 2755 2756 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 2757 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 2758 2759 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 2760 27612006-01-23 Andrey Kiselev <[email protected]> 2762 2763 * libtool related stuff updated from the 2.1a branch. 2764 27652006-01-11 Frank Warmerdam <[email protected]> 2766 2767 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 2768 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 2769 properly as per bug: 2770 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 2771 27722006-01-09 Bob Friesenhahn <[email protected]> 2773 2774 * configure.ac: Fix with_default_strip_size comparison as reported 2775 by Norihiko Murase. 2776 27772006-01-08 Bob Friesenhahn <[email protected]> 2778 2779 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 2780 incorrectly, tests were not actually testing the uninstalled 2781 libtiff. Now they are. 2782 27832006-01-04 Andrey Kiselev <[email protected]> 2784 2785 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 2786 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 2787 should be uint32 value. 2788 27892006-01-02 Bob Friesenhahn <[email protected]> 2790 2791 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 2792 be used if build directory is not the same as source directory. 2793 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 2794 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 2795 and re-sorted tag names in alphabetical order. 2796 27972005-12-29 Andrey Kiselev <[email protected]> 2798 2799 * libtiff 3.8.0 released. 2800 28012005-12-28 Bob Friesenhahn <[email protected]> 2802 2803 * tools/bmp2tiff.c (main): Fixed warning regarding returning 2804 inconsistent types from a condition. 2805 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 2806 format. 2807 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 2808 28092005-12-28 Joris Van Damme <[email protected]> 2810 2811 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 2812 28132005-12-27 Andrey Kiselev <[email protected]> 2814 2815 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 2816 windows.h, to reduce the compile time. 2817 28182005-12-26 Bob Friesenhahn <[email protected]> 2819 2820 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 2821 28222005-12-26 Andrey Kiselev <[email protected]> 2823 2824 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 2825 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 2826 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 2827 private functions to retrieve FieldInfo arrays. 2828 28292005-12-24 Bob Friesenhahn <[email protected]> 2830 2831 * html/build.html: Added some additional instructions for when 2832 building using MSVC under Windows. Also fixed two HTML syntax 2833 errors and used HTML Tidy to tidy up the HTML syntax and 2834 formatting. 2835 28362005-12-24 Andrey Kiselev <[email protected]> 2837 2838 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 2839 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 2840 StoNits tags custom. 2841 28422005-12-23 Andrey Kiselev <[email protected]> 2843 2844 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 2845 WhitePoint tag custom. 2846 2847 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 2848 28492005-12-23 Joris Van Damme <[email protected]> 2850 2851 * libtiff/tiffio.h: fixed typo that potentially resulted in 2852 redefininition of USE_WIN32_FILEIO 2853 2854 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 2855 calls in core LibTiff. 2856 28572005-12-21 Andrey Kiselev <[email protected]> 2858 2859 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 2860 Photoshop and ICCProfile tags custom. 2861 28622005-12-21 Joris Van Damme <[email protected]> 2863 2864 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 2865 newer code to get context indicator in error handler and still 2866 remain compatible with older code: Done TIFFError calls everywhere 2867 except in tools 2868 28692005-12-20 Andrey Kiselev <[email protected]> 2870 2871 * tools/tiffcp.c: Added many error reporting messages; fixed integer 2872 overflow as per bug 2873 2874 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 2875 28762005-12-16 Frank Warmerdam <[email protected]> 2877 2878 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 2879 YCbCr images in jpeg compressed TIFF files. 2880 28812005-12-14 Andrey Kiselev <[email protected]> 2882 2883 * tools/tiffcp.c: Return non-zero status when reading fails (again). 2884 28852005-12-13 Andrey Kiselev <[email protected]> 2886 2887 * tools/tiffcp.c: Return non-zero status when reading fails. 2888 28892005-12-12 Andrey Kiselev <[email protected]> 2890 2891 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 2892 28932005-12-09 Andrey Kiselev <[email protected]> 2894 2895 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 2896 custom. 2897 2898 * tools/tiffinfo.c: Print EXIF directory contents if exist. 2899 2900 * libtiff/tiff.h: Few EXIF tag numbers added. 2901 2902 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 2903 tiffio.h}: Preliminary support to read custom directories. New 2904 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 2905 29062005-12-07 Andrey Kiselev <[email protected]> 2907 2908 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 2909 More work to implement custom directory read support. 2910 2911 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 2912 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 2913 tags custom. 2914 29152005-12-05 Andrey Kiselev <[email protected]> 2916 2917 * libtiff/tif_dirread.c: One more workaround for broken 2918 StripByteCounts tag. Handle the case when StripByteCounts array filled 2919 with completely wrong values. 2920 29212005-11-30 Andrey Kiselev <[email protected]> 2922 2923 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 2924 in the TIFFOpenW() function as per bug 2925 2926 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 2927 2928 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 2929 functions as per bug 2930 2931 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 2932 29332005-11-20 Frank Warmerdam <[email protected]> 2934 2935 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 2936 for MS MDI format. 2937 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 2938 2939 * .cvsignore: many files added, and a few update according 2940 to suggestion of Brad HArds on tiff mailing list. 2941 29422005-11-03 Frank Warmerdam <[email protected]> 2943 2944 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 2945 public. 2946 29472005-10-31 Andrey Kiselev <[email protected]> 2948 2949 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 2950 as per bug 2951 2952 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 2953 2954 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 2955 as per bug 2956 2957 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 2958 2959 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 2960 problem as per bug 2961 2962 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 2963 2964 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 2965 2966 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 2967 2968 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 2969 ResolutionUnit tags modifiable during write process. As per bug 2970 2971 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 2972 2973 * tools/tiffsplit.c: Copy fax related fields over splitted parts 2974 as per bug 2975 2976 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 2977 29782005-10-21 Frank Warmerdam <[email protected]> 2979 2980 * tif_dirread.c: Don't try and split single strips into "0" strips 2981 in ChopUpSingleUncompressedStrip. This happens in some degenerate 2982 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 2983 29842005-10-20 Joris Van Damme <[email protected]> 2985 2986 * tif_fax3.c: changed 'at scanline ...' style warning/errors 2987 with incorrect use of tif_row, to 'at line ... of 2988 strip/tile ...' style 2989 29902005-10-15 Frank Warmerdam <[email protected]> 2991 2992 * tif_write.c: fixed setting of planarconfig as per bug report 2993 on the mailing list from Joris. 2994 29952005-10-07 Andrey Kiselev <[email protected]> 2996 2997 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 2998 tif_dirread.c}: Make the default strip size configurable via the 2999 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 3000 30012005-09-30 Bob Friesenhahn <[email protected]> 3002 3003 * html/support.html: Fixed link to documentation on Greg Ward's 3004 LogLuv TIFF format. 3005 30062005-09-28 Andrey Kiselev <[email protected]> 3007 3008 * tools/tiffdump.c: Fixed crash when reading malformed tags. 3009 30102005-09-20 Andrey Kiselev <[email protected]> 3011 3012 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 3013 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 3014 30152005-09-12 Andrey Kiselev <[email protected]> 3016 3017 * libtiff 3.7.4 released. 3018 3019 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 3020 from Patrick Welche (all scripts moved in the 'config' and 'm4' 3021 directories). 3022 30232005-09-12 Frank Warmerdam <[email protected]> 3024 3025 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 3026 30272005-09-05 Frank Warmerdam <[email protected]> 3028 3029 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 3030 also set it to NULL to avoid double free when re-setting custom 3031 string fields as per: 3032 3033 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 3034 30352005-08-12 Frank Warmerdam <[email protected]> 3036 3037 * libtiff/tif_print.c: avoid signed/unsigned warning. 3038 3039 * libtiff/tif_dirread.c: removed unused variable. 3040 30412005-07-30 Frank Warmerdam <[email protected]> 3042 3043 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 3044 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 3045 pass on bigendian (macosx) system. 3046 30472005-07-28 Andrey Kiselev <[email protected]> 3048 3049 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 3050 CheckMalloc() function to _TIFFCheckMalloc() and make it available 3051 globally as an internal helper routine. 3052 30532005-07-27 Andrey Kiselev <[email protected]> 3054 3055 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 3056 the custom tags handling code. 3057 30582005-07-26 Andrey Kiselev <[email protected]> 3059 3060 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 3061 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 3062 function, use TIFFFetchNormalTag() instead as per bug 3063 3064 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 3065 3066 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 3067 instead. 3068 3069 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 3070 3071 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3072 30732005-07-25 Andrey Kiselev <[email protected]> 3074 3075 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 3076 3077 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 3078 30792005-07-21 Andrey Kiselev <[email protected]> 3080 3081 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 3082 the TIFFWriteCheck() function in case of single band images (as per 3083 TIFF spec). 3084 30852005-07-12 Andrey Kiselev <[email protected]> 3086 3087 * SConstruct, libtiff/SConstruct: Added the first very preliminary 3088 support for SCons software building tool (http://www.scons.org/). 3089 This is experimental infrastructure and it will exist along with the 3090 autotools mechanics. 3091 30922005-07-07 Andrey Kiselev <[email protected]> 3093 3094 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 3095 the NetBSD source tree (the old 4-clause BSD license changed to 3096 the new 3-clause one). 3097 3098 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 3099 replacement module. 3100 3101 * port/dummy.c: Make the dummy function static. 3102 31032005-07-06 Andrey Kiselev <[email protected]> 3104 3105 * tools/tiffcp.c: Fixed WhitePoint tag copying. 3106 3107 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 3108 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 3109 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 3110 31112005-07-04 Andrey Kiselev <[email protected]> 3112 3113 * libtiff 3.7.3 released. 3114 3115 * configure, configure.ac: Do not use empty -R option when linking 3116 with --enable-rpath. 3117 31182005-07-01 Andrey Kiselev <[email protected]> 3119 3120 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 3121 reading the first IFD when needed. As per bug 3122 3123 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 3124 3125 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 3126 effects. 3127 31282005-06-23 Andrey Kiselev <[email protected]> 3129 3130 * tools/tiff2pdf.c: Print two characters per loop in the 3131 t2p_write_pdf_trailer(). As per bug 3132 3133 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 3134 3135 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 3136 per bug 3137 3138 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 3139 3140 * acinclude.m4: Updated to latest OpenGL test macros versions. 3141 3142 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 3143 platform. As per bug 3144 3145 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 3146 31472005-06-14 Andrey Kiselev <[email protected]> 3148 3149 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 3150 and YClipPathUnits tags. 3151 31522005-06-07 Andrey Kiselev <[email protected]> 3153 3154 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 3155 use pixel sized shift in contigous case. 3156 31572005-06-06 Andrey Kiselev <[email protected]> 3158 3159 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 3160 Make overviews working for contiguos images. 3161 31622005-06-03 Andrey Kiselev <[email protected]> 3163 3164 * libtiff/tif_open.c: Replace runtime endianess check with the compile 3165 time one. 3166 3167 * libtiff/tif_predict.c: Floating point predictor now works on 3168 big-endian hosts. 3169 31702005-06-01 Andrey Kiselev <[email protected]> 3171 3172 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 3173 ASCII values. 3174 3175 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 3176 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 3177 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 3178 TargetPrinter tags custom. 3179 3180 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 3181 TIFF_CODERSETUP flag (to fix memry leaks). 3182 3183 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 3184 allocating. 3185 31862005-05-26 Andrey Kiselev <[email protected]> 3187 3188 * configure.ac, libtiff/Makefile.am: Added workaround for 3189 OpenBSD/MirOS soname problem as per bug 3190 3191 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 3192 3193 * libtiff/tif_dirwrite.c: Use tdir_count when calling 3194 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 3195 per bug 3196 3197 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 3198 31992005-05-25 Andrey Kiselev <[email protected]> 3200 3201 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 3202 the fscanf() function. As per bug 3203 3204 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 3205 3206 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 3207 uint16 array when fetching the BYTE and SBYTE filds, so we should 3208 consider result as pointer to uint16 array and not as array of chars. 3209 As per bug 3210 3211 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 3212 3213 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 3214 3215 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 3216 3217 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 3218 mode in CreateFile() call as per bug 3219 3220 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 3221 3222 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 3223 libtiffxx libraries as per bug 3224 3225 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 3226 3227 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 3228 GDAL. 3229 32302005-05-23 Frank Warmerdam <[email protected]> 3231 3232 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 3233 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 3234 in directory. 3235 32362005-05-22 Frank Warmerdam <[email protected]> 3237 3238 * libtiff/tif_dirread.c: Changed the code that computes 3239 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 3240 zero. This is a common case with GDAL indicating a "null" tile/strip. 3241 32422005-05-17 Andrey Kiselev <[email protected]> 3243 3244 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 3245 32462005-05-06 Frank Warmerdam <[email protected]> 3247 3248 * libtiff/tif_dirread.c: Applied similar change to 3249 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 3250 3251 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 3252 3253 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 3254 32552005-05-06 Andrey Kiselev <[email protected]> 3256 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 3257 added new option '-b' to use interpolation in output PDF files (Bruno 3258 Ledoux). 3259 32602005-05-05 Frank Warmerdam <[email protected]> 3261 3262 * libtiff/tif_dirread.c: Ensure that broken files with too many 3263 values in PerSampleShorts work ok instead of crashing. 3264 3265 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 3266 32672005-04-27 Andrey Kiselev <[email protected]> 3268 3269 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 3270 input file. 3271 32722005-04-15 Andrey Kiselev <[email protected]> 3273 3274 * libtiff/tif_predict.c: Added ability to encode floating point 3275 predictor, as per TIFF Technical Note 3. 3276 32772005-04-14 Andrey Kiselev <[email protected]> 3278 3279 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 3280 floating point predictor, as per TIFF Technical Note 3. 3281 32822005-04-13 Andrey Kiselev <[email protected]> 3283 3284 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 3285 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 3286 swap 24-bit floating point values. 3287 3288 * libtiff/tiff.h: Added predictor constants. 3289 32902005-04-08 Andrey Kiselev <[email protected]> 3291 3292 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 3293 values in _TIFFVSetField() function. Inspired by the bug 3294 3295 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 3296 3297 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 3298 as per bug 3299 3300 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 3301 33022005-03-30 Andrey Kiselev <[email protected]> 3303 3304 * libtiff/tif_open.c: Do not read header in case the output file 3305 should be truncated (Ron). 3306 3307 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 3308 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 3309 3310 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 3311 33122005-03-22 Andrey Kiselev <[email protected]> 3313 3314 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 3315 rpath option. 3316 33172005-03-21 Andrey Kiselev <[email protected]> 3318 3319 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 3320 tags. 3321 33222005-03-18 Andrey Kiselev <[email protected]> 3323 3324 * libtiff/dirinfo.c: Added DNG tags. 3325 3326 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 3327 handling code. 3328 3329 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 3330 added DNG 1.1.0.0 tags. 3331 3332 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 3333 bug 3334 3335 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 3336 3337 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 3338 33392005-03-17 Andrey Kiselev <[email protected]> 3340 3341 * nmake.opt: Build with Win32 CRT library by default. 3342 3343 * tools/tiff2ps.c: Fixed typo in page size handling code. 3344 3345 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 3346 by value. 3347 3348 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 3349 33502005-03-15 Andrey Kiselev <[email protected]> 3351 3352 * libtiff 3.7.2 released. 3353 33542005-03-09 Andrey Kiselev <[email protected]> 3355 3356 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 3357 floating point data; complain on unsupported bit depths. 3358 33592005-03-05 Andrey Kiselev <[email protected]> 3360 3361 * tif_stream.cxx: Use ios namespace instead of ios_base to support 3362 GCC 2.95. 3363 3364 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 3365 Lee Howard for HylaFax DCS tag 3366 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 3367 33682005-03-04 Andrey Kiselev <[email protected]> 3369 3370 * configure, configure.ac: Use -rpath option instead of -R as per bug 3371 3372 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 3373 3374 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 3375 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 3376 software. As per bug 3377 3378 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 3379 3380 * nmake.opt, html/build.html: Add more comments, change the config 3381 file organization a bit as per bug 3382 3383 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 3384 3385 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 3386 as per bug 3387 3388 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 3389 33902005-03-03 Andrey Kiselev <[email protected]> 3391 3392 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 3393 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 3394 3395 * tools/fax2ps.c: Replace insecure mktemp() function with the 3396 tmpfile() as per bug 3397 3398 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 3399 34002005-02-04 Andrey Kiselev <[email protected]> 3401 3402 * libtiff/tiff.h: Changed the int8 definition to be always signed char 3403 as per bug 3404 3405 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 3406 3407 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 3408 block as per bug 3409 3410 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 3411 34122005-02-03 Bob Friesenhahn <[email protected]> 3413 3414 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 3415 display more correctly. Images display brighter than they should 3416 on a Sun workstation. 3417 34182005-02-03 Andrey Kiselev <[email protected]> 3419 3420 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 3421 suspicious values in the tags. As per bugs 3422 3423 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 3424 3425 and 3426 3427 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 3428 3429 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 3430 3431 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 3432 34332005-01-31 Bob Friesenhahn <[email protected]> 3434 3435 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 3436 (TIFFTAG_TILELENGTH): Corrected description. 3437 34382005-01-30 Andrey Kiselev <[email protected]> 3439 3440 * configure.ac: Fixes for --with-docdir option as per bug 3441 3442 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 3443 3444 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 3445 bug 3446 3447 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 3448 3449 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 3450 Michael Rinne and Edward Lam. 3451 34522005-01-15 Andrey Kiselev <[email protected]> 3453 3454 * configure.ac: Make the documentation directory location configurable 3455 via the --with-docdir option (as suggested by Jeremy C. Reed). 3456 3457 * libtiff/tif_color.c: Use double as the second argument of pow() 3458 function in TIFFCIELabToRGBInit(). As per bug 3459 3460 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 3461 3462 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 3463 integer as per bug 3464 3465 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 3466 3467 * libtiff/tif_getimage.c: Always fill the error message buffer in 3468 TIFFRGBAImageBegin() as per bug 3469 3470 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 3471 34722005-01-12 Andrey Kiselev <[email protected]> 3473 3474 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 3475 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 3476 tags as per bug 3477 3478 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 3479 3480 * libtiff/tif_win32.c: Fixed message formatting in functions 3481 Win32WarningHandler() and Win32ErrorHandler() as per bug 3482 3483 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 3484 3485 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 3486 per bug 3487 3488 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 3489 34902005-01-11 Andrey Kiselev <[email protected]> 3491 3492 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 3493 "C"' section as per bug 3494 3495 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 3496 3497 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 3498 compiler to avoid double definition of BSD types as per bug 3499 3500 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3501 3502 * libtiff/Makefile.am: Place the C++ stream API in the separate 3503 library called libtiffxx to avoid unneeded dependencies. Probably 3504 there will be more C++ API in the future. As per bugs 3505 3506 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 3507 3508 and 3509 3510 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 3511 35122005-01-05 Andrey Kiselev <[email protected]> 3513 3514 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 3515 wrong tag counts (Dmitry V. Levin, Martin Pitt). 3516 3517 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 3518 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 3519 35202004-12-25 Andrey Kiselev <[email protected]> 3521 3522 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 3523 RGB-images as per bug 3524 3525 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 3526 3527 3528 * tools/tiffset.c: Convert character option to integer value as per 3529 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 3530 35312004-12-20 Andrey Kiselev <[email protected]> 3532 3533 * libtiff 3.7.1 released. 3534 3535 * html/tiffset.1.html: Add missed manual page as per bug 3536 3537 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 3538 3539 * libtiff/tiff.h: Revert back libtiff data type definitions as per 3540 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 3541 35422004-12-19 Andrey Kiselev <[email protected]> 3543 3544 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 3545 checking for tag count in TIFFReadDirectory() function. As per bug 3546 3547 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 3548 3549 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 3550 CheckMallock() function. 3551 3552 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 3553 RGB-images as per bug 3554 3555 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 3556 35572004-12-15 Frank Warmerdam <[email protected]> 3558 3559 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 3560 SunPro compiler. 3561 35622004-12-11 Bob Friesenhahn <[email protected]> 3563 3564 * autogen.sh: aclocal and autoheader should be executed after 3565 libtoolize. Also add '-I .' to aclocal invocation to check 3566 current directory for macros. 3567 35682004-12-10 Andrey Kiselev <[email protected]> 3569 3570 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 3571 as per bugs 3572 3573 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 3574 3575 and 3576 3577 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 3578 35792004-12-04 Andrey Kiselev <[email protected]> 3580 3581 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 3582 3583 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3584 3585 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 3586 mode as per bug 3587 3588 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3589 3590 * libtiff/tif_config.in.vc: Removed unneded definitions for 3591 read/open/close/lseek functions to fix the 3592 3593 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 3594 35952004-12-03 Andrey Kiselev <[email protected]> 3596 3597 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 3598 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 3599 must be removed in the future, as it was never used properly. As per 3600 bug 3601 3602 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 3603 36042004-11-30 Bob Friesenhahn <[email protected]> 3605 3606 * libtiff/tif_jpeg.c: Added a work-around in order to allow 3607 compilation with the heavily modified version of libjpeg delivered 3608 with Cygwin. 3609 36102004-11-29 Andrey Kiselev <[email protected]> 3611 3612 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 3613 counts. As per bug 3614 3615 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 3616 3617 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 3618 3619 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 3620 36212004-11-28 Andrey Kiselev <[email protected]> 3622 3623 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 3624 on Windows. 3625 3626 * nmake.opt: Add missed DLLNAME variable. 3627 36282004-11-26 Frank Warmerdam <[email protected]> 3629 3630 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 3631 36322004-11-24 Andrey Kiselev <[email protected]> 3633 3634 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 3635 per bug 3636 3637 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 3638 3639 * man/tiffset.1: Added manual page for tiffset tool written by Jay 3640 Berkenbilt. As per bug 3641 3642 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 3643 36442004-11-23 Frank Warmerdam <[email protected]> 3645 3646 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 3647 36482004-11-21 Frank Warmerdam <[email protected]> 3649 3650 * html/document.html: Updated Adobe web links as per email from Joris. 3651 36522004-11-21 Andrey Kiselev <[email protected]> 3653 3654 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 3655 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 3656 use C++ streams should #include <tiffio.hxx>. 3657 36582004-11-13 Andrey Kiselev <[email protected]> 3659 3660 * libtiff/tiff.h: Added Adobe DNG tags. 3661 3662 * libtiff/tif_win32.c: Typo fixed. 3663 3664 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 3665 be compliant with the latest standard. Appropriate additions in 3666 makefiles now completed. 3667 36682004-11-11 Andrey Kiselev <[email protected]> 3669 3670 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 3671 different tag types. As per bug 3672 3673 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 3674 36752004-11-10 Andrey Kiselev <[email protected]> 3676 3677 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 3678 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 3679 36802004-11-09 Andrey Kiselev <[email protected]> 3681 3682 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 3683 36842004-11-07 Andrey Kiselev <[email protected]> 3685 3686 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 3687 contributed by Edward Lam (see 3688 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 3689 Though no changes in any makefiles yet. 3690 36912004-11-05 Frank Warmerdam <[email protected]> 3692 3693 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 3694 is bad. This is the callers responsibility. 3695 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 3696 36972004-11-05 Andrey Kiselev <[email protected]> 3698 3699 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 3700 function to work with the double byte strings (used to represent 3701 filenames in some locales). As per bug 3702 3703 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 3704 3705 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 3706 Compression tags of type LONG from broken TIFFS as per bug 3707 3708 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 3709 3710 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 3711 the writecount should have uint32 type. As per bug 3712 3713 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 3714 3715 * libtiff/tif_write.c: Fixed wrong if() statement in 3716 TIFFAppendToStrip() function as per bug 3717 3718 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 3719 37202004-11-04 Andrey Kiselev <[email protected]> 3721 3722 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 3723 field. The caller should supply a count when setting this field. As 3724 per bug 3725 3726 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 3727 3728 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 3729 uint32 count. Use this type everywhere. 3730 37312004-11-03 Frank Warmerdam <[email protected]> 3732 3733 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 3734 37352004-11-02 Frank Warmerdam <[email protected]> 3736 3737 * tools/tiff2rgba.c: removed extra newlines in usage message. 3738 37392004-10-30 Andrey Kiselev <[email protected]> 3740 3741 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 3742 3743 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 3744 tags (Tristan Hill). 3745 37462004-10-30 Frank Warmerdam <[email protected]> 3747 3748 * libtiff/tiffiop.h: added fallback definition of assert() if we 3749 don't have assert.h. 3750 37512004-10-29 Andrey Kiselev <[email protected]> 3752 3753 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 3754 choosing when the incorrect Group4Options tag set. As per bug 3755 3756 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 3757 3758 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 3759 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 3760 TIFFWriteNormalTag(). 3761 37622004-10-28 Andrey Kiselev <[email protected]> 3763 3764 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 3765 tags (Peter Fales). 3766 3767 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 3768 37692004-10-28 Frank Warmerdam <[email protected]> 3770 3771 * tools/tiff2pdf.c: added casts to avoid warnings. 3772 3773 * libtiff/libtiff.def: Added several more entry points required 3774 to link fax2tiff.c against the DLL on windows. 3775 37762004-10-27 Andrey Kiselev <[email protected]> 3777 3778 * configure, configure.ac: Added --enable-rpath option to embed linker 3779 paths into library binary. 3780 37812004-10-26 Andrey Kiselev <[email protected]> 3782 3783 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 3784 3785 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 3786 (Vladimir Nadvornik, Dmitry V. Levin). 3787 37882004-10-16 Andrey Kiselev <[email protected]> 3789 3790 * libtiff 3.7.0 released. 3791 37922004-10-15 Bob Friesenhahn <[email protected]> 3793 3794 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 3795 in this file so its inclusion is removed. Including stdio.h 3796 sometimes incurs an INT32 typedef conflict between MinGW's 3797 basetsd.h and libjpeg's jmorecfg.h. 3798 37992004-10-15 Andrey Kiselev <[email protected]> 3800 3801 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 3802 38032004-10-13 Bob Friesenhahn <[email protected]> 3804 3805 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 3806 conflict noticed under MinGW. 3807 * ltmain.sh: Fix for MinGW compilation. 3808 38092004-10-13 Frank Warmerdam <[email protected]> 3810 3811 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 3812 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 3813 38142004-10-12 Andrey Kiselev <[email protected]> 3815 3816 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 3817 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 3818 properly (Dmitry V. Levin, Marcus Meissner). 3819 38202004-10-11 Andrey Kiselev <[email protected]> 3821 3822 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 3823 to TIFF_IFD. 3824 38252004-10-10 Andrey Kiselev <[email protected]> 3826 3827 * tools/bmp2tif.c: Check the space allocation results. 3828 38292004-10-09 Andrey Kiselev <[email protected]> 3830 3831 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 3832 of the TIFFDirectory structure with the 0 instead of -1 to avoid 3833 confusing integer overflows in TIFFTileRowSize() for striped images. 3834 3835 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 3836 by Ross A. Finlayson. 3837 3838 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 3839 3840 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 3841 38422004-10-08 Frank Warmerdam <[email protected]> 3843 3844 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 3845 of tif_fieldinfo. 3846 3847 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 3848 38492004-10-04 Bob Friesenhahn <[email protected]> 3850 3851 * contrib/iptcutil/README: Added the missing README which goes 3852 along with iptcutil. 3853 38542004-10-03 Andrey Kiselev <[email protected]> 3855 3856 * libtiff/tif_compress.c: Improved error reporting in 3857 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 3858 38592004-10-02 Andrey Kiselev <[email protected]> 3860 3861 * libtiff 3.7.0beta2 released. 3862 3863 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 3864 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 3865 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 3866 allocations and integer overflows (Dmitry V. Levin). 3867 3868 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 3869 38702004-10-01 Frank Warmerdam <[email protected]> 3871 3872 * libtiff/tif_open.c: added a more informative message if a BigTIFF 3873 file is opened. 3874 38752004-09-30 Frank Warmerdam <[email protected]> 3876 3877 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 3878 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 3879 in the Adobe XMP Specification. 3880 38812004-09-29 Andrey Kiselev <[email protected]> 3882 3883 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 3884 memset(). 3885 3886 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 3887 from Dmitry V. Levin to fix possible integer overflow problems. 3888 38892004-09-28 Andrey Kiselev <[email protected]> 3890 3891 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 3892 (Dmitry V. Levin). 3893 38942004-09-26 Andrey Kiselev <[email protected]> 3895 3896 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 3897 Optimize checking for the strip bounds. 3898 3899 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 3900 TIFFRasterScanlineSize() functions report zero in the case of integer 3901 overflow now. Properly handle this case in TIFFReadDirectory() 3902 (patches from Dmitry V. Levin). 3903 39042004-09-25 Andrey Kiselev <[email protected]> 3905 3906 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 3907 macro where appropriate. 3908 3909 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 3910 noted by Gennady Khokhorin. 3911 3912 * libtiff/tif_dirread.c: Always check the return values, returned 3913 by the _TIFFmalloc() (Dmitry V. Levin). 3914 3915 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 3916 functions (Dmitry V. Levin). 3917 3918 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 3919 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 3920 TIFFGrowStrips() (found by Dmitry V. Levin). 3921 39222004-09-24 Andrey Kiselev <[email protected]> 3923 3924 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 3925 to get the list of configured codecs. 3926 3927 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 3928 Dmitry V. Levin. 3929 39302004-09-23 Andrey Kiselev <[email protected]> 3931 3932 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 3933 possible integer overflow in CheckMalloc() function. 3934 39352004-09-22 Andrey Kiselev <[email protected]> 3936 3937 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 3938 of plain TIFFhowmany() where appropriate. 3939 39402004-09-21 Andrey Kiselev <[email protected]> 3941 3942 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 3943 39442004-09-19 Andrey Kiselev <[email protected]> 3945 3946 * libtiff 3.7.0beta released. 3947 3948 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 3949 overruns fixed, as noted by Chris Evans. 3950 39512004-09-14 Bob Friesenhahn <[email protected]> 3952 3953 * commit: Added a script to make it more convenient to commit 3954 updates. The CVS commit message is extracted from this ChangeLog 3955 file. 3956 39572004-09-14 Andrey Kiselev <[email protected]> 3958 3959 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 3960 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 3961 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 3962 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 3963 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 3964 tif_config.h.in, tiffiop.h}: 3965 Get rid of BSD data types (u_char, u_short, u_int, u_long). 3966 39672004-09-13 Bob Friesenhahn <[email protected]> 3968 3969 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 3970 specification. Reference libtiff bug tracking system to submit 3971 private tag additions. 3972 39732004-09-12 Bob Friesenhahn <[email protected]> 3974 3975 * tools/tiffgt.c: Include "tif_config.h". 3976 3977 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 3978 tiffgt. This results in the 'compile' script being added to the 3979 project. 3980 3981 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 3982 required to find OpenGL headers necessary to build tiffgt. Also 3983 ensure that the libtiff that we built is used rather than some other 3984 libtiff installed on the system. 3985 39862004-09-12 Andrey Kiselev <[email protected]> 3987 3988 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 3989 libraries. 3990 39912004-09-11 Bob Friesenhahn <[email protected]> 3992 3993 * configure.ac: Pass library configuration defines via 3994 tif_config.h rather than extending CPPFLAGS. Configure a 3995 libtiff/tiffconf.h in order to satisfy application requirements 3996 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 3997 this causes failure to build on systems which properly respect 3998 this request. 3999 4000 * libtiff/tiffconf.h.in: New file to act as the template for the 4001 configured tiffconf.h 4002 4003 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 4004 40052004-09-10 Frank Warmerdam <[email protected]> 4006 4007 * html/internals.html: Split off a discussion of adding new tags 4008 into addingtags.html. 4009 40102004-09-10 Andrey Kiselev <[email protected]> 4011 4012 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 4013 4014 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 4015 4016 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4017 4018 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 4019 4020 * libtiff/tif_dirread.c: Don't reject to read tags of the 4021 SamplesPerPixel size when the tag count is greater than number of 4022 samples as per bug 4023 4024 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 4025 4026 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 4027 defining int8/uint8/... etc. types. As per bug 4028 4029 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 4030 40312004-09-09 Frank Warmerdam <[email protected]> 4032 4033 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 4034 to avoid compile warnings about getopt() and a few other things. 4035 40362004-09-02 Andrey Kiselev <[email protected]> 4037 4038 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 4039 assigning magic in TIFFFetchFloat(). 4040 40412004-09-01 Andrey Kiselev <[email protected]> 4042 4043 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 4044 to avoid requirement for tiffiop.h inclusion in some applications. See 4045 here 4046 4047 http://www.asmail.be/msg0054799560.html 4048 4049 for details. 4050 4051 * tools/fax2tiff.c: Use the new functions in the code. 4052 40532004-08-25 Andrey Kiselev <[email protected]> 4054 4055 * tools/tiff2pdf.c: Initialize arrays properly. 4056 4057 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 4058 properly initialize array in PSDataBW(). 4059 40602004-08-24 Andrey Kiselev <[email protected]> 4061 4062 * tools/tiff2pdf.c: More fixes for bug 4063 4064 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4065 4066 from Ross Finlayson. 4067 40682004-08-23 Andrey Kiselev <[email protected]> 4069 4070 * tools/tiff2ps.c: Fixed problem with uninitialized values. 4071 4072 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 4073 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 4074 4075 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 4076 4077 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 4078 40792004-08-20 Andrey Kiselev <[email protected]> 4080 4081 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 4082 that the input file has compression, photometric interpretation, 4083 etcetra, tags or if not than a more descriptive error is returned. 4084 4085 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 4086 code, responsible for tag data type checking. 4087 40882004-08-19 Andrey Kiselev <[email protected]> 4089 4090 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 4091 variable as per bug 4092 4093 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 4094 40952004-08-16 Andrey Kiselev <[email protected]> 4096 4097 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 4098 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 4099 41002004-08-01 Andrey Kiselev <[email protected]> 4101 4102 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 4103 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 4104 41052004-07-24 Andrey Kiselev <[email protected]> 4106 4107 * libtiff/tif_lzw.c: LZW compression code is merged back from the 4108 separate package. All libtiff tools are updated to not advertise an 4109 abcence of LZW support. 4110 41112004-07-12 Andrey Kiselev <[email protected]> 4112 4113 * libtiff/tiffio.h: Revert thandle_t back to void* type. 4114 41152004-07-11 Andrey Kiselev <[email protected]> 4116 4117 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 4118 messages, as suggested by Bernd Herd. 4119 41202004-07-03 Andrey Kiselev <[email protected]> 4121 4122 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 4123 when setting custom tags by value. Reported by Eric Fieleke. 4124 41252004-06-14 Andrey Kiselev <[email protected]> 4126 4127 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 4128 41292004-06-08 Andrey Kiselev <[email protected]> 4130 4131 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 4132 into TIFFs. 4133 41342004-06-07 Andrey Kiselev <[email protected]> 4135 4136 * libtiff 3.7.0alpha released. 4137 41382004-06-06 Andrey Kiselev <[email protected]> 4139 4140 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 4141 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 4142 ones :-). 4143 4144 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 4145 problems in 64-bit environment). 4146 41472004-06-05 Andrey Kiselev <[email protected]> 4148 4149 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 4150 Tags can be supplied by the mnemonic name or number. 4151 4152 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 4153 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 4154 41552004-05-27 Andrey Kiselev <[email protected]> 4156 4157 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 4158 markers as per bug 4159 4160 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 4161 41622004-05-24 Andrey Kiselev <[email protected]> 4163 4164 * tools/tiffsplit.c: Don't forget to copy Photometric 4165 Interpretation tag. 4166 41672004-05-20 Andrey Kiselev <[email protected]> 4168 4169 * libtiff/{tif_open.c, tiffio.h}: New function added: 4170 TIFFIsBigEndian(). Function returns nonzero if given was file written 4171 in big-endian order. 4172 4173 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 4174 files. Now output files will be written using the same byte order 4175 flag as in the input image. See 4176 4177 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 4178 4179 for details. 4180 41812004-05-19 Frank Warmerdam <[email protected]> 4182 4183 * libtiff/tif_print.c: added (untested) support for printing 4184 SSHORT, SLONG and SRATIONAL fields. 4185 4186 * tools/tiffcp.c: close output file on normal exit. 4187 41882004-05-17 Andrey Kiselev <[email protected]> 4189 4190 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 4191 if compression type mismatches. See 4192 4193 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 4194 41952004-04-30 Andrey Kiselev <[email protected]> 4196 4197 * libtiff/tif_strip.c: Never return 0 from the 4198 TIFFNumberOfStrips(). 4199 42002004-04-29 Andrey Kiselev <[email protected]> 4201 4202 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 4203 store single SampleFormat value for multisampled images. See 4204 4205 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 4206 42072004-04-25 Andrey Kiselev <[email protected]> 4208 4209 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 4210 int16 and int32 types to avoid complains on some compilers. Details at 4211 4212 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4213 42142004-04-20 Andrey Kiselev <[email protected]> 4215 4216 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 4217 4218 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 4219 42202004-04-14 Andrey Kiselev <[email protected]> 4221 4222 * libtiff/tif_write.c: Allow in-place updating of the compressed 4223 images (don't work properly with all codecs). For details see GDAL bug 4224 4225 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 4226 42272004-04-06 Andrey Kiselev <[email protected]> 4228 4229 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 4230 in the Intergarph JPEG compressed TIFF images as per bug: 4231 4232 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 4233 42342004-04-04 Frank Warmerdam <[email protected]> 4235 4236 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 4237 via bad2. 4238 42392004-03-26 Andrey Kiselev <[email protected]> 4240 4241 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 4242 JPEG compression of grayscale images. 4243 4244 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 4245 present in the input image. 4246 42472004-03-19 Andrey Kiselev <[email protected]> 4248 4249 * {many}: The first attempt to switch to autotools. 4250 42512004-03-03 Andrey Kiselev <[email protected]> 4252 4253 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 4254 TIFFClientOpen() when the appropriate client functions was not 4255 supplied by user. 4256 42572004-03-02 Frank Warmerdam <[email protected]> 4258 4259 * tools/ycbcr.c: fixed main() declaration as per: 4260 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 4261 42622004-02-26 Andrey Kiselev <[email protected]> 4263 4264 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 4265 images. Reported by Artem Mirolubov. 4266 4267 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 4268 tag type in TIFFFetchNormalTag() as per bug 4269 4270 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 4271 42722004-02-17 Frank Warmerdam <[email protected]> 4273 4274 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 4275 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 4276 42772004-02-05 Andrey Kiselev <[email protected]> 4278 4279 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 4280 bug 4281 4282 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 4283 4284 But we need more work on fax codec to support update mode. 4285 42862004-01-30 Frank Warmerdam <[email protected]> 4287 4288 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 4289 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 4290 Scott Reynolds. 4291 42922004-01-29 Andrey Kiselev <[email protected]> 4293 4294 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 4295 and TIFFTAG_INDEXED as per bug 4296 4297 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 4298 4299 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 4300 NULL before proceeding further as per bug 4301 4302 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 4303 4304 Check results, returned by the TIFFFdOpen() before returning and close 4305 file if TIFFFdOpen() failed as per bug 4306 4307 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4308 4309 * libtiff/tif_open.c: More fixes for 4310 4311 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4312 43132004-01-28 Andrey Kiselev <[email protected]> 4314 4315 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 4316 TIFFCleanup() from the TIFFClose() in order to fix the bug 4317 4318 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 4319 4320 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 4321 InkNames tag as per bug 4322 4323 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 4324 4325 Memory leak fixed. 4326 43272004-01-21 Frank Warmerdam <[email protected]> 4328 4329 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 4330 are field_passcount=TRUE properly. Arguably anonymous custom tags 4331 should be declared as passcount=FALSE, but I don't want to change 4332 that without a careful review. 4333 43342004-01-20 Andrey Kiselev <[email protected]> 4335 4336 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 4337 stripped image in TIFFWriteBufferSetup(). As per bug 4338 4339 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 4340 43412004-01-11 Andrey Kiselev <[email protected]> 4342 4343 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 4344 patch from Gerben Koopmans. 4345 4346 * libtiff/tif_dirread.c: Check field_passcount value before setting 4347 the value of undefined type, patch from Gerben Koopmans. 4348 43492004-01-02 Andrey Kiselev <[email protected]> 4350 4351 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 4352 non-RGB images. 4353 43542003-12-31 Andrey Kiselev <[email protected]> 4355 4356 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 4357 pointer passed. Patch supplied by Larry Grill. 4358 4359 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 4360 suggested by Jeremy C. Reed. 4361 43622003-12-26 Andrey Kiselev <[email protected]> 4363 4364 * libtiff 3.6.1 released. 4365 43662003-12-24 Andrey Kiselev <[email protected]> 4367 4368 * config.guess, config.sub: Updated from the recent upstream. 4369 43702003-12-22 Andrey Kiselev <[email protected]> 4371 4372 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 4373 More cleanups in color conversion interface, added appropriate manual 4374 page. 4375 43762003-12-19 Andrey Kiselev <[email protected]> 4377 4378 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 4379 per bug 4380 4381 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 4382 4383 * tools/tiff2ps.c: Added support for alpha channel. Fixes 4384 4385 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 4386 4387 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 4388 Interface for Lab->RGB color conversion is finally cleaned up. 4389 Added support for ReferenceBlackWhite tag handling when converted from 4390 YCbCr color space. The latter closes 4391 4392 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 4393 43942003-12-07 Andrey Kiselev <[email protected]> 4395 4396 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 4397 4398 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 4399 library. 4400 44012003-12-06 Andrey Kiselev <[email protected]> 4402 4403 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 4404 file and properly use it for CIE Lab->RGB transform. 4405 44062003-12-04 Andrey Kiselev <[email protected]> 4407 4408 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 4409 conversion routines now in the tif_color.c module. New function 4410 TIFFYCbCrtoRGB() available in TIFF API. 4411 4412 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 4413 44142003-12-03 Andrey Kiselev <[email protected]> 4415 4416 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 4417 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 4418 module. 4419 4420 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 4421 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 4422 Finally resolved problems with orientation handling. TIFFRGBAImage 4423 interface now properly supports all possible orientations, i.e. images 4424 will be flipped both in horizontal and vertical directions if 4425 required. 'Known bugs' section now removed from the appropriate manual 4426 pages. Closed bug entry: 4427 4428 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 4429 44302003-12-02 Andrey Kiselev <[email protected]> 4431 4432 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 4433 function calls as per bug 4434 4435 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 4436 44372003-11-28 Ross Finlayson <[email protected]> 4438 4439 * tools/tiff2pdf.c: Some bugs fixed. 4440 44412003-11-27 Andrey Kiselev <[email protected]> 4442 4443 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 4444 reported by Antonio Scuri. 4445 4446 * man/tiff2pdf.1: Few improvements in page layout. 4447 4448 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 4449 Added support fpr tiff2pdf manual page. 4450 44512003-11-26 Ross Finlayson <[email protected]> 4452 4453 * /man/tiff2pdf.1: File added to repository. 4454 44552003-11-26 Andrey Kiselev <[email protected]> 4456 4457 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 4458 Added support fpr tiff2pdf utility. 4459 44602003-11-25 Ross Finlayson <[email protected]> 4461 4462 * /tools/tiff2pdf.c: File added to repository. 4463 44642003-11-22 Andrey Kiselev <[email protected]> 4465 4466 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 4467 44682003-11-21 Andrey Kiselev <[email protected]> 4469 4470 * /tools/raw2tiff.c: #include <getopt.h> removed. 4471 4472 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 4473 sgigt utility removed and replaced with the completely rewritten 4474 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 4475 there is a lot of things to improve. 4476 4477 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 4478 extract the fields from the OJPEG files. Patch supplied by Ross 4479 Finlayson. 4480 4481 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 4482 Added new function TIFFIsCODECConfigured(), suggested by Ross 4483 Finlayson. 4484 44852003-11-18 Andrey Kiselev <[email protected]> 4486 4487 * libtiff/tif_dirinfo.c: Implemented binary search in 4488 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 4489 4490 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 4491 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 4492 44932003-11-17 Frank Warmerdam <[email protected]> 4494 4495 * tif_dirread.c: do not mark all anonymously defined tags to be 4496 IGNOREd. 4497 44982003-11-17 Andrey Kiselev <[email protected]> 4499 4500 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 4501 TIFFDataWidth() function insted of tiffDataWidth array. 4502 45032003-11-16 Andrey Kiselev <[email protected]> 4504 4505 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 4506 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 4507 45082003-11-15 Frank Warmerdam <[email protected]> 4509 4510 * Makefile.in: fixed missing backslash for tif_color.c in list. 4511 45122003-11-13 Andrey Kiselev <[email protected]> 4513 4514 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 4515 New color space conversion code: CIE L*a*b* 1976 images now supported 4516 by the TIFFRGBAImage interface. All introduced routines go to new 4517 module tif_color.c. Eventually all color conversion functions should 4518 be moved there. 4519 45202003-11-12 Andrey Kiselev <[email protected]> 4521 4522 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 4523 with the reverse byte order (it is reported by the magic header 4524 field). Problem reported by Andreas Wiesmann. 4525 4526 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 4527 calculation function. Guessing mechanics now documented in manual page. 4528 45292003-11-11 Andrey Kiselev <[email protected]> 4530 4531 * tools/raw2tiff.c: Implemented image size guessing using 4532 correlation coefficient calculation between two neighbour lines. 4533 45342003-11-09 Frank Warmerdam <[email protected]> 4535 4536 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 4537 planarconfig_contig case in TIFFComputeTile(). 4538 4539 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 4540 45412003-11-09 Andrey Kiselev <[email protected]> 4542 4543 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 4544 45452003-11-07 Andrey Kiselev <[email protected]> 4546 4547 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 4548 Added TIFFRawStripSize() function as suggested by Chris Hanson. 4549 45502003-11-03 Andrey Kiselev <[email protected]> 4551 4552 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 4553 per bug 4554 4555 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 4556 45572003-10-29 Andrey Kiselev <[email protected]> 4558 4559 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 4560 4561 * html/build.html: Added note about GNU make requirement. 4562 45632003-10-25 Andrey Kiselev <[email protected]> 4564 4565 * Makefile.in: Fixes in using MAKEFLAGS as per bug 4566 4567 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 4568 4569 * port/install.sh.in: Option -p added to the mkdir command to create 4570 all directory tree structure before installing. 4571 45722003-10-18 Andrey Kiselev <[email protected]> 4573 4574 * /tools/tiff2ps.c: #include <strings.h> replaced with the 4575 #include <string.h>. 4576 45772003-10-16 Andrey Kiselev <[email protected]> 4578 4579 * Makefile.in: Add an absolute path to the test_pics.sh call. 4580 45812003-10-12 Andrey Kiselev <[email protected]> 4582 4583 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 4584 typedefs. 4585 45862003-10-09 Andrey Kiselev <[email protected]> 4587 4588 * configure, libtiff/{Makefile.in, mkversion.c}: 4589 Relative buildings fixed. 4590 4591 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 4592 rule. 4593 45942003-10-07 Andrey Kiselev <[email protected]> 4595 4596 * Makefile.in: Added missed v3.6.0.html. 4597 4598 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 4599 ORIENTATION_BOTLEFT. 4600 46012003-10-04 Andrey Kiselev <[email protected]> 4602 4603 * 3.6.0 final release. 4604 46052003-10-03 Andrey Kiselev <[email protected]> 4606 4607 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 4608 function TIFFReadRGBAImageOriented() implemented to retrieve raster 4609 array with user-specified origin position as suggested by Jason Frank. 4610 See 4611 4612 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 4613 4614 for details. 4615 4616 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 4617 instead of TIFFReadRGBAImage(). 4618 4619 * tools/tiff2ps.c: Fixed possible endless loop as per bug 4620 4621 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 4622 46232003-09-30 Andrey Kiselev <[email protected]> 4624 4625 * libtiff/tif_dirread.c: Check field counter against number of fields 4626 in order to fix 4627 4628 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 4629 4630 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 4631 4632 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 4633 46342003-09-25 Andrey Kiselev <[email protected]> 4635 4636 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 4637 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 4638 4639 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 4640 46412003-09-23 Andrey Kiselev <[email protected]> 4642 4643 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 4644 4645 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4646 46472003-08-21 Andrey Kiselev <[email protected]> 4648 4649 * tools/tiffmedian.c: int declaration replaced with the uint32 to 4650 support large images as per bug 4651 4652 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 4653 46542003-08-12 Andrey Kiselev <[email protected]> 4655 4656 * libtiff/Makefile.in: Fixed problem with building in different 4657 directory. 4658 4659 * tools/tiff2ps.c: Added missing #include <strings.h>. 4660 4661 * libtiff/tif_dirwrite.c: More fixes for custom tags code 4662 from Ashley Dreier. 4663 46642003-08-07 Andrey Kiselev <[email protected]> 4665 4666 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 4667 Patch submitted by Balatoni Denes (with corrections from Tom 4668 Kacvinsky). 4669 4670 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 4671 being used. Reported by Tom Kacvinsky. 4672 4673 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 4674 reported by Ashley Dreier. 4675 4676 * libtiff/tif_print.c: Fixed problem with float tags reading, support 4677 for printing RATIONAL and BYTE tags added. 4678 46792003-08-05 Andrey Kiselev <[email protected]> 4680 4681 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 4682 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 4683 problems with predictor initialization. Remove O_RDONLY check during 4684 state block allocation to be able open LZW compressed files in update 4685 mode. 4686 4687 Problem exist for libtiff version of the tif_lzw.c module. One from 4688 lzw-compression-kit hasn't such troubles. 4689 46902003-08-04 Frank Warmerdam <[email protected]> 4691 4692 * libtiff/tif_write.c: modified tif_write.c so that the various 4693 encoded write functions use tif_postdecode() to apply byte order 4694 swapping (swab) to the application passed data buffer if the same 4695 would be done when reading. This allows us to write pixel data with 4696 more than 8 bits per sample to existing files of a non-native byte 4697 order. One side effect of this change is the applications buffer 4698 itself is altered in this case by the act of writing. 4699 4700 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 4701 47022003-07-25 Frank Warmerdam <[email protected]> 4703 4704 * libtiff/tif_open.c: avoid signed/unsigned casting warning 4705 initializing typemask as per patch from J.A. Strother. 4706 4707 * tools/tiffcp.c: fixed signed/unsigned casting warning. 4708 4709 * libtiff/tif_print.c: dos2unix conversion. 4710 4711 * tools/tiffsplit.c: increased the maximum number of pages that 4712 can be split. Patch provided by Andrew J. Montalenti. 4713 47142003-07-11 Andrey Kiselev <[email protected]> 4715 4716 * tools/raw2tiff.c: Added option `-p' to explicitly select color 4717 space of input image data. Closes 4718 4719 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 4720 47212003-07-08 Frank Warmerdam <[email protected]> 4722 4723 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 4724 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 4725 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 4726 avoid casting warning at /W4. 4727 47282003-07-03 Andrey Kiselev <[email protected]> 4729 4730 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 4731 47322003-06-30 Andrey Kiselev <[email protected]> 4733 4734 * libtiff/tif_pixarlog.c: Unused variables removed. 4735 4736 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 4737 EstimateStripByteCounts() as per bug 4738 4739 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4740 4741 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 4742 64-bit architectures as per bug 4743 4744 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 4745 4746 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 4747 unknown data type. 4748 47492003-06-19 Frank Warmerdam <[email protected]> 4750 4751 * libtiff/tif_print.c: fixed some serious bugs when printing 4752 custom tags ... almost certain to crash. 4753 4754 * libtiff/tif_dirread.c: Don't ignore custom fields that are 4755 autodefined. Not sure how this got to be like this. 4756 47572003-06-18 Andrey Kiselev <[email protected]> 4758 4759 * 3.6.0 Beta2 released. 4760 4761 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 4762 comparing as per bug 4763 4764 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 4765 4766 `-z' option now can be used to set the number of reported different 4767 bytes. 4768 47692003-06-09 Andrey Kiselev <[email protected]> 4770 4771 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 4772 to -r option to get the entire image as one strip. See 4773 4774 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4775 4776 for details. 4777 47782003-06-04 Andrey Kiselev <[email protected]> 4779 4780 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 4781 values as per bug 4782 4783 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4784 47852003-05-27 Frank Warmerdam <[email protected]> 4786 4787 * libtiff/tif_jpeg.c: modified segment_height calculation to always 4788 be a full height tile for tiled images. Also changed error to just 4789 be a warning. 4790 47912003-05-25 Andrey Kiselev <[email protected]> 4792 4793 * tools/fax2tiff.c: Page numbering fixed, as per bug 4794 4795 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 4796 47972003-05-20 Andrey Kiselev <[email protected]> 4798 4799 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4800 configure, Makefile.in: Switched back to the old behaviour. Likely 4801 better solution should be found for OJPEG support. 4802 48032003-05-11 Andrey Kiselev <[email protected]> 4804 4805 * libtiff/mkversion.c: Fixed problem with wrong string size when 4806 reading RELEASE-DATE file. 4807 48082003-05-07 Andrey Kiselev <[email protected]> 4809 4810 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 4811 index was out of range. 4812 48132003-05-06 Andrey Kiselev <[email protected]> 4814 4815 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4816 configure, Makefile.in: Improved libtiff compilation with OJPEG 4817 support. Now no need for patching IJG JPEG library, hack requred by 4818 libtiff will be compiled and used in-place. Implemented with 4819 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 4820 4821 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 4822 TIFFVGetFieldDefaulted() function. 4823 48242003-05-05 Andrey Kiselev <[email protected]> 4825 4826 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 4827 comments. 4828 4829 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 4830 was not copied from source image. 4831 4832 * libtiff/getimage.c: Workaround for some images without correct 4833 info about alpha channel as per bug 4834 4835 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 4836 48372003-04-29 Andrey Kiselev <[email protected]> 4838 4839 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 4840 It basically allows one to use the /flateDecode filter for ZIP 4841 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 4842 4843 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 4844 4845 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 4846 as per bug 4847 4848 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 4849 48502003-04-17 Andrey Kiselev <[email protected]> 4851 4852 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 4853 due to problems with multidirectory images. Quality of error messages 4854 improved. 4855 48562003-04-16 Andrey Kiselev <[email protected]> 4857 4858 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 4859 encoded images. See bug entries 4860 4861 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 4862 4863 and 4864 4865 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4866 4867 * libtiff/tif_dirread.c: Additional check for StripByteCounts 4868 correctness. Fixes 4869 4870 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 4871 48722003-03-12 Andrey Kiselev <[email protected]> 4873 4874 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 4875 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 4876 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 4877 tiffmedian.c}: Added library version reporting facility to all tools. 4878 48792003-03-06 Frank Warmerdam <[email protected]> 4880 4881 * port/install.sh.in: Fixed problems with install producing paths 4882 like ///usr/local/lib on cygwin. 4883 48842003-02-27 Andrey Kiselev <[email protected]> 4885 4886 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 4887 raw input page. Patch supplied by Julien Gaulmin. See 4888 4889 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 4890 4891 for details. 4892 48932003-02-26 Frank Warmerdam <[email protected]> 4894 4895 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 4896 responsible for byte swapping complex image data. 4897 4898 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 4899 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 4900 49012003-02-07 Andrey Kiselev <[email protected]> 4902 4903 * tools/ppm2tiff.c: Fixed problem with too many arguments. 4904 49052003-02-04 Andrey Kiselev <[email protected]> 4906 4907 * tools/raw2tiff.c: Memory leak fixed. 4908 49092003-02-03 Andrey Kiselev <[email protected]> 4910 4911 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 4912 (thanks, Julien!). More switches for fax2tiff tool for better control 4913 of input and output. Details at 4914 4915 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 4916 49172003-02-03 Frank Warmerdam <[email protected]> 4918 4919 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 4920 library so that we can check if there is already any tile/strip data 4921 before deciding between creating a compressor or a decompressor. 4922 49232003-01-31 Frank Warmerdam <[email protected]> 4924 4925 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 4926 a pre-existing compressed image. That is, image writing to 4927 pre-existing compressed images is not allowed. 4928 4929 * libtiff/tif_open.c: Removed error if opening a compressed file 4930 in update mode. 4931 4932 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 4933 49342003-01-31 Andrey Kiselev <[email protected]> 4935 4936 * config.guess, config.sub: Updated to recent upstream versions. 4937 49382003-01-15 Frank Warmerdam <[email protected]> 4939 4940 * cut 3.6.0 Beta release. 4941 49422002-12-20 Andrey Kiselev <[email protected]> 4943 4944 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 4945 in wrong way as per bug 4946 4947 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 4948 49492002-12-17 Frank Warmerdam <[email protected]> 4950 4951 * libtiff/tif_dirread.c: Allow wrong sized arrays in 4952 TIFFFetchStripThing(). 4953 4954 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 4955 49562002-12-02 Frank Warmerdam <[email protected]> 4957 4958 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 4959 Was using realloc even first time. Fix by Igor Venevtsev. 4960 49612002-11-30 Frank Warmerdam <[email protected]> 4962 4963 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 4964 field value. 4965 4966 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 4967 tags in TIFFVGetField() ... added missing break. 4968 49692002-10-14 Frank Warmerdam <[email protected]> 4970 4971 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 4972 the scanline buffer long enough when writing rgb triplets. 4973 The scanline needs to be 3 X the number of dots or else it will 4974 contain an incomplete triplet and programs that try to separate 4975 the eps by redefining the colorimage operator will get messed up. 4976 Patch supplied by William Bader. 4977 4978 * Makefile.in: added tif_extension.c to file list as per 4979 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 4980 49812002-10-11 Andrey Kiselev <[email protected]> 4982 4983 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 4984 large files (>2GiB) supporting. New option in the config.site: 4985 LARGEFILE="yes". Should be enough for I/O of the large files. 4986 49872002-10-10 Frank Warmerdam <[email protected]> 4988 4989 * libtiff/html/v3.6.0.html: new release notes. 4990 4991 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 4992 link for Andrey. Pointer to v3.6.0.html. 4993 4994 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 4995 49962002-10-07 Andrey Kiselev <[email protected]> 4997 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 4998 (thanks, Sebastian!). New switches: 4999 -b # for a bottom margin of # inches 5000 -c center image 5001 -l # for a left margin of # inches 5002 -r rotate the image by 180 degrees 5003 New features merged with code for shrinking/overlapping. 5004 Previously added -c and -n switches (for overriding PS units) renamed 5005 in -x and -y respectively. 5006 5007 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 5008 5009 * html/man/*.html: Updated from actual manual pages. 5010 50112002-10-06 Frank Warmerdam <[email protected]> 5012 5013 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 5014 size on windows. Use #define boolean hack. 5015 5016 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 5017 5018 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 5019 USING_VISUALAGE is defined. 5020 5021 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5022 50232002-10-03 Frank Warmerdam <[email protected]> 5024 5025 * libtiff/tiff.h: added COMPRESSION_JP2000. 5026 50272002-10-02 Andrey Kiselev <[email protected]> 5028 5029 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 5030 by the TIFFFetchByteArray() function. Should finally resolve 5031 5032 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5033 5034 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 5035 5036 * html/Makefile.in: New targets added: html and groffhtml for 5037 producing HTML representations of the manual pages automatically. 5038 html target uses man2html tool, groffhtml uses groff tool. 5039 50402002-09-29 Frank Warmerdam <[email protected]> 5041 5042 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 5043 from John H. DuBois III. 5044 50452002-09-15 Andrey Kiselev <[email protected]> 5046 5047 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 5048 manual page for raw2tiff(1) tool. 5049 50502002-09-12 Andrey Kiselev <[email protected]> 5051 5052 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 5053 the tiffio.h header file. 5054 5055 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 5056 manual page for TIFFDataWidth() function 5057 50582002-09-08 Frank Warmerdam <[email protected]> 5059 5060 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 5061 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 5062 5063 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 5064 since we are unable to properly include the amount to skip. 5065 5066 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 5067 50682002-09-02 Andrey Kiselev <[email protected]> 5069 5070 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 5071 in TIFFFetchByteArray(). Problem described at 5072 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 5073 50742002-08-22 Andrey Kiselev <[email protected]> 5075 5076 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 5077 in _TIFFSetupFieldInfo() function. 5078 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 5079 5080 * /libtiff/tif_lzw.c: Additional consistency checking added in 5081 LZWDecode() and LZWDecodeCompat(). 5082 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 5083 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5084 5085 * /libtiff/tif_lzw.c: 5086 Added check for valid code lengths in LZWDecode() and 5087 LZWDecodeCompat(). Fixes 5088 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 5089 50902002-08-16 Andrey Kiselev <[email protected]> 5091 5092 * /libtiff/{Makefile.vc, libtiff.def}: 5093 Missed declarations added. 5094 50952002-08-15 Frank Warmerdam <[email protected]> 5096 5097 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 5098 return code from the underlying pick function. 5099 5100 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 5101 5102 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 5103 with FIELD_CUSTOM as mentioned in bug 169. 5104 5105 * tif_close.c: added logic to free dynamically created anonymous 5106 field definitions to correct a small memory leak. 5107 5108 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 5109 51102002-08-10 Andrey Kiselev <[email protected]> 5111 5112 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 5113 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 5114 51152002-07-31 Frank Warmerdam <[email protected]> 5116 5117 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 5118 JPEGDecode() as per bugzilla bug (issue 1): 5119 5120 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 5121 5122 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 5123 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 5124 present in the tiff tags. 5125 5126 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 5127 5128 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 5129 TIFFWriteScanline() now set tif_row explicitly in case the codec has 5130 fooled with the value. 5131 5132 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 5133 51342002-06-22 Andrey Kiselev <[email protected]> 5135 5136 * /tools/tiff2ps.c: Added workaround for some software that may crash 5137 when last strip of image contains fewer number of scanlines than 5138 specified by the `/Height' variable. See 5139 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 5140 for explanation. 5141 51422002-06-21 Andrey Kiselev <[email protected]> 5143 5144 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 5145 splitting long images in several pages. See 5146 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 5147 Patch granted by John Williams <[email protected]>. 5148 51492002-06-11 Frank Warmerdam <[email protected]> 5150 5151 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 5152 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 5153 This one is described in: 5154 5155 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 5156 5157 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 5158 5159 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 5160 51612002-05-10 Andrey Kiselev <[email protected]> 5162 5163 * tools/tiff2ps: New commandline switches to override resolution 5164 units obtained from the input file. Closes 5165 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 5166 51672002-04-26 Andrey Kiselev <[email protected]> 5168 5169 * libtiff/libtiff.def: Added missed declaration. 5170 51712002-04-22 Andrey Kiselev <[email protected]> 5172 5173 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 5174 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 5175 51762002-04-20 Andrey Kiselev <[email protected]> 5177 5178 * libtiff/tif_open.c: Pointers to custom procedures 5179 in TIFFClientOpen() are checked to be not NULL-pointers. 5180 51812002-04-18 Andrey Kiselev <[email protected]> 5182 5183 * libtiff/libtiff.def: Added missed declarations. 5184 5185 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 5186 51872002-04-16 Andrey Kiselev <[email protected]> 5188 5189 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 5190 Should finally close 5191 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5192 51932002-04-10 Andrey Kiselev <[email protected]> 5194 5195 * tools/tiff2ps: Division by zero fixed. 5196 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 5197 51982002-04-09 Andrey Kiselev <[email protected]> 5199 5200 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 5201 TIFFCheckpointDirectory() routine added. 5202 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 5203 5204 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 5205 for the new function. 5206 52072002-04-08 Andrey Kiselev <[email protected]> 5208 5209 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 5210 additional members tif->tif_decodestatus and tif->tif_encodestatus 5211 for correct handling of unconfigured codecs (we should not try to read 5212 data or to define data size without correct codecs). 5213 5214 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 5215 changed. Now it has used tif->tif_decodestatus and 5216 tif->tif_encodestatus. 5217 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 5218 case of __cvs_8.tif test image). 5219 5220 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 5221 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 5222 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 5223 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 5224 52252002-04-04 Andrey Kiselev <[email protected]> 5226 5227 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 5228 replaced by warnings. Now libtiff should read corrupted LZW-compressed 5229 files by skipping bad strips. 5230 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 5231 52322002-04-03 Frank Warmerdam <[email protected]> 5233 5234 * libtiff/tif_dirwrite.c: Removed some dead code. 5235 5236 * libtiff/*: Cleanup some warnings. 5237 5238 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 5239 for variable length FIELD_CUSTOM values. Was int * but should be 5240 u_short *. 5241 52422002-04-01 Andrey Kiselev <[email protected]> 5243 5244 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 5245 utility (at cpStripToTile routine). 5246 52472002-03-27 Frank Warmerdam <[email protected]> 5248 5249 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 5250 5251 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 5252 5253 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 5254 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 5255 5256 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 5257 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 5258 52592002-03-26 Dwight Kelly <[email protected]> 5260 5261 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 5262 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 5263 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 5264 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 5265 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 5266 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 5267 52682002-03-26 Andrey Kiselev <[email protected]> 5269 5270 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 5271 now also uses TIFFRGBAImageOK before reading. This is additional fix 5272 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 5273 52742002-03-25 Andrey Kiselev <[email protected]> 5275 5276 * libtiff/: tif_getimage.c: Additional check for supported 5277 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 5278 TIFFRGBAImageOK before reading. 5279 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 5280 52812002-03-15 Andrey Kiselev <[email protected]> 5282 5283 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 5284 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 5285 TIFFDataType sizes instead of working with tiffDataWidth array 5286 directly. Should prevent out-of-borders bugs in case of unknown or 5287 broken data types. EstimateStripByteCounts routine modified, so it 5288 won't work when tags with uknown sizes founded. 5289 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 5290 52912002-03-13 Andrey Kiselev <[email protected]> 5292 5293 * libtiff/tif_getimage.c: Added support for correct handling 5294 `Orientation' tag in gtTileContig. Should be added in other gt* 5295 functions as well, but I have not images for testing yet. Partially 5296 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 5297 52982002-03-10 Andrey Kiselev <[email protected]> 5299 5300 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 5301 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 5302 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 5303 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 5304 53052002-03-08 Andrey Kiselev <[email protected]> 5306 5307 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 5308 be stripped when installing, utility binaries will do. Closes 5309 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 5310 53112002-02-28 Frank Warmerdam <[email protected]> 5312 5313 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 5314 5315 * man/libtiff.3t: added copyright tag info. 5316 53172002-02-11 Frank Warmerdam <[email protected]> 5318 5319 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 5320 5321 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 5322 5323 * man/Makefile.in: Patch DESTDIR handling 5324 5325 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 5326 5327 * configure: OpenBSD changes for Sparc64 and DSO version. 5328 5329 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 5330 53312002-02-05 Frank Warmerdam <[email protected]> 5332 5333 * config.site/configure: added support for OJPEG=yes option to enable 5334 OJPEG support from config.site. 5335 53362002-01-27 Frank Warmerdam <[email protected]> 5337 5338 * html/document.html: fixed links for TIFf 6 docs. 5339 53402002-01-18 Frank Warmerdam <[email protected]> 5341 5342 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 5343 5344 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 5345 decodestrip function returns anything not greater than zero as per 5346 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 5347 5348 * configure: Modify CheckForBigEndian so it can work in a cross 5349 compiled situation. 5350 53512002-01-16 Frank Warmerdam <[email protected]> 5352 5353 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 5354 5355 * tools/tiffset.c: fix bug in error reporting. 5356 5357 * tools/tiffcp.c: fix several warnings that show up with -Wall. 5358 53592002-01-04 Frank Warmerdam <[email protected]> 5360 5361 * libtiff/tif_jpeg.c: fixed computation of segment_width for 5362 tiles files to avoid error about it not matching the 5363 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 5364 size.") for ITIFF files. Apparently the problem was incorporated since 5365 3.5.5, presumably during the OJPEG/JPEG work recently. 5366 53672001-12-15 Frank Warmerdam <[email protected]> 5368 5369 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 5370 5371 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 5372 5373 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 5374 (defined in tiffconf.h - 1 by default) then the RGBA interface 5375 will assume that a fourth extra sample is ASSOCALPHA if the 5376 EXTRASAMPLE value isn't set for it. This changes the behaviour of 5377 the library, but makes it work better with RGBA files produced by 5378 lots of applications that don't mark the alpha values properly. 5379 5380 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 5381 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 5382 53832001-12-12 Frank Warmerdam <[email protected]> 5384 5385 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 5386 override those from tiff directory. This makes this work with 5387 ImageGear generated files. 5388 53892001-12-07 Frank Warmerdam <[email protected]> 5390 5391 * html/Makefile.in: added missing images per bug 92. 5392 5393 * port/Makefile.in: fixed clean target per bug 92. 5394 53952001-11-28 Frank Warmerdam <[email protected]> 5396 5397 * Reissue 3.5.7 release. 5398 5399 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 5400 YYYYMMDD so that it is increasing over time. 5401 5402 * Makefile.in: Ensure that tiffvers.h is regenerated in the 5403 make release target. 5404 5405 * Makefile.in: added libtiff/tiffvers.h to the release file list. 5406 54072001-11-23 Frank Warmerdam <[email protected]> 5408 5409 * added html/v3.5.7.html, updated html/index.html. 5410 5411 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 5412 54132001-11-15 Frank Warmerdam <[email protected]> 5414 5415 * configure: fixed test for -lm. 5416 54172001-11-02 Frank Warmerdam <[email protected]> 5418 5419 * Added PHOTOMETRIC_ITULAB as per bug 90. 5420 5421 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 5422 54232001-10-10 Frank Warmerdam <[email protected]> 5424 5425 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 5426 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 5427 in keeping with TIFF 6.0 standard in tiff.h 5428 5429 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 5430 54312001-09-26 Frank Warmerdam <[email protected]> 5432 5433 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 5434 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 5435 54362001-09-24 Frank Warmerdam <[email protected]> 5437 5438 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 5439 5440 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 5441 5442 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 5443 error about LZW not being available. 5444 5445 * libtiff/tif_dir.c: propagate failure to initialize compression 5446 back from TIFFSetField() as an error status, so applications can 5447 detect failure. 5448 5449 * libtiff/tif_dir.c: removed the auto replacement of 5450 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 5451 5452 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 5453 from CVS as they are all supposed to be auto-generated by configure. 5454 54552001-09-22 Frank Warmerdam <[email protected]> 5456 5457 * libtiff/tif_ojpeg.c: new update from Scott. 5458 54592001-09-09 Frank Warmerdam <[email protected]> 5460 5461 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 5462 always use the "safe" version, even if there is a very slight 5463 cost in performance. 5464 5465 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 5466 5467 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 5468 in two places. 5469 5470 * libtiff/tif_getimage.c: Fixed problem with reading strips or 5471 tiles that don't start on a tile boundary. Fix contributed by 5472 Josep Vallverdu (from HP), and further described in bug 47. 5473 5474 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 5475 5476 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 5477 5478 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 5479 54802001-09-06 Frank Warmerdam <[email protected]> 5481 5482 * libtiff/tif_packbits.c: fixed memory overrun error. 5483 5484 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 5485 54862001-08-31 Frank Warmerdam <[email protected]> 5487 5488 * libtiff/tif_getimage.c: relax handling of contig case where 5489 there are extra samples that are supposed to be ignored. This 5490 should now work for 8bit greyscale or palletted images. 5491 5492 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 5493 54942001-08-28 Frank Warmerdam <[email protected]> 5495 5496 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 5497 images with more than four samples per pixel. See: 5498 5499 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 5500 55012001-08-10 Frank Warmerdam <[email protected]> 5502 5503 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 5504 in TIFFReadRGBATile() to avoid issues in cases of overlapping 5505 buffers. See Bug 69 in Bugzilla. 5506 5507 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 5508 5509 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 5510 55112001-08-09 Frank Warmerdam <[email protected]> 5512 5513 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 5514 when checking for 64 bit architectures as per bugzilla bug 67. 5515 55162001-07-27 Frank Warmerdam <[email protected]> 5517 5518 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 5519 bug 66. 5520 55212001-07-20 Frank Warmerdam <[email protected]> 5522 5523 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 5524 has been included. 5525 55262001-07-19 Frank Warmerdam <[email protected]> 5527 5528 * libtiff/tif_open.c: Seek back to zero after failed read, 5529 before writing header. 5530 55312001-07-18 Frank Warmerdam <[email protected]> 5532 5533 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 5534 much better. Now depends on having patched libjpeg as per 5535 patch in contrib/ojpeg/*. 5536 55372001-07-17 Frank Warmerdam <[email protected]> 5538 5539 * */Makefile.in: added DESTDIR support. 5540 5541 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 5542 55432001-07-16 Frank Warmerdam <[email protected]> 5544 5545 * configure, libtiff/Makefile.in: applied OpenBSD patches 5546 as per: 5547 5548 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 5549 55502001-06-28 Frank Warmerdam <[email protected]> 5551 5552 * libtiff/tif_getimage.c: Fixed so that failure is properly 5553 reported by gtTileContig, gtStripContig, gtTileSeparate and 5554 gtStripSeparate. 5555 5556 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 5557 5558 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 5559 Updated bug section of tiffcmp.1 to note tiled file issues. 5560 5561 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 5562 55632001-06-22 Frank Warmerdam <[email protected]> 5564 5565 * configure: Changes for DSO generation on AIX provided by 5566 John Marquart <[email protected]>. 5567 5568 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 5569 on Darwin thanks to Robert Krajewski ([email protected]) and 5570 Keisuke Fujii ([email protected]). 5571 55722001-06-13 Frank Warmerdam <[email protected]> 5573 5574 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 5575 5576 * man/tiff2rgba.1: new 5577 55782001-05-22 Frank Warmerdam <[email protected]> 5579 5580 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 5581 55822001-05-13 Frank Warmerdam <[email protected]> 5583 5584 * libtiff/tools/thumbnail.c: changed default output compression 5585 to packbits from LZW since LZW isn't generally available. 5586 55872001-05-12 Frank Warmerdam <[email protected]> 5588 5589 * libtiff/tif_ojpeg.c: New. 5590 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 5591 to OJPEG support. 5592 5593 Scott Marovich <[email protected]> supplied OJPEG support. 5594 55952001-05-11 Frank Warmerdam <[email protected]> 5596 5597 * tiff.h: removed, it duplicates libtiff/tiff.h. 5598 55992001-05-08 Frank Warmerdam <[email protected]> 5600 5601 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 5602 ensure everything is in order. 5603 5604 * libtiff/libtiff.def: added TIFFCreateDirectory and 5605 TIFFDefaultStripSize as per: 5606 5607 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 5608 56092001-05-02 Frank Warmerdam <[email protected]> 5610 5611 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 5612 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 5613 force use of uint32 counts instead of short counts. 5614 5615 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 5616 case of writing TIFF_BYTE/TIFF_SBYTE fields. 5617 5618 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 5619 56202001-05-01 Frank Warmerdam <[email protected]> 5621 5622 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 5623 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 5624 56252001-04-05 Frank Warmerdam <[email protected]> 5626 5627 * tiffio.h: removed C++ style comment. 5628 5629 * configure: fixed up SCRIPT_SH/SHELL handling. 5630 5631 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 5632 5633 * config.guess: documented more variables as per bug 40. 5634 56352001-04-03 Frank Warmerdam <[email protected]> 5636 5637 * configure, *Makefile.in: Various changes to improve configuration 5638 for HP/UX specifically, and also in general. They include: 5639 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 5640 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 5641 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 5642 - Use -${MAKEFLAGS} in sub makes from makefiles. 5643 5644 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 5645 56462001-04-02 Frank Warmerdam <[email protected]> 5647 5648 * libtiff/tiff.h: Applied hac to try and resolve the problem 5649 with the inttypes.h include file on AIX. 5650 5651 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5652 5653 * VERSION: update to 3.5.7 beta in preparation for release. 5654 5655 * configure/config.site: modified to check if -lm is needed for 5656 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 5657 5658 * config.guess: updated wholesale to an FSF version apparently 5659 from 1998 (as opposed to 1994). This is mainly inspired by 5660 providing for MacOS X support. 5661 56622001-03-29 Frank Warmerdam <[email protected]> 5663 5664 * configure, Makefile.in, etc: added support for OPTIMIZER being 5665 set from config.site. 5666 56672001-03-28 Frank Warmerdam <[email protected]> 5668 5669 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 5670 5671 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 5672 sizes. It fixes two problems: 5673 5674 Without scaling (-S) the fax is now centered on the page size specified 5675 with -H and/or -W. Before, fax2ps was using an obscure and practially 5676 useless algorithm to allocate the image relative to Letter sized paper 5677 which sometime sled to useless whitespace on the paper, while at the 5678 same time cutting of the faxes printable area at the opposite border. 5679 5680 Second, scaling now preserves aspect ratio, which makes unusual faxes 5681 (in particular short ones) print properly. 5682 5683 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 5684 5685 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 5686 Bruce A. Mallett. See check message for detailed information 5687 on all the changes, including a faster encoder, fixes for level 5688 2 PostScript, and support for the imagemask operator. 5689 56902001-03-27 Frank Warmerdam <[email protected]> 5691 5692 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 5693 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 5694 5695 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5696 56972001-03-16 Frank Warmerdam <[email protected]> 5698 5699 * tif_dirinfo.c: moved definition of copyright tag in field list. 5700 Apparently they have to be in sorted order by tag id. 5701 57022001-03-13 Frank Warmerdam <[email protected]> 5703 5704 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 5705 images in RGBA interface. 5706 57072001-03-02 Frank Warmerdam <[email protected]> 5708 5709 * Added TIFFTAG_COPYRIGHT support. 5710 57112001-02-19 Frank Warmerdam <[email protected]> 5712 5713 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 5714 with support for extracting subimages with the ,n syntax, and also 5715 adding the -b bias removal flag. 5716 57172001-02-16 Frank Warmerdam <[email protected]> 5718 5719 * libtiff/libtiff.def: Brent Roman submitted new version adding 5720 serveral missing entry points. 5721 5722 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 5723 Some sort of weird VMS thing. 5724 5725 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 5726 5727 * tif_luv.c/tiff.h/tiffio.h: 5728 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 5729 ([email protected]). He writes: 5730 5731 1) I improved the gamut-mapping function in tif_luv.c for imaginary 5732 colors, because some images were being super-saturated on the input 5733 side and this resulted in some strange color shifts in the output. 5734 5735 2) I added a psuedotag in tiff.h to control random dithering during 5736 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 5737 on for 24-bit LogLuv output. Dithering improves the average color 5738 accuracy over the image. 5739 5740 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 5741 tiffio.h, to expose internal routines for converting between LogLuv and 5742 XYZ coordinates. This is helpful for writing more efficient, 5743 specialized conversion routines, especially for reading LogLuv files. 5744 5745 Changes applied with minor edits. 5746 57472001-01-23 Frank Warmerdam <[email protected]> 5748 5749 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 5750 whether we are encoding or decoding. This is to ensure graceful 5751 recovery if TIFFClientOpen() discovers an attempt to open a compressed 5752 file for "r+" access, and subsequently close it, as it resets the 5753 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 5754 compressor's concept of whether it is in encode or decode mode. 5755 57562001-01-08 Mike Welles <[email protected]> 5757 5758 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 5759 57602001-01-07 Frank Warmerdam <[email protected]> 5761 5762 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 5763 as per bug report by Patrick Connor. 5764 57652000-12-28 Frank Warmerdam <[email protected]> 5766 5767 * Added RELEASE-DATE file to release file list. 5768 5769 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 5770 57712000-12-22 Mike Welles <[email protected]> 5772 * added link to CVS mirror from index.html 5773 5774 * updated html/internals.html to note that LZW compression is 5775 not supported by default. 5776 57772000-12-22 Frank Warmerdam <[email protected]> 5778 5779 * updated html/libtiff.html to not point at Niles' old JPL web site 5780 for the man pages, point at www.libtiff.org. 5781 57822000-12-21 Frank Warmerdam <[email protected]> 5783 5784 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 5785 Leonard Rosenthol <[email protected]>. May interfere 5786 with correct building on older systems. If so, please let me know. 5787 57882000-12-19 Mike Welles <[email protected]> 5789 5790 * Took out LZW Encoding from tif_lzw.c 5791 5792 * Created HOWTO-RELEASE 5793 5794 * Created html/v3.5.6.html 5795 5796 * updated index.html 5797 57982000-12-01 Frank Warmerdam <[email protected]> 5799 5800 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 5801 Patches supplied by Frank Cringle <[email protected]> 5802 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 5803 58042000-11-24 Frank Warmerdam <[email protected]> 5805 5806 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 5807 target so that the private headers required by libgeotiff can be 5808 installed with the others. They are not installed by default. 5809 5810 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 5811 targets so libtiff.so will be built with an explicit dependency 5812 on libm.so. 5813 5814 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 5815 libtiff.so.3.5.5. 5816 5817 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 5818 file, or ALPHA version logic. Added stuff about DIST_POINT in 5819 place of DIST_TYPE and the alpha release number stuff. 5820 58212000-11-22 Frank Warmerdam <[email protected]> 5822 5823 * I have applied a patch from Steffen Moeller <[email protected]> to 5824 the configure script so that it now accepts the --prefix, and 5825 --exec-prefix directives. 5826 58272000-11-13 Frank Warmerdam <warmerda@cs46980-c> 5828 5829 * I have made a variety of modifications in an effort to ensure the 5830 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 5831 file which seems to be updated regularly. 5832 5833 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 5834 version include file. 5835 o renamed version.h to tiffvers.h because we now have to install it 5836 with the public libtiff include files. 5837 o include tiffvers.h in tiffio.h. 5838 o updated tif_version.c to use tiffvers.h. 5839 o Updated Makefile.in accordingly. 5840 5841 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 5842 I have updated the win32 detection rules in tiffcomp.h. 5843 58442000-10-20 Frank Warmerdam <warmerda@cs46980-c> 5845 5846 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 5847 the strip/tile width and height aren't multiples of the sampling size. 5848 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 5849 Some patches from Rick LaMont of Dot C Software. 5850 5851 * Modified tif_packbits.c encoder to avoid compressing more 5852 data than provided if rowsize doesn't factor into provided data 5853 (such as occurs for YCbCr). 5854 58552000-10-19 Frank Warmerdam <warmerda@cs46980-c> 5856 5857 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 5858 roundup if rows_per_strip not a multiple of vertical sample size. 5859 58602000-10-16 Frank Warmerdam <warmerda@cs46980-c> 5861 5862 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 5863 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5864 from [email protected]. 5865 5866 * Modified tif_packbits.c decoding to avoid overrunning the 5867 output buffer, and to issue a warning if data needs to be 5868 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5869 58702000-10-12 Frank Warmerdam <warmerda@cs46980-c> 5871 5872 * Modified tiff2bw to ensure portions add to 100%, and that 5873 white is properly recovered. 5874 5875 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 5876 Patch c/o Stanislav Brabec <[email protected]> 5877 58782000-09-30 Frank Warmerdam <warmerda@cs46980-c> 5879 5880 * Modified TIFFClientOpen() to emit an error on an attempt to 5881 open a comperessed file for update (O_RDWR/r+) access. This is 5882 because the compressor/decompressor code gets very confused when 5883 the mode is O_RDWR, assuming this means writing only. See 5884 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 5885 58862000-09-27 Frank Warmerdam <warmerda@cs46980-c> 5887 5888 * Added GNULDdso target an`d switched linux and freebsd to use it. 5889 58902000-09-26 Frank Warmerdam <warmerda@cs46980-c> 5891 5892 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 5893 of EXPAND1D() as per bug 11 (from Roman). 5894 58952000-09-25 Frank Warmerdam <warmerda@cs46980-c> 5896 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 5897 cygwin compatibility. 5898 5899 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 5900 be a proper fix to the buffer sizing problem. See 5901 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 5902 5903 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 5904 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 5905 Thanks to Nick Lamb <[email protected]> for reporting the 5906 bug and proving the patch. 5907 59082000-09-18 Frank Warmerdam <warmerda@cs46980-c> 5909 5910 * Fixed tif_jpeg.c so avoid destroying the decompressor before 5911 we are done access data thanks to bug report from: 5912 Michael Eckstein <[email protected]>. 5913 5914 * Reverted tif_flush change. 5915 59162000-09-14 Frank Warmerdam <warmerda@cs46980-c> 5917 5918 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 5919 error when TIFF_BEENWRITING is not set. This ensures that the 5920 directory contents can still be flushed by TIFFFlush(). 5921 59222000-08-14 Frank Warmerdam <[email protected]> 5923 5924 * tif_open.c: Don't set MMAP for O_RDWR files. 5925 5926 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 5927 so that files opened for update can be strip chopped too. 5928 5929 * tif_read.c: fixed up bug with files missing rowsperstrip and 5930 the strips per separation fix done a few weeks ago. 5931 59322000-07-17 Frank Warmerdam <warmerda@cs46980-c> 5933 5934 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 5935 SAMPLEFORMAT_COMPLEXINT. 5936 59372000-07-13 Mike Welles <[email protected]> 5938 5939 * index.html, bugs.html: added bugzilla info. 5940 59412000-07-12 Frank Warmerdam <[email protected]> 5942 5943 * tif_read.c: fix subtle bug with determining the number of 5944 rows for strips that are the last strip in a separation but 5945 not the last strip of all in TIFFReadEncodedStrip(). 5946 5947 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 5948 Peter Skarpetis <[email protected]> 5949 59502000-06-15 Frank Warmerdam <[email protected]> 5951 5952 * Modified tiffio.h logic with regard to including windows.h. It 5953 won't include it when building with __CYGWIN__. 5954 59552000-05-11 Frank Warmerdam <warmerda@cs46980-c> 5956 5957 * README: update to mention www.libtiff.org, don't list Sam's old 5958 email address. 5959 5960 * configure: Fixed DSO test for Linux as per patch from 5961 Jan Van Buggenhout <[email protected]>. 5962 59632000-04-21 Frank Warmerdam <[email protected]> 5964 5965 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 5966 one tile/strip images with an offset, and byte count of zero. These 5967 could be "unpopulated" images. 5968 59692000-04-18 Frank Warmerdam <[email protected]> 5970 5971 * contrib/addtiffo: Added "averaging" resampling option. 5972 5973 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 5974 5975Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 5976 5977 * tools/Makefile.in: Modified to install properly on SGI. 5978 59792000-04-12 Mike Welles <[email protected]> 5980 * configure: Fixed stupid mistake in libc6 test on Linux 5981 59822000-04-04 Mike Welles <[email protected]> 5983 * tif_win32.c: Applied patch to fix overreads and ovverwrites 5984 caught by BoundsChecker. From Arvan Pritchard 5985 <[email protected]> (untested). 5986 5987 * tif_getimage.c: Applied patch to silence VC6 warnings. From 5988 Arvan Pritchard <[email protected]> 5989 5990 * tif_lzw.c: Applied patch to silence VC6 warnings. From 5991 Arvan Pritchard <[email protected]> 5992 59932000-03-28 Frank Warmerdam <warmerda@cs46980-c> 5994 5995 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 5996 59972000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 5998 5999 * fax2ps: Fixed mixup of width and height in bounding box statement 6000 as per submission by Nalin Dahyabhai <[email protected]>. 6001 60022000-03-27 Mike Welles <[email protected]> 6003 6004 * fax2ps: Modified printruns to take uint32 instead of uint16. 6005 Patch courtesy of Bernt Herd <[email protected]> 6006 60072000-03-20 Mike Welles <[email protected]> 6008 6009 * configure: added test for libc6 for linux targets. Bug reported by 6010 Stanislav Brabec <[email protected]> 6011 6012 * Added 3.5 docs to html/Makefile.in. 6013 Thanks to Stanislav Brabec <[email protected]> 6014 6015 * configure: fixed bugs in sed scripts 6016 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 6017 fix submitted to Stanislav Brabec <[email protected]> 6018 6019 * tools/iptcutil was not in files list, and wasn't being 6020 added to tar archive. Updated Makefile.in. 6021 60222000-03-17 Frank Warmerdam <warmerda@cs46980-c> 6023 6024 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 6025 conversion for the run arrays. 6026 60272000-03-03 Frank Warmerdam <[email protected]> 6028 6029 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 6030 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 6031 60322000-03-02 Frank Warmerdam <[email protected]> 6033 6034 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 6035 6036 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 6037 to avoid overruns encountered with frle_bug.tif. 6038 6039Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 6040 6041 * Fixed tools/tiffcmp so that stopondiff testing works. 6042 Patch care of Joseph Orost <[email protected]>. 6043 60442000-01-28 <warmerda@CS46980-B> 6045 6046 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 6047 set to 1, and added default (off) setting in tiffconf.h. This 6048 should eventually be set by the configure script somehow. 6049 6050 The original work on all these 2-4GB changes was done by 6051 Peter Smith ([email protected]). 6052 6053 * Modified tif_win32.c to support 2-4GB seeks. 6054 6055 * tentatively changed toff_t to be unsigned instead of signed to 6056 facilitate support for 2-4GB files. 6057 6058 * Updated a variety of files to use toff_t. Fixed some mixups 6059 between toff_t and tsize_t. 6060 6061Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 6062 6063 * Largely reimplemented contrib/addtiffo to avoid temp files, 6064 updating the TIFF file in place. Fixed a few other bugs to. 6065 6066 * Set tif_rawdatasize to zero when freeing raw data buffer in 6067 TIFFWriteDirectory(). 6068 6069 * Enabled "REWRITE_HACK" in tif_write.c by default. 6070 6071 * Fix bug in tif_write.c when switching between reading one directory 6072 and writing to another. 6073 6074 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 6075 6076Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 6077 6078 * Added TIFFmemory(3t) functions to libtiff.def. 6079 6080Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 6081 6082 * Added libtiff/libtiff.def to TIFFILES distribution list. 6083 6084Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 6085 6086 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 6087 6088 * Altered descriptions in tools to reflect "by default" lzw not supported 6089 6090 * Updated index.html to note lzw compression kit. 6091 6092Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 6093 6094 * Added fax3sm_winnt.c to distribution list in Makefile.in. 6095 6096Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 6097 6098 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 6099 6100 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 6101 when LZW compression invoked. 6102 6103 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 6104 in tools to reflect removal of LZW compression 6105 6106Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 6107 6108 * Fixed bug that caused LZW (non) compression to segfault. Added 6109 warning about LZW compression removed being removed, and why. 6110 6111 * Added nostrip to install in tools/Makefile.in so that debugging 6112 symbols are kept. 6113 6114Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 6115 6116 * Added patch from Ivo Penzar <[email protected]>, 6117 supporting Adobe ZIP deflate. Untested. 6118 6119Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 6120 6121 * Made Packbits the default compression in tools/tiff2rgba.c instead 6122 of LZW. 6123 6124Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 6125 6126 * Added tif_luv to contrib/djgpp/Makefile.lib. 6127 6128Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 6129 6130 * Added zip creation to relase makefile target 6131 6132 * Added html for TIFFWriteTile.3t man page. 6133 6134Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 6135 6136 * Added some changes to tif_write.c to support rewriting existing 6137 fixed sized tiles and strips. Code mods disabled by default, only 6138 enabled if REWRITE_HACK is defined for now. 6139 6140Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 6141 6142 * Added TIFFWriteTile.3t man page. 6143 6144Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 6145 6146 * Added notes on use of makefile.vc in build.html, and fixed 6147 email subscription address. 6148 6149199-11-28 Mike Welles <[email protected]> 6150 6151 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 6152 6153 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 6154 from Bruce Carmeron <[email protected]> -- modifications of 6155 changes made by Frank (sun cc still complained on cast). 6156 6157 * Added tiffconf.h to install target per request from Bill 6158 Radcliffe <[email protected]>: "We need a way for ImageMagick to 6159 know features have been compiled into the TIFF library in order to 6160 handle things properly". 6161 6162Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 6163 6164 * fixed various VC++ warnings as suggested by Gilles Vollant 6165 <[email protected]>. 6166 6167Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 6168 6169 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 6170 not imply applications are responsible for image data swapping. 6171 61721999-11-22 Mike Welles <[email protected]> 6173 * HTML-ized the man pages, added to html/man 6174 6175 * Removed LZW Compression to comply with Unisys patent extortion. 6176 61771999-09-29 Mike Welles <[email protected]> 6178 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 6179 From Ivo Penzar <[email protected]. 6180 6181 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 6182 memory mapped files. <[email protected]> 6183 61841999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 6185 * Corrected alpha versioning. 6186 6187 * Removed distinction between alpha and release targets in Makefile.in. 6188 6189 * added release.stamp target, which tags cvs tree, and updates 6190 "RELEASE-DATE" 6191 6192 * added releasediff target, which diffs tree with source as of 6193 date in "RELEASE-DATE" 6194 6195 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 6196 away from alpha/non-alpha distinctions). 6197 6198 * updated html to reflect release 6199 62001999-09-23 <warmerda@CS46980-B> 6201 6202 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 6203 6204 * Added CYGWIN case in configure. 6205 6206Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 6207 6208 * Applied Francois Dagand's patch to handle fax decompression bug. 6209 (sizes >= 65536 were failing) 6210 6211Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 6212 6213 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 6214 by Christopher Lawton <[email protected]> 6215 6216Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 6217 6218 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 6219 Albert Chin-A-Young <[email protected]> 6220 6221 * Added TIFFReassignTagToIgnore() API on behalf of 6222 Bruce Cameron <[email protected]>. Man page still pending. 6223 6224Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 6225 6226 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 6227 files to provide for a rudimentary testsuite. 6228 6229 * Added contrib/tags back from old distribution ... fixed up a bit. 6230 62311999-08-16 <warmerda@CS46980-B> 6232 6233 * Added simple makefile.vc makefiles for building with MS VC++ 6234 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 6235 better solutions for some users. 6236 6237Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 6238 6239 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 6240 put it in tools since part of it is in C++. 6241 62421999-08-16 Michael L. Welles <[email protected]> 6243 6244 * Updated html/index.html with anon CVS instructions. 6245 6246Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 6247 6248 * pre-remove so link before softlink in LINUXdso action in 6249 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 6250 the first. 6251 6252 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 6253 colormaps owned by the TIFF handle itself when trying to fixup wrong 6254 (eight bit) colormaps. Corrected by maintaining a private copy of 6255 the colormap. 6256 6257 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 6258 tif_getimage.c. 6259 6260 * CVS Repository placed at remotesensing.org. ChangeLog added. 6261