12012-11-18 Bob Friesenhahn <[email protected]> 2 3 * automake: Update Automake to 1.12.5 release. 4 5 * libtiff/tif_{unix,vms,win32}.c (_TIFFmalloc): ANSI C does not 6 require malloc() to return NULL pointer if requested allocation 7 size is zero. Assure that _TIFFmalloc does. 8 92012-11-01 Frank Warmerdam <[email protected]> 10 11 * tools/ppm2tiff.c: avoid zero size buffer vulnerability. 12 CVE-2012-4564 - Thanks to Huzaifa Sidhpurwala of the 13 Red Hat Security Response team for the fix. 14 152012-10-18 Frank Warmerdam <[email protected]> 16 17 * tif_zip.c: Avoid crash on NULL error messages. 18 192012-09-22 Bob Friesenhahn <[email protected]> 20 21 * libtiff 4.0.3 released. 22 232012-09-20 Bob Friesenhahn <[email protected]> 24 25 * Makefile.am: Update to Automake 1.12.4 26 272012-08-19 Bob Friesenhahn <[email protected]> 28 29 * Makefile.in: Update to Automake 1.12.3 30 31 * libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add 32 some TIFF/FX support in libtiff. Add the tag definitions to 33 tiff.h. Add the related TIFF field definitions to tif_dirinfo.c, 34 and also fixes an error in a comment. Adds the photometric values 35 to tif_print.c, and fixes a bug. These changes are by Steve 36 Underwood. 37 382012-08-13 Frank Warmerdam <[email protected]> 39 40 * libtiff/tif_write.c: Fix bug rewriting image tiles in a 41 compressed file: http://trac.osgeo.org/gdal/ticket/4771 42 432012-08-02 Frank Warmerdam <[email protected]> 44 45 * libtiff/tif_dirread.c: report error in case of mismatch value 46 counts for tags (ie. DotRange). 47 482012-07-26 Tom Lane <[email protected]> 49 50 * libtiff/{tiffio.h, tif_dirinfo.c, libtiff.def}: Add six new 51 functions TIFFFieldTag(), TIFFFieldName(), TIFFFieldDataType(), 52 TIFFFieldPassCount(), TIFFFieldReadCount(), TIFFFieldWriteCount() 53 as external accessors for the opaque type TIFFField. 54 55 * tools/tiffset.c: Make tiffset use the above functions instead of 56 relying on library private headers. 57 582012-07-19 Tom Lane <[email protected]> 59 60 * tools/tiff2pdf.c: Fix two places where t2p_error didn't get set 61 after a malloc failure. No crash risk AFAICS, but the program 62 might not report exit code 1 as desired. h/t [email protected] 63 642012-07-18 Tom Lane <[email protected]> 65 66 * tools/tiff2pdf.c: Fail when TIFFSetDirectory() fails. This 67 prevents core dumps or perhaps even arbitrary code execution when 68 processing a corrupt input file (CVE-2012-3401). 69 702012-07-06 Bob Friesenhahn <[email protected]> 71 72 * test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+. 73 IJG JPEG 7+ uses a different upsampling algorithm which produces 74 different numeric results. 75 76 * libtiff/tif_jpeg.c (JPEGPreDecode): Patch from Even Rouault to 77 work with IJG JPEG 7+. 78 792012-07-04 Bob Friesenhahn <[email protected]> 80 81 * test/raw_decode.c: Add changes so that test can run with build 82 directory outside of source directory. 83 842012-07-02 Frank Warmerdam <[email protected]> 85 86 * libtiff/tif_jpeg.c: Fix handling when writing RGBA jpeg compressed 87 imagery (http://trac.osgeo.org/gdal/ticket/4732) 88 892012-06-20 Frank Warmerdam <[email protected]> 90 91 * libtiff/tif_fax3.c: fix memory initialization of runs, only 92 partly done. 93 94 * libtiff/tif_pixarlog.c: Make sure tbuf is large enough for one 95 full "stride" past the end. 96 972012-06-19 Frank Warmerdam <[email protected]> 98 99 * libtiff/tif_packbits.c: fix read past end of data buffer. 100 1012012-06-15 Frank Warmerdam <[email protected]> 102 103 * libtiff 4.0.2 released. 104 105 * tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable 106 warnings with clang. 107 1082012-06-15 Tom Lane <[email protected]> 109 110 * tools/tiff2pdf.c: Defend against integer overflows while 111 calculating required buffer sizes (CVE-2012-2113). 112 1132012-06-12 Frank Warmerdam <[email protected]> 114 115 * libtiff/tif_print.c: Be careful about printing corrupt inknames. 116 117 * libtiff/tif_fax3.c: Ensure runs array is initialized to zeros. 118 1192012-06-07 Frank Warmerdam <[email protected]> 120 121 * libtiff/tif_print.c: avoid pretty printing other fields when 122 we don't have the proper amount and type of data or if the field 123 is actually autodefined. 124 1252012-06-05 Frank Warmerdam <[email protected]> 126 127 * libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal 128 ycbcrsubsampling values result in a runtime error, not just an 129 assertion. 130 131 * tests/custom_dir.c: Add testing of EXIF and custom directory 132 reading and writing. 133 134 * libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory() 135 and TIFFCreateEXIFDirectory() functions. 136 137 * libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for 138 PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING. Implement DOTRANGE 139 differently. This is to avoid using special TIFFGetField/TIFFSetField 140 rules for these fields in non-image directories (like EXIF). 141 1422012-06-04 Frank Warmerdam <[email protected]> 143 144 * libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling 145 in JPEGPreDecode(). If a fixup will be done it needs to be done sooner 146 in JPEGFixupTagsSubsampling() or else buffer sized may be wrong. 147 1482012-06-01 Frank Warmerdam <[email protected]> 149 150 * tools/tiffinfo.c: Do not try to read image data in EXIF directories. 151 152 * libtiff/tif_getimage.c: added support for _SEPARATED CMYK images. 153 http://bugzilla.maptools.org/show_bug.cgi?id=2379 154 155 * libtiff/tif_unix.c: use strerror() to return a more specific error message 156 on failed open. 157 http://bugzilla.maptools.org/show_bug.cgi?id=2341 158 159 * libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs. 160 http://bugzilla.maptools.org/show_bug.cgi?id=2386 161 162 * tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support 163 for testing jpeg in tiff image decoding including the "raw" decode interface. 164 1652012-05-31 Frank Warmerdam <[email protected]> 166 167 * libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in 168 JPEGDecodeRaw() - mostly likely to occur when there is confusion about 169 sampling values. 170 171 * libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed. 172 173 * libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval. 174 http://bugzilla.maptools.org/show_bug.cgi?id=2398 175 1762012-05-29 Frank Warmerdam <[email protected]> 177 178 * libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories, 179 like EXIF directories. This fixes problems like a tag "320" existing in a custom directory getting 180 processed as if it were a colormap when it isn't really. Damn the wide variety of argument formulations 181 to get/set functions for different tags! 182 183 * libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata 184 is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag. 185 1862012-05-24 Frank Warmerdam <[email protected]> 187 188 * libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward 189 accumulate" and overwrite the end by one word in at least some cases. 190 1912012-05-23 Frank Warmerdam <[email protected]> 192 193 * libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs. 194 195 * tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files. 196 197 * libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on 198 the same image. 199 200 * libtiff/tif_ojpeg.c: make things more resilient in the face of files without 201 stripbytecounts or stripoffsets or where loading these fails. 202 203 * libtiff/tif_print.c: be careful about whether min/max values are singular 204 or one per sample. 205 206 * libtiff/tif_print.c: Avoid confusion about count size when printing custom fields. 207 May affect things like ISOSpeedRatings. 208 209 * libtiff/tif_dir.c: avoid one byte past end of ink names reading 210 in some cases. 211 2122012-05-19 Bob Friesenhahn <[email protected]> 213 214 * man/TIFFGetField.3tiff: Correct the 'count' field type in the 215 example for how to retreive the value of unsupported tags. 216 2172012-03-30 Frank Warmerdam <[email protected]> 218 219 * tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173) 220 care of Tom Lane @ Red Hat. 221 2222012-02-18 Bob Friesenhahn <[email protected]> 223 224 * libtiff 4.0.1 released. 225 226 * Update automake used to 1.11.3. 227 228 * libtiff/tiffio.h: Use double-underbar syntax in GCC printf 229 attribute specification to lessen the risk of accidental macro 230 substitution. Patch from Vincent Torri. 231 2322012-01-31 Frank Warmerdam <[email protected]> 233 234 * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around 235 assumption tag fetching is always successful. 236 237 * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL. 238 2392012-01-22 Bob Friesenhahn <[email protected]> 240 241 * configure.ac: Add support for using library symbol versioning on 242 ELF systems with the GNU linker. Support is enabled via 243 --enable-ld-version-script. Disabled by default for now until 244 there is a decision for how to deploy a libtiff with versioned 245 symbols after libtiff 4.0.0 was already released. 246 2472011-12-22 Bob Friesenhahn <[email protected]> 248 249 * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in 250 251 tif_win32.c. Patch by Edward Lam. 252 253 * configure.ac: Add libtiff private dependency on -llzma for 254 pkg-config. Patch by Mark Brand. 255 Updated Automake to 1.11.2. 256 2572011-12-21 Bob Friesenhahn <[email protected]> 258 259 * libtiff 4.0.0 released. 260 2612011-12-08 Frank Warmerdam <[email protected]> 262 263 * libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking 264 of _TIFFFillStriles() results (#gdal 4372) 265 2662011-12-07 Frank Warmerdam <[email protected]> 267 268 * libtiff/tif_dirread.c: fixes to deal with invalid files where 269 _TIFFFillStriles() fails, and we try to chop up strips (gdal #4372) 270 271 * libtiff/tif_dirread.c: fix error reporting when there is no 272 tag information struct and name (gdal #4373) 273 2742011-10-22 Bob Friesenhahn <[email protected]> 275 276 * Update GNU libtool to 2.4.2. 277 278 * tools/tiffsplit.c (tiffcp): TIFFGetField count field should be 279 uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe 280 Deroulers. 281 2822011-06-21 Frank Warmerdam <[email protected]> 283 284 * libtiff/libtiff.def: Restore TIFFMergeFieldInfo. 285 2862011-05-31 Jim Meyering <[email protected]> 287 288 * libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also 289 upon failure to allocate "resizeddata". 290 * tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for 291 allocation failure, not before. 292 * libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path 293 * tools/rgb2ycbcr.c (cvtRaster): unchecked malloc 294 * libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark 295 NULL-deref and possible overflow 296 * tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written" 297 * libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration 298 and set of otherwise unused local, data_is_empty. 299 * libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]: 300 Diagnose out-of-memory failure and return 0 rather than 301 dereferencing NULL. 302 3032011-05-24 Frank Warmerdam <[email protected]> 304 305 * libtiff/tif_dirread.c: produce special error message for zero tag 306 directories instead of error out on the malloc(0) failure. 307 3082011-05-16 Frank Warmerdam <[email protected]> 309 310 * libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and 311 related declarations as they are in active use by libraries 312 such as libgeotiff, and work just fine. (#2315) 313 3142011-04-20 Frank Warmerdam <[email protected]> 315 316 * libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete 317 TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API. 318 http://bugzilla.maptools.org/show_bug.cgi?id=2315 319 320 * libtiff/libtiff.def: add some missing (64bit) APIs. 321 http://bugzilla.maptools.org/show_bug.cgi?id=2316 322 3232011-04-09 Bob Friesenhahn <[email protected]> 324 325 * libtiff 4.0.0beta7 released. 326 3272011-04-09 Bob Friesenhahn <[email protected]> 328 329 * configure.ac: Should use AC_CANONICAL_HOST since host specifies 330 the run-time target whereas target is used to specify the final 331 output target if the package is a build tool (like a compiler), 332 which libtiff is not. Resolves libtiff bug 2307 "Use 333 AC_CANONICAL_HOST macro". 334 3352011-04-02 Bob Friesenhahn <[email protected]> 336 337 * configure.ac: Support configuring TIFF_INT64_FORMAT and 338 TIFF_UINT64_FORMAT appropriately for MinGW32. 339 340 * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32 341 printf conventions for 64-bit types because it uses the WIN32 CRT. 342 343 * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c, 344 tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32 345 printf conventions for 64-bit types because it uses the WIN32 CRT. 346 347 * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not 348 understood by WIN32 CRT. 349 350 * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC. 351 352 * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since 353 it is much more portable. Tmpfile is included in ISO/IEC 354 9899:1990 and the WIN32 CRT. 355 3562011-03-26 Frank Warmerdam <[email protected]> 357 358 * tools/tiffset.c: add -d and -sd switches to allow operation on 359 a particular directory, not just the first (jef). 360 3612011-03-21 Frank Warmerdam <[email protected]> 362 363 * libtiff/tif_thunder.c: Correct potential buffer overflow with 364 thunder encoded files with wrong bitspersample set. The libtiff 365 development team would like to thank Marin Barbella and TippingPoint's 366 Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004, 367 CVE-2011-1167). 368 http://bugzilla.maptools.org/show_bug.cgi?id=2300 369 3702011-03-10 Frank Warmerdam <[email protected]> 371 372 * libtiff/tif_fax3.h: Fix to last change allowing zero length 373 runs at the start of a scanline - needed for legal cases. 374 3752011-03-02 Frank Warmerdam <[email protected]> 376 377 * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 378 a move left. Without this, a malicious input file can generate an 379 indefinitely large series of runs without a0 ever reaching the right 380 margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192. 381 This is a modified version of a patch proposed by Drew Yao of Apple 382 Product Security. It adds an unexpected() report, and disallows the 383 equality case, since emitting a run without increasing a0 still allows 384 buffer overrun. 385 3862011-02-23 Frank Warmerdam <[email protected]> 387 388 * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296) 389 390 * tools/tiff2rgba.c: close source file on error to make leak 391 detection easier. 392 393 * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails. 394 395 http://bugzilla.maptools.org/show_bug.cgi?id=2295 396 3972011-02-22 Frank Warmerdam <[email protected]> 398 399 * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ 400 _SUPPORT) 401 4022011-02-18 Frank Warmerdam <[email protected]> 403 404 * configure.ac, configure: Added support for --enable-chunky-strip-read 405 configure option to enable the experimental feature from a couple 406 months ago for reading big strips in chunks. 407 408 * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 409 tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c: 410 Implement optional support for deferring the load of strip/tile 411 offset and size tags for optimized scanning of directories. Enabled 412 with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD 413 #define in tif_config.h). 414 4152011-02-11 Frank Warmerdam <[email protected]> 416 417 * libtiff/tif_print.c: remove unused variable. 418 4192011-02-09 Frank Warmerdam <[email protected]> 420 421 * libtiff/tif_win32.c: avoid error/warning buffer overrun problem 422 with non-console (popup message) builds on win32. 423 424 http://bugzilla.maptools.org/show_bug.cgi?id=2293 425 4262011-01-24 Olivier Paquet <[email protected]> 427 428 * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c, 429 tif_print.c, tiff.h, tiffiop.h} : Added support for 430 TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different 431 values for each sample. Presents the min/max of all samples by default for 432 compatibility. TIFFSetField/TIFFGetField can be made to handle those tags 433 as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag. 434 http://www.asmail.be/msg0055458208.html 435 4362011-01-06 Frank Warmerdam <[email protected]> 437 438 * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 439 maintained. 440 441 * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 442 for CHUNKY_STRIP_READ_SUPPORT. 443 444 * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained 445 during JPEGPreDecode and JPEGDecode calls. 446 * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 447 as compression formats like JPEG keep 16 lines interleaved in a sense 448 and might need to touch quite a bit of data. 449 450 http://trac.osgeo.org/gdal/ticket/3894 451 4522011-01-03 Lee Howard <[email protected]> 453 454 * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images 455 caused by commit on 2010-12-14. Submitted by e-mail from 456 Even Rouault <[email protected]> 457 4582010-12-31 Olivier Paquet <[email protected]> 459 460 * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE. 461 http://bugzilla.maptools.org/show_bug.cgi?id=2266 462 4632010-12-23 Andrey Kiselev <[email protected]> 464 465 * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the 466 compression level parameter (preset) for Deflate and LZMA encoders, 467 e.g "-c lzma:p1" or "-c zip:p9". 468 469 * libtiff/tif_lzma.c: Properly set the LZMA2 compression level 470 (preset) in LZMAVSetField(). 471 4722010-12-18 Bob Friesenhahn <[email protected]> 473 474 * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to 475 Makefile. 476 4772010-12-14 Andrey Kiselev <[email protected]> 478 479 * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h, 480 tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new 481 TIFF compression scheme LZMA reserving a new value 34925 for 482 Compression tag. As per 483 bug http://bugzilla.maptools.org/show_bug.cgi?id=2221 484 4852010-12-14 Lee Howard <[email protected]> 486 487 * libtiff/tif_dirread.c: tolerate some cases where 488 FIELD_COLORMAP is missing 489 http://bugzilla.maptools.org/show_bug.cgi?id=2189 490 4912010-12-14 Lee Howard <[email protected]> 492 493 * libtiff/tif_read.c: change read_ahead to tmsize_t 494 http://bugzilla.maptools.org/show_bug.cgi?id=2222 495 4962010-12-14 Lee Howard <[email protected]> 497 498 * configure.ac, libtiff/Makefile.am: Build tif_win32.c on 499 Windows except on Cygwin 500 http://bugzilla.maptools.org/show_bug.cgi?id=2224 501 5022010-12-14 Lee Howard <[email protected]> 503 504 * tools/gif2tiff.c: fix buffer overrun 505 http://bugzilla.maptools.org/show_bug.cgi?id=2270 506 5072010-12-14 Lee Howard <[email protected]> 508 509 * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order 510 to improve compatibility with various viewers 511 submitted by e-mail from Dwight Kelly <[email protected]> 512 5132010-12-13 Lee Howard <[email protected]> 514 515 * tools/fax2ps.c: be consistent with page-numbering 516 http://bugzilla.maptools.org/show_bug.cgi?id=2225 517 5182010-12-13 Lee Howard <[email protected]> 519 520 * libtiff/tif_color.c: prevent crash in handling bad TIFFs 521 resolves CVE-2010-2595 522 http://bugzilla.maptools.org/show_bug.cgi?id=2208 523 5242010-12-13 Lee Howard <[email protected]> 525 526 * tools/tiffcrop.c: new release by Richard Nolde 527 http://bugzilla.maptools.org/show_bug.cgi?id=2004 528 5292010-12-12 Lee Howard <[email protected]> 530 531 * tools/tiff2pdf.c: fix colors for images with RGBA 532 interleaved data 533 http://bugzilla.maptools.org/show_bug.cgi?id=2250 534 5352010-12-12 Lee Howard <[email protected]> 536 537 * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files 538 http://bugzilla.maptools.org/show_bug.cgi?id=2164 539 5402010-12-11 Lee Howard <[email protected]> 541 542 * tools/tiff2pdf.c: remove invalid duplication for Lab 543 http://bugzilla.maptools.org/show_bug.cgi?id=2162 544 5452010-12-11 Lee Howard <[email protected]> 546 547 * libtiff/tif_jpeg.c: fix use of clumplines calculation 548 http://bugzilla.maptools.org/show_bug.cgi?id=2149 549 5502010-12-11 Lee Howard <[email protected]> 551 552 * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp() 553 http://bugzilla.maptools.org/show_bug.cgi?id=2118 554 5552010-12-11 Lee Howard <[email protected]> 556 557 * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c, 558 libtiff/tif_zip.c: fix build errors for VC6 559 http://bugzilla.maptools.org/show_bug.cgi?id=2105 560 5612010-12-11 Lee Howard <[email protected]> 562 563 * libtiff/tif_stream.cxx: warnings cleanup 564 http://bugzilla.maptools.org/show_bug.cgi?id=2091 565 * libtiff/tif_dirread.c: warnings cleanup 566 http://bugzilla.maptools.org/show_bug.cgi?id=2092 567 5682010-12-11 Lee Howard <[email protected]> 569 570 * tools/tiff2pdf.c: add fill-page option 571 http://bugzilla.maptools.org/show_bug.cgi?id=2051 572 5732010-12-11 Lee Howard <[email protected]> 574 575 * libtiff/tif_dirread.c: modify warnings 576 http://bugzilla.maptools.org/show_bug.cgi?id=2016 577 5782010-12-11 Lee Howard <[email protected]> 579 580 * libtiff/tif_ojpeg.c: fix buffer overflow on problem data 581 http://bugzilla.maptools.org/show_bug.cgi?id=1999 582 5832010-12-11 Lee Howard <[email protected]> 584 585 * tools/tiffinfoce.c: strip byte counts are uint64* now 586 5872010-12-11 Lee Howard <[email protected]> 588 589 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero 590 or missing byte-count tag 591 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count 592 per http://bugzilla.maptools.org/show_bug.cgi?id=1996 593 5942010-12-08 Lee Howard <[email protected]> 595 596 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed 597 TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994 598 5992010-12-06 Lee Howard <[email protected]> 600 601 * libtiff/tif_open.c: Fix mode check before opening a file. 602 http://bugzilla.maptools.org/show_bug.cgi?id=1906 603 6042010-11-27 Bob Friesenhahn <[email protected]> 605 606 * libtiff-4.pc.in: Added libtiff pkg-config .pc file support. 607 Patch by Vincent Torri. 608 6092010-10-21 Frank Warmerdam <[email protected]> 610 611 * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler. 612 613 * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf. 614 615 * libtiff/libtiff.def: export _TIFFCheckMalloc for tools. 616 6172010-09-25 Lee Howard <[email protected]> 618 619 * tools/tiff2ps.c: improvements and enhancements from Richard Nolde 620 with additional command line options for Document Title, 621 Document Creator, and Page Orientation 622 6232010-07-13 Bob Friesenhahn <[email protected]> 624 625 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 626 potentially unterminated buffer due to using an exceptionally long 627 file name. 628 6292010-07-08 Andrey Kiselev <[email protected]> 630 631 * tools/tiff2pdf.c: Fixed ID buffer filling in 632 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 633 6342010-07-07 Andrey Kiselev <[email protected]> 635 636 * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 637 to expected value as the warning message suggests. As per bug 638 http://bugzilla.maptools.org/show_bug.cgi?id=1963 639 6402010-07-06 Andrey Kiselev <[email protected]> 641 642 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 643 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 644 which should be set by value. 645 646 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 647 and _TIFFFieldWithName() if the tag is not found in the tag table. 648 This should be normal situation and returned NULL value should be 649 properly handled by the caller. 650 6512010-07-02 Andrey Kiselev <[email protected]> 652 653 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 654 integer type conversions. As per bug 655 http://bugzilla.maptools.org/show_bug.cgi?id=2207 656 657 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 658 WhitePoint tag as per bug 659 http://bugzilla.maptools.org/show_bug.cgi?id=2042 660 661 * libtiff/tif_getimage.c: Check the number of samples per pixel when 662 working with YCbCr image in PickContigCase(). As per bug 663 http://bugzilla.maptools.org/show_bug.cgi?id=2216 664 665 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 666 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 667 we don't need any post-processing. That helps to reset the hook if we 668 previously set this field to some other value and the hook was 669 initialized accordingly. As per bug 670 http://bugzilla.maptools.org/show_bug.cgi?id=2035 671 6722010-07-01 Andrey Kiselev <[email protected]> 673 674 * tools/tiffgt.c: Properly check the raster buffer allocations for 675 integer overflows. As per bug 676 http://bugzilla.maptools.org/show_bug.cgi?id=2108 677 678 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 679 upstream. 680 681 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 682 multiply_32() and multiply_64() functions into tif_aux.c file and 683 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 684 6852010-06-30 Andrey Kiselev <[email protected]> 686 687 * tools/tiff2pdf.c: Better generation of ID field in 688 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 689 690 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 691 converting JPEG encoded tiles. 692 693 * tools/tiff2pdf.c: Better handling of string fields, use static 694 string buffers instead of dynamically allocated, use strncpy() instead 695 of strcpy(), control the string lengths. 696 6972010-06-25 Andrey Kiselev <[email protected]> 698 699 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 700 referencing to uninitialized memory in some cases (e.g. when tile size 701 set bigger than the image size). 702 7032010-06-15 Bob Friesenhahn <[email protected]> 704 705 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 706 subsampled data since tiffcrop currently doesn't support it. Fix 707 JPEG support. 708 7092010-06-13 Frank Warmerdam <[email protected]> 710 711 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 712 713 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 714 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 715 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 716 size is larger. Also, there are a bunch of places that try to 717 memset() a malloc'd buffer before checking for malloc failure, which 718 would result in core dump if there actually were a failure. (#2211) 719 7202010-06-11 Bob Friesenhahn <[email protected]> 721 722 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 723 avoid compiler warnings if parameter types are not sign 724 consistent. 725 726 * libtiff 4.0.0alpha6 released. 727 728 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 729 European page size dimensions. Added an option to allow the user 730 to specify a custom page size on the command line. Fix the case 731 where a page size specified with a fractional part was being 732 coerced to an integer by retyping the variables that define the 733 paper size. 734 735 * html/index.html: Update for the 3.9.3 release. 736 737 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 738 YCbCr subsampled data since tiffcp currently doesn't support it. 739 http://bugzilla.maptools.org/show_bug.cgi?id=2097 740 741 * Update libtool to version 2.2.10. 742 7432010-06-10 Bob Friesenhahn <[email protected]> 744 745 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 746 multiplier is zero. 747 7482010-06-09 Bob Friesenhahn <[email protected]> 749 750 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 751 CVE-2010-1411 was not complete. 752 753 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 754 multiply two integers. Returns zero if there is an integer 755 overflow. 756 757 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 758 is reported when reading the input file. 759 7602010-06-08 Bob Friesenhahn <[email protected]> 761 762 * Update libtool to version 2.2.8. 763 764 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 765 buffer due to integer overflow in TIFFroundup() and several other 766 potential overflows. In conjunction with the fix to TIFFhowmany(), 767 fixes CVE-2010-1411. 768 769 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 770 result in an integer overflow. This causes TIFFroundup() to also 771 return zero if there would be an integer overflow. 772 773 * contrib: Add an emacs formatting mode footer to all source files 774 so that emacs can be effectively used. 775 7762010-06-03 Oliver Chen Feng <[email protected]> 777 778 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 779 file PAGENUMBER value in sequence for users who care the page 780 sequence, this will also prevent tiff2pdf from creating pdf file from 781 the merged tiff file with wrong page sequence. 782 7832010-05-08 Olivier Paquet <[email protected]> 784 785 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 786 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 787 * libtiff/tif_dirinfo.c: Use correct set_field_type for 788 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 789 http://bugzilla.maptools.org/show_bug.cgi?id=2192 790 7912010-05-07 Frank Warmerdam <[email protected]> 792 793 * libtiff/tif_jpeg.c: Ensure that quality is always set in 794 JPEGPreEncode(), not just when we want to output local tables. 795 Otherwise the quality used during compression may not be right and 796 might not match the tables in the tables tag. This bug only occurs 797 when seeking between directories in the midst of writing blocks. 798 http://trac.osgeo.org/gdal/ticket/3539 799 8002010-05-06 Andrey Kiselev <[email protected]> 801 802 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 803 Regenerated from the source. 804 8052010-05-05 Olivier Paquet <[email protected]> 806 807 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 808 had stopped working. Also made it always print 6 floats instead of 809 2*SamplesPerPixel. 810 http://bugzilla.maptools.org/show_bug.cgi?id=2191 811 http://bugzilla.maptools.org/show_bug.cgi?id=2186 812 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 813 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 814 8152010-05-05 Frank Warmerdam <[email protected]> 816 817 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 818 if the jpeg table was written. This is a fix for the last fix on 04-21. 819 8202010-04-21 Frank Warmerdam <[email protected]> 821 822 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 823 JPEGSetupEncode() is called if the tables already seem to be 824 established. This prevents spurious updates and rewriting of 825 directories with jpegtables when doing updates to existing images. 826 http://trac.osgeo.org/gdal/ticket/3539 827 8282010-04-20 Olivier Paquet <[email protected]> 829 830 * libtiff/tif_dirinfo.c: Use correct set_field_type for 831 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 832 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 833 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 834 http://bugzilla.maptools.org/show_bug.cgi?id=2139 835 8362010-04-10 Bob Friesenhahn <[email protected]> 837 838 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 839 when the tag count value is zero. Error handling is still a 840 regression since in 3.9.2, empty tags are skipped (with a warning) 841 rather than returning a hard error and refusing to read the file. 842 843 * tools/ppm2tiff.c (main): While case for parsing comment line 844 requires extra parenthesis to work as expected. Reported by 845 Thomas Sinclair. 846 8472010-04-02 Frank Warmerdam <[email protected]> 848 849 * libtiff/tif_read.c (primarily): Add support for 850 CHUNKY_STRIP_READ_SUPPORT where large strips are 851 read in chunks for applications using TIFFReadScanline(). 852 This is intended to make it more practical work with very 853 large compressed one-strip files. Feature is off by default. 854 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 855 http://trac.osgeo.org/gdal/ticket/3514 856 8572010-03-31 Frank Warmerdam <[email protected]> 858 859 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 860 directories so previously placed directories will be migrated to 861 the end of file if needed. 862 8632010-03-30 Frank Warmerdam <[email protected]> 864 865 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 866 to support operating on strips/tiles of more than 256MB. 867 http://trac.osgeo.org/gdal/ticket/3512 868 8692010-03-10 Bob Friesenhahn <[email protected]> 870 871 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 872 that it is clearly a memory allocation error message, and also 873 includes the size of the allocation request. 874 8752010-02-22 Lee Howard <[email protected]> 876 877 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 878 the JPEG TIFF as is is not required in order to prevent it from 879 being unused and filled with invalid data. (Leave it to be 880 generated by later activity.) 881 http://bugzilla.maptools.org/show_bug.cgi?id=2135 882 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 883 data rather than skipping them. This fixes the ability to view in 884 Acrobat Reader, Evince, and Ghostscript. 885 http://bugzilla.maptools.org/show_bug.cgi?id=2135 886 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 887 strips. 888 http://bugzilla.maptools.org/show_bug.cgi?id=2029 889 8902009-12-03 Frank Warmerdam <[email protected]> 891 892 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 893 Made so that when working with downsampled images a stub function 894 reporting an error is used for tif_decoderow. We cannot meaningfully 895 support reading scanlines in this situation. (#1936) 896 897 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 898 resetting of the upsampling values (gdal:#3259). 899 http://bugzilla.maptools.org/show_bug.cgi?id=1936 900 9012009-11-30 Frank Warmerdam <[email protected]> 902 903 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 904 tools/ras2tiff.c: Fix resource leaks on error. 905 http://bugzilla.maptools.org/show_bug.cgi?id=2121 906 907 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 908 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 909 of as a custom(generic) field to avoid a potential reentrancy problem. 910 http://bugzilla.maptools.org/show_bug.cgi?id=2125 911 912 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 913 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 914 const, and display_sRGB static and const. 915 http://bugzilla.maptools.org/show_bug.cgi?id=2124 916 9172009-11-04 Bob Friesenhahn <[email protected]> 918 919 * libtiff 4.0.0alpha5 released. 920 9212009-11-03 Bob Friesenhahn <[email protected]> 922 923 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 924 version has undergone substantial testing with arbitrary sample 925 bit depths. Also eliminates GCC compilation warnings. 926 9272009-11-02 Bob Friesenhahn <[email protected]> 928 929 * port/libport.h: Add extern declarations for getopt standard 930 globals. 931 9322009-10-31 Bob Friesenhahn <[email protected]> 933 934 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 935 noticed in 64-bit build of libtiff with Visual Studio 2005. 936 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 937 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 938 939 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 940 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 941 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 942 http://bugzilla.maptools.org/show_bug.cgi?id=2068 943 9442009-10-29 Bob Friesenhahn <[email protected]> 945 946 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 947 pointer" warnings. 948 9492009-10-28 Bob Friesenhahn <[email protected]> 950 951 * html/tools.html: Add manual page links, and a summary 952 description of tiffcrop. 953 9542009-10-07 Bob Friesenhahn <[email protected]> 955 956 * configure.ac: x86_64 should use the same fill order as i386. 957 9582009-09-24 Bob Friesenhahn <[email protected]> 959 960 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 961 Nolde. Major updates to add significant functionality for reading 962 and writing tile based images with bit depths not a multiple of 8 963 which cannot be handled by tiffcp. 964 9652009-09-03 Bob Friesenhahn <[email protected]> 966 967 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 968 do_fancy_upsampling=FALSE in order to read raw data. Resolves 969 "Bug 2090 - OJPEG crash with libjpeg v7". 970 http://bugzilla.maptools.org/show_bug.cgi?id=2090 971 9722009-09-03 Frank Warmerdam <[email protected]> 973 974 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 975 interface when stoponerror is set. 976 http://bugzilla.maptools.org/show_bug.cgi?id=2071 977 9782009-08-30 Bob Friesenhahn <[email protected]> 979 980 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 981 fix build with gcc when using the "-Wformat 982 -Werror=format-security" flags. 983 9842009-08-29 Bob Friesenhahn <[email protected]> 985 986 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 987 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 988 utilities tests. 989 9902009-08-28 Bob Friesenhahn <[email protected]> 991 992 * tools/tiffinfo.c: tiffinfo should return error status to the 993 caller. Register a private error callback to accomplish that. 994 995 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 996 PNM formats so that we will be able to test more of the tools. 997 While adding these test images I notice that bmp2tiff and gif2tiff 998 only support ancient versions of their respective formats. 999 10002009-08-27 Bob Friesenhahn <[email protected]> 1001 1002 * libtiff 4.0.0alpha4 released. 1003 1004 * HOWTO-RELEASE: Improved release instructions. 1005 10062009-08-24 Bob Friesenhahn <[email protected]> 1007 1008 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 1009 fixes for "Bug 2023 - nroff errors in manual pages". 1010 http://bugzilla.maptools.org/show_bug.cgi?id=2023 1011 1012 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 1013 CVE-2009-2347 libtiff: integer overflows in various inter-color 1014 space conversion tools". 1015 http://bugzilla.maptools.org/show_bug.cgi?id=2079 1016 1017 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 1018 Berkenbilt for "Bug 2024 - possible null pointer dereference with 1019 one-line fix". 1020 http://bugzilla.maptools.org/show_bug.cgi?id=2024 1021 1022 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 1023 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 1024 segfault after setting tdir_tag = IGNORE". 1025 http://bugzilla.maptools.org/show_bug.cgi?id=1895 1026 10272009-08-23 Bob Friesenhahn <[email protected]> 1028 1029 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 1030 tiffcrop.sh into a collection of many specific tests. Re-wrote 1031 all of the existing tests to be based on some simple shell 1032 functions. Make distcheck works again. 1033 1034 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 1035 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 1036 tests under valgrind. 1037 10382009-08-21 Bob Friesenhahn <[email protected]> 1039 1040 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 1041 build. 1042 1043 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 1044 actually activated since it needed to be enabled in this 1045 Makefile.am. Also activated parallel-tests mode since it offers 1046 useful features such as per-test .log files and a summary test 1047 report .log file. 1048 10492009-08-20 Bob Friesenhahn <[email protected]> 1050 1051 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 1052 libtool 2.2.6. Enabled support for silent build rules 1053 (--enable-silent-rules or 'make V=0') and colorized tests. 1054 1055 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 1056 10572009-06-30 Frank Warmerdam <[email protected]> 1058 1059 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 1060 1061 * tools/tiffcp.c: add -c sgilog support. 1062 1063 * libtiff/tif_luv.c: correct return codes from encoderow to be 1064 1 on success instead of zero. 1065 http://bugzilla.maptools.org/show_bug.cgi?id=2069 1066 1067 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 1068 #1085 for a better underflow fix that errors properly. 1069 http://bugzilla.maptools.org/show_bug.cgi?id=2065 1070 http://bugzilla.maptools.org/show_bug.cgi?id=1985 1071 10722009-06-26 Frank Warmerdam <[email protected]> 1073 1074 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 1075 fails on oddly sized 12bit jpeg compressed ycbcr images. 1076 10772009-06-22 Frank Warmerdam <[email protected]> 1078 1079 * libtiff/tif_lzw.c: Fix buffer underflow bug. 1080 http://bugzilla.maptools.org/show_bug.cgi?id=2065 1081 10822009-06-21 Frank Warmerdam <[email protected]> 1083 1084 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 1085 for dual mode 8/12 bit jpeg support. 1086 10872009-06-03 Frank Warmerdam <[email protected]> 1088 1089 * libtiff/tif_write.c: do not override the planar configuration to be 1090 contig for one sample files if planar configuration is already set. 1091 http://bugzilla.maptools.org/show_bug.cgi?id=2057 1092 10932009-06-02 Frank Warmerdam <[email protected]> 1094 1095 * libtiff/libtiff.def: Add TIFFUnsetField. 1096 10972009-05-03 Frank Warmerdam <[email protected]> 1098 1099 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 1100 error reports to use "%s" as format string. 1101 http://trac.osgeo.org/gdal/ticket/2976 1102 11032009-03-12 Frank Warmerdam <[email protected]> 1104 1105 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 1106 for some codecs (#2020). 1107 11082009-02-12 Frank Warmerdam <[email protected]> 1109 1110 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 1111 http://bugzilla.maptools.org/show_bug.cgi?id=2005 1112 11132009-02-09 Frank Warmerdam <[email protected]> 1114 1115 * libtiff/tif_dirread.c: Improve allocation safety when allocated 1116 buffer for large tags. (#1998) Related to (#1993) 1117 11182009-02-06 Frank Warmerdam <[email protected]> 1119 1120 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 1121 test suite should pass. 1122 11232009-02-05 Frank Warmerdam <[email protected]> 1124 1125 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 1126 but at the 2GB boundary to avoid overflow on 32bit systems. 1127 http://bugzilla.maptools.org/show_bug.cgi?id=1993 1128 1129 * libtiff/tif_dirread.c: Remove some assertions that blow due to 1130 corrupt files rather than in response to library internal 1131 inconsistencies. 1132 http://bugzilla.maptools.org/show_bug.cgi?id=1995 1133 http://bugzilla.maptools.org/show_bug.cgi?id=1991 1134 1135 * libtiff/tif_dirread.c: Fixed testing for failed result from 1136 TIFFReadDirectoryFindFieldInfo(). 1137 http://bugzilla.maptools.org/show_bug.cgi?id=1992 1138 11392009-01-23 Frank Warmerdam <[email protected]> 1140 1141 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 1142 http://bugzilla.maptools.org/show_bug.cgi?id=1911 1143 1144 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 1145 1146 http://bugzilla.maptools.org/show_bug.cgi?id=1924 1147 1148 * tools/tiffcrop.c: initialize xres/yres values. 1149 1150 * test/*.sh - default ${srcdir} to local directory. 1151 1152 * test/common.sh - start verbose mode after common settings. 1153 1154 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 1155 avoid type mismatches on different platforms. 1156 http://bugzilla.maptools.org/show_bug.cgi?id=1889 1157 11582009-01-22 Frank Warmerdam <[email protected]> 1159 1160 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 1161 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 1162 1163 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 1164 defined, primarily to reduce prototype warnings on windows. 1165 1166 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 1167 about unused parameters, and uninitialized variables. 1168 11692009-01-21 Bob Friesenhahn <[email protected]> 1170 1171 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 1172 order to trace full execution detail while executing the test suite. 1173 11742009-01-20 Frank Warmerdam <[email protected]> 1175 1176 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 1177 11782009-01-20 Bob Friesenhahn <[email protected]> 1179 1180 * test/Makefile.am (CLEANFILES): Make sure that test output files 1181 are removed by 'make clean' 1182 1183 * Update autotools for 4.0.0 beta3 1184 1185 * 4.0.0 beta3 produced. 1186 11872009-01-12 Bob Friesenhahn <[email protected]> 1188 1189 * test/tiffcrop.sh: New test script for tiffcrop from Richard 1190 Nolde. 1191 1192 * tools/tiff2ps.c: Remove spurious message to stderr. 1193 11942009-01-11 Bob Friesenhahn <[email protected]> 1195 1196 * tools/tiff2ps.c: Incorporated significant functionality update 1197 from Richard Nolde. In particular, support for rotating the image 1198 by 90, 180, 270, and 'auto' has been added. 1199 1200 * man/tiffcrop.1: Incorporated documentation updates from Richard 1201 Nolde. 1202 1203 * tools/tiffcrop.c: Incorporated significant functionality update 1204 from Richard Nolde. 1205 12062008-12-31 Bob Friesenhahn <[email protected]> 1207 1208 * libtiff/tiffio.h: GCC will now validate format specifications 1209 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 1210 TIFFWarningExt() in order to reveal bugs. 1211 1212 * Many fixes throughout to work better as a 64-bit build. 1213 12142008-12-30 Bob Friesenhahn <[email protected]> 1215 1216 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 1217 tags now require 64-bit parameter rather than 32-bit. 1218 1219 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 1220 64-bit values. 1221 1222 * tools/thumbnail.c: Eliminate crash noticed while running test 1223 suite. 1224 12252008-12-29 Bob Friesenhahn <[email protected]> 1226 1227 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 1228 Initialize stack variables to avoid compiler warning. 1229 1230 * tools/tiffinfoce.c (main): Use toff_t for offset type when 1231 retrieving offset of EXIF IFD. 1232 1233 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 1234 TIFFClientOpen() callback and other external function definitions. 1235 1236 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 1237 type now. Fixes crash when dumping files containing an EXIF IFD. 1238 1239 * m4/libtool.m4: Update to libtool 2.2.6. 1240 12412008-12-21 Frank Warmerdam <[email protected]> 1242 1243 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 1244 1245 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 1246 strip for the last partial strip in a jpeg compressed file. 1247 http://bugzilla.maptools.org/show_bug.cgi?id=1981 1248 12492008-10-29 Frank Warmerdam <[email protected]> 1250 1251 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 1252 we take the shortcut to only update the strip/tile offsets in place. 1253 http://trac.osgeo.org/gdal/ticket/2621 1254 12552008-10-21 Andrey Kiselev <[email protected]> 1256 1257 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 1258 the older versions retained). 1259 12602008-10-09 Frank Warmerdam <[email protected]> 1261 1262 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 1263 IPP enabled version of libjpeg from Intel. 1264 http://bugzilla.maptools.org/show_bug.cgi?id=1951 1265 12662008-09-05 Andrey Kiselev <[email protected]> 1267 1268 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 1269 Required for libtiff 4.0. 1270 1271 * tools/tiffsplit.c: Use dynamically allocated array instead of static 1272 when constructing output file names. 1273 12742008-09-03 Andrey Kiselev <[email protected]> 1275 1276 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 1277 doing the filename/path construction. 1278 1279 * tools/tiff2pdf.c: More appropriate format string in 1280 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 1281 1282 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 1283 1284 http://bugzilla.maptools.org/show_bug.cgi?id=1929 1285 1286 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 1287 CVE-2008-2327 security issue. 1288 12892008-09-01 Frank Warmerdam <[email protected]> 1290 1291 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 1292 1293 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 1294 depending on whether the file is bigtiff or classic tiff. 1295 http://bugzilla.maptools.org/show_bug.cgi?id=1917 1296 12972008-08-12 Edward Lam <[email protected]> 1298 1299 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 1300 consistent (__int64) casting when testing if _lseeki64 has 1301 successfully seeked as requested. This is necessary for large 1302 file support to work since off_t is only 32-bit. 1303 13042008-07-29 Frank Warmerdam <[email protected]> 1305 1306 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 1307 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 1308 with control logic to return runtime errors (c/o Even Rouault) (#1927). 1309 13102008-06-17 Frank Warmerdam <[email protected]> 1311 1312 * tools/tiffcrop.c: Fix some portability problems. 1313 1314 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 1315 used in tif_jpeg.c. 1316 1317 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 1318 as TIFFOpen(). 1319 13202008-06-01 Frank Warmerdam <[email protected]> 1321 1322 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 1323 like Sparc/Solaris. 1324 http://bugzilla.maptools.org/show_bug.cgi?id=1892 1325 13262008-05-27 Frank Warmerdam <[email protected]> 1327 1328 * libtiff.def: Add TIFFFindField 1329 http://bugzilla.maptools.org/show_bug.cgi?id=1891 1330 13312008-05-26 Frank Warmerdam <[email protected]> 1332 1333 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 1334 1335 * li2008-04-15 Andrey Kiselev <[email protected]> 1336 1337btiff/tif_win32.c: Replace custom Win32 memory api with generic 1338 POSIX one. No apparent value to use of GlobalAlloc() in the modern 1339 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 1340 1341 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 1342 in windows version (care of Edward Lam). 1343 13442008-05-24 Frank Warmerdam <[email protected]> 1345 1346 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 1347 compression codec codes. 1348 1349 * tif_dirwrite.c: fix potential memory leak. 1350 1351 * tif_dirread.c: Fix unchecked malloc result. 1352 13532008-05-24 Bob Friesenhahn <[email protected]> 1354 1355 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 1356 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 1357 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 1358 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 1359 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 1360 suggestions from Lee Howard posted to the tiff list on 13 Sep 1361 2007. 1362 13632008-05-23 Frank Warmerdam <[email protected]> 1364 1365 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 1366 possible runtime problem reported by coverity. 1367 1368 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 1369 1370 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 1371 http://bugzilla.maptools.org/show_bug.cgi?id=1888 1372 1373 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 1374 1375 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 1376 1377 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 1378 Cleanup scanline allocation to avoid coverity warning. 1379 1380 * tools/thumbnail.c: Check for TIFFOpen() failure. 1381 13822008-05-18 Frank Warmerdam <[email protected]> 1383 1384 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 1385 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 1386 why this is needed. 1387 13882008-05-09 Bob Friesenhahn <[email protected]> 1389 1390 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 1391 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 1392 13932008-04-15 Andrey Kiselev <[email protected]> 1394 1395 * test/: Test suite updated. Everything is passed now. 1396 1397 * libtiff/tif_dirinfo.c: Fixed description of the 1398 TIFFTAG_NUMBEROFINKS tag. 1399 14002008-04-14 Andrey Kiselev <[email protected]> 1401 1402 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 1403 Get rid of some of "dereferencing type-punned" warnings by converting 1404 tdir_offset field of TIFFDirEntry structure into union. 1405 14062008-04-10 Andrey Kiselev <[email protected]> 1407 1408 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 1409 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 1410 from the public interface. Type of its 'count' parameter changed 1411 from uint32 to tmsize_t. 1412 1413 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 1414 of the tiff structure have the size_t type instead of uint32. 1415 14162008-04-09 Andrey Kiselev <[email protected]> 1417 1418 * tools/tiffdump.c: Added support for MSVS 6.0. 1419 1420 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 1421 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 1422 point values on MSVS 6.0 platform. 1423 14242008-03-14 Frank Warmerdam <[email protected]> 1425 1426 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 1427 TIFFReadDirEntryArray() since they are interfering with seemingly 1428 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 1429 14302008-02-09 Joris Van Damme <[email protected]> 1431 1432 * tif_dirread.c: Added handling for the case of number of values for 1433 PageNumber tag different from 2 (previously resulted in an assert 1434 indicating lack of handling and was forgotten about) 1435 14362008-02-01 Frank Warmerdam <[email protected]> 1437 1438 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 1439 the actual jpeg data stream if the first strip/tile has zero size. 1440 This is the case when GDAL creates a new file with zero sizes, closes 1441 and reopens it. 1442 14432008-01-07 Frank Warmerdam <[email protected]> 1444 1445 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 1446 14472008-01-01 Frank Warmerdam <[email protected]> 1448 1449 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 1450 1451 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 1452 targets. 1453 1454 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 1455 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 1456 (x64). 1457 1458 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 1459 and TIFFFieldWithName() now return TIFFField pointers instead of 1460 TIFFFieldInfo pointers. 1461 1462 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 1463 exist. This makes it compile again on Windows 1464 1465 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 1466 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 1467 1468 * test/rewrite_tag.c: New test for TIFFRewriteField(). 1469 14702007-12-31 Frank Warmerdam <[email protected]> 1471 1472 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 1473 rewrites one field "on disk" updating an existing directory 1474 entry. Lots of limitations still... 1475 1476 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 1477 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 1478 the strip offset/size values are dirty but nothing else about the 1479 directory is dirty. In flush handle "just stripmaps dirty" as a 1480 special case that just rewrites these values without otherwise 1481 modifying the directory on disk using TIFFRewriteField(). 1482 1483 We also modify logic so that in update mode the directory is not 1484 marked dirty on read, but only when something is changed. This 1485 means we need to keep track of updates to the stripmap stuff in 1486 TIFFAppendToStrip(). 1487 14882007-12-10 Frank Warmerdam <[email protected]> 1489 1490 * tif_jpeg.c: Improve ability to switch between encoding and decoding 1491 in the jpeg code (gdal bug #2033). 1492 14932007-11-23 Frank Warmerdam <[email protected]> 1494 1495 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 1496 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 1497 rawcp/rawcc buffer are for writing and thus may require flushing. 1498 Necessary to distinguish whether they need to be written to disk when 1499 in mixed read/write mode and doing a mixture of writing followed by 1500 reading. http://trac.osgeo.org/gdal/ticket/1758 1501 15022007-11-23 Andrey Kiselev <[email protected]> 1503 1504 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 1505 from Alexey Chupahin. 1506 15072007-11-02 Frank Warmerdam <[email protected]> 1508 1509 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 1510 establishing if an existing tile can be rewritten to the same location 1511 by comparing the current size to all the other blocks in the same 1512 directory. This is dangerous in many situations and can easily 1513 corrupt a file. (observed in esoteric GDAL situation that's hard to 1514 document). This change involves leaving the stripbytecount[] values 1515 unaltered till TIFFAppendToStrip(). Now we only write a block back 1516 to the same location it used to be at if the new data is the same 1517 size or smaller - otherwise we move it to the end of file. 1518 1519 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 1520 data when writing the directory just because we have BEENWRITING at 1521 some point in the past. This was causing odd junk to be written out 1522 in a tile of data when a single tile had an interleaving of reading 1523 and writing with reading last. (highlighted by gdal 1524 autotest/gcore/tif_write.py test 7. 1525 1526 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 1527 modifying callers buffer. 1528 http://trac.osgeo.org/gdal/ticket/1965 1529 1530 * tif_predict.c/h: more fixes related to last item, keeping a 1531 distinct pfunc for encode and decode cases as these were getting 1532 mixed up sometimes. 1533 http://trac.osgeo.org/gdal/ticket/1948 1534 15352007-11-01 Frank Warmerdam <[email protected]> 1536 1537 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 1538 predictor based encoding and decoding works in read-write update 1539 mode properly. 1540 http://trac.osgeo.org/gdal/ticket/1948 1541 15422007-10-24 Joris Van Damme <[email protected]> 1543 1544 * tif_dirread.c: Fixed problem with bogus file triggering 1545 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 1546 ChopUpSingleUncompressedStrip 1547 15482007-10-22 Joris Van Damme <[email protected]> 1549 1550 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 1551 at best, access violation at worst, when subsampled JPEG compressed imagery 1552 is decoded without the JPEG_COLORMODE feature 1553 15542007-10-11 Frank Warmerdam <[email protected]> 1555 1556 * html/index.html: Update "people responsible" section. 1557 15582007-10-05 Frank Warmerdam <[email protected]> 1559 1560 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 1561 as reported on the mailing list. 1562 15632007-10-01 Joris Van Damme <[email protected]> 1564 1565 * changed some more incorrect %lud printf flags to %lu 1566 15672007-09-29 Joris Van Damme <[email protected]> 1568 1569 * tif_dirread.c: Strip chopping interfered badly with uncompressed 1570 subsampled images because it tried to divide subsampled rowblocks, 1571 leading to all sorts of errors throughout the library for these 1572 images. Fixed by making strip chopping divide in row counts that 1573 are a multiple of vertical subsampling value. 1574 15752007-09-28 Joris Van Damme <[email protected]> 1576 1577 * tif_dirread.c: Logical cast working around compiler warning 1578 1579 * tif_read.c: Correction of some error flags and parameter lists 1580 15812007-09-27 Joris Van Damme <[email protected]> 1582 1583 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 1584 when dealing with large bitspersample values, shutting up purification 1585 tools that warn about truncation, though it remains incorrect and 1586 indicates a conceptual problem there. 1587 1588 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 1589 of first IFD) to proper place because it badly interfered with memory 1590 mapping, resulting in mapping flag even with dummy mapping functions 1591 that returned 0 whilst at the same time the mapping tif_size wasn't 1592 set, thus resulting in continuous incorrect beyond-eof errors. 1593 15942007-09-24 Joris Van Damme <[email protected]> 1595 1596 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 1597 inconsistent use of const in tiffFields and exifFields definition 1598 15992007-09-20 Frank Warmerdam <[email protected]> 1600 1601 * tif_dirwrite.c: Always write tile/strip offsets and sizes 1602 using LONG8 type when output format is BigTIFF. The 1603 TIFFWriteDirectoryTagLongLong8Array() function was restructured 1604 accordingly. 1605 1606 * tif_dirread.c: Improvements to error reporting text in 1607 TIFFFetchDirectory(). 1608 16092007-09-19 Bob Friesenhahn <[email protected]> 1610 1611 * test/images: Added a small collection of test images for use by 1612 test programs and scripts. 1613 * test/tiffinfo.sh: A trivial example test script. 1614 * test/common.sh: Added small script for setting the environment 1615 used by script-based tests. 1616 16172007-08-24 Frank Warmerdam <[email protected]> 1618 1619 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 1620 zero when writing directory contents to preserve the ability to 1621 rewrite directories in place, even in the middle of a directory 1622 chain. 1623 1624 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 1625 definitions that are missing. Existing definitions are silently 1626 ignored. 1627 1628 * tif_dirread.c: Add runtime error for fields for which no definition 1629 is found (in addition to an assert for developers) in 1630 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 1631 prudent. 1632 16332007-08-10 Joris Van Damme <[email protected]> 1634 1635 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 1636 from _TIFFRGBAImage structure to revert unwanted ABI change. 1637 16382007-08-10 Joris Van Damme <[email protected]> 1639 1640 * libtiff/tif_win32.c: use SetFilePointer instead of 1641 SetFilePointerEx, as per bug 1642 1643 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 1644 16452007-07-19 Andrey Kiselev <[email protected]> 1646 1647 * libtiff/tif_stream.cxx: Put all callback functions declarations 1648 inside extern "C" block. 1649 1650 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 1651 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 1652 formatter instead of "%lld" with MSVC compiler. 1653 1654 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 1655 _TIFFUInt64ToDouble() functions. 1656 16572007-07-18 Andrey Kiselev <[email protected]> 1658 1659 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 1660 integer constants. 1661 1662 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 1663 remove tif_config.h/tiffconf.h during cleaning. As per bug 1664 1665 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 1666 1667 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 1668 1669 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 1670 16712007-07-13 Andrey Kiselev <[email protected]> 1672 1673 * libtiff 4.0.0alpha released. 1674 16752007-07-12 Andrey Kiselev <[email protected]> 1676 1677 * tools/tiff2pdf.c: Added missed extern optind as per bug 1678 1679 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 1680 1681 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 1682 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 1683 extending scheme completed. 1684 16852007-07-11 Bob Friesenhahn <[email protected]> 1686 1687 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 1688 use standard C++ library size types and attempt to detect overflow 1689 cases. 1690 16912007-07-08 Andrey Kiselev <[email protected]> 1692 1693 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 1694 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 1695 tag extending scheme. Use the new scheme everywhere. 1696 1697 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 1698 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 1699 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 1700 TIFFFIeldInfo structure replaced with TIFFField structure. 1701 TIFFFieldInfo retained for the backward compatibility. 1702 17032007-07-05 Bob Friesenhahn <[email protected]> 1704 1705 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 1706 defined. 1707 17082007-07-04 Andrey Kiselev <[email protected]> 1709 1710 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 1711 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 1712 removed. 1713 1714 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 1715 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 1716 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 1717 These tags are not codec-specific and relate to image content, so 1718 process them as other normal tags. 1719 1720 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 1721 public tiffio.h to private tif_dir.h. 1722 1723 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 1724 outdated. 1725 17262007-07-03 Andrey Kiselev <[email protected]> 1727 1728 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 1729 tif_win3.c}: Obsoleted portability stuff removed. 1730 1731 * tools/tiff2ps.c: Added support 16-bit images as per bug 1732 1733 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 1734 1735 Patch from William Bader. 1736 1737 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 1738 significant upgrade of the whole utility as per bug 1739 1740 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 1741 1742 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 1743 PDF file using TIFFClientOpen() machinery as it is implemented 1744 by Leon Bottou. 1745 17462007-06-26 Bob Friesenhahn <[email protected]> 1747 1748 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 1749 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 1750 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 1751 allow returning -1 for errors. 1752 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 1753 17542007-06-25 Bob Friesenhahn <[email protected]> 1755 1756 * port/strtoull.c: New porting function in case strtoull() is not 1757 available on the target system. 1758 * configure.ac: Add configure support for determining sized types 1759 in a portable way and performing necessary substitutions in 1760 tif_config.h and tiffconf.h. Updated tiff.h to use the new 1761 definitions. 1762 17632007-04-27 Andrey Kiselev <[email protected]> 1764 1765 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 1766 1767 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 1768 17692007-04-07 Andrey Kiselev <[email protected]> 1770 1771 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 1772 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 1773 tif_predict.c, tif_zip.c}: Finally fix bug 1774 1775 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 1776 1777 by introducing _TIFFMergeFieldInfo() returning integer error status 1778 instead of void in case of problems with field merging (e.g., if the 1779 field with such a tag already registered). TIFFMergeFieldInfo() in 1780 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 1781 check returned value. 1782 17832007-04-07 Frank Warmerdam <[email protected]> 1784 1785 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 1786 blocks in TIFF_DownSample_Subsampled() (bug 1542). 1787 17882007-04-06 Frank Warmerdam <[email protected]> 1789 1790 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 1791 will convert from decompressor to compressor or compress to decompress 1792 if required by the force arguments. This works around a problem in 1793 where the JPEGFixupTestSubsampling() may cause a decompressor to 1794 be setup on a directory when later a compressor is required with the 1795 force flag set. Occurs with the addtiffo program for instance. 1796 17972007-04-06 Andrey Kiselev <[email protected]> 1798 1799 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 1800 functionality from Richard Nolde. As per bug 1801 1802 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 1803 18042007-03-28 Frank Warmerdam <[email protected]> 1805 1806 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 1807 18082007-03-17 Joris Van Damme <[email protected]> 1809 1810 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 1811 18122007-03-07 Joris Van Damme <[email protected]> 1813 1814 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 1815 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 1816 factor. This bug is mentioned in: 1817 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 1818 http://www.asmail.be/msg0054766825.html 1819 18202007-03-07 Joris Van Damme <[email protected]> 1821 1822 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 1823 1824 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 1825 unused arguments by standard C indication for the same 1826 18272007-02-27 Andrey Kiselev <[email protected]> 1828 1829 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 1830 counters in TIFFFetchData(). Should finally fix the issue 1831 1832 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 1833 18342007-02-24 Andrey Kiselev <[email protected]> 1835 1836 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 1837 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 1838 1839 * libtiff/tif_dirread.c: Added special function to handle 1840 SubjectDistance EXIF tag as per bug 1841 1842 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 1843 1844 * tools/tiff2pdf.c: Do not assume inches when the resolution units 1845 do not specified. As per bug 1846 1847 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 1848 1849 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 1850 it was set as infinite. As per bug 1851 1852 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 1853 1854 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 1855 by Richard Nolde. As per bug 1856 1857 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 1858 18592007-02-22 Andrey Kiselev <[email protected]> 1860 1861 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 1862 ExtraSamples == 999 produced by Corel Draw. As per bug 1863 1864 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 1865 1866 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 1867 changed from tsize_t to uint32 to be able to work with data arrays 1868 larger than 2GB. Fixes bug 1869 1870 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 1871 1872 Idea submitted by Matt Hancher. 1873 18742007-01-31 Andrey Kiselev <[email protected]> 1875 1876 * tools/tif2rgba.c: This utility does not work properly on big-endian 1877 architectures. It was fixed including the bug 1878 1879 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 1880 18812007-01-15 Mateusz Loskot <[email protected]> 1882 1883 * Submitted libtiff port for Windows CE platform 1884 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 1885 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 1886 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 1887 functons from tif_win32.c. 1888 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 1889 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 1890 standard header files for Windows CE build. 1891 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 1892 18932006-11-19 Frank Warmerdam <[email protected]> 1894 1895 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 1896 we move a strip. 1897 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 1898 18992006-10-13 Andrey Kiselev <[email protected]> 1900 1901 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 1902 in Gentoo bug (): 1903 1904 http://bugs.gentoo.org/show_bug.cgi?id=142383 1905 1906 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 1907 Though it is still far from the state of being working and useful. 1908 19092006-10-12 Andrey Kiselev <[email protected]> 1910 1911 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 1912 method. 1913 1914 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 1915 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 1916 1917 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 1918 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 1919 1920 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 1921 vulnerabilities, reported in Gentoo bug (): 1922 1923 http://bugs.gentoo.org/show_bug.cgi?id=142383 1924 19252006-09-28 Andrey Kiselev <[email protected]> 1926 1927 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 1928 vulnerabilities, as per Gentoo bug (): 1929 1930 http://bugs.gentoo.org/show_bug.cgi?id=142383 1931 19322006-09-27 Frank Warmerdam <[email protected]> 1933 1934 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 1935 encoding and decoding on the same read-write TIFF handle. The LZW 1936 code can now maintain encode and decode state at the same time. The 1937 ZIP code will switch back and forth as needed. 1938 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 1939 19402006-09-20 Frank Warmerdam <[email protected]> 1941 1942 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 1943 tif_config.vc.h for easier identification by folks using an IDE. 1944 19452006-07-25 Frank Warmerdam <[email protected]> 1946 1947 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 1948 19492006-07-19 Frank Warmerdam <[email protected]> 1950 1951 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 1952 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 1953 to bug report by Peng Gao with black strip at bottom of images. 1954 19552006-07-12 Frank Warmerdam <[email protected]> 1956 1957 * tif_dirwrite.c: make sure to use uint32 for wordcount in 1958 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 1959 It already seems to have been done for other field types. Needed 1960 for "tiffset" on files with geotiff ascii text. 1961 19622006-07-04 Bob Friesenhahn <[email protected]> 1963 1964 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 1965 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 1966 its use does not appear to be required, so use it only when it is 1967 available. 1968 19692006-06-24 Andrey Kiselev <[email protected]> 1970 1971 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 1972 1973 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 1974 function TIFFFetchDirectory() avoiding code duplication in 1975 TIFFReadDirectory() and TIFFReadCustomDirectory(). 1976 19772006-06-19 Frank Warmerdam <[email protected]> 1978 1979 * tools/tiff2pdf.c: Fix handling of -q values. 1980 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 1981 19822006-06-17 Frank Warmerdam <[email protected]> 1983 1984 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 1985 files. Modified TIFFReadDirectory() to not invoke 1986 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 1987 but one of them is zero. 1988 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 1989 19902006-06-08 Andrey Kiselev <[email protected]> 1991 1992 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 1993 checking code in the separate function TIFFCheckDirOffset(). 1994 1995 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 1996 1997 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 1998 1999 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 2000 2001 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 2002 2003 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 2004 2005 * tools/tiff2pdf.c: Fixed buffer overflow condition in 2006 t2p_write_pdf_string() as per bug 2007 2008 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 2009 20102006-06-07 Andrey Kiselev <[email protected]> 2011 2012 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 2013 support for JBIG compression scheme (34661 code) contributed by Lee 2014 Howard. As per bug 2015 2016 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 2017 2018 * configure, configure.ac: OJPEG support enabled by default. 2019 2020 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 2021 20222006-06-03 Bob Friesenhahn <[email protected]> 2023 2024 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 2025 TIFFPrintDirectory(). Joris Van Damme authored the fix. 2026 20272006-04-21 Andrey Kiselev <[email protected]> 2028 2029 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 2030 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 2031 2032 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 2033 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 2034 Added support for OpenVMS by Alexey Chupahin, [email protected]. 2035 20362006-04-20 Andrey Kiselev <[email protected]> 2037 2038 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 2039 Properly set the binary mode for stdin stream as per bug 2040 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 2041 2042 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 2043 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 2044 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 2045 tiffset.1}: Improvements in page formatting as per bug 2046 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 2047 2048 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 2049 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 2050 20512006-04-18 Frank Warmerdam <[email protected]> 2052 2053 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 2054 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 2055 20562006-04-12 Joris Van Damme <[email protected]> 2057 2058 * libtiff/tif_getimage.c: Added support for planarconfig separate 2059 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 2060 20612006-04-11 Joris Van Damme <[email protected]> 2062 2063 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 2064 - Conversion of unassociated alpha to associated alpha now done with 2065 more performant LUT, and calculation more correct 2066 - Conversion of 16bit data to 8bit data now done with 2067 more performant LUT, and calculation more correct 2068 - Bugfix of handling of 16bit RGB with unassociated alpha 2069 20702006-04-11 Joris Van Damme <[email protected]> 2071 2072 * libtiff/tif_getimage.c: 2073 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 2074 buffer for alpha strile and filled it, only to never read it back. 2075 Removed allocation and fill. 2076 - Minor rename of vars in gtTileSeparate and gtStripSeparate 2077 anticipating planned functionality extension 2078 20792006-04-08 Joris Van Damme <[email protected]> 2080 2081 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 2082 and pickTileSeparateCase to PickSeparateCase as both work on strips as 2083 well 2084 2085 * libtiff/tif_getimage.c: moved img->get selection from 2086 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 2087 logical hook for planned functionality extension 2088 20892006-04-08 Joris Van Damme <[email protected]> 2090 2091 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 2092 of inappropriate use of jpeg_abort instead of jpeg_destroy 2093 20942006-04-07 Joris Van Damme <[email protected]> 2095 2096 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 2097 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 2098 on subsampled images - this ought to get sorted when we feel brave 2099 enough to replace TIFFScanlineSize alltogether 2100 2101 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 2102 21032006-04-04 Joris Van Damme <[email protected]> 2104 2105 * libtiff/tiffio.h: added new type tstrile_t 2106 2107 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 2108 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 2109 toff_t* 2110 2111 * libtiff/tif_ojpeg.c: totally new implementation 2112 2113 * libtiff/tif_dirread.c: added several hacks to suit new support of 2114 OJPEG 2115 2116 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 2117 of OJPEG images in favor of tif_getimage.c native handling of 2118 YCbCr and desubsampling 2119 21202006-03-29 Frank Warmerdam <[email protected]> 2121 2122 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 2123 interpretation causes the "upsampled" flag to be recomputed. Fixes 2124 peculiar bug where photometric flag had to be set before jpegcolormode 2125 flag. 2126 21272006-03-25 Joris Van Damme <[email protected]> 2128 2129 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 2130 2131 * libtiff/tif_strip.c: temporarilly added two new versions of 2132 TIFFScanlineSize 2133 - TIFFNewScanlineSize: proposed new version, after all related 2134 issues and side-effects are sorted out 2135 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 2136 This needs further sorting out. 2137 21382006-03-25 Joris Van Damme <[email protected]> 2139 2140 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 2141 of last truncated strip data to TIFFWriteEncodedStrip 2142 21432006-03-25 Joris Van Damme <[email protected]> 2144 2145 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 2146 21472006-03-25 Joris Van Damme <[email protected]> 2148 2149 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 2150 2151 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 2152 2153 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 2154 prepare the path for new tif_ojpeg.c 2155 21562006-03-23 Andrey Kiselev <[email protected]> 2157 2158 * libtiff 3.8.2 released. 2159 2160 * tools/Makefile.am: Use runtime paths linker flags when rpath 2161 option enabled. 2162 21632006-03-21 Andrey Kiselev <[email protected]> 2164 2165 * libtiff/libtiff.def: Added missed exports as per bug 2166 http://bugzilla.remotesensing.org/attachment.cgi?id=337 2167 2168 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 2169 tools/Makefile.vc: Makefiles improvements as per bug 2170 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 2171 2172 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 2173 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 2174 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 2175 2176 * libtiff/tif_strip.c: Take subsampling in account when calculating 2177 TIFFScanlineSize(). 2178 2179 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 2180 21812006-03-17 Andrey Kiselev <[email protected]> 2182 2183 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 2184 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 2185 2186 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 2187 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 2188 21892006-03-16 Andrey Kiselev <[email protected]> 2190 2191 * libtiff/tiffiop.h: Added decalration for 2192 _TIFFSetDefaultCompressionState(). 2193 2194 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 2195 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 2196 codec cleanup methods. As per bug 2197 2198 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 2199 22002006-03-15 Andrey Kiselev <[email protected]> 2201 2202 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 2203 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 2204 2205 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 2206 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 2207 2208 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 2209 removed; move here the STRIP_SIZE_DEFAULT macro definition. 2210 2211 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 2212 macro definition. 2213 2214 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 2215 22162006-03-14 Andrey Kiselev <[email protected]> 2217 2218 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 2219 in TIFFReadDirectory, because it is always set at the start of 2220 function and we allow TIFFs without that tag set. 2221 22222005-03-13 Andrey Kiselev <[email protected]> 2223 2224 * libtiff 3.8.1 released. 2225 22262006-03-07 Andrey Kiselev <[email protected]> 2227 2228 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 2229 function as per bug 2230 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2231 2232 * libtiff/tif_dirread.c: More wise check for integer overflow 2233 condition as per bug 2234 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2235 2236 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 2237 Properly restore setfield/getfield methods in cleanup functions. As 2238 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2239 22402006-03-03 Andrey Kiselev <[email protected]> 2241 2242 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 2243 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 2244 2245 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 2246 TIFFPredictorCleanup() in codec cleanup methods. As per bug 2247 2248 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2249 2250 * libtiff/tif_dirread.c: Fixed integer overflow condition in 2251 TIFFFetchData() function. As per bug 2252 2253 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2254 22552006-03-01 Andrey Kiselev <[email protected]> 2256 2257 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 2258 TIFFSetField() method, not directly. As per bug 2259 2260 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 2261 2262 * tools/ppm2tiff.c: Added support for PBM files as per bug 2263 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 2264 22652006-02-27 Andrey Kiselev <[email protected]> 2266 2267 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 2268 to avoid crash as per bug 2269 2270 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 2271 22722006-02-26 Andrey Kiselev <[email protected]> 2273 2274 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 2275 t2p_sample_rgba_to_rgb() was used in place of each other, that was 2276 resulted in problems with RGBA images with associated alpha. 2277 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 2278 22792006-02-23 Andrey Kiselev <[email protected]> 2280 2281 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 2282 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 2283 2284 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 2285 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 2286 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 2287 2288 * tools/tiff2ps.c: Properly scale all the pages when converting 2289 multipage TIFF with /width/height/center options set. As per bug 2290 2291 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 2292 22932006-02-15 Andrey Kiselev <[email protected]> 2294 2295 * tools/tiff2pdf.c: Do not create output file until all option checks 2296 will be done. As per bug 2297 2298 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 2299 2300 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 2301 list of input files as per bug: 2302 2303 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 2304 23052006-02-09 Andrey Kiselev <[email protected]> 2306 2307 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 2308 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 2309 2310 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 2311 TIFFRGBAImage interface. 2312 2313 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 2314 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 2315 23162006-02-07 Frank Warmerdam <[email protected]> 2317 2318 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 2319 compressed TIFF files, per submission from Dan Cobra. 2320 23212006-02-07 Andrey Kiselev <[email protected]> 2322 2323 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 2324 cast values to avoid warnings. As per bug 2325 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2326 2327 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 2328 appropriate. As per bug 2329 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2330 2331 * libtiff/tif_aux.c: Fixed type of temporary variable in 2332 _TIFFCheckMalloc() as per bug 2333 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2334 23352006-02-06 Andrey Kiselev <[email protected]> 2336 2337 * libtiff/tif_aux.c: Return static array when fetching default 2338 YCbCrCoefficients (another problem, reported a the 2339 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 2340 23412006-02-03 Andrey Kiselev <[email protected]> 2342 2343 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 2344 YCbCrSubsampling and DotRange tags as per bugs 2345 2346 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 2347 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 2348 2349 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 2350 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 2351 2352 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 2353 23542006-01-23 Andrey Kiselev <[email protected]> 2355 2356 * libtool related stuff updated from the 2.1a branch. 2357 23582006-01-11 Frank Warmerdam <[email protected]> 2359 2360 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 2361 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 2362 properly as per bug: 2363 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 2364 23652006-01-09 Bob Friesenhahn <[email protected]> 2366 2367 * configure.ac: Fix with_default_strip_size comparison as reported 2368 by Norihiko Murase. 2369 23702006-01-08 Bob Friesenhahn <[email protected]> 2371 2372 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 2373 incorrectly, tests were not actually testing the uninstalled 2374 libtiff. Now they are. 2375 23762006-01-04 Andrey Kiselev <[email protected]> 2377 2378 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 2379 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 2380 should be uint32 value. 2381 23822006-01-02 Bob Friesenhahn <[email protected]> 2383 2384 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 2385 be used if build directory is not the same as source directory. 2386 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 2387 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 2388 and re-sorted tag names in alphabetical order. 2389 23902005-12-29 Andrey Kiselev <[email protected]> 2391 2392 * libtiff 3.8.0 released. 2393 23942005-12-28 Bob Friesenhahn <[email protected]> 2395 2396 * tools/bmp2tiff.c (main): Fixed warning regarding returning 2397 inconsistent types from a condition. 2398 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 2399 format. 2400 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 2401 24022005-12-28 Joris Van Damme <[email protected]> 2403 2404 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 2405 24062005-12-27 Andrey Kiselev <[email protected]> 2407 2408 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 2409 windows.h, to reduce the compile time. 2410 24112005-12-26 Bob Friesenhahn <[email protected]> 2412 2413 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 2414 24152005-12-26 Andrey Kiselev <[email protected]> 2416 2417 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 2418 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 2419 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 2420 private functions to retrieve FieldInfo arrays. 2421 24222005-12-24 Bob Friesenhahn <[email protected]> 2423 2424 * html/build.html: Added some additional instructions for when 2425 building using MSVC under Windows. Also fixed two HTML syntax 2426 errors and used HTML Tidy to tidy up the HTML syntax and 2427 formatting. 2428 24292005-12-24 Andrey Kiselev <[email protected]> 2430 2431 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 2432 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 2433 StoNits tags custom. 2434 24352005-12-23 Andrey Kiselev <[email protected]> 2436 2437 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 2438 WhitePoint tag custom. 2439 2440 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 2441 24422005-12-23 Joris Van Damme <[email protected]> 2443 2444 * libtiff/tiffio.h: fixed typo that potentially resulted in 2445 redefininition of USE_WIN32_FILEIO 2446 2447 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 2448 calls in core LibTiff. 2449 24502005-12-21 Andrey Kiselev <[email protected]> 2451 2452 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 2453 Photoshop and ICCProfile tags custom. 2454 24552005-12-21 Joris Van Damme <[email protected]> 2456 2457 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 2458 newer code to get context indicator in error handler and still 2459 remain compatible with older code: Done TIFFError calls everywhere 2460 except in tools 2461 24622005-12-20 Andrey Kiselev <[email protected]> 2463 2464 * tools/tiffcp.c: Added many error reporting messages; fixed integer 2465 overflow as per bug 2466 2467 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 2468 24692005-12-16 Frank Warmerdam <[email protected]> 2470 2471 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 2472 YCbCr images in jpeg compressed TIFF files. 2473 24742005-12-14 Andrey Kiselev <[email protected]> 2475 2476 * tools/tiffcp.c: Return non-zero status when reading fails (again). 2477 24782005-12-13 Andrey Kiselev <[email protected]> 2479 2480 * tools/tiffcp.c: Return non-zero status when reading fails. 2481 24822005-12-12 Andrey Kiselev <[email protected]> 2483 2484 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 2485 24862005-12-09 Andrey Kiselev <[email protected]> 2487 2488 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 2489 custom. 2490 2491 * tools/tiffinfo.c: Print EXIF directory contents if exist. 2492 2493 * libtiff/tiff.h: Few EXIF tag numbers added. 2494 2495 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 2496 tiffio.h}: Preliminary support to read custom directories. New 2497 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 2498 24992005-12-07 Andrey Kiselev <[email protected]> 2500 2501 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 2502 More work to implement custom directory read support. 2503 2504 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 2505 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 2506 tags custom. 2507 25082005-12-05 Andrey Kiselev <[email protected]> 2509 2510 * libtiff/tif_dirread.c: One more workaround for broken 2511 StripByteCounts tag. Handle the case when StripByteCounts array filled 2512 with completely wrong values. 2513 25142005-11-30 Andrey Kiselev <[email protected]> 2515 2516 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 2517 in the TIFFOpenW() function as per bug 2518 2519 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 2520 2521 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 2522 functions as per bug 2523 2524 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 2525 25262005-11-20 Frank Warmerdam <[email protected]> 2527 2528 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 2529 for MS MDI format. 2530 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 2531 2532 * .cvsignore: many files added, and a few update according 2533 to suggestion of Brad HArds on tiff mailing list. 2534 25352005-11-03 Frank Warmerdam <[email protected]> 2536 2537 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 2538 public. 2539 25402005-10-31 Andrey Kiselev <[email protected]> 2541 2542 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 2543 as per bug 2544 2545 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 2546 2547 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 2548 as per bug 2549 2550 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 2551 2552 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 2553 problem as per bug 2554 2555 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 2556 2557 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 2558 2559 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 2560 2561 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 2562 ResolutionUnit tags modifiable during write process. As per bug 2563 2564 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 2565 2566 * tools/tiffsplit.c: Copy fax related fields over splitted parts 2567 as per bug 2568 2569 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 2570 25712005-10-21 Frank Warmerdam <[email protected]> 2572 2573 * tif_dirread.c: Don't try and split single strips into "0" strips 2574 in ChopUpSingleUncompressedStrip. This happens in some degenerate 2575 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 2576 25772005-10-20 Joris Van Damme <[email protected]> 2578 2579 * tif_fax3.c: changed 'at scanline ...' style warning/errors 2580 with incorrect use of tif_row, to 'at line ... of 2581 strip/tile ...' style 2582 25832005-10-15 Frank Warmerdam <[email protected]> 2584 2585 * tif_write.c: fixed setting of planarconfig as per bug report 2586 on the mailing list from Joris. 2587 25882005-10-07 Andrey Kiselev <[email protected]> 2589 2590 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 2591 tif_dirread.c}: Make the default strip size configurable via the 2592 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 2593 25942005-09-30 Bob Friesenhahn <[email protected]> 2595 2596 * html/support.html: Fixed link to documentation on Greg Ward's 2597 LogLuv TIFF format. 2598 25992005-09-28 Andrey Kiselev <[email protected]> 2600 2601 * tools/tiffdump.c: Fixed crash when reading malformed tags. 2602 26032005-09-20 Andrey Kiselev <[email protected]> 2604 2605 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 2606 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 2607 26082005-09-12 Andrey Kiselev <[email protected]> 2609 2610 * libtiff 3.7.4 released. 2611 2612 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 2613 from Patrick Welche (all scripts moved in the 'config' and 'm4' 2614 directories). 2615 26162005-09-12 Frank Warmerdam <[email protected]> 2617 2618 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 2619 26202005-09-05 Frank Warmerdam <[email protected]> 2621 2622 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 2623 also set it to NULL to avoid double free when re-setting custom 2624 string fields as per: 2625 2626 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 2627 26282005-08-12 Frank Warmerdam <[email protected]> 2629 2630 * libtiff/tif_print.c: avoid signed/unsigned warning. 2631 2632 * libtiff/tif_dirread.c: removed unused variable. 2633 26342005-07-30 Frank Warmerdam <[email protected]> 2635 2636 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 2637 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 2638 pass on bigendian (macosx) system. 2639 26402005-07-28 Andrey Kiselev <[email protected]> 2641 2642 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 2643 CheckMalloc() function to _TIFFCheckMalloc() and make it available 2644 globally as an internal helper routine. 2645 26462005-07-27 Andrey Kiselev <[email protected]> 2647 2648 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 2649 the custom tags handling code. 2650 26512005-07-26 Andrey Kiselev <[email protected]> 2652 2653 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 2654 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 2655 function, use TIFFFetchNormalTag() instead as per bug 2656 2657 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 2658 2659 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 2660 instead. 2661 2662 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 2663 2664 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2665 26662005-07-25 Andrey Kiselev <[email protected]> 2667 2668 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 2669 2670 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 2671 26722005-07-21 Andrey Kiselev <[email protected]> 2673 2674 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 2675 the TIFFWriteCheck() function in case of single band images (as per 2676 TIFF spec). 2677 26782005-07-12 Andrey Kiselev <[email protected]> 2679 2680 * SConstruct, libtiff/SConstruct: Added the first very preliminary 2681 support for SCons software building tool (http://www.scons.org/). 2682 This is experimental infrastructure and it will exist along with the 2683 autotools mechanics. 2684 26852005-07-07 Andrey Kiselev <[email protected]> 2686 2687 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 2688 the NetBSD source tree (the old 4-clause BSD license changed to 2689 the new 3-clause one). 2690 2691 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 2692 replacement module. 2693 2694 * port/dummy.c: Make the dummy function static. 2695 26962005-07-06 Andrey Kiselev <[email protected]> 2697 2698 * tools/tiffcp.c: Fixed WhitePoint tag copying. 2699 2700 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 2701 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 2702 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 2703 27042005-07-04 Andrey Kiselev <[email protected]> 2705 2706 * libtiff 3.7.3 released. 2707 2708 * configure, configure.ac: Do not use empty -R option when linking 2709 with --enable-rpath. 2710 27112005-07-01 Andrey Kiselev <[email protected]> 2712 2713 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 2714 reading the first IFD when needed. As per bug 2715 2716 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 2717 2718 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 2719 effects. 2720 27212005-06-23 Andrey Kiselev <[email protected]> 2722 2723 * tools/tiff2pdf.c: Print two characters per loop in the 2724 t2p_write_pdf_trailer(). As per bug 2725 2726 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 2727 2728 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 2729 per bug 2730 2731 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 2732 2733 * acinclude.m4: Updated to latest OpenGL test macros versions. 2734 2735 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 2736 platform. As per bug 2737 2738 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 2739 27402005-06-14 Andrey Kiselev <[email protected]> 2741 2742 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 2743 and YClipPathUnits tags. 2744 27452005-06-07 Andrey Kiselev <[email protected]> 2746 2747 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 2748 use pixel sized shift in contigous case. 2749 27502005-06-06 Andrey Kiselev <[email protected]> 2751 2752 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 2753 Make overviews working for contiguos images. 2754 27552005-06-03 Andrey Kiselev <[email protected]> 2756 2757 * libtiff/tif_open.c: Replace runtime endianess check with the compile 2758 time one. 2759 2760 * libtiff/tif_predict.c: Floating point predictor now works on 2761 big-endian hosts. 2762 27632005-06-01 Andrey Kiselev <[email protected]> 2764 2765 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 2766 ASCII values. 2767 2768 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 2769 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 2770 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 2771 TargetPrinter tags custom. 2772 2773 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 2774 TIFF_CODERSETUP flag (to fix memry leaks). 2775 2776 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 2777 allocating. 2778 27792005-05-26 Andrey Kiselev <[email protected]> 2780 2781 * configure.ac, libtiff/Makefile.am: Added workaround for 2782 OpenBSD/MirOS soname problem as per bug 2783 2784 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 2785 2786 * libtiff/tif_dirwrite.c: Use tdir_count when calling 2787 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 2788 per bug 2789 2790 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 2791 27922005-05-25 Andrey Kiselev <[email protected]> 2793 2794 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 2795 the fscanf() function. As per bug 2796 2797 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 2798 2799 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 2800 uint16 array when fetching the BYTE and SBYTE filds, so we should 2801 consider result as pointer to uint16 array and not as array of chars. 2802 As per bug 2803 2804 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 2805 2806 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 2807 2808 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 2809 2810 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 2811 mode in CreateFile() call as per bug 2812 2813 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 2814 2815 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 2816 libtiffxx libraries as per bug 2817 2818 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 2819 2820 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 2821 GDAL. 2822 28232005-05-23 Frank Warmerdam <[email protected]> 2824 2825 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 2826 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 2827 in directory. 2828 28292005-05-22 Frank Warmerdam <[email protected]> 2830 2831 * libtiff/tif_dirread.c: Changed the code that computes 2832 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 2833 zero. This is a common case with GDAL indicating a "null" tile/strip. 2834 28352005-05-17 Andrey Kiselev <[email protected]> 2836 2837 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 2838 28392005-05-06 Frank Warmerdam <[email protected]> 2840 2841 * libtiff/tif_dirread.c: Applied similar change to 2842 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 2843 2844 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 2845 2846 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 2847 28482005-05-06 Andrey Kiselev <[email protected]> 2849 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 2850 added new option '-b' to use interpolation in output PDF files (Bruno 2851 Ledoux). 2852 28532005-05-05 Frank Warmerdam <[email protected]> 2854 2855 * libtiff/tif_dirread.c: Ensure that broken files with too many 2856 values in PerSampleShorts work ok instead of crashing. 2857 2858 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 2859 28602005-04-27 Andrey Kiselev <[email protected]> 2861 2862 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 2863 input file. 2864 28652005-04-15 Andrey Kiselev <[email protected]> 2866 2867 * libtiff/tif_predict.c: Added ability to encode floating point 2868 predictor, as per TIFF Technical Note 3. 2869 28702005-04-14 Andrey Kiselev <[email protected]> 2871 2872 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 2873 floating point predictor, as per TIFF Technical Note 3. 2874 28752005-04-13 Andrey Kiselev <[email protected]> 2876 2877 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 2878 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 2879 swap 24-bit floating point values. 2880 2881 * libtiff/tiff.h: Added predictor constants. 2882 28832005-04-08 Andrey Kiselev <[email protected]> 2884 2885 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 2886 values in _TIFFVSetField() function. Inspired by the bug 2887 2888 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 2889 2890 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 2891 as per bug 2892 2893 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 2894 28952005-03-30 Andrey Kiselev <[email protected]> 2896 2897 * libtiff/tif_open.c: Do not read header in case the output file 2898 should be truncated (Ron). 2899 2900 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 2901 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 2902 2903 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 2904 29052005-03-22 Andrey Kiselev <[email protected]> 2906 2907 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 2908 rpath option. 2909 29102005-03-21 Andrey Kiselev <[email protected]> 2911 2912 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 2913 tags. 2914 29152005-03-18 Andrey Kiselev <[email protected]> 2916 2917 * libtiff/dirinfo.c: Added DNG tags. 2918 2919 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 2920 handling code. 2921 2922 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 2923 added DNG 1.1.0.0 tags. 2924 2925 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 2926 bug 2927 2928 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 2929 2930 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 2931 29322005-03-17 Andrey Kiselev <[email protected]> 2933 2934 * nmake.opt: Build with Win32 CRT library by default. 2935 2936 * tools/tiff2ps.c: Fixed typo in page size handling code. 2937 2938 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 2939 by value. 2940 2941 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 2942 29432005-03-15 Andrey Kiselev <[email protected]> 2944 2945 * libtiff 3.7.2 released. 2946 29472005-03-09 Andrey Kiselev <[email protected]> 2948 2949 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 2950 floating point data; complain on unsupported bit depths. 2951 29522005-03-05 Andrey Kiselev <[email protected]> 2953 2954 * tif_stream.cxx: Use ios namespace instead of ios_base to support 2955 GCC 2.95. 2956 2957 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 2958 Lee Howard for HylaFax DCS tag 2959 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 2960 29612005-03-04 Andrey Kiselev <[email protected]> 2962 2963 * configure, configure.ac: Use -rpath option instead of -R as per bug 2964 2965 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 2966 2967 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 2968 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 2969 software. As per bug 2970 2971 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 2972 2973 * nmake.opt, html/build.html: Add more comments, change the config 2974 file organization a bit as per bug 2975 2976 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 2977 2978 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 2979 as per bug 2980 2981 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 2982 29832005-03-03 Andrey Kiselev <[email protected]> 2984 2985 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 2986 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 2987 2988 * tools/fax2ps.c: Replace insecure mktemp() function with the 2989 tmpfile() as per bug 2990 2991 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 2992 29932005-02-04 Andrey Kiselev <[email protected]> 2994 2995 * libtiff/tiff.h: Changed the int8 definition to be always signed char 2996 as per bug 2997 2998 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2999 3000 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 3001 block as per bug 3002 3003 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 3004 30052005-02-03 Bob Friesenhahn <[email protected]> 3006 3007 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 3008 display more correctly. Images display brighter than they should 3009 on a Sun workstation. 3010 30112005-02-03 Andrey Kiselev <[email protected]> 3012 3013 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 3014 suspicious values in the tags. As per bugs 3015 3016 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 3017 3018 and 3019 3020 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 3021 3022 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 3023 3024 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 3025 30262005-01-31 Bob Friesenhahn <[email protected]> 3027 3028 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 3029 (TIFFTAG_TILELENGTH): Corrected description. 3030 30312005-01-30 Andrey Kiselev <[email protected]> 3032 3033 * configure.ac: Fixes for --with-docdir option as per bug 3034 3035 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 3036 3037 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 3038 bug 3039 3040 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 3041 3042 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 3043 Michael Rinne and Edward Lam. 3044 30452005-01-15 Andrey Kiselev <[email protected]> 3046 3047 * configure.ac: Make the documentation directory location configurable 3048 via the --with-docdir option (as suggested by Jeremy C. Reed). 3049 3050 * libtiff/tif_color.c: Use double as the second argument of pow() 3051 function in TIFFCIELabToRGBInit(). As per bug 3052 3053 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 3054 3055 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 3056 integer as per bug 3057 3058 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 3059 3060 * libtiff/tif_getimage.c: Always fill the error message buffer in 3061 TIFFRGBAImageBegin() as per bug 3062 3063 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 3064 30652005-01-12 Andrey Kiselev <[email protected]> 3066 3067 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 3068 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 3069 tags as per bug 3070 3071 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 3072 3073 * libtiff/tif_win32.c: Fixed message formatting in functions 3074 Win32WarningHandler() and Win32ErrorHandler() as per bug 3075 3076 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 3077 3078 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 3079 per bug 3080 3081 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 3082 30832005-01-11 Andrey Kiselev <[email protected]> 3084 3085 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 3086 "C"' section as per bug 3087 3088 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 3089 3090 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 3091 compiler to avoid double definition of BSD types as per bug 3092 3093 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3094 3095 * libtiff/Makefile.am: Place the C++ stream API in the separate 3096 library called libtiffxx to avoid unneeded dependencies. Probably 3097 there will be more C++ API in the future. As per bugs 3098 3099 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 3100 3101 and 3102 3103 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 3104 31052005-01-05 Andrey Kiselev <[email protected]> 3106 3107 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 3108 wrong tag counts (Dmitry V. Levin, Martin Pitt). 3109 3110 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 3111 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 3112 31132004-12-25 Andrey Kiselev <[email protected]> 3114 3115 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 3116 RGB-images as per bug 3117 3118 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 3119 3120 3121 * tools/tiffset.c: Convert character option to integer value as per 3122 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 3123 31242004-12-20 Andrey Kiselev <[email protected]> 3125 3126 * libtiff 3.7.1 released. 3127 3128 * html/tiffset.1.html: Add missed manual page as per bug 3129 3130 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 3131 3132 * libtiff/tiff.h: Revert back libtiff data type definitions as per 3133 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 3134 31352004-12-19 Andrey Kiselev <[email protected]> 3136 3137 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 3138 checking for tag count in TIFFReadDirectory() function. As per bug 3139 3140 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 3141 3142 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 3143 CheckMallock() function. 3144 3145 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 3146 RGB-images as per bug 3147 3148 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 3149 31502004-12-15 Frank Warmerdam <[email protected]> 3151 3152 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 3153 SunPro compiler. 3154 31552004-12-11 Bob Friesenhahn <[email protected]> 3156 3157 * autogen.sh: aclocal and autoheader should be executed after 3158 libtoolize. Also add '-I .' to aclocal invocation to check 3159 current directory for macros. 3160 31612004-12-10 Andrey Kiselev <[email protected]> 3162 3163 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 3164 as per bugs 3165 3166 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 3167 3168 and 3169 3170 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 3171 31722004-12-04 Andrey Kiselev <[email protected]> 3173 3174 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 3175 3176 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3177 3178 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 3179 mode as per bug 3180 3181 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3182 3183 * libtiff/tif_config.in.vc: Removed unneded definitions for 3184 read/open/close/lseek functions to fix the 3185 3186 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 3187 31882004-12-03 Andrey Kiselev <[email protected]> 3189 3190 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 3191 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 3192 must be removed in the future, as it was never used properly. As per 3193 bug 3194 3195 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 3196 31972004-11-30 Bob Friesenhahn <[email protected]> 3198 3199 * libtiff/tif_jpeg.c: Added a work-around in order to allow 3200 compilation with the heavily modified version of libjpeg delivered 3201 with Cygwin. 3202 32032004-11-29 Andrey Kiselev <[email protected]> 3204 3205 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 3206 counts. As per bug 3207 3208 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 3209 3210 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 3211 3212 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 3213 32142004-11-28 Andrey Kiselev <[email protected]> 3215 3216 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 3217 on Windows. 3218 3219 * nmake.opt: Add missed DLLNAME variable. 3220 32212004-11-26 Frank Warmerdam <[email protected]> 3222 3223 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 3224 32252004-11-24 Andrey Kiselev <[email protected]> 3226 3227 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 3228 per bug 3229 3230 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 3231 3232 * man/tiffset.1: Added manual page for tiffset tool written by Jay 3233 Berkenbilt. As per bug 3234 3235 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 3236 32372004-11-23 Frank Warmerdam <[email protected]> 3238 3239 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 3240 32412004-11-21 Frank Warmerdam <[email protected]> 3242 3243 * html/document.html: Updated Adobe web links as per email from Joris. 3244 32452004-11-21 Andrey Kiselev <[email protected]> 3246 3247 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 3248 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 3249 use C++ streams should #include <tiffio.hxx>. 3250 32512004-11-13 Andrey Kiselev <[email protected]> 3252 3253 * libtiff/tiff.h: Added Adobe DNG tags. 3254 3255 * libtiff/tif_win32.c: Typo fixed. 3256 3257 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 3258 be compliant with the latest standard. Appropriate additions in 3259 makefiles now completed. 3260 32612004-11-11 Andrey Kiselev <[email protected]> 3262 3263 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 3264 different tag types. As per bug 3265 3266 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 3267 32682004-11-10 Andrey Kiselev <[email protected]> 3269 3270 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 3271 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 3272 32732004-11-09 Andrey Kiselev <[email protected]> 3274 3275 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 3276 32772004-11-07 Andrey Kiselev <[email protected]> 3278 3279 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 3280 contributed by Edward Lam (see 3281 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 3282 Though no changes in any makefiles yet. 3283 32842004-11-05 Frank Warmerdam <[email protected]> 3285 3286 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 3287 is bad. This is the callers responsibility. 3288 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 3289 32902004-11-05 Andrey Kiselev <[email protected]> 3291 3292 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 3293 function to work with the double byte strings (used to represent 3294 filenames in some locales). As per bug 3295 3296 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 3297 3298 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 3299 Compression tags of type LONG from broken TIFFS as per bug 3300 3301 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 3302 3303 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 3304 the writecount should have uint32 type. As per bug 3305 3306 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 3307 3308 * libtiff/tif_write.c: Fixed wrong if() statement in 3309 TIFFAppendToStrip() function as per bug 3310 3311 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 3312 33132004-11-04 Andrey Kiselev <[email protected]> 3314 3315 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 3316 field. The caller should supply a count when setting this field. As 3317 per bug 3318 3319 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 3320 3321 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 3322 uint32 count. Use this type everywhere. 3323 33242004-11-03 Frank Warmerdam <[email protected]> 3325 3326 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 3327 33282004-11-02 Frank Warmerdam <[email protected]> 3329 3330 * tools/tiff2rgba.c: removed extra newlines in usage message. 3331 33322004-10-30 Andrey Kiselev <[email protected]> 3333 3334 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 3335 3336 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 3337 tags (Tristan Hill). 3338 33392004-10-30 Frank Warmerdam <[email protected]> 3340 3341 * libtiff/tiffiop.h: added fallback definition of assert() if we 3342 don't have assert.h. 3343 33442004-10-29 Andrey Kiselev <[email protected]> 3345 3346 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 3347 choosing when the incorrect Group4Options tag set. As per bug 3348 3349 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 3350 3351 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 3352 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 3353 TIFFWriteNormalTag(). 3354 33552004-10-28 Andrey Kiselev <[email protected]> 3356 3357 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 3358 tags (Peter Fales). 3359 3360 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 3361 33622004-10-28 Frank Warmerdam <[email protected]> 3363 3364 * tools/tiff2pdf.c: added casts to avoid warnings. 3365 3366 * libtiff/libtiff.def: Added several more entry points required 3367 to link fax2tiff.c against the DLL on windows. 3368 33692004-10-27 Andrey Kiselev <[email protected]> 3370 3371 * configure, configure.ac: Added --enable-rpath option to embed linker 3372 paths into library binary. 3373 33742004-10-26 Andrey Kiselev <[email protected]> 3375 3376 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 3377 3378 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 3379 (Vladimir Nadvornik, Dmitry V. Levin). 3380 33812004-10-16 Andrey Kiselev <[email protected]> 3382 3383 * libtiff 3.7.0 released. 3384 33852004-10-15 Bob Friesenhahn <[email protected]> 3386 3387 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 3388 in this file so its inclusion is removed. Including stdio.h 3389 sometimes incurs an INT32 typedef conflict between MinGW's 3390 basetsd.h and libjpeg's jmorecfg.h. 3391 33922004-10-15 Andrey Kiselev <[email protected]> 3393 3394 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 3395 33962004-10-13 Bob Friesenhahn <[email protected]> 3397 3398 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 3399 conflict noticed under MinGW. 3400 * ltmain.sh: Fix for MinGW compilation. 3401 34022004-10-13 Frank Warmerdam <[email protected]> 3403 3404 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 3405 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 3406 34072004-10-12 Andrey Kiselev <[email protected]> 3408 3409 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 3410 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 3411 properly (Dmitry V. Levin, Marcus Meissner). 3412 34132004-10-11 Andrey Kiselev <[email protected]> 3414 3415 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 3416 to TIFF_IFD. 3417 34182004-10-10 Andrey Kiselev <[email protected]> 3419 3420 * tools/bmp2tif.c: Check the space allocation results. 3421 34222004-10-09 Andrey Kiselev <[email protected]> 3423 3424 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 3425 of the TIFFDirectory structure with the 0 instead of -1 to avoid 3426 confusing integer overflows in TIFFTileRowSize() for striped images. 3427 3428 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 3429 by Ross A. Finlayson. 3430 3431 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 3432 3433 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 3434 34352004-10-08 Frank Warmerdam <[email protected]> 3436 3437 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 3438 of tif_fieldinfo. 3439 3440 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 3441 34422004-10-04 Bob Friesenhahn <[email protected]> 3443 3444 * contrib/iptcutil/README: Added the missing README which goes 3445 along with iptcutil. 3446 34472004-10-03 Andrey Kiselev <[email protected]> 3448 3449 * libtiff/tif_compress.c: Improved error reporting in 3450 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 3451 34522004-10-02 Andrey Kiselev <[email protected]> 3453 3454 * libtiff 3.7.0beta2 released. 3455 3456 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 3457 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 3458 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 3459 allocations and integer overflows (Dmitry V. Levin). 3460 3461 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 3462 34632004-10-01 Frank Warmerdam <[email protected]> 3464 3465 * libtiff/tif_open.c: added a more informative message if a BigTIFF 3466 file is opened. 3467 34682004-09-30 Frank Warmerdam <[email protected]> 3469 3470 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 3471 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 3472 in the Adobe XMP Specification. 3473 34742004-09-29 Andrey Kiselev <[email protected]> 3475 3476 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 3477 memset(). 3478 3479 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 3480 from Dmitry V. Levin to fix possible integer overflow problems. 3481 34822004-09-28 Andrey Kiselev <[email protected]> 3483 3484 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 3485 (Dmitry V. Levin). 3486 34872004-09-26 Andrey Kiselev <[email protected]> 3488 3489 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 3490 Optimize checking for the strip bounds. 3491 3492 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 3493 TIFFRasterScanlineSize() functions report zero in the case of integer 3494 overflow now. Properly handle this case in TIFFReadDirectory() 3495 (patches from Dmitry V. Levin). 3496 34972004-09-25 Andrey Kiselev <[email protected]> 3498 3499 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 3500 macro where appropriate. 3501 3502 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 3503 noted by Gennady Khokhorin. 3504 3505 * libtiff/tif_dirread.c: Always check the return values, returned 3506 by the _TIFFmalloc() (Dmitry V. Levin). 3507 3508 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 3509 functions (Dmitry V. Levin). 3510 3511 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 3512 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 3513 TIFFGrowStrips() (found by Dmitry V. Levin). 3514 35152004-09-24 Andrey Kiselev <[email protected]> 3516 3517 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 3518 to get the list of configured codecs. 3519 3520 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 3521 Dmitry V. Levin. 3522 35232004-09-23 Andrey Kiselev <[email protected]> 3524 3525 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 3526 possible integer overflow in CheckMalloc() function. 3527 35282004-09-22 Andrey Kiselev <[email protected]> 3529 3530 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 3531 of plain TIFFhowmany() where appropriate. 3532 35332004-09-21 Andrey Kiselev <[email protected]> 3534 3535 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 3536 35372004-09-19 Andrey Kiselev <[email protected]> 3538 3539 * libtiff 3.7.0beta released. 3540 3541 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 3542 overruns fixed, as noted by Chris Evans. 3543 35442004-09-14 Bob Friesenhahn <[email protected]> 3545 3546 * commit: Added a script to make it more convenient to commit 3547 updates. The CVS commit message is extracted from this ChangeLog 3548 file. 3549 35502004-09-14 Andrey Kiselev <[email protected]> 3551 3552 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 3553 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 3554 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 3555 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 3556 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 3557 tif_config.h.in, tiffiop.h}: 3558 Get rid of BSD data types (u_char, u_short, u_int, u_long). 3559 35602004-09-13 Bob Friesenhahn <[email protected]> 3561 3562 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 3563 specification. Reference libtiff bug tracking system to submit 3564 private tag additions. 3565 35662004-09-12 Bob Friesenhahn <[email protected]> 3567 3568 * tools/tiffgt.c: Include "tif_config.h". 3569 3570 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 3571 tiffgt. This results in the 'compile' script being added to the 3572 project. 3573 3574 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 3575 required to find OpenGL headers necessary to build tiffgt. Also 3576 ensure that the libtiff that we built is used rather than some other 3577 libtiff installed on the system. 3578 35792004-09-12 Andrey Kiselev <[email protected]> 3580 3581 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 3582 libraries. 3583 35842004-09-11 Bob Friesenhahn <[email protected]> 3585 3586 * configure.ac: Pass library configuration defines via 3587 tif_config.h rather than extending CPPFLAGS. Configure a 3588 libtiff/tiffconf.h in order to satisfy application requirements 3589 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 3590 this causes failure to build on systems which properly respect 3591 this request. 3592 3593 * libtiff/tiffconf.h.in: New file to act as the template for the 3594 configured tiffconf.h 3595 3596 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 3597 35982004-09-10 Frank Warmerdam <[email protected]> 3599 3600 * html/internals.html: Split off a discussion of adding new tags 3601 into addingtags.html. 3602 36032004-09-10 Andrey Kiselev <[email protected]> 3604 3605 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 3606 3607 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 3608 3609 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3610 3611 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 3612 3613 * libtiff/tif_dirread.c: Don't reject to read tags of the 3614 SamplesPerPixel size when the tag count is greater than number of 3615 samples as per bug 3616 3617 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 3618 3619 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 3620 defining int8/uint8/... etc. types. As per bug 3621 3622 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 3623 36242004-09-09 Frank Warmerdam <[email protected]> 3625 3626 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 3627 to avoid compile warnings about getopt() and a few other things. 3628 36292004-09-02 Andrey Kiselev <[email protected]> 3630 3631 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 3632 assigning magic in TIFFFetchFloat(). 3633 36342004-09-01 Andrey Kiselev <[email protected]> 3635 3636 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 3637 to avoid requirement for tiffiop.h inclusion in some applications. See 3638 here 3639 3640 http://www.asmail.be/msg0054799560.html 3641 3642 for details. 3643 3644 * tools/fax2tiff.c: Use the new functions in the code. 3645 36462004-08-25 Andrey Kiselev <[email protected]> 3647 3648 * tools/tiff2pdf.c: Initialize arrays properly. 3649 3650 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 3651 properly initialize array in PSDataBW(). 3652 36532004-08-24 Andrey Kiselev <[email protected]> 3654 3655 * tools/tiff2pdf.c: More fixes for bug 3656 3657 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3658 3659 from Ross Finlayson. 3660 36612004-08-23 Andrey Kiselev <[email protected]> 3662 3663 * tools/tiff2ps.c: Fixed problem with uninitialized values. 3664 3665 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 3666 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 3667 3668 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 3669 3670 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3671 36722004-08-20 Andrey Kiselev <[email protected]> 3673 3674 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 3675 that the input file has compression, photometric interpretation, 3676 etcetra, tags or if not than a more descriptive error is returned. 3677 3678 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 3679 code, responsible for tag data type checking. 3680 36812004-08-19 Andrey Kiselev <[email protected]> 3682 3683 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 3684 variable as per bug 3685 3686 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 3687 36882004-08-16 Andrey Kiselev <[email protected]> 3689 3690 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 3691 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 3692 36932004-08-01 Andrey Kiselev <[email protected]> 3694 3695 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 3696 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 3697 36982004-07-24 Andrey Kiselev <[email protected]> 3699 3700 * libtiff/tif_lzw.c: LZW compression code is merged back from the 3701 separate package. All libtiff tools are updated to not advertise an 3702 abcence of LZW support. 3703 37042004-07-12 Andrey Kiselev <[email protected]> 3705 3706 * libtiff/tiffio.h: Revert thandle_t back to void* type. 3707 37082004-07-11 Andrey Kiselev <[email protected]> 3709 3710 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 3711 messages, as suggested by Bernd Herd. 3712 37132004-07-03 Andrey Kiselev <[email protected]> 3714 3715 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 3716 when setting custom tags by value. Reported by Eric Fieleke. 3717 37182004-06-14 Andrey Kiselev <[email protected]> 3719 3720 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 3721 37222004-06-08 Andrey Kiselev <[email protected]> 3723 3724 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 3725 into TIFFs. 3726 37272004-06-07 Andrey Kiselev <[email protected]> 3728 3729 * libtiff 3.7.0alpha released. 3730 37312004-06-06 Andrey Kiselev <[email protected]> 3732 3733 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 3734 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 3735 ones :-). 3736 3737 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 3738 problems in 64-bit environment). 3739 37402004-06-05 Andrey Kiselev <[email protected]> 3741 3742 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 3743 Tags can be supplied by the mnemonic name or number. 3744 3745 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 3746 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 3747 37482004-05-27 Andrey Kiselev <[email protected]> 3749 3750 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 3751 markers as per bug 3752 3753 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 3754 37552004-05-24 Andrey Kiselev <[email protected]> 3756 3757 * tools/tiffsplit.c: Don't forget to copy Photometric 3758 Interpretation tag. 3759 37602004-05-20 Andrey Kiselev <[email protected]> 3761 3762 * libtiff/{tif_open.c, tiffio.h}: New function added: 3763 TIFFIsBigEndian(). Function returns nonzero if given was file written 3764 in big-endian order. 3765 3766 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 3767 files. Now output files will be written using the same byte order 3768 flag as in the input image. See 3769 3770 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 3771 3772 for details. 3773 37742004-05-19 Frank Warmerdam <[email protected]> 3775 3776 * libtiff/tif_print.c: added (untested) support for printing 3777 SSHORT, SLONG and SRATIONAL fields. 3778 3779 * tools/tiffcp.c: close output file on normal exit. 3780 37812004-05-17 Andrey Kiselev <[email protected]> 3782 3783 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 3784 if compression type mismatches. See 3785 3786 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 3787 37882004-04-30 Andrey Kiselev <[email protected]> 3789 3790 * libtiff/tif_strip.c: Never return 0 from the 3791 TIFFNumberOfStrips(). 3792 37932004-04-29 Andrey Kiselev <[email protected]> 3794 3795 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 3796 store single SampleFormat value for multisampled images. See 3797 3798 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 3799 38002004-04-25 Andrey Kiselev <[email protected]> 3801 3802 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 3803 int16 and int32 types to avoid complains on some compilers. Details at 3804 3805 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3806 38072004-04-20 Andrey Kiselev <[email protected]> 3808 3809 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 3810 3811 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 3812 38132004-04-14 Andrey Kiselev <[email protected]> 3814 3815 * libtiff/tif_write.c: Allow in-place updating of the compressed 3816 images (don't work properly with all codecs). For details see GDAL bug 3817 3818 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 3819 38202004-04-06 Andrey Kiselev <[email protected]> 3821 3822 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 3823 in the Intergarph JPEG compressed TIFF images as per bug: 3824 3825 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 3826 38272004-04-04 Frank Warmerdam <[email protected]> 3828 3829 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 3830 via bad2. 3831 38322004-03-26 Andrey Kiselev <[email protected]> 3833 3834 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 3835 JPEG compression of grayscale images. 3836 3837 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 3838 present in the input image. 3839 38402004-03-19 Andrey Kiselev <[email protected]> 3841 3842 * {many}: The first attempt to switch to autotools. 3843 38442004-03-03 Andrey Kiselev <[email protected]> 3845 3846 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 3847 TIFFClientOpen() when the appropriate client functions was not 3848 supplied by user. 3849 38502004-03-02 Frank Warmerdam <[email protected]> 3851 3852 * tools/ycbcr.c: fixed main() declaration as per: 3853 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 3854 38552004-02-26 Andrey Kiselev <[email protected]> 3856 3857 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 3858 images. Reported by Artem Mirolubov. 3859 3860 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 3861 tag type in TIFFFetchNormalTag() as per bug 3862 3863 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 3864 38652004-02-17 Frank Warmerdam <[email protected]> 3866 3867 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 3868 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 3869 38702004-02-05 Andrey Kiselev <[email protected]> 3871 3872 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 3873 bug 3874 3875 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 3876 3877 But we need more work on fax codec to support update mode. 3878 38792004-01-30 Frank Warmerdam <[email protected]> 3880 3881 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 3882 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 3883 Scott Reynolds. 3884 38852004-01-29 Andrey Kiselev <[email protected]> 3886 3887 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 3888 and TIFFTAG_INDEXED as per bug 3889 3890 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 3891 3892 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 3893 NULL before proceeding further as per bug 3894 3895 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 3896 3897 Check results, returned by the TIFFFdOpen() before returning and close 3898 file if TIFFFdOpen() failed as per bug 3899 3900 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3901 3902 * libtiff/tif_open.c: More fixes for 3903 3904 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3905 39062004-01-28 Andrey Kiselev <[email protected]> 3907 3908 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 3909 TIFFCleanup() from the TIFFClose() in order to fix the bug 3910 3911 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3912 3913 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 3914 InkNames tag as per bug 3915 3916 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 3917 3918 Memory leak fixed. 3919 39202004-01-21 Frank Warmerdam <[email protected]> 3921 3922 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 3923 are field_passcount=TRUE properly. Arguably anonymous custom tags 3924 should be declared as passcount=FALSE, but I don't want to change 3925 that without a careful review. 3926 39272004-01-20 Andrey Kiselev <[email protected]> 3928 3929 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 3930 stripped image in TIFFWriteBufferSetup(). As per bug 3931 3932 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 3933 39342004-01-11 Andrey Kiselev <[email protected]> 3935 3936 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 3937 patch from Gerben Koopmans. 3938 3939 * libtiff/tif_dirread.c: Check field_passcount value before setting 3940 the value of undefined type, patch from Gerben Koopmans. 3941 39422004-01-02 Andrey Kiselev <[email protected]> 3943 3944 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 3945 non-RGB images. 3946 39472003-12-31 Andrey Kiselev <[email protected]> 3948 3949 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 3950 pointer passed. Patch supplied by Larry Grill. 3951 3952 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 3953 suggested by Jeremy C. Reed. 3954 39552003-12-26 Andrey Kiselev <[email protected]> 3956 3957 * libtiff 3.6.1 released. 3958 39592003-12-24 Andrey Kiselev <[email protected]> 3960 3961 * config.guess, config.sub: Updated from the recent upstream. 3962 39632003-12-22 Andrey Kiselev <[email protected]> 3964 3965 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 3966 More cleanups in color conversion interface, added appropriate manual 3967 page. 3968 39692003-12-19 Andrey Kiselev <[email protected]> 3970 3971 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 3972 per bug 3973 3974 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 3975 3976 * tools/tiff2ps.c: Added support for alpha channel. Fixes 3977 3978 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 3979 3980 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 3981 Interface for Lab->RGB color conversion is finally cleaned up. 3982 Added support for ReferenceBlackWhite tag handling when converted from 3983 YCbCr color space. The latter closes 3984 3985 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 3986 39872003-12-07 Andrey Kiselev <[email protected]> 3988 3989 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 3990 3991 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 3992 library. 3993 39942003-12-06 Andrey Kiselev <[email protected]> 3995 3996 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 3997 file and properly use it for CIE Lab->RGB transform. 3998 39992003-12-04 Andrey Kiselev <[email protected]> 4000 4001 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 4002 conversion routines now in the tif_color.c module. New function 4003 TIFFYCbCrtoRGB() available in TIFF API. 4004 4005 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 4006 40072003-12-03 Andrey Kiselev <[email protected]> 4008 4009 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 4010 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 4011 module. 4012 4013 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 4014 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 4015 Finally resolved problems with orientation handling. TIFFRGBAImage 4016 interface now properly supports all possible orientations, i.e. images 4017 will be flipped both in horizontal and vertical directions if 4018 required. 'Known bugs' section now removed from the appropriate manual 4019 pages. Closed bug entry: 4020 4021 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 4022 40232003-12-02 Andrey Kiselev <[email protected]> 4024 4025 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 4026 function calls as per bug 4027 4028 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 4029 40302003-11-28 Ross Finlayson <[email protected]> 4031 4032 * tools/tiff2pdf.c: Some bugs fixed. 4033 40342003-11-27 Andrey Kiselev <[email protected]> 4035 4036 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 4037 reported by Antonio Scuri. 4038 4039 * man/tiff2pdf.1: Few improvements in page layout. 4040 4041 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 4042 Added support fpr tiff2pdf manual page. 4043 40442003-11-26 Ross Finlayson <[email protected]> 4045 4046 * /man/tiff2pdf.1: File added to repository. 4047 40482003-11-26 Andrey Kiselev <[email protected]> 4049 4050 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 4051 Added support fpr tiff2pdf utility. 4052 40532003-11-25 Ross Finlayson <[email protected]> 4054 4055 * /tools/tiff2pdf.c: File added to repository. 4056 40572003-11-22 Andrey Kiselev <[email protected]> 4058 4059 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 4060 40612003-11-21 Andrey Kiselev <[email protected]> 4062 4063 * /tools/raw2tiff.c: #include <getopt.h> removed. 4064 4065 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 4066 sgigt utility removed and replaced with the completely rewritten 4067 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 4068 there is a lot of things to improve. 4069 4070 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 4071 extract the fields from the OJPEG files. Patch supplied by Ross 4072 Finlayson. 4073 4074 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 4075 Added new function TIFFIsCODECConfigured(), suggested by Ross 4076 Finlayson. 4077 40782003-11-18 Andrey Kiselev <[email protected]> 4079 4080 * libtiff/tif_dirinfo.c: Implemented binary search in 4081 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 4082 4083 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 4084 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 4085 40862003-11-17 Frank Warmerdam <[email protected]> 4087 4088 * tif_dirread.c: do not mark all anonymously defined tags to be 4089 IGNOREd. 4090 40912003-11-17 Andrey Kiselev <[email protected]> 4092 4093 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 4094 TIFFDataWidth() function insted of tiffDataWidth array. 4095 40962003-11-16 Andrey Kiselev <[email protected]> 4097 4098 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 4099 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 4100 41012003-11-15 Frank Warmerdam <[email protected]> 4102 4103 * Makefile.in: fixed missing backslash for tif_color.c in list. 4104 41052003-11-13 Andrey Kiselev <[email protected]> 4106 4107 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 4108 New color space conversion code: CIE L*a*b* 1976 images now supported 4109 by the TIFFRGBAImage interface. All introduced routines go to new 4110 module tif_color.c. Eventually all color conversion functions should 4111 be moved there. 4112 41132003-11-12 Andrey Kiselev <[email protected]> 4114 4115 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 4116 with the reverse byte order (it is reported by the magic header 4117 field). Problem reported by Andreas Wiesmann. 4118 4119 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 4120 calculation function. Guessing mechanics now documented in manual page. 4121 41222003-11-11 Andrey Kiselev <[email protected]> 4123 4124 * tools/raw2tiff.c: Implemented image size guessing using 4125 correlation coefficient calculation between two neighbour lines. 4126 41272003-11-09 Frank Warmerdam <[email protected]> 4128 4129 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 4130 planarconfig_contig case in TIFFComputeTile(). 4131 4132 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 4133 41342003-11-09 Andrey Kiselev <[email protected]> 4135 4136 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 4137 41382003-11-07 Andrey Kiselev <[email protected]> 4139 4140 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 4141 Added TIFFRawStripSize() function as suggested by Chris Hanson. 4142 41432003-11-03 Andrey Kiselev <[email protected]> 4144 4145 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 4146 per bug 4147 4148 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 4149 41502003-10-29 Andrey Kiselev <[email protected]> 4151 4152 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 4153 4154 * html/build.html: Added note about GNU make requirement. 4155 41562003-10-25 Andrey Kiselev <[email protected]> 4157 4158 * Makefile.in: Fixes in using MAKEFLAGS as per bug 4159 4160 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 4161 4162 * port/install.sh.in: Option -p added to the mkdir command to create 4163 all directory tree structure before installing. 4164 41652003-10-18 Andrey Kiselev <[email protected]> 4166 4167 * /tools/tiff2ps.c: #include <strings.h> replaced with the 4168 #include <string.h>. 4169 41702003-10-16 Andrey Kiselev <[email protected]> 4171 4172 * Makefile.in: Add an absolute path to the test_pics.sh call. 4173 41742003-10-12 Andrey Kiselev <[email protected]> 4175 4176 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 4177 typedefs. 4178 41792003-10-09 Andrey Kiselev <[email protected]> 4180 4181 * configure, libtiff/{Makefile.in, mkversion.c}: 4182 Relative buildings fixed. 4183 4184 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 4185 rule. 4186 41872003-10-07 Andrey Kiselev <[email protected]> 4188 4189 * Makefile.in: Added missed v3.6.0.html. 4190 4191 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 4192 ORIENTATION_BOTLEFT. 4193 41942003-10-04 Andrey Kiselev <[email protected]> 4195 4196 * 3.6.0 final release. 4197 41982003-10-03 Andrey Kiselev <[email protected]> 4199 4200 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 4201 function TIFFReadRGBAImageOriented() implemented to retrieve raster 4202 array with user-specified origin position as suggested by Jason Frank. 4203 See 4204 4205 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 4206 4207 for details. 4208 4209 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 4210 instead of TIFFReadRGBAImage(). 4211 4212 * tools/tiff2ps.c: Fixed possible endless loop as per bug 4213 4214 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 4215 42162003-09-30 Andrey Kiselev <[email protected]> 4217 4218 * libtiff/tif_dirread.c: Check field counter against number of fields 4219 in order to fix 4220 4221 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 4222 4223 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 4224 4225 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 4226 42272003-09-25 Andrey Kiselev <[email protected]> 4228 4229 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 4230 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 4231 4232 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 4233 42342003-09-23 Andrey Kiselev <[email protected]> 4235 4236 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 4237 4238 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4239 42402003-08-21 Andrey Kiselev <[email protected]> 4241 4242 * tools/tiffmedian.c: int declaration replaced with the uint32 to 4243 support large images as per bug 4244 4245 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 4246 42472003-08-12 Andrey Kiselev <[email protected]> 4248 4249 * libtiff/Makefile.in: Fixed problem with building in different 4250 directory. 4251 4252 * tools/tiff2ps.c: Added missing #include <strings.h>. 4253 4254 * libtiff/tif_dirwrite.c: More fixes for custom tags code 4255 from Ashley Dreier. 4256 42572003-08-07 Andrey Kiselev <[email protected]> 4258 4259 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 4260 Patch submitted by Balatoni Denes (with corrections from Tom 4261 Kacvinsky). 4262 4263 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 4264 being used. Reported by Tom Kacvinsky. 4265 4266 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 4267 reported by Ashley Dreier. 4268 4269 * libtiff/tif_print.c: Fixed problem with float tags reading, support 4270 for printing RATIONAL and BYTE tags added. 4271 42722003-08-05 Andrey Kiselev <[email protected]> 4273 4274 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 4275 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 4276 problems with predictor initialization. Remove O_RDONLY check during 4277 state block allocation to be able open LZW compressed files in update 4278 mode. 4279 4280 Problem exist for libtiff version of the tif_lzw.c module. One from 4281 lzw-compression-kit hasn't such troubles. 4282 42832003-08-04 Frank Warmerdam <[email protected]> 4284 4285 * libtiff/tif_write.c: modified tif_write.c so that the various 4286 encoded write functions use tif_postdecode() to apply byte order 4287 swapping (swab) to the application passed data buffer if the same 4288 would be done when reading. This allows us to write pixel data with 4289 more than 8 bits per sample to existing files of a non-native byte 4290 order. One side effect of this change is the applications buffer 4291 itself is altered in this case by the act of writing. 4292 4293 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 4294 42952003-07-25 Frank Warmerdam <[email protected]> 4296 4297 * libtiff/tif_open.c: avoid signed/unsigned casting warning 4298 initializing typemask as per patch from J.A. Strother. 4299 4300 * tools/tiffcp.c: fixed signed/unsigned casting warning. 4301 4302 * libtiff/tif_print.c: dos2unix conversion. 4303 4304 * tools/tiffsplit.c: increased the maximum number of pages that 4305 can be split. Patch provided by Andrew J. Montalenti. 4306 43072003-07-11 Andrey Kiselev <[email protected]> 4308 4309 * tools/raw2tiff.c: Added option `-p' to explicitly select color 4310 space of input image data. Closes 4311 4312 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 4313 43142003-07-08 Frank Warmerdam <[email protected]> 4315 4316 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 4317 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 4318 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 4319 avoid casting warning at /W4. 4320 43212003-07-03 Andrey Kiselev <[email protected]> 4322 4323 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 4324 43252003-06-30 Andrey Kiselev <[email protected]> 4326 4327 * libtiff/tif_pixarlog.c: Unused variables removed. 4328 4329 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 4330 EstimateStripByteCounts() as per bug 4331 4332 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4333 4334 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 4335 64-bit architectures as per bug 4336 4337 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 4338 4339 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 4340 unknown data type. 4341 43422003-06-19 Frank Warmerdam <[email protected]> 4343 4344 * libtiff/tif_print.c: fixed some serious bugs when printing 4345 custom tags ... almost certain to crash. 4346 4347 * libtiff/tif_dirread.c: Don't ignore custom fields that are 4348 autodefined. Not sure how this got to be like this. 4349 43502003-06-18 Andrey Kiselev <[email protected]> 4351 4352 * 3.6.0 Beta2 released. 4353 4354 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 4355 comparing as per bug 4356 4357 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 4358 4359 `-z' option now can be used to set the number of reported different 4360 bytes. 4361 43622003-06-09 Andrey Kiselev <[email protected]> 4363 4364 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 4365 to -r option to get the entire image as one strip. See 4366 4367 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4368 4369 for details. 4370 43712003-06-04 Andrey Kiselev <[email protected]> 4372 4373 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 4374 values as per bug 4375 4376 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4377 43782003-05-27 Frank Warmerdam <[email protected]> 4379 4380 * libtiff/tif_jpeg.c: modified segment_height calculation to always 4381 be a full height tile for tiled images. Also changed error to just 4382 be a warning. 4383 43842003-05-25 Andrey Kiselev <[email protected]> 4385 4386 * tools/fax2tiff.c: Page numbering fixed, as per bug 4387 4388 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 4389 43902003-05-20 Andrey Kiselev <[email protected]> 4391 4392 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4393 configure, Makefile.in: Switched back to the old behaviour. Likely 4394 better solution should be found for OJPEG support. 4395 43962003-05-11 Andrey Kiselev <[email protected]> 4397 4398 * libtiff/mkversion.c: Fixed problem with wrong string size when 4399 reading RELEASE-DATE file. 4400 44012003-05-07 Andrey Kiselev <[email protected]> 4402 4403 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 4404 index was out of range. 4405 44062003-05-06 Andrey Kiselev <[email protected]> 4407 4408 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4409 configure, Makefile.in: Improved libtiff compilation with OJPEG 4410 support. Now no need for patching IJG JPEG library, hack requred by 4411 libtiff will be compiled and used in-place. Implemented with 4412 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 4413 4414 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 4415 TIFFVGetFieldDefaulted() function. 4416 44172003-05-05 Andrey Kiselev <[email protected]> 4418 4419 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 4420 comments. 4421 4422 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 4423 was not copied from source image. 4424 4425 * libtiff/getimage.c: Workaround for some images without correct 4426 info about alpha channel as per bug 4427 4428 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 4429 44302003-04-29 Andrey Kiselev <[email protected]> 4431 4432 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 4433 It basically allows one to use the /flateDecode filter for ZIP 4434 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 4435 4436 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 4437 4438 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 4439 as per bug 4440 4441 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 4442 44432003-04-17 Andrey Kiselev <[email protected]> 4444 4445 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 4446 due to problems with multidirectory images. Quality of error messages 4447 improved. 4448 44492003-04-16 Andrey Kiselev <[email protected]> 4450 4451 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 4452 encoded images. See bug entries 4453 4454 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 4455 4456 and 4457 4458 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4459 4460 * libtiff/tif_dirread.c: Additional check for StripByteCounts 4461 correctness. Fixes 4462 4463 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 4464 44652003-03-12 Andrey Kiselev <[email protected]> 4466 4467 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 4468 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 4469 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 4470 tiffmedian.c}: Added library version reporting facility to all tools. 4471 44722003-03-06 Frank Warmerdam <[email protected]> 4473 4474 * port/install.sh.in: Fixed problems with install producing paths 4475 like ///usr/local/lib on cygwin. 4476 44772003-02-27 Andrey Kiselev <[email protected]> 4478 4479 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 4480 raw input page. Patch supplied by Julien Gaulmin. See 4481 4482 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 4483 4484 for details. 4485 44862003-02-26 Frank Warmerdam <[email protected]> 4487 4488 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 4489 responsible for byte swapping complex image data. 4490 4491 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 4492 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 4493 44942003-02-07 Andrey Kiselev <[email protected]> 4495 4496 * tools/ppm2tiff.c: Fixed problem with too many arguments. 4497 44982003-02-04 Andrey Kiselev <[email protected]> 4499 4500 * tools/raw2tiff.c: Memory leak fixed. 4501 45022003-02-03 Andrey Kiselev <[email protected]> 4503 4504 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 4505 (thanks, Julien!). More switches for fax2tiff tool for better control 4506 of input and output. Details at 4507 4508 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 4509 45102003-02-03 Frank Warmerdam <[email protected]> 4511 4512 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 4513 library so that we can check if there is already any tile/strip data 4514 before deciding between creating a compressor or a decompressor. 4515 45162003-01-31 Frank Warmerdam <[email protected]> 4517 4518 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 4519 a pre-existing compressed image. That is, image writing to 4520 pre-existing compressed images is not allowed. 4521 4522 * libtiff/tif_open.c: Removed error if opening a compressed file 4523 in update mode. 4524 4525 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 4526 45272003-01-31 Andrey Kiselev <[email protected]> 4528 4529 * config.guess, config.sub: Updated to recent upstream versions. 4530 45312003-01-15 Frank Warmerdam <[email protected]> 4532 4533 * cut 3.6.0 Beta release. 4534 45352002-12-20 Andrey Kiselev <[email protected]> 4536 4537 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 4538 in wrong way as per bug 4539 4540 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 4541 45422002-12-17 Frank Warmerdam <[email protected]> 4543 4544 * libtiff/tif_dirread.c: Allow wrong sized arrays in 4545 TIFFFetchStripThing(). 4546 4547 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 4548 45492002-12-02 Frank Warmerdam <[email protected]> 4550 4551 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 4552 Was using realloc even first time. Fix by Igor Venevtsev. 4553 45542002-11-30 Frank Warmerdam <[email protected]> 4555 4556 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 4557 field value. 4558 4559 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 4560 tags in TIFFVGetField() ... added missing break. 4561 45622002-10-14 Frank Warmerdam <[email protected]> 4563 4564 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 4565 the scanline buffer long enough when writing rgb triplets. 4566 The scanline needs to be 3 X the number of dots or else it will 4567 contain an incomplete triplet and programs that try to separate 4568 the eps by redefining the colorimage operator will get messed up. 4569 Patch supplied by William Bader. 4570 4571 * Makefile.in: added tif_extension.c to file list as per 4572 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 4573 45742002-10-11 Andrey Kiselev <[email protected]> 4575 4576 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 4577 large files (>2GiB) supporting. New option in the config.site: 4578 LARGEFILE="yes". Should be enough for I/O of the large files. 4579 45802002-10-10 Frank Warmerdam <[email protected]> 4581 4582 * libtiff/html/v3.6.0.html: new release notes. 4583 4584 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 4585 link for Andrey. Pointer to v3.6.0.html. 4586 4587 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 4588 45892002-10-07 Andrey Kiselev <[email protected]> 4590 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 4591 (thanks, Sebastian!). New switches: 4592 -b # for a bottom margin of # inches 4593 -c center image 4594 -l # for a left margin of # inches 4595 -r rotate the image by 180 degrees 4596 New features merged with code for shrinking/overlapping. 4597 Previously added -c and -n switches (for overriding PS units) renamed 4598 in -x and -y respectively. 4599 4600 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 4601 4602 * html/man/*.html: Updated from actual manual pages. 4603 46042002-10-06 Frank Warmerdam <[email protected]> 4605 4606 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 4607 size on windows. Use #define boolean hack. 4608 4609 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 4610 4611 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 4612 USING_VISUALAGE is defined. 4613 4614 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4615 46162002-10-03 Frank Warmerdam <[email protected]> 4617 4618 * libtiff/tiff.h: added COMPRESSION_JP2000. 4619 46202002-10-02 Andrey Kiselev <[email protected]> 4621 4622 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 4623 by the TIFFFetchByteArray() function. Should finally resolve 4624 4625 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 4626 4627 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 4628 4629 * html/Makefile.in: New targets added: html and groffhtml for 4630 producing HTML representations of the manual pages automatically. 4631 html target uses man2html tool, groffhtml uses groff tool. 4632 46332002-09-29 Frank Warmerdam <[email protected]> 4634 4635 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 4636 from John H. DuBois III. 4637 46382002-09-15 Andrey Kiselev <[email protected]> 4639 4640 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 4641 manual page for raw2tiff(1) tool. 4642 46432002-09-12 Andrey Kiselev <[email protected]> 4644 4645 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 4646 the tiffio.h header file. 4647 4648 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 4649 manual page for TIFFDataWidth() function 4650 46512002-09-08 Frank Warmerdam <[email protected]> 4652 4653 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 4654 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 4655 4656 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 4657 since we are unable to properly include the amount to skip. 4658 4659 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 4660 46612002-09-02 Andrey Kiselev <[email protected]> 4662 4663 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 4664 in TIFFFetchByteArray(). Problem described at 4665 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 4666 46672002-08-22 Andrey Kiselev <[email protected]> 4668 4669 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 4670 in _TIFFSetupFieldInfo() function. 4671 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 4672 4673 * /libtiff/tif_lzw.c: Additional consistency checking added in 4674 LZWDecode() and LZWDecodeCompat(). 4675 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 4676 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4677 4678 * /libtiff/tif_lzw.c: 4679 Added check for valid code lengths in LZWDecode() and 4680 LZWDecodeCompat(). Fixes 4681 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 4682 46832002-08-16 Andrey Kiselev <[email protected]> 4684 4685 * /libtiff/{Makefile.vc, libtiff.def}: 4686 Missed declarations added. 4687 46882002-08-15 Frank Warmerdam <[email protected]> 4689 4690 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 4691 return code from the underlying pick function. 4692 4693 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 4694 4695 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 4696 with FIELD_CUSTOM as mentioned in bug 169. 4697 4698 * tif_close.c: added logic to free dynamically created anonymous 4699 field definitions to correct a small memory leak. 4700 4701 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 4702 47032002-08-10 Andrey Kiselev <[email protected]> 4704 4705 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 4706 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 4707 47082002-07-31 Frank Warmerdam <[email protected]> 4709 4710 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 4711 JPEGDecode() as per bugzilla bug (issue 1): 4712 4713 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 4714 4715 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 4716 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 4717 present in the tiff tags. 4718 4719 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 4720 4721 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 4722 TIFFWriteScanline() now set tif_row explicitly in case the codec has 4723 fooled with the value. 4724 4725 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 4726 47272002-06-22 Andrey Kiselev <[email protected]> 4728 4729 * /tools/tiff2ps.c: Added workaround for some software that may crash 4730 when last strip of image contains fewer number of scanlines than 4731 specified by the `/Height' variable. See 4732 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 4733 for explanation. 4734 47352002-06-21 Andrey Kiselev <[email protected]> 4736 4737 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 4738 splitting long images in several pages. See 4739 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 4740 Patch granted by John Williams <[email protected]>. 4741 47422002-06-11 Frank Warmerdam <[email protected]> 4743 4744 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 4745 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 4746 This one is described in: 4747 4748 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 4749 4750 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 4751 4752 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 4753 47542002-05-10 Andrey Kiselev <[email protected]> 4755 4756 * tools/tiff2ps: New commandline switches to override resolution 4757 units obtained from the input file. Closes 4758 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 4759 47602002-04-26 Andrey Kiselev <[email protected]> 4761 4762 * libtiff/libtiff.def: Added missed declaration. 4763 47642002-04-22 Andrey Kiselev <[email protected]> 4765 4766 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 4767 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 4768 47692002-04-20 Andrey Kiselev <[email protected]> 4770 4771 * libtiff/tif_open.c: Pointers to custom procedures 4772 in TIFFClientOpen() are checked to be not NULL-pointers. 4773 47742002-04-18 Andrey Kiselev <[email protected]> 4775 4776 * libtiff/libtiff.def: Added missed declarations. 4777 4778 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 4779 47802002-04-16 Andrey Kiselev <[email protected]> 4781 4782 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 4783 Should finally close 4784 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4785 47862002-04-10 Andrey Kiselev <[email protected]> 4787 4788 * tools/tiff2ps: Division by zero fixed. 4789 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 4790 47912002-04-09 Andrey Kiselev <[email protected]> 4792 4793 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 4794 TIFFCheckpointDirectory() routine added. 4795 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 4796 4797 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 4798 for the new function. 4799 48002002-04-08 Andrey Kiselev <[email protected]> 4801 4802 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 4803 additional members tif->tif_decodestatus and tif->tif_encodestatus 4804 for correct handling of unconfigured codecs (we should not try to read 4805 data or to define data size without correct codecs). 4806 4807 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 4808 changed. Now it has used tif->tif_decodestatus and 4809 tif->tif_encodestatus. 4810 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 4811 case of __cvs_8.tif test image). 4812 4813 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 4814 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 4815 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 4816 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 4817 48182002-04-04 Andrey Kiselev <[email protected]> 4819 4820 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 4821 replaced by warnings. Now libtiff should read corrupted LZW-compressed 4822 files by skipping bad strips. 4823 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4824 48252002-04-03 Frank Warmerdam <[email protected]> 4826 4827 * libtiff/tif_dirwrite.c: Removed some dead code. 4828 4829 * libtiff/*: Cleanup some warnings. 4830 4831 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 4832 for variable length FIELD_CUSTOM values. Was int * but should be 4833 u_short *. 4834 48352002-04-01 Andrey Kiselev <[email protected]> 4836 4837 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 4838 utility (at cpStripToTile routine). 4839 48402002-03-27 Frank Warmerdam <[email protected]> 4841 4842 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 4843 4844 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 4845 4846 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 4847 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 4848 4849 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 4850 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 4851 48522002-03-26 Dwight Kelly <[email protected]> 4853 4854 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 4855 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 4856 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 4857 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 4858 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 4859 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 4860 48612002-03-26 Andrey Kiselev <[email protected]> 4862 4863 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 4864 now also uses TIFFRGBAImageOK before reading. This is additional fix 4865 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 4866 48672002-03-25 Andrey Kiselev <[email protected]> 4868 4869 * libtiff/: tif_getimage.c: Additional check for supported 4870 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 4871 TIFFRGBAImageOK before reading. 4872 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 4873 48742002-03-15 Andrey Kiselev <[email protected]> 4875 4876 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 4877 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 4878 TIFFDataType sizes instead of working with tiffDataWidth array 4879 directly. Should prevent out-of-borders bugs in case of unknown or 4880 broken data types. EstimateStripByteCounts routine modified, so it 4881 won't work when tags with uknown sizes founded. 4882 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 4883 48842002-03-13 Andrey Kiselev <[email protected]> 4885 4886 * libtiff/tif_getimage.c: Added support for correct handling 4887 `Orientation' tag in gtTileContig. Should be added in other gt* 4888 functions as well, but I have not images for testing yet. Partially 4889 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4890 48912002-03-10 Andrey Kiselev <[email protected]> 4892 4893 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 4894 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 4895 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 4896 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 4897 48982002-03-08 Andrey Kiselev <[email protected]> 4899 4900 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 4901 be stripped when installing, utility binaries will do. Closes 4902 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 4903 49042002-02-28 Frank Warmerdam <[email protected]> 4905 4906 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 4907 4908 * man/libtiff.3t: added copyright tag info. 4909 49102002-02-11 Frank Warmerdam <[email protected]> 4911 4912 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 4913 4914 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 4915 4916 * man/Makefile.in: Patch DESTDIR handling 4917 4918 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 4919 4920 * configure: OpenBSD changes for Sparc64 and DSO version. 4921 4922 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 4923 49242002-02-05 Frank Warmerdam <[email protected]> 4925 4926 * config.site/configure: added support for OJPEG=yes option to enable 4927 OJPEG support from config.site. 4928 49292002-01-27 Frank Warmerdam <[email protected]> 4930 4931 * html/document.html: fixed links for TIFf 6 docs. 4932 49332002-01-18 Frank Warmerdam <[email protected]> 4934 4935 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 4936 4937 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 4938 decodestrip function returns anything not greater than zero as per 4939 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 4940 4941 * configure: Modify CheckForBigEndian so it can work in a cross 4942 compiled situation. 4943 49442002-01-16 Frank Warmerdam <[email protected]> 4945 4946 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 4947 4948 * tools/tiffset.c: fix bug in error reporting. 4949 4950 * tools/tiffcp.c: fix several warnings that show up with -Wall. 4951 49522002-01-04 Frank Warmerdam <[email protected]> 4953 4954 * libtiff/tif_jpeg.c: fixed computation of segment_width for 4955 tiles files to avoid error about it not matching the 4956 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 4957 size.") for ITIFF files. Apparently the problem was incorporated since 4958 3.5.5, presumably during the OJPEG/JPEG work recently. 4959 49602001-12-15 Frank Warmerdam <[email protected]> 4961 4962 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 4963 4964 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 4965 4966 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 4967 (defined in tiffconf.h - 1 by default) then the RGBA interface 4968 will assume that a fourth extra sample is ASSOCALPHA if the 4969 EXTRASAMPLE value isn't set for it. This changes the behaviour of 4970 the library, but makes it work better with RGBA files produced by 4971 lots of applications that don't mark the alpha values properly. 4972 4973 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 4974 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 4975 49762001-12-12 Frank Warmerdam <[email protected]> 4977 4978 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 4979 override those from tiff directory. This makes this work with 4980 ImageGear generated files. 4981 49822001-12-07 Frank Warmerdam <[email protected]> 4983 4984 * html/Makefile.in: added missing images per bug 92. 4985 4986 * port/Makefile.in: fixed clean target per bug 92. 4987 49882001-11-28 Frank Warmerdam <[email protected]> 4989 4990 * Reissue 3.5.7 release. 4991 4992 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 4993 YYYYMMDD so that it is increasing over time. 4994 4995 * Makefile.in: Ensure that tiffvers.h is regenerated in the 4996 make release target. 4997 4998 * Makefile.in: added libtiff/tiffvers.h to the release file list. 4999 50002001-11-23 Frank Warmerdam <[email protected]> 5001 5002 * added html/v3.5.7.html, updated html/index.html. 5003 5004 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 5005 50062001-11-15 Frank Warmerdam <[email protected]> 5007 5008 * configure: fixed test for -lm. 5009 50102001-11-02 Frank Warmerdam <[email protected]> 5011 5012 * Added PHOTOMETRIC_ITULAB as per bug 90. 5013 5014 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 5015 50162001-10-10 Frank Warmerdam <[email protected]> 5017 5018 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 5019 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 5020 in keeping with TIFF 6.0 standard in tiff.h 5021 5022 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 5023 50242001-09-26 Frank Warmerdam <[email protected]> 5025 5026 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 5027 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 5028 50292001-09-24 Frank Warmerdam <[email protected]> 5030 5031 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 5032 5033 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 5034 5035 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 5036 error about LZW not being available. 5037 5038 * libtiff/tif_dir.c: propagate failure to initialize compression 5039 back from TIFFSetField() as an error status, so applications can 5040 detect failure. 5041 5042 * libtiff/tif_dir.c: removed the auto replacement of 5043 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 5044 5045 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 5046 from CVS as they are all supposed to be auto-generated by configure. 5047 50482001-09-22 Frank Warmerdam <[email protected]> 5049 5050 * libtiff/tif_ojpeg.c: new update from Scott. 5051 50522001-09-09 Frank Warmerdam <[email protected]> 5053 5054 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 5055 always use the "safe" version, even if there is a very slight 5056 cost in performance. 5057 5058 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 5059 5060 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 5061 in two places. 5062 5063 * libtiff/tif_getimage.c: Fixed problem with reading strips or 5064 tiles that don't start on a tile boundary. Fix contributed by 5065 Josep Vallverdu (from HP), and further described in bug 47. 5066 5067 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 5068 5069 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 5070 5071 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 5072 50732001-09-06 Frank Warmerdam <[email protected]> 5074 5075 * libtiff/tif_packbits.c: fixed memory overrun error. 5076 5077 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 5078 50792001-08-31 Frank Warmerdam <[email protected]> 5080 5081 * libtiff/tif_getimage.c: relax handling of contig case where 5082 there are extra samples that are supposed to be ignored. This 5083 should now work for 8bit greyscale or palletted images. 5084 5085 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 5086 50872001-08-28 Frank Warmerdam <[email protected]> 5088 5089 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 5090 images with more than four samples per pixel. See: 5091 5092 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 5093 50942001-08-10 Frank Warmerdam <[email protected]> 5095 5096 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 5097 in TIFFReadRGBATile() to avoid issues in cases of overlapping 5098 buffers. See Bug 69 in Bugzilla. 5099 5100 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 5101 5102 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 5103 51042001-08-09 Frank Warmerdam <[email protected]> 5105 5106 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 5107 when checking for 64 bit architectures as per bugzilla bug 67. 5108 51092001-07-27 Frank Warmerdam <[email protected]> 5110 5111 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 5112 bug 66. 5113 51142001-07-20 Frank Warmerdam <[email protected]> 5115 5116 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 5117 has been included. 5118 51192001-07-19 Frank Warmerdam <[email protected]> 5120 5121 * libtiff/tif_open.c: Seek back to zero after failed read, 5122 before writing header. 5123 51242001-07-18 Frank Warmerdam <[email protected]> 5125 5126 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 5127 much better. Now depends on having patched libjpeg as per 5128 patch in contrib/ojpeg/*. 5129 51302001-07-17 Frank Warmerdam <[email protected]> 5131 5132 * */Makefile.in: added DESTDIR support. 5133 5134 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 5135 51362001-07-16 Frank Warmerdam <[email protected]> 5137 5138 * configure, libtiff/Makefile.in: applied OpenBSD patches 5139 as per: 5140 5141 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 5142 51432001-06-28 Frank Warmerdam <[email protected]> 5144 5145 * libtiff/tif_getimage.c: Fixed so that failure is properly 5146 reported by gtTileContig, gtStripContig, gtTileSeparate and 5147 gtStripSeparate. 5148 5149 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 5150 5151 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 5152 Updated bug section of tiffcmp.1 to note tiled file issues. 5153 5154 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 5155 51562001-06-22 Frank Warmerdam <[email protected]> 5157 5158 * configure: Changes for DSO generation on AIX provided by 5159 John Marquart <[email protected]>. 5160 5161 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 5162 on Darwin thanks to Robert Krajewski ([email protected]) and 5163 Keisuke Fujii ([email protected]). 5164 51652001-06-13 Frank Warmerdam <[email protected]> 5166 5167 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 5168 5169 * man/tiff2rgba.1: new 5170 51712001-05-22 Frank Warmerdam <[email protected]> 5172 5173 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 5174 51752001-05-13 Frank Warmerdam <[email protected]> 5176 5177 * libtiff/tools/thumbnail.c: changed default output compression 5178 to packbits from LZW since LZW isn't generally available. 5179 51802001-05-12 Frank Warmerdam <[email protected]> 5181 5182 * libtiff/tif_ojpeg.c: New. 5183 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 5184 to OJPEG support. 5185 5186 Scott Marovich <[email protected]> supplied OJPEG support. 5187 51882001-05-11 Frank Warmerdam <[email protected]> 5189 5190 * tiff.h: removed, it duplicates libtiff/tiff.h. 5191 51922001-05-08 Frank Warmerdam <[email protected]> 5193 5194 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 5195 ensure everything is in order. 5196 5197 * libtiff/libtiff.def: added TIFFCreateDirectory and 5198 TIFFDefaultStripSize as per: 5199 5200 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 5201 52022001-05-02 Frank Warmerdam <[email protected]> 5203 5204 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 5205 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 5206 force use of uint32 counts instead of short counts. 5207 5208 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 5209 case of writing TIFF_BYTE/TIFF_SBYTE fields. 5210 5211 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 5212 52132001-05-01 Frank Warmerdam <[email protected]> 5214 5215 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 5216 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 5217 52182001-04-05 Frank Warmerdam <[email protected]> 5219 5220 * tiffio.h: removed C++ style comment. 5221 5222 * configure: fixed up SCRIPT_SH/SHELL handling. 5223 5224 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 5225 5226 * config.guess: documented more variables as per bug 40. 5227 52282001-04-03 Frank Warmerdam <[email protected]> 5229 5230 * configure, *Makefile.in: Various changes to improve configuration 5231 for HP/UX specifically, and also in general. They include: 5232 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 5233 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 5234 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 5235 - Use -${MAKEFLAGS} in sub makes from makefiles. 5236 5237 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 5238 52392001-04-02 Frank Warmerdam <[email protected]> 5240 5241 * libtiff/tiff.h: Applied hac to try and resolve the problem 5242 with the inttypes.h include file on AIX. 5243 5244 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5245 5246 * VERSION: update to 3.5.7 beta in preparation for release. 5247 5248 * configure/config.site: modified to check if -lm is needed for 5249 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 5250 5251 * config.guess: updated wholesale to an FSF version apparently 5252 from 1998 (as opposed to 1994). This is mainly inspired by 5253 providing for MacOS X support. 5254 52552001-03-29 Frank Warmerdam <[email protected]> 5256 5257 * configure, Makefile.in, etc: added support for OPTIMIZER being 5258 set from config.site. 5259 52602001-03-28 Frank Warmerdam <[email protected]> 5261 5262 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 5263 5264 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 5265 sizes. It fixes two problems: 5266 5267 Without scaling (-S) the fax is now centered on the page size specified 5268 with -H and/or -W. Before, fax2ps was using an obscure and practially 5269 useless algorithm to allocate the image relative to Letter sized paper 5270 which sometime sled to useless whitespace on the paper, while at the 5271 same time cutting of the faxes printable area at the opposite border. 5272 5273 Second, scaling now preserves aspect ratio, which makes unusual faxes 5274 (in particular short ones) print properly. 5275 5276 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 5277 5278 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 5279 Bruce A. Mallett. See check message for detailed information 5280 on all the changes, including a faster encoder, fixes for level 5281 2 PostScript, and support for the imagemask operator. 5282 52832001-03-27 Frank Warmerdam <[email protected]> 5284 5285 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 5286 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 5287 5288 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5289 52902001-03-16 Frank Warmerdam <[email protected]> 5291 5292 * tif_dirinfo.c: moved definition of copyright tag in field list. 5293 Apparently they have to be in sorted order by tag id. 5294 52952001-03-13 Frank Warmerdam <[email protected]> 5296 5297 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 5298 images in RGBA interface. 5299 53002001-03-02 Frank Warmerdam <[email protected]> 5301 5302 * Added TIFFTAG_COPYRIGHT support. 5303 53042001-02-19 Frank Warmerdam <[email protected]> 5305 5306 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 5307 with support for extracting subimages with the ,n syntax, and also 5308 adding the -b bias removal flag. 5309 53102001-02-16 Frank Warmerdam <[email protected]> 5311 5312 * libtiff/libtiff.def: Brent Roman submitted new version adding 5313 serveral missing entry points. 5314 5315 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 5316 Some sort of weird VMS thing. 5317 5318 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 5319 5320 * tif_luv.c/tiff.h/tiffio.h: 5321 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 5322 ([email protected]). He writes: 5323 5324 1) I improved the gamut-mapping function in tif_luv.c for imaginary 5325 colors, because some images were being super-saturated on the input 5326 side and this resulted in some strange color shifts in the output. 5327 5328 2) I added a psuedotag in tiff.h to control random dithering during 5329 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 5330 on for 24-bit LogLuv output. Dithering improves the average color 5331 accuracy over the image. 5332 5333 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 5334 tiffio.h, to expose internal routines for converting between LogLuv and 5335 XYZ coordinates. This is helpful for writing more efficient, 5336 specialized conversion routines, especially for reading LogLuv files. 5337 5338 Changes applied with minor edits. 5339 53402001-01-23 Frank Warmerdam <[email protected]> 5341 5342 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 5343 whether we are encoding or decoding. This is to ensure graceful 5344 recovery if TIFFClientOpen() discovers an attempt to open a compressed 5345 file for "r+" access, and subsequently close it, as it resets the 5346 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 5347 compressor's concept of whether it is in encode or decode mode. 5348 53492001-01-08 Mike Welles <[email protected]> 5350 5351 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 5352 53532001-01-07 Frank Warmerdam <[email protected]> 5354 5355 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 5356 as per bug report by Patrick Connor. 5357 53582000-12-28 Frank Warmerdam <[email protected]> 5359 5360 * Added RELEASE-DATE file to release file list. 5361 5362 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 5363 53642000-12-22 Mike Welles <[email protected]> 5365 * added link to CVS mirror from index.html 5366 5367 * updated html/internals.html to note that LZW compression is 5368 not supported by default. 5369 53702000-12-22 Frank Warmerdam <[email protected]> 5371 5372 * updated html/libtiff.html to not point at Niles' old JPL web site 5373 for the man pages, point at www.libtiff.org. 5374 53752000-12-21 Frank Warmerdam <[email protected]> 5376 5377 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 5378 Leonard Rosenthol <[email protected]>. May interfere 5379 with correct building on older systems. If so, please let me know. 5380 53812000-12-19 Mike Welles <[email protected]> 5382 5383 * Took out LZW Encoding from tif_lzw.c 5384 5385 * Created HOWTO-RELEASE 5386 5387 * Created html/v3.5.6.html 5388 5389 * updated index.html 5390 53912000-12-01 Frank Warmerdam <[email protected]> 5392 5393 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 5394 Patches supplied by Frank Cringle <[email protected]> 5395 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 5396 53972000-11-24 Frank Warmerdam <[email protected]> 5398 5399 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 5400 target so that the private headers required by libgeotiff can be 5401 installed with the others. They are not installed by default. 5402 5403 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 5404 targets so libtiff.so will be built with an explicit dependency 5405 on libm.so. 5406 5407 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 5408 libtiff.so.3.5.5. 5409 5410 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 5411 file, or ALPHA version logic. Added stuff about DIST_POINT in 5412 place of DIST_TYPE and the alpha release number stuff. 5413 54142000-11-22 Frank Warmerdam <[email protected]> 5415 5416 * I have applied a patch from Steffen Moeller <[email protected]> to 5417 the configure script so that it now accepts the --prefix, and 5418 --exec-prefix directives. 5419 54202000-11-13 Frank Warmerdam <warmerda@cs46980-c> 5421 5422 * I have made a variety of modifications in an effort to ensure the 5423 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 5424 file which seems to be updated regularly. 5425 5426 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 5427 version include file. 5428 o renamed version.h to tiffvers.h because we now have to install it 5429 with the public libtiff include files. 5430 o include tiffvers.h in tiffio.h. 5431 o updated tif_version.c to use tiffvers.h. 5432 o Updated Makefile.in accordingly. 5433 5434 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 5435 I have updated the win32 detection rules in tiffcomp.h. 5436 54372000-10-20 Frank Warmerdam <warmerda@cs46980-c> 5438 5439 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 5440 the strip/tile width and height aren't multiples of the sampling size. 5441 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 5442 Some patches from Rick LaMont of Dot C Software. 5443 5444 * Modified tif_packbits.c encoder to avoid compressing more 5445 data than provided if rowsize doesn't factor into provided data 5446 (such as occurs for YCbCr). 5447 54482000-10-19 Frank Warmerdam <warmerda@cs46980-c> 5449 5450 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 5451 roundup if rows_per_strip not a multiple of vertical sample size. 5452 54532000-10-16 Frank Warmerdam <warmerda@cs46980-c> 5454 5455 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 5456 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5457 from [email protected]. 5458 5459 * Modified tif_packbits.c decoding to avoid overrunning the 5460 output buffer, and to issue a warning if data needs to be 5461 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5462 54632000-10-12 Frank Warmerdam <warmerda@cs46980-c> 5464 5465 * Modified tiff2bw to ensure portions add to 100%, and that 5466 white is properly recovered. 5467 5468 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 5469 Patch c/o Stanislav Brabec <[email protected]> 5470 54712000-09-30 Frank Warmerdam <warmerda@cs46980-c> 5472 5473 * Modified TIFFClientOpen() to emit an error on an attempt to 5474 open a comperessed file for update (O_RDWR/r+) access. This is 5475 because the compressor/decompressor code gets very confused when 5476 the mode is O_RDWR, assuming this means writing only. See 5477 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 5478 54792000-09-27 Frank Warmerdam <warmerda@cs46980-c> 5480 5481 * Added GNULDdso target an`d switched linux and freebsd to use it. 5482 54832000-09-26 Frank Warmerdam <warmerda@cs46980-c> 5484 5485 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 5486 of EXPAND1D() as per bug 11 (from Roman). 5487 54882000-09-25 Frank Warmerdam <warmerda@cs46980-c> 5489 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 5490 cygwin compatibility. 5491 5492 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 5493 be a proper fix to the buffer sizing problem. See 5494 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 5495 5496 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 5497 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 5498 Thanks to Nick Lamb <[email protected]> for reporting the 5499 bug and proving the patch. 5500 55012000-09-18 Frank Warmerdam <warmerda@cs46980-c> 5502 5503 * Fixed tif_jpeg.c so avoid destroying the decompressor before 5504 we are done access data thanks to bug report from: 5505 Michael Eckstein <[email protected]>. 5506 5507 * Reverted tif_flush change. 5508 55092000-09-14 Frank Warmerdam <warmerda@cs46980-c> 5510 5511 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 5512 error when TIFF_BEENWRITING is not set. This ensures that the 5513 directory contents can still be flushed by TIFFFlush(). 5514 55152000-08-14 Frank Warmerdam <[email protected]> 5516 5517 * tif_open.c: Don't set MMAP for O_RDWR files. 5518 5519 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 5520 so that files opened for update can be strip chopped too. 5521 5522 * tif_read.c: fixed up bug with files missing rowsperstrip and 5523 the strips per separation fix done a few weeks ago. 5524 55252000-07-17 Frank Warmerdam <warmerda@cs46980-c> 5526 5527 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 5528 SAMPLEFORMAT_COMPLEXINT. 5529 55302000-07-13 Mike Welles <[email protected]> 5531 5532 * index.html, bugs.html: added bugzilla info. 5533 55342000-07-12 Frank Warmerdam <[email protected]> 5535 5536 * tif_read.c: fix subtle bug with determining the number of 5537 rows for strips that are the last strip in a separation but 5538 not the last strip of all in TIFFReadEncodedStrip(). 5539 5540 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 5541 Peter Skarpetis <[email protected]> 5542 55432000-06-15 Frank Warmerdam <[email protected]> 5544 5545 * Modified tiffio.h logic with regard to including windows.h. It 5546 won't include it when building with __CYGWIN__. 5547 55482000-05-11 Frank Warmerdam <warmerda@cs46980-c> 5549 5550 * README: update to mention www.libtiff.org, don't list Sam's old 5551 email address. 5552 5553 * configure: Fixed DSO test for Linux as per patch from 5554 Jan Van Buggenhout <[email protected]>. 5555 55562000-04-21 Frank Warmerdam <[email protected]> 5557 5558 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 5559 one tile/strip images with an offset, and byte count of zero. These 5560 could be "unpopulated" images. 5561 55622000-04-18 Frank Warmerdam <[email protected]> 5563 5564 * contrib/addtiffo: Added "averaging" resampling option. 5565 5566 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 5567 5568Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 5569 5570 * tools/Makefile.in: Modified to install properly on SGI. 5571 55722000-04-12 Mike Welles <[email protected]> 5573 * configure: Fixed stupid mistake in libc6 test on Linux 5574 55752000-04-04 Mike Welles <[email protected]> 5576 * tif_win32.c: Applied patch to fix overreads and ovverwrites 5577 caught by BoundsChecker. From Arvan Pritchard 5578 <[email protected]> (untested). 5579 5580 * tif_getimage.c: Applied patch to silence VC6 warnings. From 5581 Arvan Pritchard <[email protected]> 5582 5583 * tif_lzw.c: Applied patch to silence VC6 warnings. From 5584 Arvan Pritchard <[email protected]> 5585 55862000-03-28 Frank Warmerdam <warmerda@cs46980-c> 5587 5588 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 5589 55902000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 5591 5592 * fax2ps: Fixed mixup of width and height in bounding box statement 5593 as per submission by Nalin Dahyabhai <[email protected]>. 5594 55952000-03-27 Mike Welles <[email protected]> 5596 5597 * fax2ps: Modified printruns to take uint32 instead of uint16. 5598 Patch courtesy of Bernt Herd <[email protected]> 5599 56002000-03-20 Mike Welles <[email protected]> 5601 5602 * configure: added test for libc6 for linux targets. Bug reported by 5603 Stanislav Brabec <[email protected]> 5604 5605 * Added 3.5 docs to html/Makefile.in. 5606 Thanks to Stanislav Brabec <[email protected]> 5607 5608 * configure: fixed bugs in sed scripts 5609 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 5610 fix submitted to Stanislav Brabec <[email protected]> 5611 5612 * tools/iptcutil was not in files list, and wasn't being 5613 added to tar archive. Updated Makefile.in. 5614 56152000-03-17 Frank Warmerdam <warmerda@cs46980-c> 5616 5617 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 5618 conversion for the run arrays. 5619 56202000-03-03 Frank Warmerdam <[email protected]> 5621 5622 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 5623 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 5624 56252000-03-02 Frank Warmerdam <[email protected]> 5626 5627 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 5628 5629 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 5630 to avoid overruns encountered with frle_bug.tif. 5631 5632Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 5633 5634 * Fixed tools/tiffcmp so that stopondiff testing works. 5635 Patch care of Joseph Orost <[email protected]>. 5636 56372000-01-28 <warmerda@CS46980-B> 5638 5639 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 5640 set to 1, and added default (off) setting in tiffconf.h. This 5641 should eventually be set by the configure script somehow. 5642 5643 The original work on all these 2-4GB changes was done by 5644 Peter Smith ([email protected]). 5645 5646 * Modified tif_win32.c to support 2-4GB seeks. 5647 5648 * tentatively changed toff_t to be unsigned instead of signed to 5649 facilitate support for 2-4GB files. 5650 5651 * Updated a variety of files to use toff_t. Fixed some mixups 5652 between toff_t and tsize_t. 5653 5654Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 5655 5656 * Largely reimplemented contrib/addtiffo to avoid temp files, 5657 updating the TIFF file in place. Fixed a few other bugs to. 5658 5659 * Set tif_rawdatasize to zero when freeing raw data buffer in 5660 TIFFWriteDirectory(). 5661 5662 * Enabled "REWRITE_HACK" in tif_write.c by default. 5663 5664 * Fix bug in tif_write.c when switching between reading one directory 5665 and writing to another. 5666 5667 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 5668 5669Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 5670 5671 * Added TIFFmemory(3t) functions to libtiff.def. 5672 5673Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 5674 5675 * Added libtiff/libtiff.def to TIFFILES distribution list. 5676 5677Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 5678 5679 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 5680 5681 * Altered descriptions in tools to reflect "by default" lzw not supported 5682 5683 * Updated index.html to note lzw compression kit. 5684 5685Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 5686 5687 * Added fax3sm_winnt.c to distribution list in Makefile.in. 5688 5689Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 5690 5691 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 5692 5693 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 5694 when LZW compression invoked. 5695 5696 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 5697 in tools to reflect removal of LZW compression 5698 5699Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 5700 5701 * Fixed bug that caused LZW (non) compression to segfault. Added 5702 warning about LZW compression removed being removed, and why. 5703 5704 * Added nostrip to install in tools/Makefile.in so that debugging 5705 symbols are kept. 5706 5707Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 5708 5709 * Added patch from Ivo Penzar <[email protected]>, 5710 supporting Adobe ZIP deflate. Untested. 5711 5712Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 5713 5714 * Made Packbits the default compression in tools/tiff2rgba.c instead 5715 of LZW. 5716 5717Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 5718 5719 * Added tif_luv to contrib/djgpp/Makefile.lib. 5720 5721Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 5722 5723 * Added zip creation to relase makefile target 5724 5725 * Added html for TIFFWriteTile.3t man page. 5726 5727Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 5728 5729 * Added some changes to tif_write.c to support rewriting existing 5730 fixed sized tiles and strips. Code mods disabled by default, only 5731 enabled if REWRITE_HACK is defined for now. 5732 5733Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 5734 5735 * Added TIFFWriteTile.3t man page. 5736 5737Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 5738 5739 * Added notes on use of makefile.vc in build.html, and fixed 5740 email subscription address. 5741 5742199-11-28 Mike Welles <[email protected]> 5743 5744 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 5745 5746 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 5747 from Bruce Carmeron <[email protected]> -- modifications of 5748 changes made by Frank (sun cc still complained on cast). 5749 5750 * Added tiffconf.h to install target per request from Bill 5751 Radcliffe <[email protected]>: "We need a way for ImageMagick to 5752 know features have been compiled into the TIFF library in order to 5753 handle things properly". 5754 5755Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 5756 5757 * fixed various VC++ warnings as suggested by Gilles Vollant 5758 <[email protected]>. 5759 5760Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 5761 5762 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 5763 not imply applications are responsible for image data swapping. 5764 57651999-11-22 Mike Welles <[email protected]> 5766 * HTML-ized the man pages, added to html/man 5767 5768 * Removed LZW Compression to comply with Unisys patent extortion. 5769 57701999-09-29 Mike Welles <[email protected]> 5771 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 5772 From Ivo Penzar <[email protected]. 5773 5774 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 5775 memory mapped files. <[email protected]> 5776 57771999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 5778 * Corrected alpha versioning. 5779 5780 * Removed distinction between alpha and release targets in Makefile.in. 5781 5782 * added release.stamp target, which tags cvs tree, and updates 5783 "RELEASE-DATE" 5784 5785 * added releasediff target, which diffs tree with source as of 5786 date in "RELEASE-DATE" 5787 5788 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 5789 away from alpha/non-alpha distinctions). 5790 5791 * updated html to reflect release 5792 57931999-09-23 <warmerda@CS46980-B> 5794 5795 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 5796 5797 * Added CYGWIN case in configure. 5798 5799Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 5800 5801 * Applied Francois Dagand's patch to handle fax decompression bug. 5802 (sizes >= 65536 were failing) 5803 5804Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 5805 5806 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 5807 by Christopher Lawton <[email protected]> 5808 5809Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 5810 5811 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 5812 Albert Chin-A-Young <[email protected]> 5813 5814 * Added TIFFReassignTagToIgnore() API on behalf of 5815 Bruce Cameron <[email protected]>. Man page still pending. 5816 5817Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 5818 5819 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 5820 files to provide for a rudimentary testsuite. 5821 5822 * Added contrib/tags back from old distribution ... fixed up a bit. 5823 58241999-08-16 <warmerda@CS46980-B> 5825 5826 * Added simple makefile.vc makefiles for building with MS VC++ 5827 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 5828 better solutions for some users. 5829 5830Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 5831 5832 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 5833 put it in tools since part of it is in C++. 5834 58351999-08-16 Michael L. Welles <[email protected]> 5836 5837 * Updated html/index.html with anon CVS instructions. 5838 5839Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 5840 5841 * pre-remove so link before softlink in LINUXdso action in 5842 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 5843 the first. 5844 5845 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 5846 colormaps owned by the TIFF handle itself when trying to fixup wrong 5847 (eight bit) colormaps. Corrected by maintaining a private copy of 5848 the colormap. 5849 5850 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 5851 tif_getimage.c. 5852 5853 * CVS Repository placed at remotesensing.org. ChangeLog added. 5854