12012-06-15 Frank Warmerdam <[email protected]> 2 3 * tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable 4 warnings with clang. 5 62012-06-15 Tom Lane <[email protected]> 7 8 * tools/tiff2pdf.c: Defend against integer overflows while 9 calculating required buffer sizes (CVE-2012-2113). 10 112012-06-12 Frank Warmerdam <[email protected]> 12 13 * libtiff/tif_print.c: Be careful about printing corrupt inknames. 14 15 * libtiff/tif_fax3.c: Ensure runs array is initialized to zeros. 16 172012-06-07 Frank Warmerdam <[email protected]> 18 19 * libtiff/tif_print.c: avoid pretty printing other fields when 20 we don't have the proper amount and type of data or if the field 21 is actually autodefined. 22 232012-06-05 Frank Warmerdam <[email protected]> 24 25 * libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal 26 ycbcrsubsampling values result in a runtime error, not just an 27 assertion. 28 29 * tests/custom_dir.c: Add testing of EXIF and custom directory 30 reading and writing. 31 32 * libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory() 33 and TIFFCreateEXIFDirectory() functions. 34 35 * libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for 36 PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING. Implement DOTRANGE 37 differently. This is to avoid using special TIFFGetField/TIFFSetField 38 rules for these fields in non-image directories (like EXIF). 39 402012-06-04 Frank Warmerdam <[email protected]> 41 42 * libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling 43 in JPEGPreDecode(). If a fixup will be done it needs to be done sooner 44 in JPEGFixupTagsSubsampling() or else buffer sized may be wrong. 45 462012-06-01 Frank Warmerdam <[email protected]> 47 48 * tools/tiffinfo.c: Do not try to read image data in EXIF directories. 49 50 * libtiff/tif_getimage.c: added support for _SEPARATED CMYK images. 51 http://bugzilla.maptools.org/show_bug.cgi?id=2379 52 53 * libtiff/tif_unix.c: use strerror() to return a more specific error message 54 on failed open. 55 http://bugzilla.maptools.org/show_bug.cgi?id=2341 56 57 * libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs. 58 http://bugzilla.maptools.org/show_bug.cgi?id=2386 59 60 * tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support 61 for testing jpeg in tiff image decoding including the "raw" decode interface. 62 632012-05-31 Frank Warmerdam <[email protected]> 64 65 * libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in 66 JPEGDecodeRaw() - mostly likely to occur when there is confusion about 67 sampling values. 68 69 * libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed. 70 71 * libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval. 72 http://bugzilla.maptools.org/show_bug.cgi?id=2398 73 742012-05-29 Frank Warmerdam <[email protected]> 75 76 * libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories, 77 like EXIF directories. This fixes problems like a tag "320" existing in a custom directory getting 78 processed as if it were a colormap when it isn't really. Damn the wide variety of argument formulations 79 to get/set functions for different tags! 80 81 * libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata 82 is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag. 83 842012-05-24 Frank Warmerdam <[email protected]> 85 86 * libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward 87 accumulate" and overwrite the end by one word in at least some cases. 88 892012-05-23 Frank Warmerdam <[email protected]> 90 91 * libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs. 92 93 * tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files. 94 95 * libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on 96 the same image. 97 98 * libtiff/tif_ojpeg.c: make things more resilient in the face of files without 99 stripbytecounts or stripoffsets or where loading these fails. 100 101 * libtiff/tif_print.c: be careful about whether min/max values are singular 102 or one per sample. 103 104 * libtiff/tif_print.c: Avoid confusion about count size when printing custom fields. 105 May affect things like ISOSpeedRatings. 106 107 * libtiff/tif_dir.c: avoid one byte past end of ink names reading 108 in some cases. 109 1102012-05-19 Bob Friesenhahn <[email protected]> 111 112 * man/TIFFGetField.3tiff: Correct the 'count' field type in the 113 example for how to retreive the value of unsupported tags. 114 1152012-03-30 Frank Warmerdam <[email protected]> 116 117 * tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173) 118 care of Tom Lane @ Red Hat. 119 1202012-02-18 Bob Friesenhahn <[email protected]> 121 122 * libtiff 4.0.1 released. 123 124 * Update automake used to 1.11.3. 125 126 * libtiff/tiffio.h: Use double-underbar syntax in GCC printf 127 attribute specification to lessen the risk of accidental macro 128 substitution. Patch from Vincent Torri. 129 1302012-01-31 Frank Warmerdam <[email protected]> 131 132 * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around 133 assumption tag fetching is always successful. 134 135 * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL. 136 1372012-01-22 Bob Friesenhahn <[email protected]> 138 139 * configure.ac: Add support for using library symbol versioning on 140 ELF systems with the GNU linker. Support is enabled via 141 --enable-ld-version-script. Disabled by default for now until 142 there is a decision for how to deploy a libtiff with versioned 143 symbols after libtiff 4.0.0 was already released. 144 1452011-12-22 Bob Friesenhahn <[email protected]> 146 147 * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in 148 149 tif_win32.c. Patch by Edward Lam. 150 151 * configure.ac: Add libtiff private dependency on -llzma for 152 pkg-config. Patch by Mark Brand. 153 Updated Automake to 1.11.2. 154 1552011-12-21 Bob Friesenhahn <[email protected]> 156 157 * libtiff 4.0.0 released. 158 1592011-12-08 Frank Warmerdam <[email protected]> 160 161 * libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking 162 of _TIFFFillStriles() results (#gdal 4372) 163 1642011-12-07 Frank Warmerdam <[email protected]> 165 166 * libtiff/tif_dirread.c: fixes to deal with invalid files where 167 _TIFFFillStriles() fails, and we try to chop up strips (gdal #4372) 168 169 * libtiff/tif_dirread.c: fix error reporting when there is no 170 tag information struct and name (gdal #4373) 171 1722011-10-22 Bob Friesenhahn <[email protected]> 173 174 * Update GNU libtool to 2.4.2. 175 176 * tools/tiffsplit.c (tiffcp): TIFFGetField count field should be 177 uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe 178 Deroulers. 179 1802011-06-21 Frank Warmerdam <[email protected]> 181 182 * libtiff/libtiff.def: Restore TIFFMergeFieldInfo. 183 1842011-05-31 Jim Meyering <[email protected]> 185 186 * libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also 187 upon failure to allocate "resizeddata". 188 * tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for 189 allocation failure, not before. 190 * libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path 191 * tools/rgb2ycbcr.c (cvtRaster): unchecked malloc 192 * libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark 193 NULL-deref and possible overflow 194 * tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written" 195 * libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration 196 and set of otherwise unused local, data_is_empty. 197 * libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]: 198 Diagnose out-of-memory failure and return 0 rather than 199 dereferencing NULL. 200 2012011-05-24 Frank Warmerdam <[email protected]> 202 203 * libtiff/tif_dirread.c: produce special error message for zero tag 204 directories instead of error out on the malloc(0) failure. 205 2062011-05-16 Frank Warmerdam <[email protected]> 207 208 * libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and 209 related declarations as they are in active use by libraries 210 such as libgeotiff, and work just fine. (#2315) 211 2122011-04-20 Frank Warmerdam <[email protected]> 213 214 * libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete 215 TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API. 216 http://bugzilla.maptools.org/show_bug.cgi?id=2315 217 218 * libtiff/libtiff.def: add some missing (64bit) APIs. 219 http://bugzilla.maptools.org/show_bug.cgi?id=2316 220 2212011-04-09 Bob Friesenhahn <[email protected]> 222 223 * libtiff 4.0.0beta7 released. 224 2252011-04-09 Bob Friesenhahn <[email protected]> 226 227 * configure.ac: Should use AC_CANONICAL_HOST since host specifies 228 the run-time target whereas target is used to specify the final 229 output target if the package is a build tool (like a compiler), 230 which libtiff is not. Resolves libtiff bug 2307 "Use 231 AC_CANONICAL_HOST macro". 232 2332011-04-02 Bob Friesenhahn <[email protected]> 234 235 * configure.ac: Support configuring TIFF_INT64_FORMAT and 236 TIFF_UINT64_FORMAT appropriately for MinGW32. 237 238 * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32 239 printf conventions for 64-bit types because it uses the WIN32 CRT. 240 241 * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c, 242 tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32 243 printf conventions for 64-bit types because it uses the WIN32 CRT. 244 245 * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not 246 understood by WIN32 CRT. 247 248 * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC. 249 250 * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since 251 it is much more portable. Tmpfile is included in ISO/IEC 252 9899:1990 and the WIN32 CRT. 253 2542011-03-26 Frank Warmerdam <[email protected]> 255 256 * tools/tiffset.c: add -d and -sd switches to allow operation on 257 a particular directory, not just the first (jef). 258 2592011-03-21 Frank Warmerdam <[email protected]> 260 261 * libtiff/tif_thunder.c: Correct potential buffer overflow with 262 thunder encoded files with wrong bitspersample set. The libtiff 263 development team would like to thank Marin Barbella and TippingPoint's 264 Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004, 265 CVE-2011-1167). 266 http://bugzilla.maptools.org/show_bug.cgi?id=2300 267 2682011-03-10 Frank Warmerdam <[email protected]> 269 270 * libtiff/tif_fax3.h: Fix to last change allowing zero length 271 runs at the start of a scanline - needed for legal cases. 272 2732011-03-02 Frank Warmerdam <[email protected]> 274 275 * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 276 a move left. Without this, a malicious input file can generate an 277 indefinitely large series of runs without a0 ever reaching the right 278 margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192. 279 This is a modified version of a patch proposed by Drew Yao of Apple 280 Product Security. It adds an unexpected() report, and disallows the 281 equality case, since emitting a run without increasing a0 still allows 282 buffer overrun. 283 2842011-02-23 Frank Warmerdam <[email protected]> 285 286 * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296) 287 288 * tools/tiff2rgba.c: close source file on error to make leak 289 detection easier. 290 291 * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails. 292 293 http://bugzilla.maptools.org/show_bug.cgi?id=2295 294 2952011-02-22 Frank Warmerdam <[email protected]> 296 297 * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ 298 _SUPPORT) 299 3002011-02-18 Frank Warmerdam <[email protected]> 301 302 * configure.ac, configure: Added support for --enable-chunky-strip-read 303 configure option to enable the experimental feature from a couple 304 months ago for reading big strips in chunks. 305 306 * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 307 tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c: 308 Implement optional support for deferring the load of strip/tile 309 offset and size tags for optimized scanning of directories. Enabled 310 with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD 311 #define in tif_config.h). 312 3132011-02-11 Frank Warmerdam <[email protected]> 314 315 * libtiff/tif_print.c: remove unused variable. 316 3172011-02-09 Frank Warmerdam <[email protected]> 318 319 * libtiff/tif_win32.c: avoid error/warning buffer overrun problem 320 with non-console (popup message) builds on win32. 321 322 http://bugzilla.maptools.org/show_bug.cgi?id=2293 323 3242011-01-24 Olivier Paquet <[email protected]> 325 326 * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c, 327 tif_print.c, tiff.h, tiffiop.h} : Added support for 328 TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different 329 values for each sample. Presents the min/max of all samples by default for 330 compatibility. TIFFSetField/TIFFGetField can be made to handle those tags 331 as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag. 332 http://www.asmail.be/msg0055458208.html 333 3342011-01-06 Frank Warmerdam <[email protected]> 335 336 * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 337 maintained. 338 339 * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 340 for CHUNKY_STRIP_READ_SUPPORT. 341 342 * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained 343 during JPEGPreDecode and JPEGDecode calls. 344 * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 345 as compression formats like JPEG keep 16 lines interleaved in a sense 346 and might need to touch quite a bit of data. 347 348 http://trac.osgeo.org/gdal/ticket/3894 349 3502011-01-03 Lee Howard <[email protected]> 351 352 * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images 353 caused by commit on 2010-12-14. Submitted by e-mail from 354 Even Rouault <[email protected]> 355 3562010-12-31 Olivier Paquet <[email protected]> 357 358 * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE. 359 http://bugzilla.maptools.org/show_bug.cgi?id=2266 360 3612010-12-23 Andrey Kiselev <[email protected]> 362 363 * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the 364 compression level parameter (preset) for Deflate and LZMA encoders, 365 e.g "-c lzma:p1" or "-c zip:p9". 366 367 * libtiff/tif_lzma.c: Properly set the LZMA2 compression level 368 (preset) in LZMAVSetField(). 369 3702010-12-18 Bob Friesenhahn <[email protected]> 371 372 * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to 373 Makefile. 374 3752010-12-14 Andrey Kiselev <[email protected]> 376 377 * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h, 378 tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new 379 TIFF compression scheme LZMA reserving a new value 34925 for 380 Compression tag. As per 381 bug http://bugzilla.maptools.org/show_bug.cgi?id=2221 382 3832010-12-14 Lee Howard <[email protected]> 384 385 * libtiff/tif_dirread.c: tolerate some cases where 386 FIELD_COLORMAP is missing 387 http://bugzilla.maptools.org/show_bug.cgi?id=2189 388 3892010-12-14 Lee Howard <[email protected]> 390 391 * libtiff/tif_read.c: change read_ahead to tmsize_t 392 http://bugzilla.maptools.org/show_bug.cgi?id=2222 393 3942010-12-14 Lee Howard <[email protected]> 395 396 * configure.ac, libtiff/Makefile.am: Build tif_win32.c on 397 Windows except on Cygwin 398 http://bugzilla.maptools.org/show_bug.cgi?id=2224 399 4002010-12-14 Lee Howard <[email protected]> 401 402 * tools/gif2tiff.c: fix buffer overrun 403 http://bugzilla.maptools.org/show_bug.cgi?id=2270 404 4052010-12-14 Lee Howard <[email protected]> 406 407 * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order 408 to improve compatibility with various viewers 409 submitted by e-mail from Dwight Kelly <[email protected]> 410 4112010-12-13 Lee Howard <[email protected]> 412 413 * tools/fax2ps.c: be consistent with page-numbering 414 http://bugzilla.maptools.org/show_bug.cgi?id=2225 415 4162010-12-13 Lee Howard <[email protected]> 417 418 * libtiff/tif_color.c: prevent crash in handling bad TIFFs 419 resolves CVE-2010-2595 420 http://bugzilla.maptools.org/show_bug.cgi?id=2208 421 4222010-12-13 Lee Howard <[email protected]> 423 424 * tools/tiffcrop.c: new release by Richard Nolde 425 http://bugzilla.maptools.org/show_bug.cgi?id=2004 426 4272010-12-12 Lee Howard <[email protected]> 428 429 * tools/tiff2pdf.c: fix colors for images with RGBA 430 interleaved data 431 http://bugzilla.maptools.org/show_bug.cgi?id=2250 432 4332010-12-12 Lee Howard <[email protected]> 434 435 * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files 436 http://bugzilla.maptools.org/show_bug.cgi?id=2164 437 4382010-12-11 Lee Howard <[email protected]> 439 440 * tools/tiff2pdf.c: remove invalid duplication for Lab 441 http://bugzilla.maptools.org/show_bug.cgi?id=2162 442 4432010-12-11 Lee Howard <[email protected]> 444 445 * libtiff/tif_jpeg.c: fix use of clumplines calculation 446 http://bugzilla.maptools.org/show_bug.cgi?id=2149 447 4482010-12-11 Lee Howard <[email protected]> 449 450 * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp() 451 http://bugzilla.maptools.org/show_bug.cgi?id=2118 452 4532010-12-11 Lee Howard <[email protected]> 454 455 * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c, 456 libtiff/tif_zip.c: fix build errors for VC6 457 http://bugzilla.maptools.org/show_bug.cgi?id=2105 458 4592010-12-11 Lee Howard <[email protected]> 460 461 * libtiff/tif_stream.cxx: warnings cleanup 462 http://bugzilla.maptools.org/show_bug.cgi?id=2091 463 * libtiff/tif_dirread.c: warnings cleanup 464 http://bugzilla.maptools.org/show_bug.cgi?id=2092 465 4662010-12-11 Lee Howard <[email protected]> 467 468 * tools/tiff2pdf.c: add fill-page option 469 http://bugzilla.maptools.org/show_bug.cgi?id=2051 470 4712010-12-11 Lee Howard <[email protected]> 472 473 * libtiff/tif_dirread.c: modify warnings 474 http://bugzilla.maptools.org/show_bug.cgi?id=2016 475 4762010-12-11 Lee Howard <[email protected]> 477 478 * libtiff/tif_ojpeg.c: fix buffer overflow on problem data 479 http://bugzilla.maptools.org/show_bug.cgi?id=1999 480 4812010-12-11 Lee Howard <[email protected]> 482 483 * tools/tiffinfoce.c: strip byte counts are uint64* now 484 4852010-12-11 Lee Howard <[email protected]> 486 487 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero 488 or missing byte-count tag 489 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count 490 per http://bugzilla.maptools.org/show_bug.cgi?id=1996 491 4922010-12-08 Lee Howard <[email protected]> 493 494 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed 495 TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994 496 4972010-12-06 Lee Howard <[email protected]> 498 499 * libtiff/tif_open.c: Fix mode check before opening a file. 500 http://bugzilla.maptools.org/show_bug.cgi?id=1906 501 5022010-11-27 Bob Friesenhahn <[email protected]> 503 504 * libtiff-4.pc.in: Added libtiff pkg-config .pc file support. 505 Patch by Vincent Torri. 506 5072010-10-21 Frank Warmerdam <[email protected]> 508 509 * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler. 510 511 * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf. 512 513 * libtiff/libtiff.def: export _TIFFCheckMalloc for tools. 514 5152010-09-25 Lee Howard <[email protected]> 516 517 * tools/tiff2ps.c: improvements and enhancements from Richard Nolde 518 with additional command line options for Document Title, 519 Document Creator, and Page Orientation 520 5212010-07-13 Bob Friesenhahn <[email protected]> 522 523 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 524 potentially unterminated buffer due to using an exceptionally long 525 file name. 526 5272010-07-08 Andrey Kiselev <[email protected]> 528 529 * tools/tiff2pdf.c: Fixed ID buffer filling in 530 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 531 5322010-07-07 Andrey Kiselev <[email protected]> 533 534 * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 535 to expected value as the warning message suggests. As per bug 536 http://bugzilla.maptools.org/show_bug.cgi?id=1963 537 5382010-07-06 Andrey Kiselev <[email protected]> 539 540 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 541 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 542 which should be set by value. 543 544 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 545 and _TIFFFieldWithName() if the tag is not found in the tag table. 546 This should be normal situation and returned NULL value should be 547 properly handled by the caller. 548 5492010-07-02 Andrey Kiselev <[email protected]> 550 551 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 552 integer type conversions. As per bug 553 http://bugzilla.maptools.org/show_bug.cgi?id=2207 554 555 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 556 WhitePoint tag as per bug 557 http://bugzilla.maptools.org/show_bug.cgi?id=2042 558 559 * libtiff/tif_getimage.c: Check the number of samples per pixel when 560 working with YCbCr image in PickContigCase(). As per bug 561 http://bugzilla.maptools.org/show_bug.cgi?id=2216 562 563 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 564 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 565 we don't need any post-processing. That helps to reset the hook if we 566 previously set this field to some other value and the hook was 567 initialized accordingly. As per bug 568 http://bugzilla.maptools.org/show_bug.cgi?id=2035 569 5702010-07-01 Andrey Kiselev <[email protected]> 571 572 * tools/tiffgt.c: Properly check the raster buffer allocations for 573 integer overflows. As per bug 574 http://bugzilla.maptools.org/show_bug.cgi?id=2108 575 576 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 577 upstream. 578 579 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 580 multiply_32() and multiply_64() functions into tif_aux.c file and 581 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 582 5832010-06-30 Andrey Kiselev <[email protected]> 584 585 * tools/tiff2pdf.c: Better generation of ID field in 586 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 587 588 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 589 converting JPEG encoded tiles. 590 591 * tools/tiff2pdf.c: Better handling of string fields, use static 592 string buffers instead of dynamically allocated, use strncpy() instead 593 of strcpy(), control the string lengths. 594 5952010-06-25 Andrey Kiselev <[email protected]> 596 597 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 598 referencing to uninitialized memory in some cases (e.g. when tile size 599 set bigger than the image size). 600 6012010-06-15 Bob Friesenhahn <[email protected]> 602 603 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 604 subsampled data since tiffcrop currently doesn't support it. Fix 605 JPEG support. 606 6072010-06-13 Frank Warmerdam <[email protected]> 608 609 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 610 611 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 612 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 613 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 614 size is larger. Also, there are a bunch of places that try to 615 memset() a malloc'd buffer before checking for malloc failure, which 616 would result in core dump if there actually were a failure. (#2211) 617 6182010-06-11 Bob Friesenhahn <[email protected]> 619 620 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 621 avoid compiler warnings if parameter types are not sign 622 consistent. 623 624 * libtiff 4.0.0alpha6 released. 625 626 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 627 European page size dimensions. Added an option to allow the user 628 to specify a custom page size on the command line. Fix the case 629 where a page size specified with a fractional part was being 630 coerced to an integer by retyping the variables that define the 631 paper size. 632 633 * html/index.html: Update for the 3.9.3 release. 634 635 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 636 YCbCr subsampled data since tiffcp currently doesn't support it. 637 http://bugzilla.maptools.org/show_bug.cgi?id=2097 638 639 * Update libtool to version 2.2.10. 640 6412010-06-10 Bob Friesenhahn <[email protected]> 642 643 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 644 multiplier is zero. 645 6462010-06-09 Bob Friesenhahn <[email protected]> 647 648 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 649 CVE-2010-1411 was not complete. 650 651 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 652 multiply two integers. Returns zero if there is an integer 653 overflow. 654 655 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 656 is reported when reading the input file. 657 6582010-06-08 Bob Friesenhahn <[email protected]> 659 660 * Update libtool to version 2.2.8. 661 662 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 663 buffer due to integer overflow in TIFFroundup() and several other 664 potential overflows. In conjunction with the fix to TIFFhowmany(), 665 fixes CVE-2010-1411. 666 667 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 668 result in an integer overflow. This causes TIFFroundup() to also 669 return zero if there would be an integer overflow. 670 671 * contrib: Add an emacs formatting mode footer to all source files 672 so that emacs can be effectively used. 673 6742010-06-03 Oliver Chen Feng <[email protected]> 675 676 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 677 file PAGENUMBER value in sequence for users who care the page 678 sequence, this will also prevent tiff2pdf from creating pdf file from 679 the merged tiff file with wrong page sequence. 680 6812010-05-08 Olivier Paquet <[email protected]> 682 683 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 684 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 685 * libtiff/tif_dirinfo.c: Use correct set_field_type for 686 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 687 http://bugzilla.maptools.org/show_bug.cgi?id=2192 688 6892010-05-07 Frank Warmerdam <[email protected]> 690 691 * libtiff/tif_jpeg.c: Ensure that quality is always set in 692 JPEGPreEncode(), not just when we want to output local tables. 693 Otherwise the quality used during compression may not be right and 694 might not match the tables in the tables tag. This bug only occurs 695 when seeking between directories in the midst of writing blocks. 696 http://trac.osgeo.org/gdal/ticket/3539 697 6982010-05-06 Andrey Kiselev <[email protected]> 699 700 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 701 Regenerated from the source. 702 7032010-05-05 Olivier Paquet <[email protected]> 704 705 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 706 had stopped working. Also made it always print 6 floats instead of 707 2*SamplesPerPixel. 708 http://bugzilla.maptools.org/show_bug.cgi?id=2191 709 http://bugzilla.maptools.org/show_bug.cgi?id=2186 710 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 711 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 712 7132010-05-05 Frank Warmerdam <[email protected]> 714 715 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 716 if the jpeg table was written. This is a fix for the last fix on 04-21. 717 7182010-04-21 Frank Warmerdam <[email protected]> 719 720 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 721 JPEGSetupEncode() is called if the tables already seem to be 722 established. This prevents spurious updates and rewriting of 723 directories with jpegtables when doing updates to existing images. 724 http://trac.osgeo.org/gdal/ticket/3539 725 7262010-04-20 Olivier Paquet <[email protected]> 727 728 * libtiff/tif_dirinfo.c: Use correct set_field_type for 729 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 730 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 731 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 732 http://bugzilla.maptools.org/show_bug.cgi?id=2139 733 7342010-04-10 Bob Friesenhahn <[email protected]> 735 736 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 737 when the tag count value is zero. Error handling is still a 738 regression since in 3.9.2, empty tags are skipped (with a warning) 739 rather than returning a hard error and refusing to read the file. 740 741 * tools/ppm2tiff.c (main): While case for parsing comment line 742 requires extra parenthesis to work as expected. Reported by 743 Thomas Sinclair. 744 7452010-04-02 Frank Warmerdam <[email protected]> 746 747 * libtiff/tif_read.c (primarily): Add support for 748 CHUNKY_STRIP_READ_SUPPORT where large strips are 749 read in chunks for applications using TIFFReadScanline(). 750 This is intended to make it more practical work with very 751 large compressed one-strip files. Feature is off by default. 752 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 753 http://trac.osgeo.org/gdal/ticket/3514 754 7552010-03-31 Frank Warmerdam <[email protected]> 756 757 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 758 directories so previously placed directories will be migrated to 759 the end of file if needed. 760 7612010-03-30 Frank Warmerdam <[email protected]> 762 763 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 764 to support operating on strips/tiles of more than 256MB. 765 http://trac.osgeo.org/gdal/ticket/3512 766 7672010-03-10 Bob Friesenhahn <[email protected]> 768 769 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 770 that it is clearly a memory allocation error message, and also 771 includes the size of the allocation request. 772 7732010-02-22 Lee Howard <[email protected]> 774 775 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 776 the JPEG TIFF as is is not required in order to prevent it from 777 being unused and filled with invalid data. (Leave it to be 778 generated by later activity.) 779 http://bugzilla.maptools.org/show_bug.cgi?id=2135 780 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 781 data rather than skipping them. This fixes the ability to view in 782 Acrobat Reader, Evince, and Ghostscript. 783 http://bugzilla.maptools.org/show_bug.cgi?id=2135 784 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 785 strips. 786 http://bugzilla.maptools.org/show_bug.cgi?id=2029 787 7882009-12-03 Frank Warmerdam <[email protected]> 789 790 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 791 Made so that when working with downsampled images a stub function 792 reporting an error is used for tif_decoderow. We cannot meaningfully 793 support reading scanlines in this situation. (#1936) 794 795 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 796 resetting of the upsampling values (gdal:#3259). 797 http://bugzilla.maptools.org/show_bug.cgi?id=1936 798 7992009-11-30 Frank Warmerdam <[email protected]> 800 801 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 802 tools/ras2tiff.c: Fix resource leaks on error. 803 http://bugzilla.maptools.org/show_bug.cgi?id=2121 804 805 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 806 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 807 of as a custom(generic) field to avoid a potential reentrancy problem. 808 http://bugzilla.maptools.org/show_bug.cgi?id=2125 809 810 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 811 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 812 const, and display_sRGB static and const. 813 http://bugzilla.maptools.org/show_bug.cgi?id=2124 814 8152009-11-04 Bob Friesenhahn <[email protected]> 816 817 * libtiff 4.0.0alpha5 released. 818 8192009-11-03 Bob Friesenhahn <[email protected]> 820 821 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 822 version has undergone substantial testing with arbitrary sample 823 bit depths. Also eliminates GCC compilation warnings. 824 8252009-11-02 Bob Friesenhahn <[email protected]> 826 827 * port/libport.h: Add extern declarations for getopt standard 828 globals. 829 8302009-10-31 Bob Friesenhahn <[email protected]> 831 832 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 833 noticed in 64-bit build of libtiff with Visual Studio 2005. 834 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 835 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 836 837 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 838 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 839 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 840 http://bugzilla.maptools.org/show_bug.cgi?id=2068 841 8422009-10-29 Bob Friesenhahn <[email protected]> 843 844 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 845 pointer" warnings. 846 8472009-10-28 Bob Friesenhahn <[email protected]> 848 849 * html/tools.html: Add manual page links, and a summary 850 description of tiffcrop. 851 8522009-10-07 Bob Friesenhahn <[email protected]> 853 854 * configure.ac: x86_64 should use the same fill order as i386. 855 8562009-09-24 Bob Friesenhahn <[email protected]> 857 858 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 859 Nolde. Major updates to add significant functionality for reading 860 and writing tile based images with bit depths not a multiple of 8 861 which cannot be handled by tiffcp. 862 8632009-09-03 Bob Friesenhahn <[email protected]> 864 865 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 866 do_fancy_upsampling=FALSE in order to read raw data. Resolves 867 "Bug 2090 - OJPEG crash with libjpeg v7". 868 http://bugzilla.maptools.org/show_bug.cgi?id=2090 869 8702009-09-03 Frank Warmerdam <[email protected]> 871 872 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 873 interface when stoponerror is set. 874 http://bugzilla.maptools.org/show_bug.cgi?id=2071 875 8762009-08-30 Bob Friesenhahn <[email protected]> 877 878 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 879 fix build with gcc when using the "-Wformat 880 -Werror=format-security" flags. 881 8822009-08-29 Bob Friesenhahn <[email protected]> 883 884 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 885 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 886 utilities tests. 887 8882009-08-28 Bob Friesenhahn <[email protected]> 889 890 * tools/tiffinfo.c: tiffinfo should return error status to the 891 caller. Register a private error callback to accomplish that. 892 893 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 894 PNM formats so that we will be able to test more of the tools. 895 While adding these test images I notice that bmp2tiff and gif2tiff 896 only support ancient versions of their respective formats. 897 8982009-08-27 Bob Friesenhahn <[email protected]> 899 900 * libtiff 4.0.0alpha4 released. 901 902 * HOWTO-RELEASE: Improved release instructions. 903 9042009-08-24 Bob Friesenhahn <[email protected]> 905 906 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 907 fixes for "Bug 2023 - nroff errors in manual pages". 908 http://bugzilla.maptools.org/show_bug.cgi?id=2023 909 910 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 911 CVE-2009-2347 libtiff: integer overflows in various inter-color 912 space conversion tools". 913 http://bugzilla.maptools.org/show_bug.cgi?id=2079 914 915 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 916 Berkenbilt for "Bug 2024 - possible null pointer dereference with 917 one-line fix". 918 http://bugzilla.maptools.org/show_bug.cgi?id=2024 919 920 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 921 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 922 segfault after setting tdir_tag = IGNORE". 923 http://bugzilla.maptools.org/show_bug.cgi?id=1895 924 9252009-08-23 Bob Friesenhahn <[email protected]> 926 927 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 928 tiffcrop.sh into a collection of many specific tests. Re-wrote 929 all of the existing tests to be based on some simple shell 930 functions. Make distcheck works again. 931 932 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 933 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 934 tests under valgrind. 935 9362009-08-21 Bob Friesenhahn <[email protected]> 937 938 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 939 build. 940 941 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 942 actually activated since it needed to be enabled in this 943 Makefile.am. Also activated parallel-tests mode since it offers 944 useful features such as per-test .log files and a summary test 945 report .log file. 946 9472009-08-20 Bob Friesenhahn <[email protected]> 948 949 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 950 libtool 2.2.6. Enabled support for silent build rules 951 (--enable-silent-rules or 'make V=0') and colorized tests. 952 953 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 954 9552009-06-30 Frank Warmerdam <[email protected]> 956 957 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 958 959 * tools/tiffcp.c: add -c sgilog support. 960 961 * libtiff/tif_luv.c: correct return codes from encoderow to be 962 1 on success instead of zero. 963 http://bugzilla.maptools.org/show_bug.cgi?id=2069 964 965 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 966 #1085 for a better underflow fix that errors properly. 967 http://bugzilla.maptools.org/show_bug.cgi?id=2065 968 http://bugzilla.maptools.org/show_bug.cgi?id=1985 969 9702009-06-26 Frank Warmerdam <[email protected]> 971 972 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 973 fails on oddly sized 12bit jpeg compressed ycbcr images. 974 9752009-06-22 Frank Warmerdam <[email protected]> 976 977 * libtiff/tif_lzw.c: Fix buffer underflow bug. 978 http://bugzilla.maptools.org/show_bug.cgi?id=2065 979 9802009-06-21 Frank Warmerdam <[email protected]> 981 982 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 983 for dual mode 8/12 bit jpeg support. 984 9852009-06-03 Frank Warmerdam <[email protected]> 986 987 * libtiff/tif_write.c: do not override the planar configuration to be 988 contig for one sample files if planar configuration is already set. 989 http://bugzilla.maptools.org/show_bug.cgi?id=2057 990 9912009-06-02 Frank Warmerdam <[email protected]> 992 993 * libtiff/libtiff.def: Add TIFFUnsetField. 994 9952009-05-03 Frank Warmerdam <[email protected]> 996 997 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 998 error reports to use "%s" as format string. 999 http://trac.osgeo.org/gdal/ticket/2976 1000 10012009-03-12 Frank Warmerdam <[email protected]> 1002 1003 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 1004 for some codecs (#2020). 1005 10062009-02-12 Frank Warmerdam <[email protected]> 1007 1008 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 1009 http://bugzilla.maptools.org/show_bug.cgi?id=2005 1010 10112009-02-09 Frank Warmerdam <[email protected]> 1012 1013 * libtiff/tif_dirread.c: Improve allocation safety when allocated 1014 buffer for large tags. (#1998) Related to (#1993) 1015 10162009-02-06 Frank Warmerdam <[email protected]> 1017 1018 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 1019 test suite should pass. 1020 10212009-02-05 Frank Warmerdam <[email protected]> 1022 1023 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 1024 but at the 2GB boundary to avoid overflow on 32bit systems. 1025 http://bugzilla.maptools.org/show_bug.cgi?id=1993 1026 1027 * libtiff/tif_dirread.c: Remove some assertions that blow due to 1028 corrupt files rather than in response to library internal 1029 inconsistencies. 1030 http://bugzilla.maptools.org/show_bug.cgi?id=1995 1031 http://bugzilla.maptools.org/show_bug.cgi?id=1991 1032 1033 * libtiff/tif_dirread.c: Fixed testing for failed result from 1034 TIFFReadDirectoryFindFieldInfo(). 1035 http://bugzilla.maptools.org/show_bug.cgi?id=1992 1036 10372009-01-23 Frank Warmerdam <[email protected]> 1038 1039 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 1040 http://bugzilla.maptools.org/show_bug.cgi?id=1911 1041 1042 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 1043 1044 http://bugzilla.maptools.org/show_bug.cgi?id=1924 1045 1046 * tools/tiffcrop.c: initialize xres/yres values. 1047 1048 * test/*.sh - default ${srcdir} to local directory. 1049 1050 * test/common.sh - start verbose mode after common settings. 1051 1052 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 1053 avoid type mismatches on different platforms. 1054 http://bugzilla.maptools.org/show_bug.cgi?id=1889 1055 10562009-01-22 Frank Warmerdam <[email protected]> 1057 1058 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 1059 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 1060 1061 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 1062 defined, primarily to reduce prototype warnings on windows. 1063 1064 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 1065 about unused parameters, and uninitialized variables. 1066 10672009-01-21 Bob Friesenhahn <[email protected]> 1068 1069 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 1070 order to trace full execution detail while executing the test suite. 1071 10722009-01-20 Frank Warmerdam <[email protected]> 1073 1074 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 1075 10762009-01-20 Bob Friesenhahn <[email protected]> 1077 1078 * test/Makefile.am (CLEANFILES): Make sure that test output files 1079 are removed by 'make clean' 1080 1081 * Update autotools for 4.0.0 beta3 1082 1083 * 4.0.0 beta3 produced. 1084 10852009-01-12 Bob Friesenhahn <[email protected]> 1086 1087 * test/tiffcrop.sh: New test script for tiffcrop from Richard 1088 Nolde. 1089 1090 * tools/tiff2ps.c: Remove spurious message to stderr. 1091 10922009-01-11 Bob Friesenhahn <[email protected]> 1093 1094 * tools/tiff2ps.c: Incorporated significant functionality update 1095 from Richard Nolde. In particular, support for rotating the image 1096 by 90, 180, 270, and 'auto' has been added. 1097 1098 * man/tiffcrop.1: Incorporated documentation updates from Richard 1099 Nolde. 1100 1101 * tools/tiffcrop.c: Incorporated significant functionality update 1102 from Richard Nolde. 1103 11042008-12-31 Bob Friesenhahn <[email protected]> 1105 1106 * libtiff/tiffio.h: GCC will now validate format specifications 1107 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 1108 TIFFWarningExt() in order to reveal bugs. 1109 1110 * Many fixes throughout to work better as a 64-bit build. 1111 11122008-12-30 Bob Friesenhahn <[email protected]> 1113 1114 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 1115 tags now require 64-bit parameter rather than 32-bit. 1116 1117 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 1118 64-bit values. 1119 1120 * tools/thumbnail.c: Eliminate crash noticed while running test 1121 suite. 1122 11232008-12-29 Bob Friesenhahn <[email protected]> 1124 1125 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 1126 Initialize stack variables to avoid compiler warning. 1127 1128 * tools/tiffinfoce.c (main): Use toff_t for offset type when 1129 retrieving offset of EXIF IFD. 1130 1131 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 1132 TIFFClientOpen() callback and other external function definitions. 1133 1134 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 1135 type now. Fixes crash when dumping files containing an EXIF IFD. 1136 1137 * m4/libtool.m4: Update to libtool 2.2.6. 1138 11392008-12-21 Frank Warmerdam <[email protected]> 1140 1141 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 1142 1143 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 1144 strip for the last partial strip in a jpeg compressed file. 1145 http://bugzilla.maptools.org/show_bug.cgi?id=1981 1146 11472008-10-29 Frank Warmerdam <[email protected]> 1148 1149 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 1150 we take the shortcut to only update the strip/tile offsets in place. 1151 http://trac.osgeo.org/gdal/ticket/2621 1152 11532008-10-21 Andrey Kiselev <[email protected]> 1154 1155 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 1156 the older versions retained). 1157 11582008-10-09 Frank Warmerdam <[email protected]> 1159 1160 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 1161 IPP enabled version of libjpeg from Intel. 1162 http://bugzilla.maptools.org/show_bug.cgi?id=1951 1163 11642008-09-05 Andrey Kiselev <[email protected]> 1165 1166 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 1167 Required for libtiff 4.0. 1168 1169 * tools/tiffsplit.c: Use dynamically allocated array instead of static 1170 when constructing output file names. 1171 11722008-09-03 Andrey Kiselev <[email protected]> 1173 1174 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 1175 doing the filename/path construction. 1176 1177 * tools/tiff2pdf.c: More appropriate format string in 1178 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 1179 1180 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 1181 1182 http://bugzilla.maptools.org/show_bug.cgi?id=1929 1183 1184 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 1185 CVE-2008-2327 security issue. 1186 11872008-09-01 Frank Warmerdam <[email protected]> 1188 1189 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 1190 1191 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 1192 depending on whether the file is bigtiff or classic tiff. 1193 http://bugzilla.maptools.org/show_bug.cgi?id=1917 1194 11952008-08-12 Edward Lam <[email protected]> 1196 1197 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 1198 consistent (__int64) casting when testing if _lseeki64 has 1199 successfully seeked as requested. This is necessary for large 1200 file support to work since off_t is only 32-bit. 1201 12022008-07-29 Frank Warmerdam <[email protected]> 1203 1204 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 1205 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 1206 with control logic to return runtime errors (c/o Even Rouault) (#1927). 1207 12082008-06-17 Frank Warmerdam <[email protected]> 1209 1210 * tools/tiffcrop.c: Fix some portability problems. 1211 1212 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 1213 used in tif_jpeg.c. 1214 1215 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 1216 as TIFFOpen(). 1217 12182008-06-01 Frank Warmerdam <[email protected]> 1219 1220 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 1221 like Sparc/Solaris. 1222 http://bugzilla.maptools.org/show_bug.cgi?id=1892 1223 12242008-05-27 Frank Warmerdam <[email protected]> 1225 1226 * libtiff.def: Add TIFFFindField 1227 http://bugzilla.maptools.org/show_bug.cgi?id=1891 1228 12292008-05-26 Frank Warmerdam <[email protected]> 1230 1231 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 1232 1233 * li2008-04-15 Andrey Kiselev <[email protected]> 1234 1235btiff/tif_win32.c: Replace custom Win32 memory api with generic 1236 POSIX one. No apparent value to use of GlobalAlloc() in the modern 1237 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 1238 1239 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 1240 in windows version (care of Edward Lam). 1241 12422008-05-24 Frank Warmerdam <[email protected]> 1243 1244 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 1245 compression codec codes. 1246 1247 * tif_dirwrite.c: fix potential memory leak. 1248 1249 * tif_dirread.c: Fix unchecked malloc result. 1250 12512008-05-24 Bob Friesenhahn <[email protected]> 1252 1253 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 1254 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 1255 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 1256 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 1257 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 1258 suggestions from Lee Howard posted to the tiff list on 13 Sep 1259 2007. 1260 12612008-05-23 Frank Warmerdam <[email protected]> 1262 1263 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 1264 possible runtime problem reported by coverity. 1265 1266 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 1267 1268 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 1269 http://bugzilla.maptools.org/show_bug.cgi?id=1888 1270 1271 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 1272 1273 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 1274 1275 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 1276 Cleanup scanline allocation to avoid coverity warning. 1277 1278 * tools/thumbnail.c: Check for TIFFOpen() failure. 1279 12802008-05-18 Frank Warmerdam <[email protected]> 1281 1282 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 1283 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 1284 why this is needed. 1285 12862008-05-09 Bob Friesenhahn <[email protected]> 1287 1288 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 1289 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 1290 12912008-04-15 Andrey Kiselev <[email protected]> 1292 1293 * test/: Test suite updated. Everything is passed now. 1294 1295 * libtiff/tif_dirinfo.c: Fixed description of the 1296 TIFFTAG_NUMBEROFINKS tag. 1297 12982008-04-14 Andrey Kiselev <[email protected]> 1299 1300 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 1301 Get rid of some of "dereferencing type-punned" warnings by converting 1302 tdir_offset field of TIFFDirEntry structure into union. 1303 13042008-04-10 Andrey Kiselev <[email protected]> 1305 1306 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 1307 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 1308 from the public interface. Type of its 'count' parameter changed 1309 from uint32 to tmsize_t. 1310 1311 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 1312 of the tiff structure have the size_t type instead of uint32. 1313 13142008-04-09 Andrey Kiselev <[email protected]> 1315 1316 * tools/tiffdump.c: Added support for MSVS 6.0. 1317 1318 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 1319 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 1320 point values on MSVS 6.0 platform. 1321 13222008-03-14 Frank Warmerdam <[email protected]> 1323 1324 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 1325 TIFFReadDirEntryArray() since they are interfering with seemingly 1326 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 1327 13282008-02-09 Joris Van Damme <[email protected]> 1329 1330 * tif_dirread.c: Added handling for the case of number of values for 1331 PageNumber tag different from 2 (previously resulted in an assert 1332 indicating lack of handling and was forgotten about) 1333 13342008-02-01 Frank Warmerdam <[email protected]> 1335 1336 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 1337 the actual jpeg data stream if the first strip/tile has zero size. 1338 This is the case when GDAL creates a new file with zero sizes, closes 1339 and reopens it. 1340 13412008-01-07 Frank Warmerdam <[email protected]> 1342 1343 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 1344 13452008-01-01 Frank Warmerdam <[email protected]> 1346 1347 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 1348 1349 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 1350 targets. 1351 1352 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 1353 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 1354 (x64). 1355 1356 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 1357 and TIFFFieldWithName() now return TIFFField pointers instead of 1358 TIFFFieldInfo pointers. 1359 1360 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 1361 exist. This makes it compile again on Windows 1362 1363 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 1364 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 1365 1366 * test/rewrite_tag.c: New test for TIFFRewriteField(). 1367 13682007-12-31 Frank Warmerdam <[email protected]> 1369 1370 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 1371 rewrites one field "on disk" updating an existing directory 1372 entry. Lots of limitations still... 1373 1374 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 1375 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 1376 the strip offset/size values are dirty but nothing else about the 1377 directory is dirty. In flush handle "just stripmaps dirty" as a 1378 special case that just rewrites these values without otherwise 1379 modifying the directory on disk using TIFFRewriteField(). 1380 1381 We also modify logic so that in update mode the directory is not 1382 marked dirty on read, but only when something is changed. This 1383 means we need to keep track of updates to the stripmap stuff in 1384 TIFFAppendToStrip(). 1385 13862007-12-10 Frank Warmerdam <[email protected]> 1387 1388 * tif_jpeg.c: Improve ability to switch between encoding and decoding 1389 in the jpeg code (gdal bug #2033). 1390 13912007-11-23 Frank Warmerdam <[email protected]> 1392 1393 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 1394 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 1395 rawcp/rawcc buffer are for writing and thus may require flushing. 1396 Necessary to distinguish whether they need to be written to disk when 1397 in mixed read/write mode and doing a mixture of writing followed by 1398 reading. http://trac.osgeo.org/gdal/ticket/1758 1399 14002007-11-23 Andrey Kiselev <[email protected]> 1401 1402 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 1403 from Alexey Chupahin. 1404 14052007-11-02 Frank Warmerdam <[email protected]> 1406 1407 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 1408 establishing if an existing tile can be rewritten to the same location 1409 by comparing the current size to all the other blocks in the same 1410 directory. This is dangerous in many situations and can easily 1411 corrupt a file. (observed in esoteric GDAL situation that's hard to 1412 document). This change involves leaving the stripbytecount[] values 1413 unaltered till TIFFAppendToStrip(). Now we only write a block back 1414 to the same location it used to be at if the new data is the same 1415 size or smaller - otherwise we move it to the end of file. 1416 1417 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 1418 data when writing the directory just because we have BEENWRITING at 1419 some point in the past. This was causing odd junk to be written out 1420 in a tile of data when a single tile had an interleaving of reading 1421 and writing with reading last. (highlighted by gdal 1422 autotest/gcore/tif_write.py test 7. 1423 1424 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 1425 modifying callers buffer. 1426 http://trac.osgeo.org/gdal/ticket/1965 1427 1428 * tif_predict.c/h: more fixes related to last item, keeping a 1429 distinct pfunc for encode and decode cases as these were getting 1430 mixed up sometimes. 1431 http://trac.osgeo.org/gdal/ticket/1948 1432 14332007-11-01 Frank Warmerdam <[email protected]> 1434 1435 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 1436 predictor based encoding and decoding works in read-write update 1437 mode properly. 1438 http://trac.osgeo.org/gdal/ticket/1948 1439 14402007-10-24 Joris Van Damme <[email protected]> 1441 1442 * tif_dirread.c: Fixed problem with bogus file triggering 1443 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 1444 ChopUpSingleUncompressedStrip 1445 14462007-10-22 Joris Van Damme <[email protected]> 1447 1448 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 1449 at best, access violation at worst, when subsampled JPEG compressed imagery 1450 is decoded without the JPEG_COLORMODE feature 1451 14522007-10-11 Frank Warmerdam <[email protected]> 1453 1454 * html/index.html: Update "people responsible" section. 1455 14562007-10-05 Frank Warmerdam <[email protected]> 1457 1458 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 1459 as reported on the mailing list. 1460 14612007-10-01 Joris Van Damme <[email protected]> 1462 1463 * changed some more incorrect %lud printf flags to %lu 1464 14652007-09-29 Joris Van Damme <[email protected]> 1466 1467 * tif_dirread.c: Strip chopping interfered badly with uncompressed 1468 subsampled images because it tried to divide subsampled rowblocks, 1469 leading to all sorts of errors throughout the library for these 1470 images. Fixed by making strip chopping divide in row counts that 1471 are a multiple of vertical subsampling value. 1472 14732007-09-28 Joris Van Damme <[email protected]> 1474 1475 * tif_dirread.c: Logical cast working around compiler warning 1476 1477 * tif_read.c: Correction of some error flags and parameter lists 1478 14792007-09-27 Joris Van Damme <[email protected]> 1480 1481 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 1482 when dealing with large bitspersample values, shutting up purification 1483 tools that warn about truncation, though it remains incorrect and 1484 indicates a conceptual problem there. 1485 1486 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 1487 of first IFD) to proper place because it badly interfered with memory 1488 mapping, resulting in mapping flag even with dummy mapping functions 1489 that returned 0 whilst at the same time the mapping tif_size wasn't 1490 set, thus resulting in continuous incorrect beyond-eof errors. 1491 14922007-09-24 Joris Van Damme <[email protected]> 1493 1494 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 1495 inconsistent use of const in tiffFields and exifFields definition 1496 14972007-09-20 Frank Warmerdam <[email protected]> 1498 1499 * tif_dirwrite.c: Always write tile/strip offsets and sizes 1500 using LONG8 type when output format is BigTIFF. The 1501 TIFFWriteDirectoryTagLongLong8Array() function was restructured 1502 accordingly. 1503 1504 * tif_dirread.c: Improvements to error reporting text in 1505 TIFFFetchDirectory(). 1506 15072007-09-19 Bob Friesenhahn <[email protected]> 1508 1509 * test/images: Added a small collection of test images for use by 1510 test programs and scripts. 1511 * test/tiffinfo.sh: A trivial example test script. 1512 * test/common.sh: Added small script for setting the environment 1513 used by script-based tests. 1514 15152007-08-24 Frank Warmerdam <[email protected]> 1516 1517 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 1518 zero when writing directory contents to preserve the ability to 1519 rewrite directories in place, even in the middle of a directory 1520 chain. 1521 1522 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 1523 definitions that are missing. Existing definitions are silently 1524 ignored. 1525 1526 * tif_dirread.c: Add runtime error for fields for which no definition 1527 is found (in addition to an assert for developers) in 1528 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 1529 prudent. 1530 15312007-08-10 Joris Van Damme <[email protected]> 1532 1533 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 1534 from _TIFFRGBAImage structure to revert unwanted ABI change. 1535 15362007-08-10 Joris Van Damme <[email protected]> 1537 1538 * libtiff/tif_win32.c: use SetFilePointer instead of 1539 SetFilePointerEx, as per bug 1540 1541 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 1542 15432007-07-19 Andrey Kiselev <[email protected]> 1544 1545 * libtiff/tif_stream.cxx: Put all callback functions declarations 1546 inside extern "C" block. 1547 1548 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 1549 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 1550 formatter instead of "%lld" with MSVC compiler. 1551 1552 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 1553 _TIFFUInt64ToDouble() functions. 1554 15552007-07-18 Andrey Kiselev <[email protected]> 1556 1557 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 1558 integer constants. 1559 1560 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 1561 remove tif_config.h/tiffconf.h during cleaning. As per bug 1562 1563 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 1564 1565 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 1566 1567 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 1568 15692007-07-13 Andrey Kiselev <[email protected]> 1570 1571 * libtiff 4.0.0alpha released. 1572 15732007-07-12 Andrey Kiselev <[email protected]> 1574 1575 * tools/tiff2pdf.c: Added missed extern optind as per bug 1576 1577 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 1578 1579 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 1580 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 1581 extending scheme completed. 1582 15832007-07-11 Bob Friesenhahn <[email protected]> 1584 1585 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 1586 use standard C++ library size types and attempt to detect overflow 1587 cases. 1588 15892007-07-08 Andrey Kiselev <[email protected]> 1590 1591 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 1592 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 1593 tag extending scheme. Use the new scheme everywhere. 1594 1595 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 1596 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 1597 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 1598 TIFFFIeldInfo structure replaced with TIFFField structure. 1599 TIFFFieldInfo retained for the backward compatibility. 1600 16012007-07-05 Bob Friesenhahn <[email protected]> 1602 1603 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 1604 defined. 1605 16062007-07-04 Andrey Kiselev <[email protected]> 1607 1608 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 1609 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 1610 removed. 1611 1612 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 1613 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 1614 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 1615 These tags are not codec-specific and relate to image content, so 1616 process them as other normal tags. 1617 1618 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 1619 public tiffio.h to private tif_dir.h. 1620 1621 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 1622 outdated. 1623 16242007-07-03 Andrey Kiselev <[email protected]> 1625 1626 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 1627 tif_win3.c}: Obsoleted portability stuff removed. 1628 1629 * tools/tiff2ps.c: Added support 16-bit images as per bug 1630 1631 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 1632 1633 Patch from William Bader. 1634 1635 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 1636 significant upgrade of the whole utility as per bug 1637 1638 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 1639 1640 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 1641 PDF file using TIFFClientOpen() machinery as it is implemented 1642 by Leon Bottou. 1643 16442007-06-26 Bob Friesenhahn <[email protected]> 1645 1646 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 1647 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 1648 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 1649 allow returning -1 for errors. 1650 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 1651 16522007-06-25 Bob Friesenhahn <[email protected]> 1653 1654 * port/strtoull.c: New porting function in case strtoull() is not 1655 available on the target system. 1656 * configure.ac: Add configure support for determining sized types 1657 in a portable way and performing necessary substitutions in 1658 tif_config.h and tiffconf.h. Updated tiff.h to use the new 1659 definitions. 1660 16612007-04-27 Andrey Kiselev <[email protected]> 1662 1663 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 1664 1665 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 1666 16672007-04-07 Andrey Kiselev <[email protected]> 1668 1669 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 1670 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 1671 tif_predict.c, tif_zip.c}: Finally fix bug 1672 1673 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 1674 1675 by introducing _TIFFMergeFieldInfo() returning integer error status 1676 instead of void in case of problems with field merging (e.g., if the 1677 field with such a tag already registered). TIFFMergeFieldInfo() in 1678 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 1679 check returned value. 1680 16812007-04-07 Frank Warmerdam <[email protected]> 1682 1683 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 1684 blocks in TIFF_DownSample_Subsampled() (bug 1542). 1685 16862007-04-06 Frank Warmerdam <[email protected]> 1687 1688 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 1689 will convert from decompressor to compressor or compress to decompress 1690 if required by the force arguments. This works around a problem in 1691 where the JPEGFixupTestSubsampling() may cause a decompressor to 1692 be setup on a directory when later a compressor is required with the 1693 force flag set. Occurs with the addtiffo program for instance. 1694 16952007-04-06 Andrey Kiselev <[email protected]> 1696 1697 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 1698 functionality from Richard Nolde. As per bug 1699 1700 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 1701 17022007-03-28 Frank Warmerdam <[email protected]> 1703 1704 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 1705 17062007-03-17 Joris Van Damme <[email protected]> 1707 1708 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 1709 17102007-03-07 Joris Van Damme <[email protected]> 1711 1712 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 1713 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 1714 factor. This bug is mentioned in: 1715 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 1716 http://www.asmail.be/msg0054766825.html 1717 17182007-03-07 Joris Van Damme <[email protected]> 1719 1720 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 1721 1722 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 1723 unused arguments by standard C indication for the same 1724 17252007-02-27 Andrey Kiselev <[email protected]> 1726 1727 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 1728 counters in TIFFFetchData(). Should finally fix the issue 1729 1730 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 1731 17322007-02-24 Andrey Kiselev <[email protected]> 1733 1734 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 1735 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 1736 1737 * libtiff/tif_dirread.c: Added special function to handle 1738 SubjectDistance EXIF tag as per bug 1739 1740 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 1741 1742 * tools/tiff2pdf.c: Do not assume inches when the resolution units 1743 do not specified. As per bug 1744 1745 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 1746 1747 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 1748 it was set as infinite. As per bug 1749 1750 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 1751 1752 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 1753 by Richard Nolde. As per bug 1754 1755 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 1756 17572007-02-22 Andrey Kiselev <[email protected]> 1758 1759 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 1760 ExtraSamples == 999 produced by Corel Draw. As per bug 1761 1762 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 1763 1764 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 1765 changed from tsize_t to uint32 to be able to work with data arrays 1766 larger than 2GB. Fixes bug 1767 1768 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 1769 1770 Idea submitted by Matt Hancher. 1771 17722007-01-31 Andrey Kiselev <[email protected]> 1773 1774 * tools/tif2rgba.c: This utility does not work properly on big-endian 1775 architectures. It was fixed including the bug 1776 1777 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 1778 17792007-01-15 Mateusz Loskot <[email protected]> 1780 1781 * Submitted libtiff port for Windows CE platform 1782 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 1783 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 1784 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 1785 functons from tif_win32.c. 1786 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 1787 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 1788 standard header files for Windows CE build. 1789 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 1790 17912006-11-19 Frank Warmerdam <[email protected]> 1792 1793 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 1794 we move a strip. 1795 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 1796 17972006-10-13 Andrey Kiselev <[email protected]> 1798 1799 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 1800 in Gentoo bug (): 1801 1802 http://bugs.gentoo.org/show_bug.cgi?id=142383 1803 1804 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 1805 Though it is still far from the state of being working and useful. 1806 18072006-10-12 Andrey Kiselev <[email protected]> 1808 1809 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 1810 method. 1811 1812 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 1813 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 1814 1815 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 1816 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 1817 1818 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 1819 vulnerabilities, reported in Gentoo bug (): 1820 1821 http://bugs.gentoo.org/show_bug.cgi?id=142383 1822 18232006-09-28 Andrey Kiselev <[email protected]> 1824 1825 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 1826 vulnerabilities, as per Gentoo bug (): 1827 1828 http://bugs.gentoo.org/show_bug.cgi?id=142383 1829 18302006-09-27 Frank Warmerdam <[email protected]> 1831 1832 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 1833 encoding and decoding on the same read-write TIFF handle. The LZW 1834 code can now maintain encode and decode state at the same time. The 1835 ZIP code will switch back and forth as needed. 1836 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 1837 18382006-09-20 Frank Warmerdam <[email protected]> 1839 1840 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 1841 tif_config.vc.h for easier identification by folks using an IDE. 1842 18432006-07-25 Frank Warmerdam <[email protected]> 1844 1845 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 1846 18472006-07-19 Frank Warmerdam <[email protected]> 1848 1849 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 1850 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 1851 to bug report by Peng Gao with black strip at bottom of images. 1852 18532006-07-12 Frank Warmerdam <[email protected]> 1854 1855 * tif_dirwrite.c: make sure to use uint32 for wordcount in 1856 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 1857 It already seems to have been done for other field types. Needed 1858 for "tiffset" on files with geotiff ascii text. 1859 18602006-07-04 Bob Friesenhahn <[email protected]> 1861 1862 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 1863 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 1864 its use does not appear to be required, so use it only when it is 1865 available. 1866 18672006-06-24 Andrey Kiselev <[email protected]> 1868 1869 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 1870 1871 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 1872 function TIFFFetchDirectory() avoiding code duplication in 1873 TIFFReadDirectory() and TIFFReadCustomDirectory(). 1874 18752006-06-19 Frank Warmerdam <[email protected]> 1876 1877 * tools/tiff2pdf.c: Fix handling of -q values. 1878 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 1879 18802006-06-17 Frank Warmerdam <[email protected]> 1881 1882 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 1883 files. Modified TIFFReadDirectory() to not invoke 1884 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 1885 but one of them is zero. 1886 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 1887 18882006-06-08 Andrey Kiselev <[email protected]> 1889 1890 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 1891 checking code in the separate function TIFFCheckDirOffset(). 1892 1893 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 1894 1895 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 1896 1897 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 1898 1899 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 1900 1901 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 1902 1903 * tools/tiff2pdf.c: Fixed buffer overflow condition in 1904 t2p_write_pdf_string() as per bug 1905 1906 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 1907 19082006-06-07 Andrey Kiselev <[email protected]> 1909 1910 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 1911 support for JBIG compression scheme (34661 code) contributed by Lee 1912 Howard. As per bug 1913 1914 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 1915 1916 * configure, configure.ac: OJPEG support enabled by default. 1917 1918 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 1919 19202006-06-03 Bob Friesenhahn <[email protected]> 1921 1922 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 1923 TIFFPrintDirectory(). Joris Van Damme authored the fix. 1924 19252006-04-21 Andrey Kiselev <[email protected]> 1926 1927 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 1928 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 1929 1930 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 1931 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 1932 Added support for OpenVMS by Alexey Chupahin, [email protected]. 1933 19342006-04-20 Andrey Kiselev <[email protected]> 1935 1936 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 1937 Properly set the binary mode for stdin stream as per bug 1938 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 1939 1940 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 1941 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 1942 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 1943 tiffset.1}: Improvements in page formatting as per bug 1944 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 1945 1946 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 1947 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 1948 19492006-04-18 Frank Warmerdam <[email protected]> 1950 1951 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 1952 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 1953 19542006-04-12 Joris Van Damme <[email protected]> 1955 1956 * libtiff/tif_getimage.c: Added support for planarconfig separate 1957 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 1958 19592006-04-11 Joris Van Damme <[email protected]> 1960 1961 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 1962 - Conversion of unassociated alpha to associated alpha now done with 1963 more performant LUT, and calculation more correct 1964 - Conversion of 16bit data to 8bit data now done with 1965 more performant LUT, and calculation more correct 1966 - Bugfix of handling of 16bit RGB with unassociated alpha 1967 19682006-04-11 Joris Van Damme <[email protected]> 1969 1970 * libtiff/tif_getimage.c: 1971 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 1972 buffer for alpha strile and filled it, only to never read it back. 1973 Removed allocation and fill. 1974 - Minor rename of vars in gtTileSeparate and gtStripSeparate 1975 anticipating planned functionality extension 1976 19772006-04-08 Joris Van Damme <[email protected]> 1978 1979 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 1980 and pickTileSeparateCase to PickSeparateCase as both work on strips as 1981 well 1982 1983 * libtiff/tif_getimage.c: moved img->get selection from 1984 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 1985 logical hook for planned functionality extension 1986 19872006-04-08 Joris Van Damme <[email protected]> 1988 1989 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 1990 of inappropriate use of jpeg_abort instead of jpeg_destroy 1991 19922006-04-07 Joris Van Damme <[email protected]> 1993 1994 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 1995 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 1996 on subsampled images - this ought to get sorted when we feel brave 1997 enough to replace TIFFScanlineSize alltogether 1998 1999 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 2000 20012006-04-04 Joris Van Damme <[email protected]> 2002 2003 * libtiff/tiffio.h: added new type tstrile_t 2004 2005 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 2006 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 2007 toff_t* 2008 2009 * libtiff/tif_ojpeg.c: totally new implementation 2010 2011 * libtiff/tif_dirread.c: added several hacks to suit new support of 2012 OJPEG 2013 2014 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 2015 of OJPEG images in favor of tif_getimage.c native handling of 2016 YCbCr and desubsampling 2017 20182006-03-29 Frank Warmerdam <[email protected]> 2019 2020 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 2021 interpretation causes the "upsampled" flag to be recomputed. Fixes 2022 peculiar bug where photometric flag had to be set before jpegcolormode 2023 flag. 2024 20252006-03-25 Joris Van Damme <[email protected]> 2026 2027 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 2028 2029 * libtiff/tif_strip.c: temporarilly added two new versions of 2030 TIFFScanlineSize 2031 - TIFFNewScanlineSize: proposed new version, after all related 2032 issues and side-effects are sorted out 2033 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 2034 This needs further sorting out. 2035 20362006-03-25 Joris Van Damme <[email protected]> 2037 2038 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 2039 of last truncated strip data to TIFFWriteEncodedStrip 2040 20412006-03-25 Joris Van Damme <[email protected]> 2042 2043 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 2044 20452006-03-25 Joris Van Damme <[email protected]> 2046 2047 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 2048 2049 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 2050 2051 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 2052 prepare the path for new tif_ojpeg.c 2053 20542006-03-23 Andrey Kiselev <[email protected]> 2055 2056 * libtiff 3.8.2 released. 2057 2058 * tools/Makefile.am: Use runtime paths linker flags when rpath 2059 option enabled. 2060 20612006-03-21 Andrey Kiselev <[email protected]> 2062 2063 * libtiff/libtiff.def: Added missed exports as per bug 2064 http://bugzilla.remotesensing.org/attachment.cgi?id=337 2065 2066 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 2067 tools/Makefile.vc: Makefiles improvements as per bug 2068 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 2069 2070 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 2071 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 2072 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 2073 2074 * libtiff/tif_strip.c: Take subsampling in account when calculating 2075 TIFFScanlineSize(). 2076 2077 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 2078 20792006-03-17 Andrey Kiselev <[email protected]> 2080 2081 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 2082 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 2083 2084 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 2085 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 2086 20872006-03-16 Andrey Kiselev <[email protected]> 2088 2089 * libtiff/tiffiop.h: Added decalration for 2090 _TIFFSetDefaultCompressionState(). 2091 2092 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 2093 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 2094 codec cleanup methods. As per bug 2095 2096 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 2097 20982006-03-15 Andrey Kiselev <[email protected]> 2099 2100 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 2101 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 2102 2103 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 2104 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 2105 2106 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 2107 removed; move here the STRIP_SIZE_DEFAULT macro definition. 2108 2109 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 2110 macro definition. 2111 2112 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 2113 21142006-03-14 Andrey Kiselev <[email protected]> 2115 2116 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 2117 in TIFFReadDirectory, because it is always set at the start of 2118 function and we allow TIFFs without that tag set. 2119 21202005-03-13 Andrey Kiselev <[email protected]> 2121 2122 * libtiff 3.8.1 released. 2123 21242006-03-07 Andrey Kiselev <[email protected]> 2125 2126 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 2127 function as per bug 2128 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2129 2130 * libtiff/tif_dirread.c: More wise check for integer overflow 2131 condition as per bug 2132 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2133 2134 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 2135 Properly restore setfield/getfield methods in cleanup functions. As 2136 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2137 21382006-03-03 Andrey Kiselev <[email protected]> 2139 2140 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 2141 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 2142 2143 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 2144 TIFFPredictorCleanup() in codec cleanup methods. As per bug 2145 2146 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2147 2148 * libtiff/tif_dirread.c: Fixed integer overflow condition in 2149 TIFFFetchData() function. As per bug 2150 2151 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2152 21532006-03-01 Andrey Kiselev <[email protected]> 2154 2155 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 2156 TIFFSetField() method, not directly. As per bug 2157 2158 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 2159 2160 * tools/ppm2tiff.c: Added support for PBM files as per bug 2161 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 2162 21632006-02-27 Andrey Kiselev <[email protected]> 2164 2165 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 2166 to avoid crash as per bug 2167 2168 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 2169 21702006-02-26 Andrey Kiselev <[email protected]> 2171 2172 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 2173 t2p_sample_rgba_to_rgb() was used in place of each other, that was 2174 resulted in problems with RGBA images with associated alpha. 2175 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 2176 21772006-02-23 Andrey Kiselev <[email protected]> 2178 2179 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 2180 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 2181 2182 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 2183 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 2184 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 2185 2186 * tools/tiff2ps.c: Properly scale all the pages when converting 2187 multipage TIFF with /width/height/center options set. As per bug 2188 2189 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 2190 21912006-02-15 Andrey Kiselev <[email protected]> 2192 2193 * tools/tiff2pdf.c: Do not create output file until all option checks 2194 will be done. As per bug 2195 2196 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 2197 2198 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 2199 list of input files as per bug: 2200 2201 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 2202 22032006-02-09 Andrey Kiselev <[email protected]> 2204 2205 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 2206 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 2207 2208 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 2209 TIFFRGBAImage interface. 2210 2211 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 2212 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 2213 22142006-02-07 Frank Warmerdam <[email protected]> 2215 2216 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 2217 compressed TIFF files, per submission from Dan Cobra. 2218 22192006-02-07 Andrey Kiselev <[email protected]> 2220 2221 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 2222 cast values to avoid warnings. As per bug 2223 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2224 2225 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 2226 appropriate. As per bug 2227 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2228 2229 * libtiff/tif_aux.c: Fixed type of temporary variable in 2230 _TIFFCheckMalloc() as per bug 2231 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2232 22332006-02-06 Andrey Kiselev <[email protected]> 2234 2235 * libtiff/tif_aux.c: Return static array when fetching default 2236 YCbCrCoefficients (another problem, reported a the 2237 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 2238 22392006-02-03 Andrey Kiselev <[email protected]> 2240 2241 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 2242 YCbCrSubsampling and DotRange tags as per bugs 2243 2244 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 2245 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 2246 2247 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 2248 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 2249 2250 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 2251 22522006-01-23 Andrey Kiselev <[email protected]> 2253 2254 * libtool related stuff updated from the 2.1a branch. 2255 22562006-01-11 Frank Warmerdam <[email protected]> 2257 2258 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 2259 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 2260 properly as per bug: 2261 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 2262 22632006-01-09 Bob Friesenhahn <[email protected]> 2264 2265 * configure.ac: Fix with_default_strip_size comparison as reported 2266 by Norihiko Murase. 2267 22682006-01-08 Bob Friesenhahn <[email protected]> 2269 2270 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 2271 incorrectly, tests were not actually testing the uninstalled 2272 libtiff. Now they are. 2273 22742006-01-04 Andrey Kiselev <[email protected]> 2275 2276 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 2277 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 2278 should be uint32 value. 2279 22802006-01-02 Bob Friesenhahn <[email protected]> 2281 2282 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 2283 be used if build directory is not the same as source directory. 2284 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 2285 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 2286 and re-sorted tag names in alphabetical order. 2287 22882005-12-29 Andrey Kiselev <[email protected]> 2289 2290 * libtiff 3.8.0 released. 2291 22922005-12-28 Bob Friesenhahn <[email protected]> 2293 2294 * tools/bmp2tiff.c (main): Fixed warning regarding returning 2295 inconsistent types from a condition. 2296 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 2297 format. 2298 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 2299 23002005-12-28 Joris Van Damme <[email protected]> 2301 2302 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 2303 23042005-12-27 Andrey Kiselev <[email protected]> 2305 2306 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 2307 windows.h, to reduce the compile time. 2308 23092005-12-26 Bob Friesenhahn <[email protected]> 2310 2311 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 2312 23132005-12-26 Andrey Kiselev <[email protected]> 2314 2315 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 2316 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 2317 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 2318 private functions to retrieve FieldInfo arrays. 2319 23202005-12-24 Bob Friesenhahn <[email protected]> 2321 2322 * html/build.html: Added some additional instructions for when 2323 building using MSVC under Windows. Also fixed two HTML syntax 2324 errors and used HTML Tidy to tidy up the HTML syntax and 2325 formatting. 2326 23272005-12-24 Andrey Kiselev <[email protected]> 2328 2329 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 2330 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 2331 StoNits tags custom. 2332 23332005-12-23 Andrey Kiselev <[email protected]> 2334 2335 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 2336 WhitePoint tag custom. 2337 2338 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 2339 23402005-12-23 Joris Van Damme <[email protected]> 2341 2342 * libtiff/tiffio.h: fixed typo that potentially resulted in 2343 redefininition of USE_WIN32_FILEIO 2344 2345 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 2346 calls in core LibTiff. 2347 23482005-12-21 Andrey Kiselev <[email protected]> 2349 2350 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 2351 Photoshop and ICCProfile tags custom. 2352 23532005-12-21 Joris Van Damme <[email protected]> 2354 2355 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 2356 newer code to get context indicator in error handler and still 2357 remain compatible with older code: Done TIFFError calls everywhere 2358 except in tools 2359 23602005-12-20 Andrey Kiselev <[email protected]> 2361 2362 * tools/tiffcp.c: Added many error reporting messages; fixed integer 2363 overflow as per bug 2364 2365 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 2366 23672005-12-16 Frank Warmerdam <[email protected]> 2368 2369 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 2370 YCbCr images in jpeg compressed TIFF files. 2371 23722005-12-14 Andrey Kiselev <[email protected]> 2373 2374 * tools/tiffcp.c: Return non-zero status when reading fails (again). 2375 23762005-12-13 Andrey Kiselev <[email protected]> 2377 2378 * tools/tiffcp.c: Return non-zero status when reading fails. 2379 23802005-12-12 Andrey Kiselev <[email protected]> 2381 2382 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 2383 23842005-12-09 Andrey Kiselev <[email protected]> 2385 2386 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 2387 custom. 2388 2389 * tools/tiffinfo.c: Print EXIF directory contents if exist. 2390 2391 * libtiff/tiff.h: Few EXIF tag numbers added. 2392 2393 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 2394 tiffio.h}: Preliminary support to read custom directories. New 2395 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 2396 23972005-12-07 Andrey Kiselev <[email protected]> 2398 2399 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 2400 More work to implement custom directory read support. 2401 2402 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 2403 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 2404 tags custom. 2405 24062005-12-05 Andrey Kiselev <[email protected]> 2407 2408 * libtiff/tif_dirread.c: One more workaround for broken 2409 StripByteCounts tag. Handle the case when StripByteCounts array filled 2410 with completely wrong values. 2411 24122005-11-30 Andrey Kiselev <[email protected]> 2413 2414 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 2415 in the TIFFOpenW() function as per bug 2416 2417 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 2418 2419 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 2420 functions as per bug 2421 2422 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 2423 24242005-11-20 Frank Warmerdam <[email protected]> 2425 2426 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 2427 for MS MDI format. 2428 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 2429 2430 * .cvsignore: many files added, and a few update according 2431 to suggestion of Brad HArds on tiff mailing list. 2432 24332005-11-03 Frank Warmerdam <[email protected]> 2434 2435 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 2436 public. 2437 24382005-10-31 Andrey Kiselev <[email protected]> 2439 2440 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 2441 as per bug 2442 2443 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 2444 2445 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 2446 as per bug 2447 2448 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 2449 2450 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 2451 problem as per bug 2452 2453 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 2454 2455 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 2456 2457 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 2458 2459 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 2460 ResolutionUnit tags modifiable during write process. As per bug 2461 2462 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 2463 2464 * tools/tiffsplit.c: Copy fax related fields over splitted parts 2465 as per bug 2466 2467 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 2468 24692005-10-21 Frank Warmerdam <[email protected]> 2470 2471 * tif_dirread.c: Don't try and split single strips into "0" strips 2472 in ChopUpSingleUncompressedStrip. This happens in some degenerate 2473 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 2474 24752005-10-20 Joris Van Damme <[email protected]> 2476 2477 * tif_fax3.c: changed 'at scanline ...' style warning/errors 2478 with incorrect use of tif_row, to 'at line ... of 2479 strip/tile ...' style 2480 24812005-10-15 Frank Warmerdam <[email protected]> 2482 2483 * tif_write.c: fixed setting of planarconfig as per bug report 2484 on the mailing list from Joris. 2485 24862005-10-07 Andrey Kiselev <[email protected]> 2487 2488 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 2489 tif_dirread.c}: Make the default strip size configurable via the 2490 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 2491 24922005-09-30 Bob Friesenhahn <[email protected]> 2493 2494 * html/support.html: Fixed link to documentation on Greg Ward's 2495 LogLuv TIFF format. 2496 24972005-09-28 Andrey Kiselev <[email protected]> 2498 2499 * tools/tiffdump.c: Fixed crash when reading malformed tags. 2500 25012005-09-20 Andrey Kiselev <[email protected]> 2502 2503 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 2504 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 2505 25062005-09-12 Andrey Kiselev <[email protected]> 2507 2508 * libtiff 3.7.4 released. 2509 2510 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 2511 from Patrick Welche (all scripts moved in the 'config' and 'm4' 2512 directories). 2513 25142005-09-12 Frank Warmerdam <[email protected]> 2515 2516 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 2517 25182005-09-05 Frank Warmerdam <[email protected]> 2519 2520 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 2521 also set it to NULL to avoid double free when re-setting custom 2522 string fields as per: 2523 2524 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 2525 25262005-08-12 Frank Warmerdam <[email protected]> 2527 2528 * libtiff/tif_print.c: avoid signed/unsigned warning. 2529 2530 * libtiff/tif_dirread.c: removed unused variable. 2531 25322005-07-30 Frank Warmerdam <[email protected]> 2533 2534 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 2535 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 2536 pass on bigendian (macosx) system. 2537 25382005-07-28 Andrey Kiselev <[email protected]> 2539 2540 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 2541 CheckMalloc() function to _TIFFCheckMalloc() and make it available 2542 globally as an internal helper routine. 2543 25442005-07-27 Andrey Kiselev <[email protected]> 2545 2546 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 2547 the custom tags handling code. 2548 25492005-07-26 Andrey Kiselev <[email protected]> 2550 2551 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 2552 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 2553 function, use TIFFFetchNormalTag() instead as per bug 2554 2555 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 2556 2557 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 2558 instead. 2559 2560 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 2561 2562 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2563 25642005-07-25 Andrey Kiselev <[email protected]> 2565 2566 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 2567 2568 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 2569 25702005-07-21 Andrey Kiselev <[email protected]> 2571 2572 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 2573 the TIFFWriteCheck() function in case of single band images (as per 2574 TIFF spec). 2575 25762005-07-12 Andrey Kiselev <[email protected]> 2577 2578 * SConstruct, libtiff/SConstruct: Added the first very preliminary 2579 support for SCons software building tool (http://www.scons.org/). 2580 This is experimental infrastructure and it will exist along with the 2581 autotools mechanics. 2582 25832005-07-07 Andrey Kiselev <[email protected]> 2584 2585 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 2586 the NetBSD source tree (the old 4-clause BSD license changed to 2587 the new 3-clause one). 2588 2589 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 2590 replacement module. 2591 2592 * port/dummy.c: Make the dummy function static. 2593 25942005-07-06 Andrey Kiselev <[email protected]> 2595 2596 * tools/tiffcp.c: Fixed WhitePoint tag copying. 2597 2598 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 2599 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 2600 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 2601 26022005-07-04 Andrey Kiselev <[email protected]> 2603 2604 * libtiff 3.7.3 released. 2605 2606 * configure, configure.ac: Do not use empty -R option when linking 2607 with --enable-rpath. 2608 26092005-07-01 Andrey Kiselev <[email protected]> 2610 2611 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 2612 reading the first IFD when needed. As per bug 2613 2614 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 2615 2616 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 2617 effects. 2618 26192005-06-23 Andrey Kiselev <[email protected]> 2620 2621 * tools/tiff2pdf.c: Print two characters per loop in the 2622 t2p_write_pdf_trailer(). As per bug 2623 2624 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 2625 2626 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 2627 per bug 2628 2629 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 2630 2631 * acinclude.m4: Updated to latest OpenGL test macros versions. 2632 2633 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 2634 platform. As per bug 2635 2636 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 2637 26382005-06-14 Andrey Kiselev <[email protected]> 2639 2640 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 2641 and YClipPathUnits tags. 2642 26432005-06-07 Andrey Kiselev <[email protected]> 2644 2645 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 2646 use pixel sized shift in contigous case. 2647 26482005-06-06 Andrey Kiselev <[email protected]> 2649 2650 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 2651 Make overviews working for contiguos images. 2652 26532005-06-03 Andrey Kiselev <[email protected]> 2654 2655 * libtiff/tif_open.c: Replace runtime endianess check with the compile 2656 time one. 2657 2658 * libtiff/tif_predict.c: Floating point predictor now works on 2659 big-endian hosts. 2660 26612005-06-01 Andrey Kiselev <[email protected]> 2662 2663 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 2664 ASCII values. 2665 2666 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 2667 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 2668 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 2669 TargetPrinter tags custom. 2670 2671 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 2672 TIFF_CODERSETUP flag (to fix memry leaks). 2673 2674 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 2675 allocating. 2676 26772005-05-26 Andrey Kiselev <[email protected]> 2678 2679 * configure.ac, libtiff/Makefile.am: Added workaround for 2680 OpenBSD/MirOS soname problem as per bug 2681 2682 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 2683 2684 * libtiff/tif_dirwrite.c: Use tdir_count when calling 2685 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 2686 per bug 2687 2688 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 2689 26902005-05-25 Andrey Kiselev <[email protected]> 2691 2692 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 2693 the fscanf() function. As per bug 2694 2695 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 2696 2697 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 2698 uint16 array when fetching the BYTE and SBYTE filds, so we should 2699 consider result as pointer to uint16 array and not as array of chars. 2700 As per bug 2701 2702 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 2703 2704 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 2705 2706 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 2707 2708 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 2709 mode in CreateFile() call as per bug 2710 2711 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 2712 2713 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 2714 libtiffxx libraries as per bug 2715 2716 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 2717 2718 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 2719 GDAL. 2720 27212005-05-23 Frank Warmerdam <[email protected]> 2722 2723 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 2724 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 2725 in directory. 2726 27272005-05-22 Frank Warmerdam <[email protected]> 2728 2729 * libtiff/tif_dirread.c: Changed the code that computes 2730 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 2731 zero. This is a common case with GDAL indicating a "null" tile/strip. 2732 27332005-05-17 Andrey Kiselev <[email protected]> 2734 2735 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 2736 27372005-05-06 Frank Warmerdam <[email protected]> 2738 2739 * libtiff/tif_dirread.c: Applied similar change to 2740 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 2741 2742 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 2743 2744 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 2745 27462005-05-06 Andrey Kiselev <[email protected]> 2747 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 2748 added new option '-b' to use interpolation in output PDF files (Bruno 2749 Ledoux). 2750 27512005-05-05 Frank Warmerdam <[email protected]> 2752 2753 * libtiff/tif_dirread.c: Ensure that broken files with too many 2754 values in PerSampleShorts work ok instead of crashing. 2755 2756 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 2757 27582005-04-27 Andrey Kiselev <[email protected]> 2759 2760 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 2761 input file. 2762 27632005-04-15 Andrey Kiselev <[email protected]> 2764 2765 * libtiff/tif_predict.c: Added ability to encode floating point 2766 predictor, as per TIFF Technical Note 3. 2767 27682005-04-14 Andrey Kiselev <[email protected]> 2769 2770 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 2771 floating point predictor, as per TIFF Technical Note 3. 2772 27732005-04-13 Andrey Kiselev <[email protected]> 2774 2775 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 2776 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 2777 swap 24-bit floating point values. 2778 2779 * libtiff/tiff.h: Added predictor constants. 2780 27812005-04-08 Andrey Kiselev <[email protected]> 2782 2783 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 2784 values in _TIFFVSetField() function. Inspired by the bug 2785 2786 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 2787 2788 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 2789 as per bug 2790 2791 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 2792 27932005-03-30 Andrey Kiselev <[email protected]> 2794 2795 * libtiff/tif_open.c: Do not read header in case the output file 2796 should be truncated (Ron). 2797 2798 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 2799 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 2800 2801 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 2802 28032005-03-22 Andrey Kiselev <[email protected]> 2804 2805 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 2806 rpath option. 2807 28082005-03-21 Andrey Kiselev <[email protected]> 2809 2810 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 2811 tags. 2812 28132005-03-18 Andrey Kiselev <[email protected]> 2814 2815 * libtiff/dirinfo.c: Added DNG tags. 2816 2817 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 2818 handling code. 2819 2820 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 2821 added DNG 1.1.0.0 tags. 2822 2823 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 2824 bug 2825 2826 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 2827 2828 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 2829 28302005-03-17 Andrey Kiselev <[email protected]> 2831 2832 * nmake.opt: Build with Win32 CRT library by default. 2833 2834 * tools/tiff2ps.c: Fixed typo in page size handling code. 2835 2836 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 2837 by value. 2838 2839 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 2840 28412005-03-15 Andrey Kiselev <[email protected]> 2842 2843 * libtiff 3.7.2 released. 2844 28452005-03-09 Andrey Kiselev <[email protected]> 2846 2847 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 2848 floating point data; complain on unsupported bit depths. 2849 28502005-03-05 Andrey Kiselev <[email protected]> 2851 2852 * tif_stream.cxx: Use ios namespace instead of ios_base to support 2853 GCC 2.95. 2854 2855 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 2856 Lee Howard for HylaFax DCS tag 2857 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 2858 28592005-03-04 Andrey Kiselev <[email protected]> 2860 2861 * configure, configure.ac: Use -rpath option instead of -R as per bug 2862 2863 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 2864 2865 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 2866 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 2867 software. As per bug 2868 2869 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 2870 2871 * nmake.opt, html/build.html: Add more comments, change the config 2872 file organization a bit as per bug 2873 2874 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 2875 2876 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 2877 as per bug 2878 2879 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 2880 28812005-03-03 Andrey Kiselev <[email protected]> 2882 2883 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 2884 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 2885 2886 * tools/fax2ps.c: Replace insecure mktemp() function with the 2887 tmpfile() as per bug 2888 2889 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 2890 28912005-02-04 Andrey Kiselev <[email protected]> 2892 2893 * libtiff/tiff.h: Changed the int8 definition to be always signed char 2894 as per bug 2895 2896 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2897 2898 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 2899 block as per bug 2900 2901 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 2902 29032005-02-03 Bob Friesenhahn <[email protected]> 2904 2905 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 2906 display more correctly. Images display brighter than they should 2907 on a Sun workstation. 2908 29092005-02-03 Andrey Kiselev <[email protected]> 2910 2911 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 2912 suspicious values in the tags. As per bugs 2913 2914 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 2915 2916 and 2917 2918 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 2919 2920 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 2921 2922 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 2923 29242005-01-31 Bob Friesenhahn <[email protected]> 2925 2926 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 2927 (TIFFTAG_TILELENGTH): Corrected description. 2928 29292005-01-30 Andrey Kiselev <[email protected]> 2930 2931 * configure.ac: Fixes for --with-docdir option as per bug 2932 2933 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 2934 2935 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 2936 bug 2937 2938 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 2939 2940 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 2941 Michael Rinne and Edward Lam. 2942 29432005-01-15 Andrey Kiselev <[email protected]> 2944 2945 * configure.ac: Make the documentation directory location configurable 2946 via the --with-docdir option (as suggested by Jeremy C. Reed). 2947 2948 * libtiff/tif_color.c: Use double as the second argument of pow() 2949 function in TIFFCIELabToRGBInit(). As per bug 2950 2951 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 2952 2953 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 2954 integer as per bug 2955 2956 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 2957 2958 * libtiff/tif_getimage.c: Always fill the error message buffer in 2959 TIFFRGBAImageBegin() as per bug 2960 2961 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 2962 29632005-01-12 Andrey Kiselev <[email protected]> 2964 2965 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 2966 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 2967 tags as per bug 2968 2969 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 2970 2971 * libtiff/tif_win32.c: Fixed message formatting in functions 2972 Win32WarningHandler() and Win32ErrorHandler() as per bug 2973 2974 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 2975 2976 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 2977 per bug 2978 2979 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 2980 29812005-01-11 Andrey Kiselev <[email protected]> 2982 2983 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 2984 "C"' section as per bug 2985 2986 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2987 2988 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 2989 compiler to avoid double definition of BSD types as per bug 2990 2991 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2992 2993 * libtiff/Makefile.am: Place the C++ stream API in the separate 2994 library called libtiffxx to avoid unneeded dependencies. Probably 2995 there will be more C++ API in the future. As per bugs 2996 2997 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 2998 2999 and 3000 3001 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 3002 30032005-01-05 Andrey Kiselev <[email protected]> 3004 3005 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 3006 wrong tag counts (Dmitry V. Levin, Martin Pitt). 3007 3008 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 3009 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 3010 30112004-12-25 Andrey Kiselev <[email protected]> 3012 3013 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 3014 RGB-images as per bug 3015 3016 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 3017 3018 3019 * tools/tiffset.c: Convert character option to integer value as per 3020 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 3021 30222004-12-20 Andrey Kiselev <[email protected]> 3023 3024 * libtiff 3.7.1 released. 3025 3026 * html/tiffset.1.html: Add missed manual page as per bug 3027 3028 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 3029 3030 * libtiff/tiff.h: Revert back libtiff data type definitions as per 3031 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 3032 30332004-12-19 Andrey Kiselev <[email protected]> 3034 3035 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 3036 checking for tag count in TIFFReadDirectory() function. As per bug 3037 3038 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 3039 3040 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 3041 CheckMallock() function. 3042 3043 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 3044 RGB-images as per bug 3045 3046 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 3047 30482004-12-15 Frank Warmerdam <[email protected]> 3049 3050 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 3051 SunPro compiler. 3052 30532004-12-11 Bob Friesenhahn <[email protected]> 3054 3055 * autogen.sh: aclocal and autoheader should be executed after 3056 libtoolize. Also add '-I .' to aclocal invocation to check 3057 current directory for macros. 3058 30592004-12-10 Andrey Kiselev <[email protected]> 3060 3061 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 3062 as per bugs 3063 3064 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 3065 3066 and 3067 3068 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 3069 30702004-12-04 Andrey Kiselev <[email protected]> 3071 3072 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 3073 3074 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3075 3076 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 3077 mode as per bug 3078 3079 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3080 3081 * libtiff/tif_config.in.vc: Removed unneded definitions for 3082 read/open/close/lseek functions to fix the 3083 3084 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 3085 30862004-12-03 Andrey Kiselev <[email protected]> 3087 3088 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 3089 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 3090 must be removed in the future, as it was never used properly. As per 3091 bug 3092 3093 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 3094 30952004-11-30 Bob Friesenhahn <[email protected]> 3096 3097 * libtiff/tif_jpeg.c: Added a work-around in order to allow 3098 compilation with the heavily modified version of libjpeg delivered 3099 with Cygwin. 3100 31012004-11-29 Andrey Kiselev <[email protected]> 3102 3103 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 3104 counts. As per bug 3105 3106 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 3107 3108 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 3109 3110 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 3111 31122004-11-28 Andrey Kiselev <[email protected]> 3113 3114 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 3115 on Windows. 3116 3117 * nmake.opt: Add missed DLLNAME variable. 3118 31192004-11-26 Frank Warmerdam <[email protected]> 3120 3121 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 3122 31232004-11-24 Andrey Kiselev <[email protected]> 3124 3125 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 3126 per bug 3127 3128 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 3129 3130 * man/tiffset.1: Added manual page for tiffset tool written by Jay 3131 Berkenbilt. As per bug 3132 3133 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 3134 31352004-11-23 Frank Warmerdam <[email protected]> 3136 3137 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 3138 31392004-11-21 Frank Warmerdam <[email protected]> 3140 3141 * html/document.html: Updated Adobe web links as per email from Joris. 3142 31432004-11-21 Andrey Kiselev <[email protected]> 3144 3145 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 3146 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 3147 use C++ streams should #include <tiffio.hxx>. 3148 31492004-11-13 Andrey Kiselev <[email protected]> 3150 3151 * libtiff/tiff.h: Added Adobe DNG tags. 3152 3153 * libtiff/tif_win32.c: Typo fixed. 3154 3155 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 3156 be compliant with the latest standard. Appropriate additions in 3157 makefiles now completed. 3158 31592004-11-11 Andrey Kiselev <[email protected]> 3160 3161 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 3162 different tag types. As per bug 3163 3164 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 3165 31662004-11-10 Andrey Kiselev <[email protected]> 3167 3168 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 3169 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 3170 31712004-11-09 Andrey Kiselev <[email protected]> 3172 3173 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 3174 31752004-11-07 Andrey Kiselev <[email protected]> 3176 3177 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 3178 contributed by Edward Lam (see 3179 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 3180 Though no changes in any makefiles yet. 3181 31822004-11-05 Frank Warmerdam <[email protected]> 3183 3184 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 3185 is bad. This is the callers responsibility. 3186 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 3187 31882004-11-05 Andrey Kiselev <[email protected]> 3189 3190 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 3191 function to work with the double byte strings (used to represent 3192 filenames in some locales). As per bug 3193 3194 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 3195 3196 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 3197 Compression tags of type LONG from broken TIFFS as per bug 3198 3199 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 3200 3201 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 3202 the writecount should have uint32 type. As per bug 3203 3204 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 3205 3206 * libtiff/tif_write.c: Fixed wrong if() statement in 3207 TIFFAppendToStrip() function as per bug 3208 3209 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 3210 32112004-11-04 Andrey Kiselev <[email protected]> 3212 3213 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 3214 field. The caller should supply a count when setting this field. As 3215 per bug 3216 3217 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 3218 3219 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 3220 uint32 count. Use this type everywhere. 3221 32222004-11-03 Frank Warmerdam <[email protected]> 3223 3224 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 3225 32262004-11-02 Frank Warmerdam <[email protected]> 3227 3228 * tools/tiff2rgba.c: removed extra newlines in usage message. 3229 32302004-10-30 Andrey Kiselev <[email protected]> 3231 3232 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 3233 3234 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 3235 tags (Tristan Hill). 3236 32372004-10-30 Frank Warmerdam <[email protected]> 3238 3239 * libtiff/tiffiop.h: added fallback definition of assert() if we 3240 don't have assert.h. 3241 32422004-10-29 Andrey Kiselev <[email protected]> 3243 3244 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 3245 choosing when the incorrect Group4Options tag set. As per bug 3246 3247 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 3248 3249 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 3250 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 3251 TIFFWriteNormalTag(). 3252 32532004-10-28 Andrey Kiselev <[email protected]> 3254 3255 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 3256 tags (Peter Fales). 3257 3258 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 3259 32602004-10-28 Frank Warmerdam <[email protected]> 3261 3262 * tools/tiff2pdf.c: added casts to avoid warnings. 3263 3264 * libtiff/libtiff.def: Added several more entry points required 3265 to link fax2tiff.c against the DLL on windows. 3266 32672004-10-27 Andrey Kiselev <[email protected]> 3268 3269 * configure, configure.ac: Added --enable-rpath option to embed linker 3270 paths into library binary. 3271 32722004-10-26 Andrey Kiselev <[email protected]> 3273 3274 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 3275 3276 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 3277 (Vladimir Nadvornik, Dmitry V. Levin). 3278 32792004-10-16 Andrey Kiselev <[email protected]> 3280 3281 * libtiff 3.7.0 released. 3282 32832004-10-15 Bob Friesenhahn <[email protected]> 3284 3285 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 3286 in this file so its inclusion is removed. Including stdio.h 3287 sometimes incurs an INT32 typedef conflict between MinGW's 3288 basetsd.h and libjpeg's jmorecfg.h. 3289 32902004-10-15 Andrey Kiselev <[email protected]> 3291 3292 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 3293 32942004-10-13 Bob Friesenhahn <[email protected]> 3295 3296 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 3297 conflict noticed under MinGW. 3298 * ltmain.sh: Fix for MinGW compilation. 3299 33002004-10-13 Frank Warmerdam <[email protected]> 3301 3302 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 3303 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 3304 33052004-10-12 Andrey Kiselev <[email protected]> 3306 3307 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 3308 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 3309 properly (Dmitry V. Levin, Marcus Meissner). 3310 33112004-10-11 Andrey Kiselev <[email protected]> 3312 3313 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 3314 to TIFF_IFD. 3315 33162004-10-10 Andrey Kiselev <[email protected]> 3317 3318 * tools/bmp2tif.c: Check the space allocation results. 3319 33202004-10-09 Andrey Kiselev <[email protected]> 3321 3322 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 3323 of the TIFFDirectory structure with the 0 instead of -1 to avoid 3324 confusing integer overflows in TIFFTileRowSize() for striped images. 3325 3326 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 3327 by Ross A. Finlayson. 3328 3329 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 3330 3331 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 3332 33332004-10-08 Frank Warmerdam <[email protected]> 3334 3335 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 3336 of tif_fieldinfo. 3337 3338 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 3339 33402004-10-04 Bob Friesenhahn <[email protected]> 3341 3342 * contrib/iptcutil/README: Added the missing README which goes 3343 along with iptcutil. 3344 33452004-10-03 Andrey Kiselev <[email protected]> 3346 3347 * libtiff/tif_compress.c: Improved error reporting in 3348 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 3349 33502004-10-02 Andrey Kiselev <[email protected]> 3351 3352 * libtiff 3.7.0beta2 released. 3353 3354 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 3355 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 3356 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 3357 allocations and integer overflows (Dmitry V. Levin). 3358 3359 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 3360 33612004-10-01 Frank Warmerdam <[email protected]> 3362 3363 * libtiff/tif_open.c: added a more informative message if a BigTIFF 3364 file is opened. 3365 33662004-09-30 Frank Warmerdam <[email protected]> 3367 3368 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 3369 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 3370 in the Adobe XMP Specification. 3371 33722004-09-29 Andrey Kiselev <[email protected]> 3373 3374 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 3375 memset(). 3376 3377 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 3378 from Dmitry V. Levin to fix possible integer overflow problems. 3379 33802004-09-28 Andrey Kiselev <[email protected]> 3381 3382 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 3383 (Dmitry V. Levin). 3384 33852004-09-26 Andrey Kiselev <[email protected]> 3386 3387 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 3388 Optimize checking for the strip bounds. 3389 3390 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 3391 TIFFRasterScanlineSize() functions report zero in the case of integer 3392 overflow now. Properly handle this case in TIFFReadDirectory() 3393 (patches from Dmitry V. Levin). 3394 33952004-09-25 Andrey Kiselev <[email protected]> 3396 3397 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 3398 macro where appropriate. 3399 3400 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 3401 noted by Gennady Khokhorin. 3402 3403 * libtiff/tif_dirread.c: Always check the return values, returned 3404 by the _TIFFmalloc() (Dmitry V. Levin). 3405 3406 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 3407 functions (Dmitry V. Levin). 3408 3409 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 3410 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 3411 TIFFGrowStrips() (found by Dmitry V. Levin). 3412 34132004-09-24 Andrey Kiselev <[email protected]> 3414 3415 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 3416 to get the list of configured codecs. 3417 3418 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 3419 Dmitry V. Levin. 3420 34212004-09-23 Andrey Kiselev <[email protected]> 3422 3423 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 3424 possible integer overflow in CheckMalloc() function. 3425 34262004-09-22 Andrey Kiselev <[email protected]> 3427 3428 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 3429 of plain TIFFhowmany() where appropriate. 3430 34312004-09-21 Andrey Kiselev <[email protected]> 3432 3433 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 3434 34352004-09-19 Andrey Kiselev <[email protected]> 3436 3437 * libtiff 3.7.0beta released. 3438 3439 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 3440 overruns fixed, as noted by Chris Evans. 3441 34422004-09-14 Bob Friesenhahn <[email protected]> 3443 3444 * commit: Added a script to make it more convenient to commit 3445 updates. The CVS commit message is extracted from this ChangeLog 3446 file. 3447 34482004-09-14 Andrey Kiselev <[email protected]> 3449 3450 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 3451 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 3452 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 3453 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 3454 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 3455 tif_config.h.in, tiffiop.h}: 3456 Get rid of BSD data types (u_char, u_short, u_int, u_long). 3457 34582004-09-13 Bob Friesenhahn <[email protected]> 3459 3460 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 3461 specification. Reference libtiff bug tracking system to submit 3462 private tag additions. 3463 34642004-09-12 Bob Friesenhahn <[email protected]> 3465 3466 * tools/tiffgt.c: Include "tif_config.h". 3467 3468 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 3469 tiffgt. This results in the 'compile' script being added to the 3470 project. 3471 3472 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 3473 required to find OpenGL headers necessary to build tiffgt. Also 3474 ensure that the libtiff that we built is used rather than some other 3475 libtiff installed on the system. 3476 34772004-09-12 Andrey Kiselev <[email protected]> 3478 3479 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 3480 libraries. 3481 34822004-09-11 Bob Friesenhahn <[email protected]> 3483 3484 * configure.ac: Pass library configuration defines via 3485 tif_config.h rather than extending CPPFLAGS. Configure a 3486 libtiff/tiffconf.h in order to satisfy application requirements 3487 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 3488 this causes failure to build on systems which properly respect 3489 this request. 3490 3491 * libtiff/tiffconf.h.in: New file to act as the template for the 3492 configured tiffconf.h 3493 3494 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 3495 34962004-09-10 Frank Warmerdam <[email protected]> 3497 3498 * html/internals.html: Split off a discussion of adding new tags 3499 into addingtags.html. 3500 35012004-09-10 Andrey Kiselev <[email protected]> 3502 3503 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 3504 3505 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 3506 3507 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3508 3509 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 3510 3511 * libtiff/tif_dirread.c: Don't reject to read tags of the 3512 SamplesPerPixel size when the tag count is greater than number of 3513 samples as per bug 3514 3515 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 3516 3517 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 3518 defining int8/uint8/... etc. types. As per bug 3519 3520 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 3521 35222004-09-09 Frank Warmerdam <[email protected]> 3523 3524 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 3525 to avoid compile warnings about getopt() and a few other things. 3526 35272004-09-02 Andrey Kiselev <[email protected]> 3528 3529 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 3530 assigning magic in TIFFFetchFloat(). 3531 35322004-09-01 Andrey Kiselev <[email protected]> 3533 3534 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 3535 to avoid requirement for tiffiop.h inclusion in some applications. See 3536 here 3537 3538 http://www.asmail.be/msg0054799560.html 3539 3540 for details. 3541 3542 * tools/fax2tiff.c: Use the new functions in the code. 3543 35442004-08-25 Andrey Kiselev <[email protected]> 3545 3546 * tools/tiff2pdf.c: Initialize arrays properly. 3547 3548 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 3549 properly initialize array in PSDataBW(). 3550 35512004-08-24 Andrey Kiselev <[email protected]> 3552 3553 * tools/tiff2pdf.c: More fixes for bug 3554 3555 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3556 3557 from Ross Finlayson. 3558 35592004-08-23 Andrey Kiselev <[email protected]> 3560 3561 * tools/tiff2ps.c: Fixed problem with uninitialized values. 3562 3563 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 3564 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 3565 3566 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 3567 3568 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3569 35702004-08-20 Andrey Kiselev <[email protected]> 3571 3572 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 3573 that the input file has compression, photometric interpretation, 3574 etcetra, tags or if not than a more descriptive error is returned. 3575 3576 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 3577 code, responsible for tag data type checking. 3578 35792004-08-19 Andrey Kiselev <[email protected]> 3580 3581 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 3582 variable as per bug 3583 3584 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 3585 35862004-08-16 Andrey Kiselev <[email protected]> 3587 3588 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 3589 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 3590 35912004-08-01 Andrey Kiselev <[email protected]> 3592 3593 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 3594 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 3595 35962004-07-24 Andrey Kiselev <[email protected]> 3597 3598 * libtiff/tif_lzw.c: LZW compression code is merged back from the 3599 separate package. All libtiff tools are updated to not advertise an 3600 abcence of LZW support. 3601 36022004-07-12 Andrey Kiselev <[email protected]> 3603 3604 * libtiff/tiffio.h: Revert thandle_t back to void* type. 3605 36062004-07-11 Andrey Kiselev <[email protected]> 3607 3608 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 3609 messages, as suggested by Bernd Herd. 3610 36112004-07-03 Andrey Kiselev <[email protected]> 3612 3613 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 3614 when setting custom tags by value. Reported by Eric Fieleke. 3615 36162004-06-14 Andrey Kiselev <[email protected]> 3617 3618 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 3619 36202004-06-08 Andrey Kiselev <[email protected]> 3621 3622 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 3623 into TIFFs. 3624 36252004-06-07 Andrey Kiselev <[email protected]> 3626 3627 * libtiff 3.7.0alpha released. 3628 36292004-06-06 Andrey Kiselev <[email protected]> 3630 3631 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 3632 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 3633 ones :-). 3634 3635 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 3636 problems in 64-bit environment). 3637 36382004-06-05 Andrey Kiselev <[email protected]> 3639 3640 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 3641 Tags can be supplied by the mnemonic name or number. 3642 3643 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 3644 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 3645 36462004-05-27 Andrey Kiselev <[email protected]> 3647 3648 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 3649 markers as per bug 3650 3651 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 3652 36532004-05-24 Andrey Kiselev <[email protected]> 3654 3655 * tools/tiffsplit.c: Don't forget to copy Photometric 3656 Interpretation tag. 3657 36582004-05-20 Andrey Kiselev <[email protected]> 3659 3660 * libtiff/{tif_open.c, tiffio.h}: New function added: 3661 TIFFIsBigEndian(). Function returns nonzero if given was file written 3662 in big-endian order. 3663 3664 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 3665 files. Now output files will be written using the same byte order 3666 flag as in the input image. See 3667 3668 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 3669 3670 for details. 3671 36722004-05-19 Frank Warmerdam <[email protected]> 3673 3674 * libtiff/tif_print.c: added (untested) support for printing 3675 SSHORT, SLONG and SRATIONAL fields. 3676 3677 * tools/tiffcp.c: close output file on normal exit. 3678 36792004-05-17 Andrey Kiselev <[email protected]> 3680 3681 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 3682 if compression type mismatches. See 3683 3684 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 3685 36862004-04-30 Andrey Kiselev <[email protected]> 3687 3688 * libtiff/tif_strip.c: Never return 0 from the 3689 TIFFNumberOfStrips(). 3690 36912004-04-29 Andrey Kiselev <[email protected]> 3692 3693 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 3694 store single SampleFormat value for multisampled images. See 3695 3696 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 3697 36982004-04-25 Andrey Kiselev <[email protected]> 3699 3700 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 3701 int16 and int32 types to avoid complains on some compilers. Details at 3702 3703 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3704 37052004-04-20 Andrey Kiselev <[email protected]> 3706 3707 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 3708 3709 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 3710 37112004-04-14 Andrey Kiselev <[email protected]> 3712 3713 * libtiff/tif_write.c: Allow in-place updating of the compressed 3714 images (don't work properly with all codecs). For details see GDAL bug 3715 3716 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 3717 37182004-04-06 Andrey Kiselev <[email protected]> 3719 3720 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 3721 in the Intergarph JPEG compressed TIFF images as per bug: 3722 3723 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 3724 37252004-04-04 Frank Warmerdam <[email protected]> 3726 3727 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 3728 via bad2. 3729 37302004-03-26 Andrey Kiselev <[email protected]> 3731 3732 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 3733 JPEG compression of grayscale images. 3734 3735 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 3736 present in the input image. 3737 37382004-03-19 Andrey Kiselev <[email protected]> 3739 3740 * {many}: The first attempt to switch to autotools. 3741 37422004-03-03 Andrey Kiselev <[email protected]> 3743 3744 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 3745 TIFFClientOpen() when the appropriate client functions was not 3746 supplied by user. 3747 37482004-03-02 Frank Warmerdam <[email protected]> 3749 3750 * tools/ycbcr.c: fixed main() declaration as per: 3751 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 3752 37532004-02-26 Andrey Kiselev <[email protected]> 3754 3755 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 3756 images. Reported by Artem Mirolubov. 3757 3758 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 3759 tag type in TIFFFetchNormalTag() as per bug 3760 3761 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 3762 37632004-02-17 Frank Warmerdam <[email protected]> 3764 3765 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 3766 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 3767 37682004-02-05 Andrey Kiselev <[email protected]> 3769 3770 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 3771 bug 3772 3773 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 3774 3775 But we need more work on fax codec to support update mode. 3776 37772004-01-30 Frank Warmerdam <[email protected]> 3778 3779 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 3780 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 3781 Scott Reynolds. 3782 37832004-01-29 Andrey Kiselev <[email protected]> 3784 3785 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 3786 and TIFFTAG_INDEXED as per bug 3787 3788 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 3789 3790 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 3791 NULL before proceeding further as per bug 3792 3793 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 3794 3795 Check results, returned by the TIFFFdOpen() before returning and close 3796 file if TIFFFdOpen() failed as per bug 3797 3798 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3799 3800 * libtiff/tif_open.c: More fixes for 3801 3802 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3803 38042004-01-28 Andrey Kiselev <[email protected]> 3805 3806 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 3807 TIFFCleanup() from the TIFFClose() in order to fix the bug 3808 3809 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3810 3811 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 3812 InkNames tag as per bug 3813 3814 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 3815 3816 Memory leak fixed. 3817 38182004-01-21 Frank Warmerdam <[email protected]> 3819 3820 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 3821 are field_passcount=TRUE properly. Arguably anonymous custom tags 3822 should be declared as passcount=FALSE, but I don't want to change 3823 that without a careful review. 3824 38252004-01-20 Andrey Kiselev <[email protected]> 3826 3827 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 3828 stripped image in TIFFWriteBufferSetup(). As per bug 3829 3830 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 3831 38322004-01-11 Andrey Kiselev <[email protected]> 3833 3834 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 3835 patch from Gerben Koopmans. 3836 3837 * libtiff/tif_dirread.c: Check field_passcount value before setting 3838 the value of undefined type, patch from Gerben Koopmans. 3839 38402004-01-02 Andrey Kiselev <[email protected]> 3841 3842 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 3843 non-RGB images. 3844 38452003-12-31 Andrey Kiselev <[email protected]> 3846 3847 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 3848 pointer passed. Patch supplied by Larry Grill. 3849 3850 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 3851 suggested by Jeremy C. Reed. 3852 38532003-12-26 Andrey Kiselev <[email protected]> 3854 3855 * libtiff 3.6.1 released. 3856 38572003-12-24 Andrey Kiselev <[email protected]> 3858 3859 * config.guess, config.sub: Updated from the recent upstream. 3860 38612003-12-22 Andrey Kiselev <[email protected]> 3862 3863 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 3864 More cleanups in color conversion interface, added appropriate manual 3865 page. 3866 38672003-12-19 Andrey Kiselev <[email protected]> 3868 3869 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 3870 per bug 3871 3872 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 3873 3874 * tools/tiff2ps.c: Added support for alpha channel. Fixes 3875 3876 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 3877 3878 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 3879 Interface for Lab->RGB color conversion is finally cleaned up. 3880 Added support for ReferenceBlackWhite tag handling when converted from 3881 YCbCr color space. The latter closes 3882 3883 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 3884 38852003-12-07 Andrey Kiselev <[email protected]> 3886 3887 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 3888 3889 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 3890 library. 3891 38922003-12-06 Andrey Kiselev <[email protected]> 3893 3894 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 3895 file and properly use it for CIE Lab->RGB transform. 3896 38972003-12-04 Andrey Kiselev <[email protected]> 3898 3899 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 3900 conversion routines now in the tif_color.c module. New function 3901 TIFFYCbCrtoRGB() available in TIFF API. 3902 3903 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 3904 39052003-12-03 Andrey Kiselev <[email protected]> 3906 3907 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 3908 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 3909 module. 3910 3911 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 3912 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 3913 Finally resolved problems with orientation handling. TIFFRGBAImage 3914 interface now properly supports all possible orientations, i.e. images 3915 will be flipped both in horizontal and vertical directions if 3916 required. 'Known bugs' section now removed from the appropriate manual 3917 pages. Closed bug entry: 3918 3919 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 3920 39212003-12-02 Andrey Kiselev <[email protected]> 3922 3923 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 3924 function calls as per bug 3925 3926 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 3927 39282003-11-28 Ross Finlayson <[email protected]> 3929 3930 * tools/tiff2pdf.c: Some bugs fixed. 3931 39322003-11-27 Andrey Kiselev <[email protected]> 3933 3934 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 3935 reported by Antonio Scuri. 3936 3937 * man/tiff2pdf.1: Few improvements in page layout. 3938 3939 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 3940 Added support fpr tiff2pdf manual page. 3941 39422003-11-26 Ross Finlayson <[email protected]> 3943 3944 * /man/tiff2pdf.1: File added to repository. 3945 39462003-11-26 Andrey Kiselev <[email protected]> 3947 3948 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 3949 Added support fpr tiff2pdf utility. 3950 39512003-11-25 Ross Finlayson <[email protected]> 3952 3953 * /tools/tiff2pdf.c: File added to repository. 3954 39552003-11-22 Andrey Kiselev <[email protected]> 3956 3957 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 3958 39592003-11-21 Andrey Kiselev <[email protected]> 3960 3961 * /tools/raw2tiff.c: #include <getopt.h> removed. 3962 3963 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 3964 sgigt utility removed and replaced with the completely rewritten 3965 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 3966 there is a lot of things to improve. 3967 3968 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 3969 extract the fields from the OJPEG files. Patch supplied by Ross 3970 Finlayson. 3971 3972 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 3973 Added new function TIFFIsCODECConfigured(), suggested by Ross 3974 Finlayson. 3975 39762003-11-18 Andrey Kiselev <[email protected]> 3977 3978 * libtiff/tif_dirinfo.c: Implemented binary search in 3979 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 3980 3981 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 3982 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 3983 39842003-11-17 Frank Warmerdam <[email protected]> 3985 3986 * tif_dirread.c: do not mark all anonymously defined tags to be 3987 IGNOREd. 3988 39892003-11-17 Andrey Kiselev <[email protected]> 3990 3991 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 3992 TIFFDataWidth() function insted of tiffDataWidth array. 3993 39942003-11-16 Andrey Kiselev <[email protected]> 3995 3996 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 3997 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 3998 39992003-11-15 Frank Warmerdam <[email protected]> 4000 4001 * Makefile.in: fixed missing backslash for tif_color.c in list. 4002 40032003-11-13 Andrey Kiselev <[email protected]> 4004 4005 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 4006 New color space conversion code: CIE L*a*b* 1976 images now supported 4007 by the TIFFRGBAImage interface. All introduced routines go to new 4008 module tif_color.c. Eventually all color conversion functions should 4009 be moved there. 4010 40112003-11-12 Andrey Kiselev <[email protected]> 4012 4013 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 4014 with the reverse byte order (it is reported by the magic header 4015 field). Problem reported by Andreas Wiesmann. 4016 4017 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 4018 calculation function. Guessing mechanics now documented in manual page. 4019 40202003-11-11 Andrey Kiselev <[email protected]> 4021 4022 * tools/raw2tiff.c: Implemented image size guessing using 4023 correlation coefficient calculation between two neighbour lines. 4024 40252003-11-09 Frank Warmerdam <[email protected]> 4026 4027 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 4028 planarconfig_contig case in TIFFComputeTile(). 4029 4030 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 4031 40322003-11-09 Andrey Kiselev <[email protected]> 4033 4034 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 4035 40362003-11-07 Andrey Kiselev <[email protected]> 4037 4038 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 4039 Added TIFFRawStripSize() function as suggested by Chris Hanson. 4040 40412003-11-03 Andrey Kiselev <[email protected]> 4042 4043 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 4044 per bug 4045 4046 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 4047 40482003-10-29 Andrey Kiselev <[email protected]> 4049 4050 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 4051 4052 * html/build.html: Added note about GNU make requirement. 4053 40542003-10-25 Andrey Kiselev <[email protected]> 4055 4056 * Makefile.in: Fixes in using MAKEFLAGS as per bug 4057 4058 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 4059 4060 * port/install.sh.in: Option -p added to the mkdir command to create 4061 all directory tree structure before installing. 4062 40632003-10-18 Andrey Kiselev <[email protected]> 4064 4065 * /tools/tiff2ps.c: #include <strings.h> replaced with the 4066 #include <string.h>. 4067 40682003-10-16 Andrey Kiselev <[email protected]> 4069 4070 * Makefile.in: Add an absolute path to the test_pics.sh call. 4071 40722003-10-12 Andrey Kiselev <[email protected]> 4073 4074 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 4075 typedefs. 4076 40772003-10-09 Andrey Kiselev <[email protected]> 4078 4079 * configure, libtiff/{Makefile.in, mkversion.c}: 4080 Relative buildings fixed. 4081 4082 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 4083 rule. 4084 40852003-10-07 Andrey Kiselev <[email protected]> 4086 4087 * Makefile.in: Added missed v3.6.0.html. 4088 4089 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 4090 ORIENTATION_BOTLEFT. 4091 40922003-10-04 Andrey Kiselev <[email protected]> 4093 4094 * 3.6.0 final release. 4095 40962003-10-03 Andrey Kiselev <[email protected]> 4097 4098 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 4099 function TIFFReadRGBAImageOriented() implemented to retrieve raster 4100 array with user-specified origin position as suggested by Jason Frank. 4101 See 4102 4103 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 4104 4105 for details. 4106 4107 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 4108 instead of TIFFReadRGBAImage(). 4109 4110 * tools/tiff2ps.c: Fixed possible endless loop as per bug 4111 4112 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 4113 41142003-09-30 Andrey Kiselev <[email protected]> 4115 4116 * libtiff/tif_dirread.c: Check field counter against number of fields 4117 in order to fix 4118 4119 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 4120 4121 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 4122 4123 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 4124 41252003-09-25 Andrey Kiselev <[email protected]> 4126 4127 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 4128 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 4129 4130 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 4131 41322003-09-23 Andrey Kiselev <[email protected]> 4133 4134 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 4135 4136 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4137 41382003-08-21 Andrey Kiselev <[email protected]> 4139 4140 * tools/tiffmedian.c: int declaration replaced with the uint32 to 4141 support large images as per bug 4142 4143 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 4144 41452003-08-12 Andrey Kiselev <[email protected]> 4146 4147 * libtiff/Makefile.in: Fixed problem with building in different 4148 directory. 4149 4150 * tools/tiff2ps.c: Added missing #include <strings.h>. 4151 4152 * libtiff/tif_dirwrite.c: More fixes for custom tags code 4153 from Ashley Dreier. 4154 41552003-08-07 Andrey Kiselev <[email protected]> 4156 4157 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 4158 Patch submitted by Balatoni Denes (with corrections from Tom 4159 Kacvinsky). 4160 4161 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 4162 being used. Reported by Tom Kacvinsky. 4163 4164 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 4165 reported by Ashley Dreier. 4166 4167 * libtiff/tif_print.c: Fixed problem with float tags reading, support 4168 for printing RATIONAL and BYTE tags added. 4169 41702003-08-05 Andrey Kiselev <[email protected]> 4171 4172 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 4173 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 4174 problems with predictor initialization. Remove O_RDONLY check during 4175 state block allocation to be able open LZW compressed files in update 4176 mode. 4177 4178 Problem exist for libtiff version of the tif_lzw.c module. One from 4179 lzw-compression-kit hasn't such troubles. 4180 41812003-08-04 Frank Warmerdam <[email protected]> 4182 4183 * libtiff/tif_write.c: modified tif_write.c so that the various 4184 encoded write functions use tif_postdecode() to apply byte order 4185 swapping (swab) to the application passed data buffer if the same 4186 would be done when reading. This allows us to write pixel data with 4187 more than 8 bits per sample to existing files of a non-native byte 4188 order. One side effect of this change is the applications buffer 4189 itself is altered in this case by the act of writing. 4190 4191 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 4192 41932003-07-25 Frank Warmerdam <[email protected]> 4194 4195 * libtiff/tif_open.c: avoid signed/unsigned casting warning 4196 initializing typemask as per patch from J.A. Strother. 4197 4198 * tools/tiffcp.c: fixed signed/unsigned casting warning. 4199 4200 * libtiff/tif_print.c: dos2unix conversion. 4201 4202 * tools/tiffsplit.c: increased the maximum number of pages that 4203 can be split. Patch provided by Andrew J. Montalenti. 4204 42052003-07-11 Andrey Kiselev <[email protected]> 4206 4207 * tools/raw2tiff.c: Added option `-p' to explicitly select color 4208 space of input image data. Closes 4209 4210 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 4211 42122003-07-08 Frank Warmerdam <[email protected]> 4213 4214 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 4215 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 4216 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 4217 avoid casting warning at /W4. 4218 42192003-07-03 Andrey Kiselev <[email protected]> 4220 4221 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 4222 42232003-06-30 Andrey Kiselev <[email protected]> 4224 4225 * libtiff/tif_pixarlog.c: Unused variables removed. 4226 4227 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 4228 EstimateStripByteCounts() as per bug 4229 4230 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4231 4232 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 4233 64-bit architectures as per bug 4234 4235 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 4236 4237 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 4238 unknown data type. 4239 42402003-06-19 Frank Warmerdam <[email protected]> 4241 4242 * libtiff/tif_print.c: fixed some serious bugs when printing 4243 custom tags ... almost certain to crash. 4244 4245 * libtiff/tif_dirread.c: Don't ignore custom fields that are 4246 autodefined. Not sure how this got to be like this. 4247 42482003-06-18 Andrey Kiselev <[email protected]> 4249 4250 * 3.6.0 Beta2 released. 4251 4252 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 4253 comparing as per bug 4254 4255 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 4256 4257 `-z' option now can be used to set the number of reported different 4258 bytes. 4259 42602003-06-09 Andrey Kiselev <[email protected]> 4261 4262 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 4263 to -r option to get the entire image as one strip. See 4264 4265 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4266 4267 for details. 4268 42692003-06-04 Andrey Kiselev <[email protected]> 4270 4271 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 4272 values as per bug 4273 4274 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4275 42762003-05-27 Frank Warmerdam <[email protected]> 4277 4278 * libtiff/tif_jpeg.c: modified segment_height calculation to always 4279 be a full height tile for tiled images. Also changed error to just 4280 be a warning. 4281 42822003-05-25 Andrey Kiselev <[email protected]> 4283 4284 * tools/fax2tiff.c: Page numbering fixed, as per bug 4285 4286 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 4287 42882003-05-20 Andrey Kiselev <[email protected]> 4289 4290 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4291 configure, Makefile.in: Switched back to the old behaviour. Likely 4292 better solution should be found for OJPEG support. 4293 42942003-05-11 Andrey Kiselev <[email protected]> 4295 4296 * libtiff/mkversion.c: Fixed problem with wrong string size when 4297 reading RELEASE-DATE file. 4298 42992003-05-07 Andrey Kiselev <[email protected]> 4300 4301 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 4302 index was out of range. 4303 43042003-05-06 Andrey Kiselev <[email protected]> 4305 4306 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4307 configure, Makefile.in: Improved libtiff compilation with OJPEG 4308 support. Now no need for patching IJG JPEG library, hack requred by 4309 libtiff will be compiled and used in-place. Implemented with 4310 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 4311 4312 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 4313 TIFFVGetFieldDefaulted() function. 4314 43152003-05-05 Andrey Kiselev <[email protected]> 4316 4317 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 4318 comments. 4319 4320 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 4321 was not copied from source image. 4322 4323 * libtiff/getimage.c: Workaround for some images without correct 4324 info about alpha channel as per bug 4325 4326 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 4327 43282003-04-29 Andrey Kiselev <[email protected]> 4329 4330 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 4331 It basically allows one to use the /flateDecode filter for ZIP 4332 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 4333 4334 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 4335 4336 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 4337 as per bug 4338 4339 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 4340 43412003-04-17 Andrey Kiselev <[email protected]> 4342 4343 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 4344 due to problems with multidirectory images. Quality of error messages 4345 improved. 4346 43472003-04-16 Andrey Kiselev <[email protected]> 4348 4349 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 4350 encoded images. See bug entries 4351 4352 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 4353 4354 and 4355 4356 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4357 4358 * libtiff/tif_dirread.c: Additional check for StripByteCounts 4359 correctness. Fixes 4360 4361 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 4362 43632003-03-12 Andrey Kiselev <[email protected]> 4364 4365 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 4366 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 4367 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 4368 tiffmedian.c}: Added library version reporting facility to all tools. 4369 43702003-03-06 Frank Warmerdam <[email protected]> 4371 4372 * port/install.sh.in: Fixed problems with install producing paths 4373 like ///usr/local/lib on cygwin. 4374 43752003-02-27 Andrey Kiselev <[email protected]> 4376 4377 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 4378 raw input page. Patch supplied by Julien Gaulmin. See 4379 4380 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 4381 4382 for details. 4383 43842003-02-26 Frank Warmerdam <[email protected]> 4385 4386 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 4387 responsible for byte swapping complex image data. 4388 4389 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 4390 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 4391 43922003-02-07 Andrey Kiselev <[email protected]> 4393 4394 * tools/ppm2tiff.c: Fixed problem with too many arguments. 4395 43962003-02-04 Andrey Kiselev <[email protected]> 4397 4398 * tools/raw2tiff.c: Memory leak fixed. 4399 44002003-02-03 Andrey Kiselev <[email protected]> 4401 4402 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 4403 (thanks, Julien!). More switches for fax2tiff tool for better control 4404 of input and output. Details at 4405 4406 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 4407 44082003-02-03 Frank Warmerdam <[email protected]> 4409 4410 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 4411 library so that we can check if there is already any tile/strip data 4412 before deciding between creating a compressor or a decompressor. 4413 44142003-01-31 Frank Warmerdam <[email protected]> 4415 4416 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 4417 a pre-existing compressed image. That is, image writing to 4418 pre-existing compressed images is not allowed. 4419 4420 * libtiff/tif_open.c: Removed error if opening a compressed file 4421 in update mode. 4422 4423 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 4424 44252003-01-31 Andrey Kiselev <[email protected]> 4426 4427 * config.guess, config.sub: Updated to recent upstream versions. 4428 44292003-01-15 Frank Warmerdam <[email protected]> 4430 4431 * cut 3.6.0 Beta release. 4432 44332002-12-20 Andrey Kiselev <[email protected]> 4434 4435 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 4436 in wrong way as per bug 4437 4438 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 4439 44402002-12-17 Frank Warmerdam <[email protected]> 4441 4442 * libtiff/tif_dirread.c: Allow wrong sized arrays in 4443 TIFFFetchStripThing(). 4444 4445 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 4446 44472002-12-02 Frank Warmerdam <[email protected]> 4448 4449 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 4450 Was using realloc even first time. Fix by Igor Venevtsev. 4451 44522002-11-30 Frank Warmerdam <[email protected]> 4453 4454 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 4455 field value. 4456 4457 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 4458 tags in TIFFVGetField() ... added missing break. 4459 44602002-10-14 Frank Warmerdam <[email protected]> 4461 4462 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 4463 the scanline buffer long enough when writing rgb triplets. 4464 The scanline needs to be 3 X the number of dots or else it will 4465 contain an incomplete triplet and programs that try to separate 4466 the eps by redefining the colorimage operator will get messed up. 4467 Patch supplied by William Bader. 4468 4469 * Makefile.in: added tif_extension.c to file list as per 4470 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 4471 44722002-10-11 Andrey Kiselev <[email protected]> 4473 4474 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 4475 large files (>2GiB) supporting. New option in the config.site: 4476 LARGEFILE="yes". Should be enough for I/O of the large files. 4477 44782002-10-10 Frank Warmerdam <[email protected]> 4479 4480 * libtiff/html/v3.6.0.html: new release notes. 4481 4482 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 4483 link for Andrey. Pointer to v3.6.0.html. 4484 4485 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 4486 44872002-10-07 Andrey Kiselev <[email protected]> 4488 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 4489 (thanks, Sebastian!). New switches: 4490 -b # for a bottom margin of # inches 4491 -c center image 4492 -l # for a left margin of # inches 4493 -r rotate the image by 180 degrees 4494 New features merged with code for shrinking/overlapping. 4495 Previously added -c and -n switches (for overriding PS units) renamed 4496 in -x and -y respectively. 4497 4498 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 4499 4500 * html/man/*.html: Updated from actual manual pages. 4501 45022002-10-06 Frank Warmerdam <[email protected]> 4503 4504 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 4505 size on windows. Use #define boolean hack. 4506 4507 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 4508 4509 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 4510 USING_VISUALAGE is defined. 4511 4512 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4513 45142002-10-03 Frank Warmerdam <[email protected]> 4515 4516 * libtiff/tiff.h: added COMPRESSION_JP2000. 4517 45182002-10-02 Andrey Kiselev <[email protected]> 4519 4520 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 4521 by the TIFFFetchByteArray() function. Should finally resolve 4522 4523 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 4524 4525 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 4526 4527 * html/Makefile.in: New targets added: html and groffhtml for 4528 producing HTML representations of the manual pages automatically. 4529 html target uses man2html tool, groffhtml uses groff tool. 4530 45312002-09-29 Frank Warmerdam <[email protected]> 4532 4533 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 4534 from John H. DuBois III. 4535 45362002-09-15 Andrey Kiselev <[email protected]> 4537 4538 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 4539 manual page for raw2tiff(1) tool. 4540 45412002-09-12 Andrey Kiselev <[email protected]> 4542 4543 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 4544 the tiffio.h header file. 4545 4546 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 4547 manual page for TIFFDataWidth() function 4548 45492002-09-08 Frank Warmerdam <[email protected]> 4550 4551 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 4552 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 4553 4554 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 4555 since we are unable to properly include the amount to skip. 4556 4557 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 4558 45592002-09-02 Andrey Kiselev <[email protected]> 4560 4561 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 4562 in TIFFFetchByteArray(). Problem described at 4563 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 4564 45652002-08-22 Andrey Kiselev <[email protected]> 4566 4567 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 4568 in _TIFFSetupFieldInfo() function. 4569 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 4570 4571 * /libtiff/tif_lzw.c: Additional consistency checking added in 4572 LZWDecode() and LZWDecodeCompat(). 4573 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 4574 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4575 4576 * /libtiff/tif_lzw.c: 4577 Added check for valid code lengths in LZWDecode() and 4578 LZWDecodeCompat(). Fixes 4579 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 4580 45812002-08-16 Andrey Kiselev <[email protected]> 4582 4583 * /libtiff/{Makefile.vc, libtiff.def}: 4584 Missed declarations added. 4585 45862002-08-15 Frank Warmerdam <[email protected]> 4587 4588 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 4589 return code from the underlying pick function. 4590 4591 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 4592 4593 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 4594 with FIELD_CUSTOM as mentioned in bug 169. 4595 4596 * tif_close.c: added logic to free dynamically created anonymous 4597 field definitions to correct a small memory leak. 4598 4599 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 4600 46012002-08-10 Andrey Kiselev <[email protected]> 4602 4603 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 4604 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 4605 46062002-07-31 Frank Warmerdam <[email protected]> 4607 4608 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 4609 JPEGDecode() as per bugzilla bug (issue 1): 4610 4611 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 4612 4613 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 4614 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 4615 present in the tiff tags. 4616 4617 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 4618 4619 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 4620 TIFFWriteScanline() now set tif_row explicitly in case the codec has 4621 fooled with the value. 4622 4623 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 4624 46252002-06-22 Andrey Kiselev <[email protected]> 4626 4627 * /tools/tiff2ps.c: Added workaround for some software that may crash 4628 when last strip of image contains fewer number of scanlines than 4629 specified by the `/Height' variable. See 4630 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 4631 for explanation. 4632 46332002-06-21 Andrey Kiselev <[email protected]> 4634 4635 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 4636 splitting long images in several pages. See 4637 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 4638 Patch granted by John Williams <[email protected]>. 4639 46402002-06-11 Frank Warmerdam <[email protected]> 4641 4642 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 4643 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 4644 This one is described in: 4645 4646 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 4647 4648 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 4649 4650 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 4651 46522002-05-10 Andrey Kiselev <[email protected]> 4653 4654 * tools/tiff2ps: New commandline switches to override resolution 4655 units obtained from the input file. Closes 4656 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 4657 46582002-04-26 Andrey Kiselev <[email protected]> 4659 4660 * libtiff/libtiff.def: Added missed declaration. 4661 46622002-04-22 Andrey Kiselev <[email protected]> 4663 4664 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 4665 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 4666 46672002-04-20 Andrey Kiselev <[email protected]> 4668 4669 * libtiff/tif_open.c: Pointers to custom procedures 4670 in TIFFClientOpen() are checked to be not NULL-pointers. 4671 46722002-04-18 Andrey Kiselev <[email protected]> 4673 4674 * libtiff/libtiff.def: Added missed declarations. 4675 4676 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 4677 46782002-04-16 Andrey Kiselev <[email protected]> 4679 4680 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 4681 Should finally close 4682 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4683 46842002-04-10 Andrey Kiselev <[email protected]> 4685 4686 * tools/tiff2ps: Division by zero fixed. 4687 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 4688 46892002-04-09 Andrey Kiselev <[email protected]> 4690 4691 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 4692 TIFFCheckpointDirectory() routine added. 4693 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 4694 4695 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 4696 for the new function. 4697 46982002-04-08 Andrey Kiselev <[email protected]> 4699 4700 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 4701 additional members tif->tif_decodestatus and tif->tif_encodestatus 4702 for correct handling of unconfigured codecs (we should not try to read 4703 data or to define data size without correct codecs). 4704 4705 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 4706 changed. Now it has used tif->tif_decodestatus and 4707 tif->tif_encodestatus. 4708 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 4709 case of __cvs_8.tif test image). 4710 4711 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 4712 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 4713 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 4714 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 4715 47162002-04-04 Andrey Kiselev <[email protected]> 4717 4718 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 4719 replaced by warnings. Now libtiff should read corrupted LZW-compressed 4720 files by skipping bad strips. 4721 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4722 47232002-04-03 Frank Warmerdam <[email protected]> 4724 4725 * libtiff/tif_dirwrite.c: Removed some dead code. 4726 4727 * libtiff/*: Cleanup some warnings. 4728 4729 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 4730 for variable length FIELD_CUSTOM values. Was int * but should be 4731 u_short *. 4732 47332002-04-01 Andrey Kiselev <[email protected]> 4734 4735 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 4736 utility (at cpStripToTile routine). 4737 47382002-03-27 Frank Warmerdam <[email protected]> 4739 4740 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 4741 4742 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 4743 4744 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 4745 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 4746 4747 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 4748 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 4749 47502002-03-26 Dwight Kelly <[email protected]> 4751 4752 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 4753 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 4754 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 4755 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 4756 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 4757 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 4758 47592002-03-26 Andrey Kiselev <[email protected]> 4760 4761 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 4762 now also uses TIFFRGBAImageOK before reading. This is additional fix 4763 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 4764 47652002-03-25 Andrey Kiselev <[email protected]> 4766 4767 * libtiff/: tif_getimage.c: Additional check for supported 4768 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 4769 TIFFRGBAImageOK before reading. 4770 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 4771 47722002-03-15 Andrey Kiselev <[email protected]> 4773 4774 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 4775 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 4776 TIFFDataType sizes instead of working with tiffDataWidth array 4777 directly. Should prevent out-of-borders bugs in case of unknown or 4778 broken data types. EstimateStripByteCounts routine modified, so it 4779 won't work when tags with uknown sizes founded. 4780 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 4781 47822002-03-13 Andrey Kiselev <[email protected]> 4783 4784 * libtiff/tif_getimage.c: Added support for correct handling 4785 `Orientation' tag in gtTileContig. Should be added in other gt* 4786 functions as well, but I have not images for testing yet. Partially 4787 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4788 47892002-03-10 Andrey Kiselev <[email protected]> 4790 4791 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 4792 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 4793 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 4794 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 4795 47962002-03-08 Andrey Kiselev <[email protected]> 4797 4798 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 4799 be stripped when installing, utility binaries will do. Closes 4800 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 4801 48022002-02-28 Frank Warmerdam <[email protected]> 4803 4804 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 4805 4806 * man/libtiff.3t: added copyright tag info. 4807 48082002-02-11 Frank Warmerdam <[email protected]> 4809 4810 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 4811 4812 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 4813 4814 * man/Makefile.in: Patch DESTDIR handling 4815 4816 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 4817 4818 * configure: OpenBSD changes for Sparc64 and DSO version. 4819 4820 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 4821 48222002-02-05 Frank Warmerdam <[email protected]> 4823 4824 * config.site/configure: added support for OJPEG=yes option to enable 4825 OJPEG support from config.site. 4826 48272002-01-27 Frank Warmerdam <[email protected]> 4828 4829 * html/document.html: fixed links for TIFf 6 docs. 4830 48312002-01-18 Frank Warmerdam <[email protected]> 4832 4833 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 4834 4835 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 4836 decodestrip function returns anything not greater than zero as per 4837 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 4838 4839 * configure: Modify CheckForBigEndian so it can work in a cross 4840 compiled situation. 4841 48422002-01-16 Frank Warmerdam <[email protected]> 4843 4844 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 4845 4846 * tools/tiffset.c: fix bug in error reporting. 4847 4848 * tools/tiffcp.c: fix several warnings that show up with -Wall. 4849 48502002-01-04 Frank Warmerdam <[email protected]> 4851 4852 * libtiff/tif_jpeg.c: fixed computation of segment_width for 4853 tiles files to avoid error about it not matching the 4854 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 4855 size.") for ITIFF files. Apparently the problem was incorporated since 4856 3.5.5, presumably during the OJPEG/JPEG work recently. 4857 48582001-12-15 Frank Warmerdam <[email protected]> 4859 4860 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 4861 4862 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 4863 4864 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 4865 (defined in tiffconf.h - 1 by default) then the RGBA interface 4866 will assume that a fourth extra sample is ASSOCALPHA if the 4867 EXTRASAMPLE value isn't set for it. This changes the behaviour of 4868 the library, but makes it work better with RGBA files produced by 4869 lots of applications that don't mark the alpha values properly. 4870 4871 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 4872 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 4873 48742001-12-12 Frank Warmerdam <[email protected]> 4875 4876 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 4877 override those from tiff directory. This makes this work with 4878 ImageGear generated files. 4879 48802001-12-07 Frank Warmerdam <[email protected]> 4881 4882 * html/Makefile.in: added missing images per bug 92. 4883 4884 * port/Makefile.in: fixed clean target per bug 92. 4885 48862001-11-28 Frank Warmerdam <[email protected]> 4887 4888 * Reissue 3.5.7 release. 4889 4890 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 4891 YYYYMMDD so that it is increasing over time. 4892 4893 * Makefile.in: Ensure that tiffvers.h is regenerated in the 4894 make release target. 4895 4896 * Makefile.in: added libtiff/tiffvers.h to the release file list. 4897 48982001-11-23 Frank Warmerdam <[email protected]> 4899 4900 * added html/v3.5.7.html, updated html/index.html. 4901 4902 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 4903 49042001-11-15 Frank Warmerdam <[email protected]> 4905 4906 * configure: fixed test for -lm. 4907 49082001-11-02 Frank Warmerdam <[email protected]> 4909 4910 * Added PHOTOMETRIC_ITULAB as per bug 90. 4911 4912 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 4913 49142001-10-10 Frank Warmerdam <[email protected]> 4915 4916 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 4917 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 4918 in keeping with TIFF 6.0 standard in tiff.h 4919 4920 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 4921 49222001-09-26 Frank Warmerdam <[email protected]> 4923 4924 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 4925 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 4926 49272001-09-24 Frank Warmerdam <[email protected]> 4928 4929 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 4930 4931 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 4932 4933 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 4934 error about LZW not being available. 4935 4936 * libtiff/tif_dir.c: propagate failure to initialize compression 4937 back from TIFFSetField() as an error status, so applications can 4938 detect failure. 4939 4940 * libtiff/tif_dir.c: removed the auto replacement of 4941 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 4942 4943 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 4944 from CVS as they are all supposed to be auto-generated by configure. 4945 49462001-09-22 Frank Warmerdam <[email protected]> 4947 4948 * libtiff/tif_ojpeg.c: new update from Scott. 4949 49502001-09-09 Frank Warmerdam <[email protected]> 4951 4952 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 4953 always use the "safe" version, even if there is a very slight 4954 cost in performance. 4955 4956 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 4957 4958 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 4959 in two places. 4960 4961 * libtiff/tif_getimage.c: Fixed problem with reading strips or 4962 tiles that don't start on a tile boundary. Fix contributed by 4963 Josep Vallverdu (from HP), and further described in bug 47. 4964 4965 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 4966 4967 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 4968 4969 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 4970 49712001-09-06 Frank Warmerdam <[email protected]> 4972 4973 * libtiff/tif_packbits.c: fixed memory overrun error. 4974 4975 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 4976 49772001-08-31 Frank Warmerdam <[email protected]> 4978 4979 * libtiff/tif_getimage.c: relax handling of contig case where 4980 there are extra samples that are supposed to be ignored. This 4981 should now work for 8bit greyscale or palletted images. 4982 4983 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 4984 49852001-08-28 Frank Warmerdam <[email protected]> 4986 4987 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 4988 images with more than four samples per pixel. See: 4989 4990 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 4991 49922001-08-10 Frank Warmerdam <[email protected]> 4993 4994 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 4995 in TIFFReadRGBATile() to avoid issues in cases of overlapping 4996 buffers. See Bug 69 in Bugzilla. 4997 4998 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 4999 5000 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 5001 50022001-08-09 Frank Warmerdam <[email protected]> 5003 5004 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 5005 when checking for 64 bit architectures as per bugzilla bug 67. 5006 50072001-07-27 Frank Warmerdam <[email protected]> 5008 5009 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 5010 bug 66. 5011 50122001-07-20 Frank Warmerdam <[email protected]> 5013 5014 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 5015 has been included. 5016 50172001-07-19 Frank Warmerdam <[email protected]> 5018 5019 * libtiff/tif_open.c: Seek back to zero after failed read, 5020 before writing header. 5021 50222001-07-18 Frank Warmerdam <[email protected]> 5023 5024 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 5025 much better. Now depends on having patched libjpeg as per 5026 patch in contrib/ojpeg/*. 5027 50282001-07-17 Frank Warmerdam <[email protected]> 5029 5030 * */Makefile.in: added DESTDIR support. 5031 5032 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 5033 50342001-07-16 Frank Warmerdam <[email protected]> 5035 5036 * configure, libtiff/Makefile.in: applied OpenBSD patches 5037 as per: 5038 5039 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 5040 50412001-06-28 Frank Warmerdam <[email protected]> 5042 5043 * libtiff/tif_getimage.c: Fixed so that failure is properly 5044 reported by gtTileContig, gtStripContig, gtTileSeparate and 5045 gtStripSeparate. 5046 5047 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 5048 5049 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 5050 Updated bug section of tiffcmp.1 to note tiled file issues. 5051 5052 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 5053 50542001-06-22 Frank Warmerdam <[email protected]> 5055 5056 * configure: Changes for DSO generation on AIX provided by 5057 John Marquart <[email protected]>. 5058 5059 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 5060 on Darwin thanks to Robert Krajewski ([email protected]) and 5061 Keisuke Fujii ([email protected]). 5062 50632001-06-13 Frank Warmerdam <[email protected]> 5064 5065 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 5066 5067 * man/tiff2rgba.1: new 5068 50692001-05-22 Frank Warmerdam <[email protected]> 5070 5071 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 5072 50732001-05-13 Frank Warmerdam <[email protected]> 5074 5075 * libtiff/tools/thumbnail.c: changed default output compression 5076 to packbits from LZW since LZW isn't generally available. 5077 50782001-05-12 Frank Warmerdam <[email protected]> 5079 5080 * libtiff/tif_ojpeg.c: New. 5081 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 5082 to OJPEG support. 5083 5084 Scott Marovich <[email protected]> supplied OJPEG support. 5085 50862001-05-11 Frank Warmerdam <[email protected]> 5087 5088 * tiff.h: removed, it duplicates libtiff/tiff.h. 5089 50902001-05-08 Frank Warmerdam <[email protected]> 5091 5092 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 5093 ensure everything is in order. 5094 5095 * libtiff/libtiff.def: added TIFFCreateDirectory and 5096 TIFFDefaultStripSize as per: 5097 5098 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 5099 51002001-05-02 Frank Warmerdam <[email protected]> 5101 5102 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 5103 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 5104 force use of uint32 counts instead of short counts. 5105 5106 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 5107 case of writing TIFF_BYTE/TIFF_SBYTE fields. 5108 5109 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 5110 51112001-05-01 Frank Warmerdam <[email protected]> 5112 5113 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 5114 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 5115 51162001-04-05 Frank Warmerdam <[email protected]> 5117 5118 * tiffio.h: removed C++ style comment. 5119 5120 * configure: fixed up SCRIPT_SH/SHELL handling. 5121 5122 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 5123 5124 * config.guess: documented more variables as per bug 40. 5125 51262001-04-03 Frank Warmerdam <[email protected]> 5127 5128 * configure, *Makefile.in: Various changes to improve configuration 5129 for HP/UX specifically, and also in general. They include: 5130 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 5131 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 5132 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 5133 - Use -${MAKEFLAGS} in sub makes from makefiles. 5134 5135 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 5136 51372001-04-02 Frank Warmerdam <[email protected]> 5138 5139 * libtiff/tiff.h: Applied hac to try and resolve the problem 5140 with the inttypes.h include file on AIX. 5141 5142 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5143 5144 * VERSION: update to 3.5.7 beta in preparation for release. 5145 5146 * configure/config.site: modified to check if -lm is needed for 5147 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 5148 5149 * config.guess: updated wholesale to an FSF version apparently 5150 from 1998 (as opposed to 1994). This is mainly inspired by 5151 providing for MacOS X support. 5152 51532001-03-29 Frank Warmerdam <[email protected]> 5154 5155 * configure, Makefile.in, etc: added support for OPTIMIZER being 5156 set from config.site. 5157 51582001-03-28 Frank Warmerdam <[email protected]> 5159 5160 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 5161 5162 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 5163 sizes. It fixes two problems: 5164 5165 Without scaling (-S) the fax is now centered on the page size specified 5166 with -H and/or -W. Before, fax2ps was using an obscure and practially 5167 useless algorithm to allocate the image relative to Letter sized paper 5168 which sometime sled to useless whitespace on the paper, while at the 5169 same time cutting of the faxes printable area at the opposite border. 5170 5171 Second, scaling now preserves aspect ratio, which makes unusual faxes 5172 (in particular short ones) print properly. 5173 5174 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 5175 5176 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 5177 Bruce A. Mallett. See check message for detailed information 5178 on all the changes, including a faster encoder, fixes for level 5179 2 PostScript, and support for the imagemask operator. 5180 51812001-03-27 Frank Warmerdam <[email protected]> 5182 5183 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 5184 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 5185 5186 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5187 51882001-03-16 Frank Warmerdam <[email protected]> 5189 5190 * tif_dirinfo.c: moved definition of copyright tag in field list. 5191 Apparently they have to be in sorted order by tag id. 5192 51932001-03-13 Frank Warmerdam <[email protected]> 5194 5195 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 5196 images in RGBA interface. 5197 51982001-03-02 Frank Warmerdam <[email protected]> 5199 5200 * Added TIFFTAG_COPYRIGHT support. 5201 52022001-02-19 Frank Warmerdam <[email protected]> 5203 5204 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 5205 with support for extracting subimages with the ,n syntax, and also 5206 adding the -b bias removal flag. 5207 52082001-02-16 Frank Warmerdam <[email protected]> 5209 5210 * libtiff/libtiff.def: Brent Roman submitted new version adding 5211 serveral missing entry points. 5212 5213 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 5214 Some sort of weird VMS thing. 5215 5216 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 5217 5218 * tif_luv.c/tiff.h/tiffio.h: 5219 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 5220 ([email protected]). He writes: 5221 5222 1) I improved the gamut-mapping function in tif_luv.c for imaginary 5223 colors, because some images were being super-saturated on the input 5224 side and this resulted in some strange color shifts in the output. 5225 5226 2) I added a psuedotag in tiff.h to control random dithering during 5227 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 5228 on for 24-bit LogLuv output. Dithering improves the average color 5229 accuracy over the image. 5230 5231 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 5232 tiffio.h, to expose internal routines for converting between LogLuv and 5233 XYZ coordinates. This is helpful for writing more efficient, 5234 specialized conversion routines, especially for reading LogLuv files. 5235 5236 Changes applied with minor edits. 5237 52382001-01-23 Frank Warmerdam <[email protected]> 5239 5240 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 5241 whether we are encoding or decoding. This is to ensure graceful 5242 recovery if TIFFClientOpen() discovers an attempt to open a compressed 5243 file for "r+" access, and subsequently close it, as it resets the 5244 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 5245 compressor's concept of whether it is in encode or decode mode. 5246 52472001-01-08 Mike Welles <[email protected]> 5248 5249 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 5250 52512001-01-07 Frank Warmerdam <[email protected]> 5252 5253 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 5254 as per bug report by Patrick Connor. 5255 52562000-12-28 Frank Warmerdam <[email protected]> 5257 5258 * Added RELEASE-DATE file to release file list. 5259 5260 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 5261 52622000-12-22 Mike Welles <[email protected]> 5263 * added link to CVS mirror from index.html 5264 5265 * updated html/internals.html to note that LZW compression is 5266 not supported by default. 5267 52682000-12-22 Frank Warmerdam <[email protected]> 5269 5270 * updated html/libtiff.html to not point at Niles' old JPL web site 5271 for the man pages, point at www.libtiff.org. 5272 52732000-12-21 Frank Warmerdam <[email protected]> 5274 5275 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 5276 Leonard Rosenthol <[email protected]>. May interfere 5277 with correct building on older systems. If so, please let me know. 5278 52792000-12-19 Mike Welles <[email protected]> 5280 5281 * Took out LZW Encoding from tif_lzw.c 5282 5283 * Created HOWTO-RELEASE 5284 5285 * Created html/v3.5.6.html 5286 5287 * updated index.html 5288 52892000-12-01 Frank Warmerdam <[email protected]> 5290 5291 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 5292 Patches supplied by Frank Cringle <[email protected]> 5293 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 5294 52952000-11-24 Frank Warmerdam <[email protected]> 5296 5297 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 5298 target so that the private headers required by libgeotiff can be 5299 installed with the others. They are not installed by default. 5300 5301 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 5302 targets so libtiff.so will be built with an explicit dependency 5303 on libm.so. 5304 5305 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 5306 libtiff.so.3.5.5. 5307 5308 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 5309 file, or ALPHA version logic. Added stuff about DIST_POINT in 5310 place of DIST_TYPE and the alpha release number stuff. 5311 53122000-11-22 Frank Warmerdam <[email protected]> 5313 5314 * I have applied a patch from Steffen Moeller <[email protected]> to 5315 the configure script so that it now accepts the --prefix, and 5316 --exec-prefix directives. 5317 53182000-11-13 Frank Warmerdam <warmerda@cs46980-c> 5319 5320 * I have made a variety of modifications in an effort to ensure the 5321 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 5322 file which seems to be updated regularly. 5323 5324 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 5325 version include file. 5326 o renamed version.h to tiffvers.h because we now have to install it 5327 with the public libtiff include files. 5328 o include tiffvers.h in tiffio.h. 5329 o updated tif_version.c to use tiffvers.h. 5330 o Updated Makefile.in accordingly. 5331 5332 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 5333 I have updated the win32 detection rules in tiffcomp.h. 5334 53352000-10-20 Frank Warmerdam <warmerda@cs46980-c> 5336 5337 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 5338 the strip/tile width and height aren't multiples of the sampling size. 5339 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 5340 Some patches from Rick LaMont of Dot C Software. 5341 5342 * Modified tif_packbits.c encoder to avoid compressing more 5343 data than provided if rowsize doesn't factor into provided data 5344 (such as occurs for YCbCr). 5345 53462000-10-19 Frank Warmerdam <warmerda@cs46980-c> 5347 5348 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 5349 roundup if rows_per_strip not a multiple of vertical sample size. 5350 53512000-10-16 Frank Warmerdam <warmerda@cs46980-c> 5352 5353 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 5354 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5355 from [email protected]. 5356 5357 * Modified tif_packbits.c decoding to avoid overrunning the 5358 output buffer, and to issue a warning if data needs to be 5359 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5360 53612000-10-12 Frank Warmerdam <warmerda@cs46980-c> 5362 5363 * Modified tiff2bw to ensure portions add to 100%, and that 5364 white is properly recovered. 5365 5366 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 5367 Patch c/o Stanislav Brabec <[email protected]> 5368 53692000-09-30 Frank Warmerdam <warmerda@cs46980-c> 5370 5371 * Modified TIFFClientOpen() to emit an error on an attempt to 5372 open a comperessed file for update (O_RDWR/r+) access. This is 5373 because the compressor/decompressor code gets very confused when 5374 the mode is O_RDWR, assuming this means writing only. See 5375 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 5376 53772000-09-27 Frank Warmerdam <warmerda@cs46980-c> 5378 5379 * Added GNULDdso target an`d switched linux and freebsd to use it. 5380 53812000-09-26 Frank Warmerdam <warmerda@cs46980-c> 5382 5383 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 5384 of EXPAND1D() as per bug 11 (from Roman). 5385 53862000-09-25 Frank Warmerdam <warmerda@cs46980-c> 5387 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 5388 cygwin compatibility. 5389 5390 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 5391 be a proper fix to the buffer sizing problem. See 5392 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 5393 5394 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 5395 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 5396 Thanks to Nick Lamb <[email protected]> for reporting the 5397 bug and proving the patch. 5398 53992000-09-18 Frank Warmerdam <warmerda@cs46980-c> 5400 5401 * Fixed tif_jpeg.c so avoid destroying the decompressor before 5402 we are done access data thanks to bug report from: 5403 Michael Eckstein <[email protected]>. 5404 5405 * Reverted tif_flush change. 5406 54072000-09-14 Frank Warmerdam <warmerda@cs46980-c> 5408 5409 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 5410 error when TIFF_BEENWRITING is not set. This ensures that the 5411 directory contents can still be flushed by TIFFFlush(). 5412 54132000-08-14 Frank Warmerdam <[email protected]> 5414 5415 * tif_open.c: Don't set MMAP for O_RDWR files. 5416 5417 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 5418 so that files opened for update can be strip chopped too. 5419 5420 * tif_read.c: fixed up bug with files missing rowsperstrip and 5421 the strips per separation fix done a few weeks ago. 5422 54232000-07-17 Frank Warmerdam <warmerda@cs46980-c> 5424 5425 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 5426 SAMPLEFORMAT_COMPLEXINT. 5427 54282000-07-13 Mike Welles <[email protected]> 5429 5430 * index.html, bugs.html: added bugzilla info. 5431 54322000-07-12 Frank Warmerdam <[email protected]> 5433 5434 * tif_read.c: fix subtle bug with determining the number of 5435 rows for strips that are the last strip in a separation but 5436 not the last strip of all in TIFFReadEncodedStrip(). 5437 5438 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 5439 Peter Skarpetis <[email protected]> 5440 54412000-06-15 Frank Warmerdam <[email protected]> 5442 5443 * Modified tiffio.h logic with regard to including windows.h. It 5444 won't include it when building with __CYGWIN__. 5445 54462000-05-11 Frank Warmerdam <warmerda@cs46980-c> 5447 5448 * README: update to mention www.libtiff.org, don't list Sam's old 5449 email address. 5450 5451 * configure: Fixed DSO test for Linux as per patch from 5452 Jan Van Buggenhout <[email protected]>. 5453 54542000-04-21 Frank Warmerdam <[email protected]> 5455 5456 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 5457 one tile/strip images with an offset, and byte count of zero. These 5458 could be "unpopulated" images. 5459 54602000-04-18 Frank Warmerdam <[email protected]> 5461 5462 * contrib/addtiffo: Added "averaging" resampling option. 5463 5464 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 5465 5466Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 5467 5468 * tools/Makefile.in: Modified to install properly on SGI. 5469 54702000-04-12 Mike Welles <[email protected]> 5471 * configure: Fixed stupid mistake in libc6 test on Linux 5472 54732000-04-04 Mike Welles <[email protected]> 5474 * tif_win32.c: Applied patch to fix overreads and ovverwrites 5475 caught by BoundsChecker. From Arvan Pritchard 5476 <[email protected]> (untested). 5477 5478 * tif_getimage.c: Applied patch to silence VC6 warnings. From 5479 Arvan Pritchard <[email protected]> 5480 5481 * tif_lzw.c: Applied patch to silence VC6 warnings. From 5482 Arvan Pritchard <[email protected]> 5483 54842000-03-28 Frank Warmerdam <warmerda@cs46980-c> 5485 5486 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 5487 54882000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 5489 5490 * fax2ps: Fixed mixup of width and height in bounding box statement 5491 as per submission by Nalin Dahyabhai <[email protected]>. 5492 54932000-03-27 Mike Welles <[email protected]> 5494 5495 * fax2ps: Modified printruns to take uint32 instead of uint16. 5496 Patch courtesy of Bernt Herd <[email protected]> 5497 54982000-03-20 Mike Welles <[email protected]> 5499 5500 * configure: added test for libc6 for linux targets. Bug reported by 5501 Stanislav Brabec <[email protected]> 5502 5503 * Added 3.5 docs to html/Makefile.in. 5504 Thanks to Stanislav Brabec <[email protected]> 5505 5506 * configure: fixed bugs in sed scripts 5507 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 5508 fix submitted to Stanislav Brabec <[email protected]> 5509 5510 * tools/iptcutil was not in files list, and wasn't being 5511 added to tar archive. Updated Makefile.in. 5512 55132000-03-17 Frank Warmerdam <warmerda@cs46980-c> 5514 5515 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 5516 conversion for the run arrays. 5517 55182000-03-03 Frank Warmerdam <[email protected]> 5519 5520 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 5521 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 5522 55232000-03-02 Frank Warmerdam <[email protected]> 5524 5525 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 5526 5527 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 5528 to avoid overruns encountered with frle_bug.tif. 5529 5530Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 5531 5532 * Fixed tools/tiffcmp so that stopondiff testing works. 5533 Patch care of Joseph Orost <[email protected]>. 5534 55352000-01-28 <warmerda@CS46980-B> 5536 5537 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 5538 set to 1, and added default (off) setting in tiffconf.h. This 5539 should eventually be set by the configure script somehow. 5540 5541 The original work on all these 2-4GB changes was done by 5542 Peter Smith ([email protected]). 5543 5544 * Modified tif_win32.c to support 2-4GB seeks. 5545 5546 * tentatively changed toff_t to be unsigned instead of signed to 5547 facilitate support for 2-4GB files. 5548 5549 * Updated a variety of files to use toff_t. Fixed some mixups 5550 between toff_t and tsize_t. 5551 5552Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 5553 5554 * Largely reimplemented contrib/addtiffo to avoid temp files, 5555 updating the TIFF file in place. Fixed a few other bugs to. 5556 5557 * Set tif_rawdatasize to zero when freeing raw data buffer in 5558 TIFFWriteDirectory(). 5559 5560 * Enabled "REWRITE_HACK" in tif_write.c by default. 5561 5562 * Fix bug in tif_write.c when switching between reading one directory 5563 and writing to another. 5564 5565 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 5566 5567Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 5568 5569 * Added TIFFmemory(3t) functions to libtiff.def. 5570 5571Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 5572 5573 * Added libtiff/libtiff.def to TIFFILES distribution list. 5574 5575Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 5576 5577 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 5578 5579 * Altered descriptions in tools to reflect "by default" lzw not supported 5580 5581 * Updated index.html to note lzw compression kit. 5582 5583Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 5584 5585 * Added fax3sm_winnt.c to distribution list in Makefile.in. 5586 5587Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 5588 5589 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 5590 5591 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 5592 when LZW compression invoked. 5593 5594 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 5595 in tools to reflect removal of LZW compression 5596 5597Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 5598 5599 * Fixed bug that caused LZW (non) compression to segfault. Added 5600 warning about LZW compression removed being removed, and why. 5601 5602 * Added nostrip to install in tools/Makefile.in so that debugging 5603 symbols are kept. 5604 5605Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 5606 5607 * Added patch from Ivo Penzar <[email protected]>, 5608 supporting Adobe ZIP deflate. Untested. 5609 5610Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 5611 5612 * Made Packbits the default compression in tools/tiff2rgba.c instead 5613 of LZW. 5614 5615Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 5616 5617 * Added tif_luv to contrib/djgpp/Makefile.lib. 5618 5619Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 5620 5621 * Added zip creation to relase makefile target 5622 5623 * Added html for TIFFWriteTile.3t man page. 5624 5625Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 5626 5627 * Added some changes to tif_write.c to support rewriting existing 5628 fixed sized tiles and strips. Code mods disabled by default, only 5629 enabled if REWRITE_HACK is defined for now. 5630 5631Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 5632 5633 * Added TIFFWriteTile.3t man page. 5634 5635Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 5636 5637 * Added notes on use of makefile.vc in build.html, and fixed 5638 email subscription address. 5639 5640199-11-28 Mike Welles <[email protected]> 5641 5642 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 5643 5644 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 5645 from Bruce Carmeron <[email protected]> -- modifications of 5646 changes made by Frank (sun cc still complained on cast). 5647 5648 * Added tiffconf.h to install target per request from Bill 5649 Radcliffe <[email protected]>: "We need a way for ImageMagick to 5650 know features have been compiled into the TIFF library in order to 5651 handle things properly". 5652 5653Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 5654 5655 * fixed various VC++ warnings as suggested by Gilles Vollant 5656 <[email protected]>. 5657 5658Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 5659 5660 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 5661 not imply applications are responsible for image data swapping. 5662 56631999-11-22 Mike Welles <[email protected]> 5664 * HTML-ized the man pages, added to html/man 5665 5666 * Removed LZW Compression to comply with Unisys patent extortion. 5667 56681999-09-29 Mike Welles <[email protected]> 5669 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 5670 From Ivo Penzar <[email protected]. 5671 5672 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 5673 memory mapped files. <[email protected]> 5674 56751999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 5676 * Corrected alpha versioning. 5677 5678 * Removed distinction between alpha and release targets in Makefile.in. 5679 5680 * added release.stamp target, which tags cvs tree, and updates 5681 "RELEASE-DATE" 5682 5683 * added releasediff target, which diffs tree with source as of 5684 date in "RELEASE-DATE" 5685 5686 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 5687 away from alpha/non-alpha distinctions). 5688 5689 * updated html to reflect release 5690 56911999-09-23 <warmerda@CS46980-B> 5692 5693 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 5694 5695 * Added CYGWIN case in configure. 5696 5697Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 5698 5699 * Applied Francois Dagand's patch to handle fax decompression bug. 5700 (sizes >= 65536 were failing) 5701 5702Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 5703 5704 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 5705 by Christopher Lawton <[email protected]> 5706 5707Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 5708 5709 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 5710 Albert Chin-A-Young <[email protected]> 5711 5712 * Added TIFFReassignTagToIgnore() API on behalf of 5713 Bruce Cameron <[email protected]>. Man page still pending. 5714 5715Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 5716 5717 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 5718 files to provide for a rudimentary testsuite. 5719 5720 * Added contrib/tags back from old distribution ... fixed up a bit. 5721 57221999-08-16 <warmerda@CS46980-B> 5723 5724 * Added simple makefile.vc makefiles for building with MS VC++ 5725 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 5726 better solutions for some users. 5727 5728Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 5729 5730 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 5731 put it in tools since part of it is in C++. 5732 57331999-08-16 Michael L. Welles <[email protected]> 5734 5735 * Updated html/index.html with anon CVS instructions. 5736 5737Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 5738 5739 * pre-remove so link before softlink in LINUXdso action in 5740 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 5741 the first. 5742 5743 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 5744 colormaps owned by the TIFF handle itself when trying to fixup wrong 5745 (eight bit) colormaps. Corrected by maintaining a private copy of 5746 the colormap. 5747 5748 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 5749 tif_getimage.c. 5750 5751 * CVS Repository placed at remotesensing.org. ChangeLog added. 5752