12012-05-31 Frank Warmerdam <[email protected]> 2 3 * libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in 4 JPEGDecodeRaw() - mostly likely to occur when there is confusion about 5 sampling values. 6 7 * libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed. 8 9 * libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval. 10 http://bugzilla.maptools.org/show_bug.cgi?id=2398 11 122012-05-29 Frank Warmerdam <[email protected]> 13 14 * libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories, 15 like EXIF directories. This fixes problems like a tag "320" existing in a custom directory getting 16 processed as if it were a colormap when it isn't really. Damn the wide variety of argument formulations 17 to get/set functions for different tags! 18 19 * libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata 20 is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag. 21 222012-05-24 Frank Warmerdam <[email protected]> 23 24 * libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward 25 accumulate" and overwrite the end by one word in at least some cases. 26 272012-05-23 Frank Warmerdam <[email protected]> 28 29 * libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs. 30 31 * tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files. 32 33 * libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on 34 the same image. 35 36 * libtiff/tif_ojpeg.c: make things more resilient in the face of files without 37 stripbytecounts or stripoffsets or where loading these fails. 38 39 * libtiff/tif_print.c: be careful about whether min/max values are singular 40 or one per sample. 41 42 * libtiff/tif_print.c: Avoid confusion about count size when printing custom fields. 43 May affect things like ISOSpeedRatings. 44 45 * libtiff/tif_dir.c: avoid one byte past end of ink names reading 46 in some cases. 47 482012-05-19 Bob Friesenhahn <[email protected]> 49 50 * man/TIFFGetField.3tiff: Correct the 'count' field type in the 51 example for how to retreive the value of unsupported tags. 52 532012-03-30 Frank Warmerdam <[email protected]> 54 55 * tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173) 56 care of Tom Lane @ Red Hat. 57 582012-02-18 Bob Friesenhahn <[email protected]> 59 60 * libtiff 4.0.1 released. 61 62 * Update automake used to 1.11.3. 63 64 * libtiff/tiffio.h: Use double-underbar syntax in GCC printf 65 attribute specification to lessen the risk of accidental macro 66 substitution. Patch from Vincent Torri. 67 682012-01-31 Frank Warmerdam <[email protected]> 69 70 * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around 71 assumption tag fetching is always successful. 72 73 * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL. 74 752012-01-22 Bob Friesenhahn <[email protected]> 76 77 * configure.ac: Add support for using library symbol versioning on 78 ELF systems with the GNU linker. Support is enabled via 79 --enable-ld-version-script. Disabled by default for now until 80 there is a decision for how to deploy a libtiff with versioned 81 symbols after libtiff 4.0.0 was already released. 82 832011-12-22 Bob Friesenhahn <[email protected]> 84 85 * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in 86 87 tif_win32.c. Patch by Edward Lam. 88 89 * configure.ac: Add libtiff private dependency on -llzma for 90 pkg-config. Patch by Mark Brand. 91 Updated Automake to 1.11.2. 92 932011-12-21 Bob Friesenhahn <[email protected]> 94 95 * libtiff 4.0.0 released. 96 972011-12-08 Frank Warmerdam <[email protected]> 98 99 * libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking 100 of _TIFFFillStriles() results (#gdal 4372) 101 1022011-12-07 Frank Warmerdam <[email protected]> 103 104 * libtiff/tif_dirread.c: fixes to deal with invalid files where 105 _TIFFFillStriles() fails, and we try to chop up strips (gdal #4372) 106 107 * libtiff/tif_dirread.c: fix error reporting when there is no 108 tag information struct and name (gdal #4373) 109 1102011-10-22 Bob Friesenhahn <[email protected]> 111 112 * Update GNU libtool to 2.4.2. 113 114 * tools/tiffsplit.c (tiffcp): TIFFGetField count field should be 115 uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe 116 Deroulers. 117 1182011-06-21 Frank Warmerdam <[email protected]> 119 120 * libtiff/libtiff.def: Restore TIFFMergeFieldInfo. 121 1222011-05-31 Jim Meyering <[email protected]> 123 124 * libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also 125 upon failure to allocate "resizeddata". 126 * tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for 127 allocation failure, not before. 128 * libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path 129 * tools/rgb2ycbcr.c (cvtRaster): unchecked malloc 130 * libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark 131 NULL-deref and possible overflow 132 * tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written" 133 * libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration 134 and set of otherwise unused local, data_is_empty. 135 * libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]: 136 Diagnose out-of-memory failure and return 0 rather than 137 dereferencing NULL. 138 1392011-05-24 Frank Warmerdam <[email protected]> 140 141 * libtiff/tif_dirread.c: produce special error message for zero tag 142 directories instead of error out on the malloc(0) failure. 143 1442011-05-16 Frank Warmerdam <[email protected]> 145 146 * libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and 147 related declarations as they are in active use by libraries 148 such as libgeotiff, and work just fine. (#2315) 149 1502011-04-20 Frank Warmerdam <[email protected]> 151 152 * libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete 153 TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API. 154 http://bugzilla.maptools.org/show_bug.cgi?id=2315 155 156 * libtiff/libtiff.def: add some missing (64bit) APIs. 157 http://bugzilla.maptools.org/show_bug.cgi?id=2316 158 1592011-04-09 Bob Friesenhahn <[email protected]> 160 161 * libtiff 4.0.0beta7 released. 162 1632011-04-09 Bob Friesenhahn <[email protected]> 164 165 * configure.ac: Should use AC_CANONICAL_HOST since host specifies 166 the run-time target whereas target is used to specify the final 167 output target if the package is a build tool (like a compiler), 168 which libtiff is not. Resolves libtiff bug 2307 "Use 169 AC_CANONICAL_HOST macro". 170 1712011-04-02 Bob Friesenhahn <[email protected]> 172 173 * configure.ac: Support configuring TIFF_INT64_FORMAT and 174 TIFF_UINT64_FORMAT appropriately for MinGW32. 175 176 * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32 177 printf conventions for 64-bit types because it uses the WIN32 CRT. 178 179 * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c, 180 tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32 181 printf conventions for 64-bit types because it uses the WIN32 CRT. 182 183 * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not 184 understood by WIN32 CRT. 185 186 * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC. 187 188 * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since 189 it is much more portable. Tmpfile is included in ISO/IEC 190 9899:1990 and the WIN32 CRT. 191 1922011-03-26 Frank Warmerdam <[email protected]> 193 194 * tools/tiffset.c: add -d and -sd switches to allow operation on 195 a particular directory, not just the first (jef). 196 1972011-03-21 Frank Warmerdam <[email protected]> 198 199 * libtiff/tif_thunder.c: Correct potential buffer overflow with 200 thunder encoded files with wrong bitspersample set. The libtiff 201 development team would like to thank Marin Barbella and TippingPoint's 202 Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004, 203 CVE-2011-1167). 204 http://bugzilla.maptools.org/show_bug.cgi?id=2300 205 2062011-03-10 Frank Warmerdam <[email protected]> 207 208 * libtiff/tif_fax3.h: Fix to last change allowing zero length 209 runs at the start of a scanline - needed for legal cases. 210 2112011-03-02 Frank Warmerdam <[email protected]> 212 213 * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 214 a move left. Without this, a malicious input file can generate an 215 indefinitely large series of runs without a0 ever reaching the right 216 margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192. 217 This is a modified version of a patch proposed by Drew Yao of Apple 218 Product Security. It adds an unexpected() report, and disallows the 219 equality case, since emitting a run without increasing a0 still allows 220 buffer overrun. 221 2222011-02-23 Frank Warmerdam <[email protected]> 223 224 * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296) 225 226 * tools/tiff2rgba.c: close source file on error to make leak 227 detection easier. 228 229 * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails. 230 231 http://bugzilla.maptools.org/show_bug.cgi?id=2295 232 2332011-02-22 Frank Warmerdam <[email protected]> 234 235 * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ 236 _SUPPORT) 237 2382011-02-18 Frank Warmerdam <[email protected]> 239 240 * configure.ac, configure: Added support for --enable-chunky-strip-read 241 configure option to enable the experimental feature from a couple 242 months ago for reading big strips in chunks. 243 244 * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 245 tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c: 246 Implement optional support for deferring the load of strip/tile 247 offset and size tags for optimized scanning of directories. Enabled 248 with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD 249 #define in tif_config.h). 250 2512011-02-11 Frank Warmerdam <[email protected]> 252 253 * libtiff/tif_print.c: remove unused variable. 254 2552011-02-09 Frank Warmerdam <[email protected]> 256 257 * libtiff/tif_win32.c: avoid error/warning buffer overrun problem 258 with non-console (popup message) builds on win32. 259 260 http://bugzilla.maptools.org/show_bug.cgi?id=2293 261 2622011-01-24 Olivier Paquet <[email protected]> 263 264 * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c, 265 tif_print.c, tiff.h, tiffiop.h} : Added support for 266 TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different 267 values for each sample. Presents the min/max of all samples by default for 268 compatibility. TIFFSetField/TIFFGetField can be made to handle those tags 269 as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag. 270 http://www.asmail.be/msg0055458208.html 271 2722011-01-06 Frank Warmerdam <[email protected]> 273 274 * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 275 maintained. 276 277 * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 278 for CHUNKY_STRIP_READ_SUPPORT. 279 280 * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained 281 during JPEGPreDecode and JPEGDecode calls. 282 * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 283 as compression formats like JPEG keep 16 lines interleaved in a sense 284 and might need to touch quite a bit of data. 285 286 http://trac.osgeo.org/gdal/ticket/3894 287 2882011-01-03 Lee Howard <[email protected]> 289 290 * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images 291 caused by commit on 2010-12-14. Submitted by e-mail from 292 Even Rouault <[email protected]> 293 2942010-12-31 Olivier Paquet <[email protected]> 295 296 * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE. 297 http://bugzilla.maptools.org/show_bug.cgi?id=2266 298 2992010-12-23 Andrey Kiselev <[email protected]> 300 301 * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the 302 compression level parameter (preset) for Deflate and LZMA encoders, 303 e.g "-c lzma:p1" or "-c zip:p9". 304 305 * libtiff/tif_lzma.c: Properly set the LZMA2 compression level 306 (preset) in LZMAVSetField(). 307 3082010-12-18 Bob Friesenhahn <[email protected]> 309 310 * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to 311 Makefile. 312 3132010-12-14 Andrey Kiselev <[email protected]> 314 315 * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h, 316 tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new 317 TIFF compression scheme LZMA reserving a new value 34925 for 318 Compression tag. As per 319 bug http://bugzilla.maptools.org/show_bug.cgi?id=2221 320 3212010-12-14 Lee Howard <[email protected]> 322 323 * libtiff/tif_dirread.c: tolerate some cases where 324 FIELD_COLORMAP is missing 325 http://bugzilla.maptools.org/show_bug.cgi?id=2189 326 3272010-12-14 Lee Howard <[email protected]> 328 329 * libtiff/tif_read.c: change read_ahead to tmsize_t 330 http://bugzilla.maptools.org/show_bug.cgi?id=2222 331 3322010-12-14 Lee Howard <[email protected]> 333 334 * configure.ac, libtiff/Makefile.am: Build tif_win32.c on 335 Windows except on Cygwin 336 http://bugzilla.maptools.org/show_bug.cgi?id=2224 337 3382010-12-14 Lee Howard <[email protected]> 339 340 * tools/gif2tiff.c: fix buffer overrun 341 http://bugzilla.maptools.org/show_bug.cgi?id=2270 342 3432010-12-14 Lee Howard <[email protected]> 344 345 * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order 346 to improve compatibility with various viewers 347 submitted by e-mail from Dwight Kelly <[email protected]> 348 3492010-12-13 Lee Howard <[email protected]> 350 351 * tools/fax2ps.c: be consistent with page-numbering 352 http://bugzilla.maptools.org/show_bug.cgi?id=2225 353 3542010-12-13 Lee Howard <[email protected]> 355 356 * libtiff/tif_color.c: prevent crash in handling bad TIFFs 357 resolves CVE-2010-2595 358 http://bugzilla.maptools.org/show_bug.cgi?id=2208 359 3602010-12-13 Lee Howard <[email protected]> 361 362 * tools/tiffcrop.c: new release by Richard Nolde 363 http://bugzilla.maptools.org/show_bug.cgi?id=2004 364 3652010-12-12 Lee Howard <[email protected]> 366 367 * tools/tiff2pdf.c: fix colors for images with RGBA 368 interleaved data 369 http://bugzilla.maptools.org/show_bug.cgi?id=2250 370 3712010-12-12 Lee Howard <[email protected]> 372 373 * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files 374 http://bugzilla.maptools.org/show_bug.cgi?id=2164 375 3762010-12-11 Lee Howard <[email protected]> 377 378 * tools/tiff2pdf.c: remove invalid duplication for Lab 379 http://bugzilla.maptools.org/show_bug.cgi?id=2162 380 3812010-12-11 Lee Howard <[email protected]> 382 383 * libtiff/tif_jpeg.c: fix use of clumplines calculation 384 http://bugzilla.maptools.org/show_bug.cgi?id=2149 385 3862010-12-11 Lee Howard <[email protected]> 387 388 * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp() 389 http://bugzilla.maptools.org/show_bug.cgi?id=2118 390 3912010-12-11 Lee Howard <[email protected]> 392 393 * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c, 394 libtiff/tif_zip.c: fix build errors for VC6 395 http://bugzilla.maptools.org/show_bug.cgi?id=2105 396 3972010-12-11 Lee Howard <[email protected]> 398 399 * libtiff/tif_stream.cxx: warnings cleanup 400 http://bugzilla.maptools.org/show_bug.cgi?id=2091 401 * libtiff/tif_dirread.c: warnings cleanup 402 http://bugzilla.maptools.org/show_bug.cgi?id=2092 403 4042010-12-11 Lee Howard <[email protected]> 405 406 * tools/tiff2pdf.c: add fill-page option 407 http://bugzilla.maptools.org/show_bug.cgi?id=2051 408 4092010-12-11 Lee Howard <[email protected]> 410 411 * libtiff/tif_dirread.c: modify warnings 412 http://bugzilla.maptools.org/show_bug.cgi?id=2016 413 4142010-12-11 Lee Howard <[email protected]> 415 416 * libtiff/tif_ojpeg.c: fix buffer overflow on problem data 417 http://bugzilla.maptools.org/show_bug.cgi?id=1999 418 4192010-12-11 Lee Howard <[email protected]> 420 421 * tools/tiffinfoce.c: strip byte counts are uint64* now 422 4232010-12-11 Lee Howard <[email protected]> 424 425 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero 426 or missing byte-count tag 427 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count 428 per http://bugzilla.maptools.org/show_bug.cgi?id=1996 429 4302010-12-08 Lee Howard <[email protected]> 431 432 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed 433 TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994 434 4352010-12-06 Lee Howard <[email protected]> 436 437 * libtiff/tif_open.c: Fix mode check before opening a file. 438 http://bugzilla.maptools.org/show_bug.cgi?id=1906 439 4402010-11-27 Bob Friesenhahn <[email protected]> 441 442 * libtiff-4.pc.in: Added libtiff pkg-config .pc file support. 443 Patch by Vincent Torri. 444 4452010-10-21 Frank Warmerdam <[email protected]> 446 447 * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler. 448 449 * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf. 450 451 * libtiff/libtiff.def: export _TIFFCheckMalloc for tools. 452 4532010-09-25 Lee Howard <[email protected]> 454 455 * tools/tiff2ps.c: improvements and enhancements from Richard Nolde 456 with additional command line options for Document Title, 457 Document Creator, and Page Orientation 458 4592010-07-13 Bob Friesenhahn <[email protected]> 460 461 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 462 potentially unterminated buffer due to using an exceptionally long 463 file name. 464 4652010-07-08 Andrey Kiselev <[email protected]> 466 467 * tools/tiff2pdf.c: Fixed ID buffer filling in 468 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 469 4702010-07-07 Andrey Kiselev <[email protected]> 471 472 * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 473 to expected value as the warning message suggests. As per bug 474 http://bugzilla.maptools.org/show_bug.cgi?id=1963 475 4762010-07-06 Andrey Kiselev <[email protected]> 477 478 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 479 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 480 which should be set by value. 481 482 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 483 and _TIFFFieldWithName() if the tag is not found in the tag table. 484 This should be normal situation and returned NULL value should be 485 properly handled by the caller. 486 4872010-07-02 Andrey Kiselev <[email protected]> 488 489 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 490 integer type conversions. As per bug 491 http://bugzilla.maptools.org/show_bug.cgi?id=2207 492 493 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 494 WhitePoint tag as per bug 495 http://bugzilla.maptools.org/show_bug.cgi?id=2042 496 497 * libtiff/tif_getimage.c: Check the number of samples per pixel when 498 working with YCbCr image in PickContigCase(). As per bug 499 http://bugzilla.maptools.org/show_bug.cgi?id=2216 500 501 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 502 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 503 we don't need any post-processing. That helps to reset the hook if we 504 previously set this field to some other value and the hook was 505 initialized accordingly. As per bug 506 http://bugzilla.maptools.org/show_bug.cgi?id=2035 507 5082010-07-01 Andrey Kiselev <[email protected]> 509 510 * tools/tiffgt.c: Properly check the raster buffer allocations for 511 integer overflows. As per bug 512 http://bugzilla.maptools.org/show_bug.cgi?id=2108 513 514 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 515 upstream. 516 517 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 518 multiply_32() and multiply_64() functions into tif_aux.c file and 519 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 520 5212010-06-30 Andrey Kiselev <[email protected]> 522 523 * tools/tiff2pdf.c: Better generation of ID field in 524 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 525 526 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 527 converting JPEG encoded tiles. 528 529 * tools/tiff2pdf.c: Better handling of string fields, use static 530 string buffers instead of dynamically allocated, use strncpy() instead 531 of strcpy(), control the string lengths. 532 5332010-06-25 Andrey Kiselev <[email protected]> 534 535 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 536 referencing to uninitialized memory in some cases (e.g. when tile size 537 set bigger than the image size). 538 5392010-06-15 Bob Friesenhahn <[email protected]> 540 541 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 542 subsampled data since tiffcrop currently doesn't support it. Fix 543 JPEG support. 544 5452010-06-13 Frank Warmerdam <[email protected]> 546 547 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 548 549 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 550 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 551 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 552 size is larger. Also, there are a bunch of places that try to 553 memset() a malloc'd buffer before checking for malloc failure, which 554 would result in core dump if there actually were a failure. (#2211) 555 5562010-06-11 Bob Friesenhahn <[email protected]> 557 558 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 559 avoid compiler warnings if parameter types are not sign 560 consistent. 561 562 * libtiff 4.0.0alpha6 released. 563 564 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 565 European page size dimensions. Added an option to allow the user 566 to specify a custom page size on the command line. Fix the case 567 where a page size specified with a fractional part was being 568 coerced to an integer by retyping the variables that define the 569 paper size. 570 571 * html/index.html: Update for the 3.9.3 release. 572 573 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 574 YCbCr subsampled data since tiffcp currently doesn't support it. 575 http://bugzilla.maptools.org/show_bug.cgi?id=2097 576 577 * Update libtool to version 2.2.10. 578 5792010-06-10 Bob Friesenhahn <[email protected]> 580 581 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 582 multiplier is zero. 583 5842010-06-09 Bob Friesenhahn <[email protected]> 585 586 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 587 CVE-2010-1411 was not complete. 588 589 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 590 multiply two integers. Returns zero if there is an integer 591 overflow. 592 593 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 594 is reported when reading the input file. 595 5962010-06-08 Bob Friesenhahn <[email protected]> 597 598 * Update libtool to version 2.2.8. 599 600 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 601 buffer due to integer overflow in TIFFroundup() and several other 602 potential overflows. In conjunction with the fix to TIFFhowmany(), 603 fixes CVE-2010-1411. 604 605 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 606 result in an integer overflow. This causes TIFFroundup() to also 607 return zero if there would be an integer overflow. 608 609 * contrib: Add an emacs formatting mode footer to all source files 610 so that emacs can be effectively used. 611 6122010-06-03 Oliver Chen Feng <[email protected]> 613 614 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 615 file PAGENUMBER value in sequence for users who care the page 616 sequence, this will also prevent tiff2pdf from creating pdf file from 617 the merged tiff file with wrong page sequence. 618 6192010-05-08 Olivier Paquet <[email protected]> 620 621 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 622 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 623 * libtiff/tif_dirinfo.c: Use correct set_field_type for 624 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 625 http://bugzilla.maptools.org/show_bug.cgi?id=2192 626 6272010-05-07 Frank Warmerdam <[email protected]> 628 629 * libtiff/tif_jpeg.c: Ensure that quality is always set in 630 JPEGPreEncode(), not just when we want to output local tables. 631 Otherwise the quality used during compression may not be right and 632 might not match the tables in the tables tag. This bug only occurs 633 when seeking between directories in the midst of writing blocks. 634 http://trac.osgeo.org/gdal/ticket/3539 635 6362010-05-06 Andrey Kiselev <[email protected]> 637 638 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 639 Regenerated from the source. 640 6412010-05-05 Olivier Paquet <[email protected]> 642 643 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 644 had stopped working. Also made it always print 6 floats instead of 645 2*SamplesPerPixel. 646 http://bugzilla.maptools.org/show_bug.cgi?id=2191 647 http://bugzilla.maptools.org/show_bug.cgi?id=2186 648 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 649 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 650 6512010-05-05 Frank Warmerdam <[email protected]> 652 653 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 654 if the jpeg table was written. This is a fix for the last fix on 04-21. 655 6562010-04-21 Frank Warmerdam <[email protected]> 657 658 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 659 JPEGSetupEncode() is called if the tables already seem to be 660 established. This prevents spurious updates and rewriting of 661 directories with jpegtables when doing updates to existing images. 662 http://trac.osgeo.org/gdal/ticket/3539 663 6642010-04-20 Olivier Paquet <[email protected]> 665 666 * libtiff/tif_dirinfo.c: Use correct set_field_type for 667 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 668 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 669 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 670 http://bugzilla.maptools.org/show_bug.cgi?id=2139 671 6722010-04-10 Bob Friesenhahn <[email protected]> 673 674 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 675 when the tag count value is zero. Error handling is still a 676 regression since in 3.9.2, empty tags are skipped (with a warning) 677 rather than returning a hard error and refusing to read the file. 678 679 * tools/ppm2tiff.c (main): While case for parsing comment line 680 requires extra parenthesis to work as expected. Reported by 681 Thomas Sinclair. 682 6832010-04-02 Frank Warmerdam <[email protected]> 684 685 * libtiff/tif_read.c (primarily): Add support for 686 CHUNKY_STRIP_READ_SUPPORT where large strips are 687 read in chunks for applications using TIFFReadScanline(). 688 This is intended to make it more practical work with very 689 large compressed one-strip files. Feature is off by default. 690 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 691 http://trac.osgeo.org/gdal/ticket/3514 692 6932010-03-31 Frank Warmerdam <[email protected]> 694 695 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 696 directories so previously placed directories will be migrated to 697 the end of file if needed. 698 6992010-03-30 Frank Warmerdam <[email protected]> 700 701 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 702 to support operating on strips/tiles of more than 256MB. 703 http://trac.osgeo.org/gdal/ticket/3512 704 7052010-03-10 Bob Friesenhahn <[email protected]> 706 707 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 708 that it is clearly a memory allocation error message, and also 709 includes the size of the allocation request. 710 7112010-02-22 Lee Howard <[email protected]> 712 713 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 714 the JPEG TIFF as is is not required in order to prevent it from 715 being unused and filled with invalid data. (Leave it to be 716 generated by later activity.) 717 http://bugzilla.maptools.org/show_bug.cgi?id=2135 718 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 719 data rather than skipping them. This fixes the ability to view in 720 Acrobat Reader, Evince, and Ghostscript. 721 http://bugzilla.maptools.org/show_bug.cgi?id=2135 722 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 723 strips. 724 http://bugzilla.maptools.org/show_bug.cgi?id=2029 725 7262009-12-03 Frank Warmerdam <[email protected]> 727 728 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 729 Made so that when working with downsampled images a stub function 730 reporting an error is used for tif_decoderow. We cannot meaningfully 731 support reading scanlines in this situation. (#1936) 732 733 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 734 resetting of the upsampling values (gdal:#3259). 735 http://bugzilla.maptools.org/show_bug.cgi?id=1936 736 7372009-11-30 Frank Warmerdam <[email protected]> 738 739 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 740 tools/ras2tiff.c: Fix resource leaks on error. 741 http://bugzilla.maptools.org/show_bug.cgi?id=2121 742 743 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 744 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 745 of as a custom(generic) field to avoid a potential reentrancy problem. 746 http://bugzilla.maptools.org/show_bug.cgi?id=2125 747 748 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 749 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 750 const, and display_sRGB static and const. 751 http://bugzilla.maptools.org/show_bug.cgi?id=2124 752 7532009-11-04 Bob Friesenhahn <[email protected]> 754 755 * libtiff 4.0.0alpha5 released. 756 7572009-11-03 Bob Friesenhahn <[email protected]> 758 759 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 760 version has undergone substantial testing with arbitrary sample 761 bit depths. Also eliminates GCC compilation warnings. 762 7632009-11-02 Bob Friesenhahn <[email protected]> 764 765 * port/libport.h: Add extern declarations for getopt standard 766 globals. 767 7682009-10-31 Bob Friesenhahn <[email protected]> 769 770 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 771 noticed in 64-bit build of libtiff with Visual Studio 2005. 772 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 773 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 774 775 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 776 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 777 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 778 http://bugzilla.maptools.org/show_bug.cgi?id=2068 779 7802009-10-29 Bob Friesenhahn <[email protected]> 781 782 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 783 pointer" warnings. 784 7852009-10-28 Bob Friesenhahn <[email protected]> 786 787 * html/tools.html: Add manual page links, and a summary 788 description of tiffcrop. 789 7902009-10-07 Bob Friesenhahn <[email protected]> 791 792 * configure.ac: x86_64 should use the same fill order as i386. 793 7942009-09-24 Bob Friesenhahn <[email protected]> 795 796 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 797 Nolde. Major updates to add significant functionality for reading 798 and writing tile based images with bit depths not a multiple of 8 799 which cannot be handled by tiffcp. 800 8012009-09-03 Bob Friesenhahn <[email protected]> 802 803 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 804 do_fancy_upsampling=FALSE in order to read raw data. Resolves 805 "Bug 2090 - OJPEG crash with libjpeg v7". 806 http://bugzilla.maptools.org/show_bug.cgi?id=2090 807 8082009-09-03 Frank Warmerdam <[email protected]> 809 810 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 811 interface when stoponerror is set. 812 http://bugzilla.maptools.org/show_bug.cgi?id=2071 813 8142009-08-30 Bob Friesenhahn <[email protected]> 815 816 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 817 fix build with gcc when using the "-Wformat 818 -Werror=format-security" flags. 819 8202009-08-29 Bob Friesenhahn <[email protected]> 821 822 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 823 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 824 utilities tests. 825 8262009-08-28 Bob Friesenhahn <[email protected]> 827 828 * tools/tiffinfo.c: tiffinfo should return error status to the 829 caller. Register a private error callback to accomplish that. 830 831 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 832 PNM formats so that we will be able to test more of the tools. 833 While adding these test images I notice that bmp2tiff and gif2tiff 834 only support ancient versions of their respective formats. 835 8362009-08-27 Bob Friesenhahn <[email protected]> 837 838 * libtiff 4.0.0alpha4 released. 839 840 * HOWTO-RELEASE: Improved release instructions. 841 8422009-08-24 Bob Friesenhahn <[email protected]> 843 844 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 845 fixes for "Bug 2023 - nroff errors in manual pages". 846 http://bugzilla.maptools.org/show_bug.cgi?id=2023 847 848 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 849 CVE-2009-2347 libtiff: integer overflows in various inter-color 850 space conversion tools". 851 http://bugzilla.maptools.org/show_bug.cgi?id=2079 852 853 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 854 Berkenbilt for "Bug 2024 - possible null pointer dereference with 855 one-line fix". 856 http://bugzilla.maptools.org/show_bug.cgi?id=2024 857 858 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 859 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 860 segfault after setting tdir_tag = IGNORE". 861 http://bugzilla.maptools.org/show_bug.cgi?id=1895 862 8632009-08-23 Bob Friesenhahn <[email protected]> 864 865 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 866 tiffcrop.sh into a collection of many specific tests. Re-wrote 867 all of the existing tests to be based on some simple shell 868 functions. Make distcheck works again. 869 870 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 871 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 872 tests under valgrind. 873 8742009-08-21 Bob Friesenhahn <[email protected]> 875 876 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 877 build. 878 879 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 880 actually activated since it needed to be enabled in this 881 Makefile.am. Also activated parallel-tests mode since it offers 882 useful features such as per-test .log files and a summary test 883 report .log file. 884 8852009-08-20 Bob Friesenhahn <[email protected]> 886 887 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 888 libtool 2.2.6. Enabled support for silent build rules 889 (--enable-silent-rules or 'make V=0') and colorized tests. 890 891 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 892 8932009-06-30 Frank Warmerdam <[email protected]> 894 895 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 896 897 * tools/tiffcp.c: add -c sgilog support. 898 899 * libtiff/tif_luv.c: correct return codes from encoderow to be 900 1 on success instead of zero. 901 http://bugzilla.maptools.org/show_bug.cgi?id=2069 902 903 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 904 #1085 for a better underflow fix that errors properly. 905 http://bugzilla.maptools.org/show_bug.cgi?id=2065 906 http://bugzilla.maptools.org/show_bug.cgi?id=1985 907 9082009-06-26 Frank Warmerdam <[email protected]> 909 910 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 911 fails on oddly sized 12bit jpeg compressed ycbcr images. 912 9132009-06-22 Frank Warmerdam <[email protected]> 914 915 * libtiff/tif_lzw.c: Fix buffer underflow bug. 916 http://bugzilla.maptools.org/show_bug.cgi?id=2065 917 9182009-06-21 Frank Warmerdam <[email protected]> 919 920 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 921 for dual mode 8/12 bit jpeg support. 922 9232009-06-03 Frank Warmerdam <[email protected]> 924 925 * libtiff/tif_write.c: do not override the planar configuration to be 926 contig for one sample files if planar configuration is already set. 927 http://bugzilla.maptools.org/show_bug.cgi?id=2057 928 9292009-06-02 Frank Warmerdam <[email protected]> 930 931 * libtiff/libtiff.def: Add TIFFUnsetField. 932 9332009-05-03 Frank Warmerdam <[email protected]> 934 935 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 936 error reports to use "%s" as format string. 937 http://trac.osgeo.org/gdal/ticket/2976 938 9392009-03-12 Frank Warmerdam <[email protected]> 940 941 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 942 for some codecs (#2020). 943 9442009-02-12 Frank Warmerdam <[email protected]> 945 946 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 947 http://bugzilla.maptools.org/show_bug.cgi?id=2005 948 9492009-02-09 Frank Warmerdam <[email protected]> 950 951 * libtiff/tif_dirread.c: Improve allocation safety when allocated 952 buffer for large tags. (#1998) Related to (#1993) 953 9542009-02-06 Frank Warmerdam <[email protected]> 955 956 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 957 test suite should pass. 958 9592009-02-05 Frank Warmerdam <[email protected]> 960 961 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 962 but at the 2GB boundary to avoid overflow on 32bit systems. 963 http://bugzilla.maptools.org/show_bug.cgi?id=1993 964 965 * libtiff/tif_dirread.c: Remove some assertions that blow due to 966 corrupt files rather than in response to library internal 967 inconsistencies. 968 http://bugzilla.maptools.org/show_bug.cgi?id=1995 969 http://bugzilla.maptools.org/show_bug.cgi?id=1991 970 971 * libtiff/tif_dirread.c: Fixed testing for failed result from 972 TIFFReadDirectoryFindFieldInfo(). 973 http://bugzilla.maptools.org/show_bug.cgi?id=1992 974 9752009-01-23 Frank Warmerdam <[email protected]> 976 977 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 978 http://bugzilla.maptools.org/show_bug.cgi?id=1911 979 980 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 981 982 http://bugzilla.maptools.org/show_bug.cgi?id=1924 983 984 * tools/tiffcrop.c: initialize xres/yres values. 985 986 * test/*.sh - default ${srcdir} to local directory. 987 988 * test/common.sh - start verbose mode after common settings. 989 990 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 991 avoid type mismatches on different platforms. 992 http://bugzilla.maptools.org/show_bug.cgi?id=1889 993 9942009-01-22 Frank Warmerdam <[email protected]> 995 996 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 997 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 998 999 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 1000 defined, primarily to reduce prototype warnings on windows. 1001 1002 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 1003 about unused parameters, and uninitialized variables. 1004 10052009-01-21 Bob Friesenhahn <[email protected]> 1006 1007 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 1008 order to trace full execution detail while executing the test suite. 1009 10102009-01-20 Frank Warmerdam <[email protected]> 1011 1012 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 1013 10142009-01-20 Bob Friesenhahn <[email protected]> 1015 1016 * test/Makefile.am (CLEANFILES): Make sure that test output files 1017 are removed by 'make clean' 1018 1019 * Update autotools for 4.0.0 beta3 1020 1021 * 4.0.0 beta3 produced. 1022 10232009-01-12 Bob Friesenhahn <[email protected]> 1024 1025 * test/tiffcrop.sh: New test script for tiffcrop from Richard 1026 Nolde. 1027 1028 * tools/tiff2ps.c: Remove spurious message to stderr. 1029 10302009-01-11 Bob Friesenhahn <[email protected]> 1031 1032 * tools/tiff2ps.c: Incorporated significant functionality update 1033 from Richard Nolde. In particular, support for rotating the image 1034 by 90, 180, 270, and 'auto' has been added. 1035 1036 * man/tiffcrop.1: Incorporated documentation updates from Richard 1037 Nolde. 1038 1039 * tools/tiffcrop.c: Incorporated significant functionality update 1040 from Richard Nolde. 1041 10422008-12-31 Bob Friesenhahn <[email protected]> 1043 1044 * libtiff/tiffio.h: GCC will now validate format specifications 1045 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 1046 TIFFWarningExt() in order to reveal bugs. 1047 1048 * Many fixes throughout to work better as a 64-bit build. 1049 10502008-12-30 Bob Friesenhahn <[email protected]> 1051 1052 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 1053 tags now require 64-bit parameter rather than 32-bit. 1054 1055 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 1056 64-bit values. 1057 1058 * tools/thumbnail.c: Eliminate crash noticed while running test 1059 suite. 1060 10612008-12-29 Bob Friesenhahn <[email protected]> 1062 1063 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 1064 Initialize stack variables to avoid compiler warning. 1065 1066 * tools/tiffinfoce.c (main): Use toff_t for offset type when 1067 retrieving offset of EXIF IFD. 1068 1069 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 1070 TIFFClientOpen() callback and other external function definitions. 1071 1072 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 1073 type now. Fixes crash when dumping files containing an EXIF IFD. 1074 1075 * m4/libtool.m4: Update to libtool 2.2.6. 1076 10772008-12-21 Frank Warmerdam <[email protected]> 1078 1079 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 1080 1081 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 1082 strip for the last partial strip in a jpeg compressed file. 1083 http://bugzilla.maptools.org/show_bug.cgi?id=1981 1084 10852008-10-29 Frank Warmerdam <[email protected]> 1086 1087 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 1088 we take the shortcut to only update the strip/tile offsets in place. 1089 http://trac.osgeo.org/gdal/ticket/2621 1090 10912008-10-21 Andrey Kiselev <[email protected]> 1092 1093 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 1094 the older versions retained). 1095 10962008-10-09 Frank Warmerdam <[email protected]> 1097 1098 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 1099 IPP enabled version of libjpeg from Intel. 1100 http://bugzilla.maptools.org/show_bug.cgi?id=1951 1101 11022008-09-05 Andrey Kiselev <[email protected]> 1103 1104 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 1105 Required for libtiff 4.0. 1106 1107 * tools/tiffsplit.c: Use dynamically allocated array instead of static 1108 when constructing output file names. 1109 11102008-09-03 Andrey Kiselev <[email protected]> 1111 1112 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 1113 doing the filename/path construction. 1114 1115 * tools/tiff2pdf.c: More appropriate format string in 1116 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 1117 1118 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 1119 1120 http://bugzilla.maptools.org/show_bug.cgi?id=1929 1121 1122 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 1123 CVE-2008-2327 security issue. 1124 11252008-09-01 Frank Warmerdam <[email protected]> 1126 1127 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 1128 1129 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 1130 depending on whether the file is bigtiff or classic tiff. 1131 http://bugzilla.maptools.org/show_bug.cgi?id=1917 1132 11332008-08-12 Edward Lam <[email protected]> 1134 1135 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 1136 consistent (__int64) casting when testing if _lseeki64 has 1137 successfully seeked as requested. This is necessary for large 1138 file support to work since off_t is only 32-bit. 1139 11402008-07-29 Frank Warmerdam <[email protected]> 1141 1142 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 1143 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 1144 with control logic to return runtime errors (c/o Even Rouault) (#1927). 1145 11462008-06-17 Frank Warmerdam <[email protected]> 1147 1148 * tools/tiffcrop.c: Fix some portability problems. 1149 1150 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 1151 used in tif_jpeg.c. 1152 1153 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 1154 as TIFFOpen(). 1155 11562008-06-01 Frank Warmerdam <[email protected]> 1157 1158 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 1159 like Sparc/Solaris. 1160 http://bugzilla.maptools.org/show_bug.cgi?id=1892 1161 11622008-05-27 Frank Warmerdam <[email protected]> 1163 1164 * libtiff.def: Add TIFFFindField 1165 http://bugzilla.maptools.org/show_bug.cgi?id=1891 1166 11672008-05-26 Frank Warmerdam <[email protected]> 1168 1169 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 1170 1171 * li2008-04-15 Andrey Kiselev <[email protected]> 1172 1173btiff/tif_win32.c: Replace custom Win32 memory api with generic 1174 POSIX one. No apparent value to use of GlobalAlloc() in the modern 1175 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 1176 1177 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 1178 in windows version (care of Edward Lam). 1179 11802008-05-24 Frank Warmerdam <[email protected]> 1181 1182 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 1183 compression codec codes. 1184 1185 * tif_dirwrite.c: fix potential memory leak. 1186 1187 * tif_dirread.c: Fix unchecked malloc result. 1188 11892008-05-24 Bob Friesenhahn <[email protected]> 1190 1191 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 1192 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 1193 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 1194 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 1195 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 1196 suggestions from Lee Howard posted to the tiff list on 13 Sep 1197 2007. 1198 11992008-05-23 Frank Warmerdam <[email protected]> 1200 1201 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 1202 possible runtime problem reported by coverity. 1203 1204 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 1205 1206 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 1207 http://bugzilla.maptools.org/show_bug.cgi?id=1888 1208 1209 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 1210 1211 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 1212 1213 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 1214 Cleanup scanline allocation to avoid coverity warning. 1215 1216 * tools/thumbnail.c: Check for TIFFOpen() failure. 1217 12182008-05-18 Frank Warmerdam <[email protected]> 1219 1220 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 1221 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 1222 why this is needed. 1223 12242008-05-09 Bob Friesenhahn <[email protected]> 1225 1226 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 1227 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 1228 12292008-04-15 Andrey Kiselev <[email protected]> 1230 1231 * test/: Test suite updated. Everything is passed now. 1232 1233 * libtiff/tif_dirinfo.c: Fixed description of the 1234 TIFFTAG_NUMBEROFINKS tag. 1235 12362008-04-14 Andrey Kiselev <[email protected]> 1237 1238 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 1239 Get rid of some of "dereferencing type-punned" warnings by converting 1240 tdir_offset field of TIFFDirEntry structure into union. 1241 12422008-04-10 Andrey Kiselev <[email protected]> 1243 1244 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 1245 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 1246 from the public interface. Type of its 'count' parameter changed 1247 from uint32 to tmsize_t. 1248 1249 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 1250 of the tiff structure have the size_t type instead of uint32. 1251 12522008-04-09 Andrey Kiselev <[email protected]> 1253 1254 * tools/tiffdump.c: Added support for MSVS 6.0. 1255 1256 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 1257 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 1258 point values on MSVS 6.0 platform. 1259 12602008-03-14 Frank Warmerdam <[email protected]> 1261 1262 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 1263 TIFFReadDirEntryArray() since they are interfering with seemingly 1264 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 1265 12662008-02-09 Joris Van Damme <[email protected]> 1267 1268 * tif_dirread.c: Added handling for the case of number of values for 1269 PageNumber tag different from 2 (previously resulted in an assert 1270 indicating lack of handling and was forgotten about) 1271 12722008-02-01 Frank Warmerdam <[email protected]> 1273 1274 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 1275 the actual jpeg data stream if the first strip/tile has zero size. 1276 This is the case when GDAL creates a new file with zero sizes, closes 1277 and reopens it. 1278 12792008-01-07 Frank Warmerdam <[email protected]> 1280 1281 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 1282 12832008-01-01 Frank Warmerdam <[email protected]> 1284 1285 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 1286 1287 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 1288 targets. 1289 1290 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 1291 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 1292 (x64). 1293 1294 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 1295 and TIFFFieldWithName() now return TIFFField pointers instead of 1296 TIFFFieldInfo pointers. 1297 1298 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 1299 exist. This makes it compile again on Windows 1300 1301 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 1302 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 1303 1304 * test/rewrite_tag.c: New test for TIFFRewriteField(). 1305 13062007-12-31 Frank Warmerdam <[email protected]> 1307 1308 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 1309 rewrites one field "on disk" updating an existing directory 1310 entry. Lots of limitations still... 1311 1312 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 1313 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 1314 the strip offset/size values are dirty but nothing else about the 1315 directory is dirty. In flush handle "just stripmaps dirty" as a 1316 special case that just rewrites these values without otherwise 1317 modifying the directory on disk using TIFFRewriteField(). 1318 1319 We also modify logic so that in update mode the directory is not 1320 marked dirty on read, but only when something is changed. This 1321 means we need to keep track of updates to the stripmap stuff in 1322 TIFFAppendToStrip(). 1323 13242007-12-10 Frank Warmerdam <[email protected]> 1325 1326 * tif_jpeg.c: Improve ability to switch between encoding and decoding 1327 in the jpeg code (gdal bug #2033). 1328 13292007-11-23 Frank Warmerdam <[email protected]> 1330 1331 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 1332 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 1333 rawcp/rawcc buffer are for writing and thus may require flushing. 1334 Necessary to distinguish whether they need to be written to disk when 1335 in mixed read/write mode and doing a mixture of writing followed by 1336 reading. http://trac.osgeo.org/gdal/ticket/1758 1337 13382007-11-23 Andrey Kiselev <[email protected]> 1339 1340 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 1341 from Alexey Chupahin. 1342 13432007-11-02 Frank Warmerdam <[email protected]> 1344 1345 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 1346 establishing if an existing tile can be rewritten to the same location 1347 by comparing the current size to all the other blocks in the same 1348 directory. This is dangerous in many situations and can easily 1349 corrupt a file. (observed in esoteric GDAL situation that's hard to 1350 document). This change involves leaving the stripbytecount[] values 1351 unaltered till TIFFAppendToStrip(). Now we only write a block back 1352 to the same location it used to be at if the new data is the same 1353 size or smaller - otherwise we move it to the end of file. 1354 1355 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 1356 data when writing the directory just because we have BEENWRITING at 1357 some point in the past. This was causing odd junk to be written out 1358 in a tile of data when a single tile had an interleaving of reading 1359 and writing with reading last. (highlighted by gdal 1360 autotest/gcore/tif_write.py test 7. 1361 1362 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 1363 modifying callers buffer. 1364 http://trac.osgeo.org/gdal/ticket/1965 1365 1366 * tif_predict.c/h: more fixes related to last item, keeping a 1367 distinct pfunc for encode and decode cases as these were getting 1368 mixed up sometimes. 1369 http://trac.osgeo.org/gdal/ticket/1948 1370 13712007-11-01 Frank Warmerdam <[email protected]> 1372 1373 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 1374 predictor based encoding and decoding works in read-write update 1375 mode properly. 1376 http://trac.osgeo.org/gdal/ticket/1948 1377 13782007-10-24 Joris Van Damme <[email protected]> 1379 1380 * tif_dirread.c: Fixed problem with bogus file triggering 1381 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 1382 ChopUpSingleUncompressedStrip 1383 13842007-10-22 Joris Van Damme <[email protected]> 1385 1386 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 1387 at best, access violation at worst, when subsampled JPEG compressed imagery 1388 is decoded without the JPEG_COLORMODE feature 1389 13902007-10-11 Frank Warmerdam <[email protected]> 1391 1392 * html/index.html: Update "people responsible" section. 1393 13942007-10-05 Frank Warmerdam <[email protected]> 1395 1396 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 1397 as reported on the mailing list. 1398 13992007-10-01 Joris Van Damme <[email protected]> 1400 1401 * changed some more incorrect %lud printf flags to %lu 1402 14032007-09-29 Joris Van Damme <[email protected]> 1404 1405 * tif_dirread.c: Strip chopping interfered badly with uncompressed 1406 subsampled images because it tried to divide subsampled rowblocks, 1407 leading to all sorts of errors throughout the library for these 1408 images. Fixed by making strip chopping divide in row counts that 1409 are a multiple of vertical subsampling value. 1410 14112007-09-28 Joris Van Damme <[email protected]> 1412 1413 * tif_dirread.c: Logical cast working around compiler warning 1414 1415 * tif_read.c: Correction of some error flags and parameter lists 1416 14172007-09-27 Joris Van Damme <[email protected]> 1418 1419 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 1420 when dealing with large bitspersample values, shutting up purification 1421 tools that warn about truncation, though it remains incorrect and 1422 indicates a conceptual problem there. 1423 1424 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 1425 of first IFD) to proper place because it badly interfered with memory 1426 mapping, resulting in mapping flag even with dummy mapping functions 1427 that returned 0 whilst at the same time the mapping tif_size wasn't 1428 set, thus resulting in continuous incorrect beyond-eof errors. 1429 14302007-09-24 Joris Van Damme <[email protected]> 1431 1432 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 1433 inconsistent use of const in tiffFields and exifFields definition 1434 14352007-09-20 Frank Warmerdam <[email protected]> 1436 1437 * tif_dirwrite.c: Always write tile/strip offsets and sizes 1438 using LONG8 type when output format is BigTIFF. The 1439 TIFFWriteDirectoryTagLongLong8Array() function was restructured 1440 accordingly. 1441 1442 * tif_dirread.c: Improvements to error reporting text in 1443 TIFFFetchDirectory(). 1444 14452007-09-19 Bob Friesenhahn <[email protected]> 1446 1447 * test/images: Added a small collection of test images for use by 1448 test programs and scripts. 1449 * test/tiffinfo.sh: A trivial example test script. 1450 * test/common.sh: Added small script for setting the environment 1451 used by script-based tests. 1452 14532007-08-24 Frank Warmerdam <[email protected]> 1454 1455 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 1456 zero when writing directory contents to preserve the ability to 1457 rewrite directories in place, even in the middle of a directory 1458 chain. 1459 1460 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 1461 definitions that are missing. Existing definitions are silently 1462 ignored. 1463 1464 * tif_dirread.c: Add runtime error for fields for which no definition 1465 is found (in addition to an assert for developers) in 1466 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 1467 prudent. 1468 14692007-08-10 Joris Van Damme <[email protected]> 1470 1471 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 1472 from _TIFFRGBAImage structure to revert unwanted ABI change. 1473 14742007-08-10 Joris Van Damme <[email protected]> 1475 1476 * libtiff/tif_win32.c: use SetFilePointer instead of 1477 SetFilePointerEx, as per bug 1478 1479 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 1480 14812007-07-19 Andrey Kiselev <[email protected]> 1482 1483 * libtiff/tif_stream.cxx: Put all callback functions declarations 1484 inside extern "C" block. 1485 1486 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 1487 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 1488 formatter instead of "%lld" with MSVC compiler. 1489 1490 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 1491 _TIFFUInt64ToDouble() functions. 1492 14932007-07-18 Andrey Kiselev <[email protected]> 1494 1495 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 1496 integer constants. 1497 1498 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 1499 remove tif_config.h/tiffconf.h during cleaning. As per bug 1500 1501 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 1502 1503 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 1504 1505 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 1506 15072007-07-13 Andrey Kiselev <[email protected]> 1508 1509 * libtiff 4.0.0alpha released. 1510 15112007-07-12 Andrey Kiselev <[email protected]> 1512 1513 * tools/tiff2pdf.c: Added missed extern optind as per bug 1514 1515 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 1516 1517 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 1518 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 1519 extending scheme completed. 1520 15212007-07-11 Bob Friesenhahn <[email protected]> 1522 1523 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 1524 use standard C++ library size types and attempt to detect overflow 1525 cases. 1526 15272007-07-08 Andrey Kiselev <[email protected]> 1528 1529 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 1530 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 1531 tag extending scheme. Use the new scheme everywhere. 1532 1533 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 1534 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 1535 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 1536 TIFFFIeldInfo structure replaced with TIFFField structure. 1537 TIFFFieldInfo retained for the backward compatibility. 1538 15392007-07-05 Bob Friesenhahn <[email protected]> 1540 1541 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 1542 defined. 1543 15442007-07-04 Andrey Kiselev <[email protected]> 1545 1546 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 1547 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 1548 removed. 1549 1550 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 1551 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 1552 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 1553 These tags are not codec-specific and relate to image content, so 1554 process them as other normal tags. 1555 1556 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 1557 public tiffio.h to private tif_dir.h. 1558 1559 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 1560 outdated. 1561 15622007-07-03 Andrey Kiselev <[email protected]> 1563 1564 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 1565 tif_win3.c}: Obsoleted portability stuff removed. 1566 1567 * tools/tiff2ps.c: Added support 16-bit images as per bug 1568 1569 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 1570 1571 Patch from William Bader. 1572 1573 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 1574 significant upgrade of the whole utility as per bug 1575 1576 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 1577 1578 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 1579 PDF file using TIFFClientOpen() machinery as it is implemented 1580 by Leon Bottou. 1581 15822007-06-26 Bob Friesenhahn <[email protected]> 1583 1584 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 1585 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 1586 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 1587 allow returning -1 for errors. 1588 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 1589 15902007-06-25 Bob Friesenhahn <[email protected]> 1591 1592 * port/strtoull.c: New porting function in case strtoull() is not 1593 available on the target system. 1594 * configure.ac: Add configure support for determining sized types 1595 in a portable way and performing necessary substitutions in 1596 tif_config.h and tiffconf.h. Updated tiff.h to use the new 1597 definitions. 1598 15992007-04-27 Andrey Kiselev <[email protected]> 1600 1601 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 1602 1603 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 1604 16052007-04-07 Andrey Kiselev <[email protected]> 1606 1607 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 1608 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 1609 tif_predict.c, tif_zip.c}: Finally fix bug 1610 1611 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 1612 1613 by introducing _TIFFMergeFieldInfo() returning integer error status 1614 instead of void in case of problems with field merging (e.g., if the 1615 field with such a tag already registered). TIFFMergeFieldInfo() in 1616 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 1617 check returned value. 1618 16192007-04-07 Frank Warmerdam <[email protected]> 1620 1621 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 1622 blocks in TIFF_DownSample_Subsampled() (bug 1542). 1623 16242007-04-06 Frank Warmerdam <[email protected]> 1625 1626 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 1627 will convert from decompressor to compressor or compress to decompress 1628 if required by the force arguments. This works around a problem in 1629 where the JPEGFixupTestSubsampling() may cause a decompressor to 1630 be setup on a directory when later a compressor is required with the 1631 force flag set. Occurs with the addtiffo program for instance. 1632 16332007-04-06 Andrey Kiselev <[email protected]> 1634 1635 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 1636 functionality from Richard Nolde. As per bug 1637 1638 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 1639 16402007-03-28 Frank Warmerdam <[email protected]> 1641 1642 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 1643 16442007-03-17 Joris Van Damme <[email protected]> 1645 1646 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 1647 16482007-03-07 Joris Van Damme <[email protected]> 1649 1650 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 1651 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 1652 factor. This bug is mentioned in: 1653 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 1654 http://www.asmail.be/msg0054766825.html 1655 16562007-03-07 Joris Van Damme <[email protected]> 1657 1658 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 1659 1660 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 1661 unused arguments by standard C indication for the same 1662 16632007-02-27 Andrey Kiselev <[email protected]> 1664 1665 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 1666 counters in TIFFFetchData(). Should finally fix the issue 1667 1668 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 1669 16702007-02-24 Andrey Kiselev <[email protected]> 1671 1672 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 1673 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 1674 1675 * libtiff/tif_dirread.c: Added special function to handle 1676 SubjectDistance EXIF tag as per bug 1677 1678 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 1679 1680 * tools/tiff2pdf.c: Do not assume inches when the resolution units 1681 do not specified. As per bug 1682 1683 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 1684 1685 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 1686 it was set as infinite. As per bug 1687 1688 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 1689 1690 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 1691 by Richard Nolde. As per bug 1692 1693 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 1694 16952007-02-22 Andrey Kiselev <[email protected]> 1696 1697 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 1698 ExtraSamples == 999 produced by Corel Draw. As per bug 1699 1700 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 1701 1702 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 1703 changed from tsize_t to uint32 to be able to work with data arrays 1704 larger than 2GB. Fixes bug 1705 1706 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 1707 1708 Idea submitted by Matt Hancher. 1709 17102007-01-31 Andrey Kiselev <[email protected]> 1711 1712 * tools/tif2rgba.c: This utility does not work properly on big-endian 1713 architectures. It was fixed including the bug 1714 1715 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 1716 17172007-01-15 Mateusz Loskot <[email protected]> 1718 1719 * Submitted libtiff port for Windows CE platform 1720 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 1721 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 1722 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 1723 functons from tif_win32.c. 1724 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 1725 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 1726 standard header files for Windows CE build. 1727 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 1728 17292006-11-19 Frank Warmerdam <[email protected]> 1730 1731 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 1732 we move a strip. 1733 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 1734 17352006-10-13 Andrey Kiselev <[email protected]> 1736 1737 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 1738 in Gentoo bug (): 1739 1740 http://bugs.gentoo.org/show_bug.cgi?id=142383 1741 1742 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 1743 Though it is still far from the state of being working and useful. 1744 17452006-10-12 Andrey Kiselev <[email protected]> 1746 1747 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 1748 method. 1749 1750 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 1751 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 1752 1753 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 1754 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 1755 1756 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 1757 vulnerabilities, reported in Gentoo bug (): 1758 1759 http://bugs.gentoo.org/show_bug.cgi?id=142383 1760 17612006-09-28 Andrey Kiselev <[email protected]> 1762 1763 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 1764 vulnerabilities, as per Gentoo bug (): 1765 1766 http://bugs.gentoo.org/show_bug.cgi?id=142383 1767 17682006-09-27 Frank Warmerdam <[email protected]> 1769 1770 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 1771 encoding and decoding on the same read-write TIFF handle. The LZW 1772 code can now maintain encode and decode state at the same time. The 1773 ZIP code will switch back and forth as needed. 1774 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 1775 17762006-09-20 Frank Warmerdam <[email protected]> 1777 1778 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 1779 tif_config.vc.h for easier identification by folks using an IDE. 1780 17812006-07-25 Frank Warmerdam <[email protected]> 1782 1783 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 1784 17852006-07-19 Frank Warmerdam <[email protected]> 1786 1787 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 1788 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 1789 to bug report by Peng Gao with black strip at bottom of images. 1790 17912006-07-12 Frank Warmerdam <[email protected]> 1792 1793 * tif_dirwrite.c: make sure to use uint32 for wordcount in 1794 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 1795 It already seems to have been done for other field types. Needed 1796 for "tiffset" on files with geotiff ascii text. 1797 17982006-07-04 Bob Friesenhahn <[email protected]> 1799 1800 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 1801 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 1802 its use does not appear to be required, so use it only when it is 1803 available. 1804 18052006-06-24 Andrey Kiselev <[email protected]> 1806 1807 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 1808 1809 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 1810 function TIFFFetchDirectory() avoiding code duplication in 1811 TIFFReadDirectory() and TIFFReadCustomDirectory(). 1812 18132006-06-19 Frank Warmerdam <[email protected]> 1814 1815 * tools/tiff2pdf.c: Fix handling of -q values. 1816 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 1817 18182006-06-17 Frank Warmerdam <[email protected]> 1819 1820 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 1821 files. Modified TIFFReadDirectory() to not invoke 1822 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 1823 but one of them is zero. 1824 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 1825 18262006-06-08 Andrey Kiselev <[email protected]> 1827 1828 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 1829 checking code in the separate function TIFFCheckDirOffset(). 1830 1831 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 1832 1833 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 1834 1835 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 1836 1837 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 1838 1839 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 1840 1841 * tools/tiff2pdf.c: Fixed buffer overflow condition in 1842 t2p_write_pdf_string() as per bug 1843 1844 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 1845 18462006-06-07 Andrey Kiselev <[email protected]> 1847 1848 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 1849 support for JBIG compression scheme (34661 code) contributed by Lee 1850 Howard. As per bug 1851 1852 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 1853 1854 * configure, configure.ac: OJPEG support enabled by default. 1855 1856 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 1857 18582006-06-03 Bob Friesenhahn <[email protected]> 1859 1860 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 1861 TIFFPrintDirectory(). Joris Van Damme authored the fix. 1862 18632006-04-21 Andrey Kiselev <[email protected]> 1864 1865 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 1866 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 1867 1868 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 1869 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 1870 Added support for OpenVMS by Alexey Chupahin, [email protected]. 1871 18722006-04-20 Andrey Kiselev <[email protected]> 1873 1874 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 1875 Properly set the binary mode for stdin stream as per bug 1876 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 1877 1878 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 1879 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 1880 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 1881 tiffset.1}: Improvements in page formatting as per bug 1882 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 1883 1884 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 1885 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 1886 18872006-04-18 Frank Warmerdam <[email protected]> 1888 1889 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 1890 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 1891 18922006-04-12 Joris Van Damme <[email protected]> 1893 1894 * libtiff/tif_getimage.c: Added support for planarconfig separate 1895 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 1896 18972006-04-11 Joris Van Damme <[email protected]> 1898 1899 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 1900 - Conversion of unassociated alpha to associated alpha now done with 1901 more performant LUT, and calculation more correct 1902 - Conversion of 16bit data to 8bit data now done with 1903 more performant LUT, and calculation more correct 1904 - Bugfix of handling of 16bit RGB with unassociated alpha 1905 19062006-04-11 Joris Van Damme <[email protected]> 1907 1908 * libtiff/tif_getimage.c: 1909 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 1910 buffer for alpha strile and filled it, only to never read it back. 1911 Removed allocation and fill. 1912 - Minor rename of vars in gtTileSeparate and gtStripSeparate 1913 anticipating planned functionality extension 1914 19152006-04-08 Joris Van Damme <[email protected]> 1916 1917 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 1918 and pickTileSeparateCase to PickSeparateCase as both work on strips as 1919 well 1920 1921 * libtiff/tif_getimage.c: moved img->get selection from 1922 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 1923 logical hook for planned functionality extension 1924 19252006-04-08 Joris Van Damme <[email protected]> 1926 1927 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 1928 of inappropriate use of jpeg_abort instead of jpeg_destroy 1929 19302006-04-07 Joris Van Damme <[email protected]> 1931 1932 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 1933 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 1934 on subsampled images - this ought to get sorted when we feel brave 1935 enough to replace TIFFScanlineSize alltogether 1936 1937 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 1938 19392006-04-04 Joris Van Damme <[email protected]> 1940 1941 * libtiff/tiffio.h: added new type tstrile_t 1942 1943 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 1944 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 1945 toff_t* 1946 1947 * libtiff/tif_ojpeg.c: totally new implementation 1948 1949 * libtiff/tif_dirread.c: added several hacks to suit new support of 1950 OJPEG 1951 1952 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 1953 of OJPEG images in favor of tif_getimage.c native handling of 1954 YCbCr and desubsampling 1955 19562006-03-29 Frank Warmerdam <[email protected]> 1957 1958 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 1959 interpretation causes the "upsampled" flag to be recomputed. Fixes 1960 peculiar bug where photometric flag had to be set before jpegcolormode 1961 flag. 1962 19632006-03-25 Joris Van Damme <[email protected]> 1964 1965 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 1966 1967 * libtiff/tif_strip.c: temporarilly added two new versions of 1968 TIFFScanlineSize 1969 - TIFFNewScanlineSize: proposed new version, after all related 1970 issues and side-effects are sorted out 1971 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 1972 This needs further sorting out. 1973 19742006-03-25 Joris Van Damme <[email protected]> 1975 1976 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 1977 of last truncated strip data to TIFFWriteEncodedStrip 1978 19792006-03-25 Joris Van Damme <[email protected]> 1980 1981 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 1982 19832006-03-25 Joris Van Damme <[email protected]> 1984 1985 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 1986 1987 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 1988 1989 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 1990 prepare the path for new tif_ojpeg.c 1991 19922006-03-23 Andrey Kiselev <[email protected]> 1993 1994 * libtiff 3.8.2 released. 1995 1996 * tools/Makefile.am: Use runtime paths linker flags when rpath 1997 option enabled. 1998 19992006-03-21 Andrey Kiselev <[email protected]> 2000 2001 * libtiff/libtiff.def: Added missed exports as per bug 2002 http://bugzilla.remotesensing.org/attachment.cgi?id=337 2003 2004 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 2005 tools/Makefile.vc: Makefiles improvements as per bug 2006 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 2007 2008 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 2009 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 2010 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 2011 2012 * libtiff/tif_strip.c: Take subsampling in account when calculating 2013 TIFFScanlineSize(). 2014 2015 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 2016 20172006-03-17 Andrey Kiselev <[email protected]> 2018 2019 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 2020 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 2021 2022 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 2023 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 2024 20252006-03-16 Andrey Kiselev <[email protected]> 2026 2027 * libtiff/tiffiop.h: Added decalration for 2028 _TIFFSetDefaultCompressionState(). 2029 2030 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 2031 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 2032 codec cleanup methods. As per bug 2033 2034 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 2035 20362006-03-15 Andrey Kiselev <[email protected]> 2037 2038 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 2039 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 2040 2041 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 2042 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 2043 2044 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 2045 removed; move here the STRIP_SIZE_DEFAULT macro definition. 2046 2047 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 2048 macro definition. 2049 2050 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 2051 20522006-03-14 Andrey Kiselev <[email protected]> 2053 2054 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 2055 in TIFFReadDirectory, because it is always set at the start of 2056 function and we allow TIFFs without that tag set. 2057 20582005-03-13 Andrey Kiselev <[email protected]> 2059 2060 * libtiff 3.8.1 released. 2061 20622006-03-07 Andrey Kiselev <[email protected]> 2063 2064 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 2065 function as per bug 2066 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2067 2068 * libtiff/tif_dirread.c: More wise check for integer overflow 2069 condition as per bug 2070 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2071 2072 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 2073 Properly restore setfield/getfield methods in cleanup functions. As 2074 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2075 20762006-03-03 Andrey Kiselev <[email protected]> 2077 2078 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 2079 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 2080 2081 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 2082 TIFFPredictorCleanup() in codec cleanup methods. As per bug 2083 2084 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2085 2086 * libtiff/tif_dirread.c: Fixed integer overflow condition in 2087 TIFFFetchData() function. As per bug 2088 2089 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 2090 20912006-03-01 Andrey Kiselev <[email protected]> 2092 2093 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 2094 TIFFSetField() method, not directly. As per bug 2095 2096 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 2097 2098 * tools/ppm2tiff.c: Added support for PBM files as per bug 2099 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 2100 21012006-02-27 Andrey Kiselev <[email protected]> 2102 2103 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 2104 to avoid crash as per bug 2105 2106 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 2107 21082006-02-26 Andrey Kiselev <[email protected]> 2109 2110 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 2111 t2p_sample_rgba_to_rgb() was used in place of each other, that was 2112 resulted in problems with RGBA images with associated alpha. 2113 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 2114 21152006-02-23 Andrey Kiselev <[email protected]> 2116 2117 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 2118 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 2119 2120 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 2121 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 2122 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 2123 2124 * tools/tiff2ps.c: Properly scale all the pages when converting 2125 multipage TIFF with /width/height/center options set. As per bug 2126 2127 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 2128 21292006-02-15 Andrey Kiselev <[email protected]> 2130 2131 * tools/tiff2pdf.c: Do not create output file until all option checks 2132 will be done. As per bug 2133 2134 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 2135 2136 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 2137 list of input files as per bug: 2138 2139 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 2140 21412006-02-09 Andrey Kiselev <[email protected]> 2142 2143 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 2144 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 2145 2146 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 2147 TIFFRGBAImage interface. 2148 2149 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 2150 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 2151 21522006-02-07 Frank Warmerdam <[email protected]> 2153 2154 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 2155 compressed TIFF files, per submission from Dan Cobra. 2156 21572006-02-07 Andrey Kiselev <[email protected]> 2158 2159 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 2160 cast values to avoid warnings. As per bug 2161 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2162 2163 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 2164 appropriate. As per bug 2165 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2166 2167 * libtiff/tif_aux.c: Fixed type of temporary variable in 2168 _TIFFCheckMalloc() as per bug 2169 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 2170 21712006-02-06 Andrey Kiselev <[email protected]> 2172 2173 * libtiff/tif_aux.c: Return static array when fetching default 2174 YCbCrCoefficients (another problem, reported a the 2175 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 2176 21772006-02-03 Andrey Kiselev <[email protected]> 2178 2179 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 2180 YCbCrSubsampling and DotRange tags as per bugs 2181 2182 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 2183 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 2184 2185 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 2186 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 2187 2188 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 2189 21902006-01-23 Andrey Kiselev <[email protected]> 2191 2192 * libtool related stuff updated from the 2.1a branch. 2193 21942006-01-11 Frank Warmerdam <[email protected]> 2195 2196 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 2197 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 2198 properly as per bug: 2199 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 2200 22012006-01-09 Bob Friesenhahn <[email protected]> 2202 2203 * configure.ac: Fix with_default_strip_size comparison as reported 2204 by Norihiko Murase. 2205 22062006-01-08 Bob Friesenhahn <[email protected]> 2207 2208 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 2209 incorrectly, tests were not actually testing the uninstalled 2210 libtiff. Now they are. 2211 22122006-01-04 Andrey Kiselev <[email protected]> 2213 2214 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 2215 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 2216 should be uint32 value. 2217 22182006-01-02 Bob Friesenhahn <[email protected]> 2219 2220 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 2221 be used if build directory is not the same as source directory. 2222 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 2223 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 2224 and re-sorted tag names in alphabetical order. 2225 22262005-12-29 Andrey Kiselev <[email protected]> 2227 2228 * libtiff 3.8.0 released. 2229 22302005-12-28 Bob Friesenhahn <[email protected]> 2231 2232 * tools/bmp2tiff.c (main): Fixed warning regarding returning 2233 inconsistent types from a condition. 2234 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 2235 format. 2236 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 2237 22382005-12-28 Joris Van Damme <[email protected]> 2239 2240 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 2241 22422005-12-27 Andrey Kiselev <[email protected]> 2243 2244 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 2245 windows.h, to reduce the compile time. 2246 22472005-12-26 Bob Friesenhahn <[email protected]> 2248 2249 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 2250 22512005-12-26 Andrey Kiselev <[email protected]> 2252 2253 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 2254 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 2255 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 2256 private functions to retrieve FieldInfo arrays. 2257 22582005-12-24 Bob Friesenhahn <[email protected]> 2259 2260 * html/build.html: Added some additional instructions for when 2261 building using MSVC under Windows. Also fixed two HTML syntax 2262 errors and used HTML Tidy to tidy up the HTML syntax and 2263 formatting. 2264 22652005-12-24 Andrey Kiselev <[email protected]> 2266 2267 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 2268 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 2269 StoNits tags custom. 2270 22712005-12-23 Andrey Kiselev <[email protected]> 2272 2273 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 2274 WhitePoint tag custom. 2275 2276 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 2277 22782005-12-23 Joris Van Damme <[email protected]> 2279 2280 * libtiff/tiffio.h: fixed typo that potentially resulted in 2281 redefininition of USE_WIN32_FILEIO 2282 2283 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 2284 calls in core LibTiff. 2285 22862005-12-21 Andrey Kiselev <[email protected]> 2287 2288 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 2289 Photoshop and ICCProfile tags custom. 2290 22912005-12-21 Joris Van Damme <[email protected]> 2292 2293 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 2294 newer code to get context indicator in error handler and still 2295 remain compatible with older code: Done TIFFError calls everywhere 2296 except in tools 2297 22982005-12-20 Andrey Kiselev <[email protected]> 2299 2300 * tools/tiffcp.c: Added many error reporting messages; fixed integer 2301 overflow as per bug 2302 2303 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 2304 23052005-12-16 Frank Warmerdam <[email protected]> 2306 2307 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 2308 YCbCr images in jpeg compressed TIFF files. 2309 23102005-12-14 Andrey Kiselev <[email protected]> 2311 2312 * tools/tiffcp.c: Return non-zero status when reading fails (again). 2313 23142005-12-13 Andrey Kiselev <[email protected]> 2315 2316 * tools/tiffcp.c: Return non-zero status when reading fails. 2317 23182005-12-12 Andrey Kiselev <[email protected]> 2319 2320 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 2321 23222005-12-09 Andrey Kiselev <[email protected]> 2323 2324 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 2325 custom. 2326 2327 * tools/tiffinfo.c: Print EXIF directory contents if exist. 2328 2329 * libtiff/tiff.h: Few EXIF tag numbers added. 2330 2331 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 2332 tiffio.h}: Preliminary support to read custom directories. New 2333 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 2334 23352005-12-07 Andrey Kiselev <[email protected]> 2336 2337 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 2338 More work to implement custom directory read support. 2339 2340 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 2341 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 2342 tags custom. 2343 23442005-12-05 Andrey Kiselev <[email protected]> 2345 2346 * libtiff/tif_dirread.c: One more workaround for broken 2347 StripByteCounts tag. Handle the case when StripByteCounts array filled 2348 with completely wrong values. 2349 23502005-11-30 Andrey Kiselev <[email protected]> 2351 2352 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 2353 in the TIFFOpenW() function as per bug 2354 2355 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 2356 2357 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 2358 functions as per bug 2359 2360 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 2361 23622005-11-20 Frank Warmerdam <[email protected]> 2363 2364 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 2365 for MS MDI format. 2366 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 2367 2368 * .cvsignore: many files added, and a few update according 2369 to suggestion of Brad HArds on tiff mailing list. 2370 23712005-11-03 Frank Warmerdam <[email protected]> 2372 2373 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 2374 public. 2375 23762005-10-31 Andrey Kiselev <[email protected]> 2377 2378 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 2379 as per bug 2380 2381 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 2382 2383 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 2384 as per bug 2385 2386 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 2387 2388 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 2389 problem as per bug 2390 2391 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 2392 2393 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 2394 2395 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 2396 2397 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 2398 ResolutionUnit tags modifiable during write process. As per bug 2399 2400 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 2401 2402 * tools/tiffsplit.c: Copy fax related fields over splitted parts 2403 as per bug 2404 2405 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 2406 24072005-10-21 Frank Warmerdam <[email protected]> 2408 2409 * tif_dirread.c: Don't try and split single strips into "0" strips 2410 in ChopUpSingleUncompressedStrip. This happens in some degenerate 2411 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 2412 24132005-10-20 Joris Van Damme <[email protected]> 2414 2415 * tif_fax3.c: changed 'at scanline ...' style warning/errors 2416 with incorrect use of tif_row, to 'at line ... of 2417 strip/tile ...' style 2418 24192005-10-15 Frank Warmerdam <[email protected]> 2420 2421 * tif_write.c: fixed setting of planarconfig as per bug report 2422 on the mailing list from Joris. 2423 24242005-10-07 Andrey Kiselev <[email protected]> 2425 2426 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 2427 tif_dirread.c}: Make the default strip size configurable via the 2428 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 2429 24302005-09-30 Bob Friesenhahn <[email protected]> 2431 2432 * html/support.html: Fixed link to documentation on Greg Ward's 2433 LogLuv TIFF format. 2434 24352005-09-28 Andrey Kiselev <[email protected]> 2436 2437 * tools/tiffdump.c: Fixed crash when reading malformed tags. 2438 24392005-09-20 Andrey Kiselev <[email protected]> 2440 2441 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 2442 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 2443 24442005-09-12 Andrey Kiselev <[email protected]> 2445 2446 * libtiff 3.7.4 released. 2447 2448 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 2449 from Patrick Welche (all scripts moved in the 'config' and 'm4' 2450 directories). 2451 24522005-09-12 Frank Warmerdam <[email protected]> 2453 2454 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 2455 24562005-09-05 Frank Warmerdam <[email protected]> 2457 2458 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 2459 also set it to NULL to avoid double free when re-setting custom 2460 string fields as per: 2461 2462 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 2463 24642005-08-12 Frank Warmerdam <[email protected]> 2465 2466 * libtiff/tif_print.c: avoid signed/unsigned warning. 2467 2468 * libtiff/tif_dirread.c: removed unused variable. 2469 24702005-07-30 Frank Warmerdam <[email protected]> 2471 2472 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 2473 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 2474 pass on bigendian (macosx) system. 2475 24762005-07-28 Andrey Kiselev <[email protected]> 2477 2478 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 2479 CheckMalloc() function to _TIFFCheckMalloc() and make it available 2480 globally as an internal helper routine. 2481 24822005-07-27 Andrey Kiselev <[email protected]> 2483 2484 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 2485 the custom tags handling code. 2486 24872005-07-26 Andrey Kiselev <[email protected]> 2488 2489 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 2490 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 2491 function, use TIFFFetchNormalTag() instead as per bug 2492 2493 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 2494 2495 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 2496 instead. 2497 2498 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 2499 2500 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2501 25022005-07-25 Andrey Kiselev <[email protected]> 2503 2504 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 2505 2506 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 2507 25082005-07-21 Andrey Kiselev <[email protected]> 2509 2510 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 2511 the TIFFWriteCheck() function in case of single band images (as per 2512 TIFF spec). 2513 25142005-07-12 Andrey Kiselev <[email protected]> 2515 2516 * SConstruct, libtiff/SConstruct: Added the first very preliminary 2517 support for SCons software building tool (http://www.scons.org/). 2518 This is experimental infrastructure and it will exist along with the 2519 autotools mechanics. 2520 25212005-07-07 Andrey Kiselev <[email protected]> 2522 2523 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 2524 the NetBSD source tree (the old 4-clause BSD license changed to 2525 the new 3-clause one). 2526 2527 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 2528 replacement module. 2529 2530 * port/dummy.c: Make the dummy function static. 2531 25322005-07-06 Andrey Kiselev <[email protected]> 2533 2534 * tools/tiffcp.c: Fixed WhitePoint tag copying. 2535 2536 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 2537 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 2538 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 2539 25402005-07-04 Andrey Kiselev <[email protected]> 2541 2542 * libtiff 3.7.3 released. 2543 2544 * configure, configure.ac: Do not use empty -R option when linking 2545 with --enable-rpath. 2546 25472005-07-01 Andrey Kiselev <[email protected]> 2548 2549 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 2550 reading the first IFD when needed. As per bug 2551 2552 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 2553 2554 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 2555 effects. 2556 25572005-06-23 Andrey Kiselev <[email protected]> 2558 2559 * tools/tiff2pdf.c: Print two characters per loop in the 2560 t2p_write_pdf_trailer(). As per bug 2561 2562 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 2563 2564 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 2565 per bug 2566 2567 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 2568 2569 * acinclude.m4: Updated to latest OpenGL test macros versions. 2570 2571 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 2572 platform. As per bug 2573 2574 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 2575 25762005-06-14 Andrey Kiselev <[email protected]> 2577 2578 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 2579 and YClipPathUnits tags. 2580 25812005-06-07 Andrey Kiselev <[email protected]> 2582 2583 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 2584 use pixel sized shift in contigous case. 2585 25862005-06-06 Andrey Kiselev <[email protected]> 2587 2588 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 2589 Make overviews working for contiguos images. 2590 25912005-06-03 Andrey Kiselev <[email protected]> 2592 2593 * libtiff/tif_open.c: Replace runtime endianess check with the compile 2594 time one. 2595 2596 * libtiff/tif_predict.c: Floating point predictor now works on 2597 big-endian hosts. 2598 25992005-06-01 Andrey Kiselev <[email protected]> 2600 2601 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 2602 ASCII values. 2603 2604 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 2605 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 2606 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 2607 TargetPrinter tags custom. 2608 2609 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 2610 TIFF_CODERSETUP flag (to fix memry leaks). 2611 2612 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 2613 allocating. 2614 26152005-05-26 Andrey Kiselev <[email protected]> 2616 2617 * configure.ac, libtiff/Makefile.am: Added workaround for 2618 OpenBSD/MirOS soname problem as per bug 2619 2620 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 2621 2622 * libtiff/tif_dirwrite.c: Use tdir_count when calling 2623 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 2624 per bug 2625 2626 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 2627 26282005-05-25 Andrey Kiselev <[email protected]> 2629 2630 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 2631 the fscanf() function. As per bug 2632 2633 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 2634 2635 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 2636 uint16 array when fetching the BYTE and SBYTE filds, so we should 2637 consider result as pointer to uint16 array and not as array of chars. 2638 As per bug 2639 2640 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 2641 2642 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 2643 2644 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 2645 2646 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 2647 mode in CreateFile() call as per bug 2648 2649 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 2650 2651 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 2652 libtiffxx libraries as per bug 2653 2654 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 2655 2656 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 2657 GDAL. 2658 26592005-05-23 Frank Warmerdam <[email protected]> 2660 2661 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 2662 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 2663 in directory. 2664 26652005-05-22 Frank Warmerdam <[email protected]> 2666 2667 * libtiff/tif_dirread.c: Changed the code that computes 2668 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 2669 zero. This is a common case with GDAL indicating a "null" tile/strip. 2670 26712005-05-17 Andrey Kiselev <[email protected]> 2672 2673 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 2674 26752005-05-06 Frank Warmerdam <[email protected]> 2676 2677 * libtiff/tif_dirread.c: Applied similar change to 2678 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 2679 2680 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 2681 2682 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 2683 26842005-05-06 Andrey Kiselev <[email protected]> 2685 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 2686 added new option '-b' to use interpolation in output PDF files (Bruno 2687 Ledoux). 2688 26892005-05-05 Frank Warmerdam <[email protected]> 2690 2691 * libtiff/tif_dirread.c: Ensure that broken files with too many 2692 values in PerSampleShorts work ok instead of crashing. 2693 2694 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 2695 26962005-04-27 Andrey Kiselev <[email protected]> 2697 2698 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 2699 input file. 2700 27012005-04-15 Andrey Kiselev <[email protected]> 2702 2703 * libtiff/tif_predict.c: Added ability to encode floating point 2704 predictor, as per TIFF Technical Note 3. 2705 27062005-04-14 Andrey Kiselev <[email protected]> 2707 2708 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 2709 floating point predictor, as per TIFF Technical Note 3. 2710 27112005-04-13 Andrey Kiselev <[email protected]> 2712 2713 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 2714 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 2715 swap 24-bit floating point values. 2716 2717 * libtiff/tiff.h: Added predictor constants. 2718 27192005-04-08 Andrey Kiselev <[email protected]> 2720 2721 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 2722 values in _TIFFVSetField() function. Inspired by the bug 2723 2724 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 2725 2726 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 2727 as per bug 2728 2729 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 2730 27312005-03-30 Andrey Kiselev <[email protected]> 2732 2733 * libtiff/tif_open.c: Do not read header in case the output file 2734 should be truncated (Ron). 2735 2736 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 2737 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 2738 2739 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 2740 27412005-03-22 Andrey Kiselev <[email protected]> 2742 2743 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 2744 rpath option. 2745 27462005-03-21 Andrey Kiselev <[email protected]> 2747 2748 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 2749 tags. 2750 27512005-03-18 Andrey Kiselev <[email protected]> 2752 2753 * libtiff/dirinfo.c: Added DNG tags. 2754 2755 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 2756 handling code. 2757 2758 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 2759 added DNG 1.1.0.0 tags. 2760 2761 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 2762 bug 2763 2764 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 2765 2766 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 2767 27682005-03-17 Andrey Kiselev <[email protected]> 2769 2770 * nmake.opt: Build with Win32 CRT library by default. 2771 2772 * tools/tiff2ps.c: Fixed typo in page size handling code. 2773 2774 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 2775 by value. 2776 2777 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 2778 27792005-03-15 Andrey Kiselev <[email protected]> 2780 2781 * libtiff 3.7.2 released. 2782 27832005-03-09 Andrey Kiselev <[email protected]> 2784 2785 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 2786 floating point data; complain on unsupported bit depths. 2787 27882005-03-05 Andrey Kiselev <[email protected]> 2789 2790 * tif_stream.cxx: Use ios namespace instead of ios_base to support 2791 GCC 2.95. 2792 2793 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 2794 Lee Howard for HylaFax DCS tag 2795 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 2796 27972005-03-04 Andrey Kiselev <[email protected]> 2798 2799 * configure, configure.ac: Use -rpath option instead of -R as per bug 2800 2801 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 2802 2803 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 2804 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 2805 software. As per bug 2806 2807 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 2808 2809 * nmake.opt, html/build.html: Add more comments, change the config 2810 file organization a bit as per bug 2811 2812 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 2813 2814 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 2815 as per bug 2816 2817 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 2818 28192005-03-03 Andrey Kiselev <[email protected]> 2820 2821 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 2822 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 2823 2824 * tools/fax2ps.c: Replace insecure mktemp() function with the 2825 tmpfile() as per bug 2826 2827 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 2828 28292005-02-04 Andrey Kiselev <[email protected]> 2830 2831 * libtiff/tiff.h: Changed the int8 definition to be always signed char 2832 as per bug 2833 2834 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2835 2836 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 2837 block as per bug 2838 2839 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 2840 28412005-02-03 Bob Friesenhahn <[email protected]> 2842 2843 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 2844 display more correctly. Images display brighter than they should 2845 on a Sun workstation. 2846 28472005-02-03 Andrey Kiselev <[email protected]> 2848 2849 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 2850 suspicious values in the tags. As per bugs 2851 2852 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 2853 2854 and 2855 2856 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 2857 2858 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 2859 2860 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 2861 28622005-01-31 Bob Friesenhahn <[email protected]> 2863 2864 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 2865 (TIFFTAG_TILELENGTH): Corrected description. 2866 28672005-01-30 Andrey Kiselev <[email protected]> 2868 2869 * configure.ac: Fixes for --with-docdir option as per bug 2870 2871 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 2872 2873 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 2874 bug 2875 2876 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 2877 2878 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 2879 Michael Rinne and Edward Lam. 2880 28812005-01-15 Andrey Kiselev <[email protected]> 2882 2883 * configure.ac: Make the documentation directory location configurable 2884 via the --with-docdir option (as suggested by Jeremy C. Reed). 2885 2886 * libtiff/tif_color.c: Use double as the second argument of pow() 2887 function in TIFFCIELabToRGBInit(). As per bug 2888 2889 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 2890 2891 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 2892 integer as per bug 2893 2894 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 2895 2896 * libtiff/tif_getimage.c: Always fill the error message buffer in 2897 TIFFRGBAImageBegin() as per bug 2898 2899 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 2900 29012005-01-12 Andrey Kiselev <[email protected]> 2902 2903 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 2904 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 2905 tags as per bug 2906 2907 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 2908 2909 * libtiff/tif_win32.c: Fixed message formatting in functions 2910 Win32WarningHandler() and Win32ErrorHandler() as per bug 2911 2912 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 2913 2914 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 2915 per bug 2916 2917 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 2918 29192005-01-11 Andrey Kiselev <[email protected]> 2920 2921 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 2922 "C"' section as per bug 2923 2924 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2925 2926 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 2927 compiler to avoid double definition of BSD types as per bug 2928 2929 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2930 2931 * libtiff/Makefile.am: Place the C++ stream API in the separate 2932 library called libtiffxx to avoid unneeded dependencies. Probably 2933 there will be more C++ API in the future. As per bugs 2934 2935 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 2936 2937 and 2938 2939 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 2940 29412005-01-05 Andrey Kiselev <[email protected]> 2942 2943 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 2944 wrong tag counts (Dmitry V. Levin, Martin Pitt). 2945 2946 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 2947 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 2948 29492004-12-25 Andrey Kiselev <[email protected]> 2950 2951 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 2952 RGB-images as per bug 2953 2954 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 2955 2956 2957 * tools/tiffset.c: Convert character option to integer value as per 2958 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 2959 29602004-12-20 Andrey Kiselev <[email protected]> 2961 2962 * libtiff 3.7.1 released. 2963 2964 * html/tiffset.1.html: Add missed manual page as per bug 2965 2966 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 2967 2968 * libtiff/tiff.h: Revert back libtiff data type definitions as per 2969 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 2970 29712004-12-19 Andrey Kiselev <[email protected]> 2972 2973 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 2974 checking for tag count in TIFFReadDirectory() function. As per bug 2975 2976 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 2977 2978 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 2979 CheckMallock() function. 2980 2981 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 2982 RGB-images as per bug 2983 2984 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 2985 29862004-12-15 Frank Warmerdam <[email protected]> 2987 2988 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 2989 SunPro compiler. 2990 29912004-12-11 Bob Friesenhahn <[email protected]> 2992 2993 * autogen.sh: aclocal and autoheader should be executed after 2994 libtoolize. Also add '-I .' to aclocal invocation to check 2995 current directory for macros. 2996 29972004-12-10 Andrey Kiselev <[email protected]> 2998 2999 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 3000 as per bugs 3001 3002 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 3003 3004 and 3005 3006 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 3007 30082004-12-04 Andrey Kiselev <[email protected]> 3009 3010 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 3011 3012 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3013 3014 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 3015 mode as per bug 3016 3017 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 3018 3019 * libtiff/tif_config.in.vc: Removed unneded definitions for 3020 read/open/close/lseek functions to fix the 3021 3022 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 3023 30242004-12-03 Andrey Kiselev <[email protected]> 3025 3026 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 3027 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 3028 must be removed in the future, as it was never used properly. As per 3029 bug 3030 3031 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 3032 30332004-11-30 Bob Friesenhahn <[email protected]> 3034 3035 * libtiff/tif_jpeg.c: Added a work-around in order to allow 3036 compilation with the heavily modified version of libjpeg delivered 3037 with Cygwin. 3038 30392004-11-29 Andrey Kiselev <[email protected]> 3040 3041 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 3042 counts. As per bug 3043 3044 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 3045 3046 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 3047 3048 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 3049 30502004-11-28 Andrey Kiselev <[email protected]> 3051 3052 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 3053 on Windows. 3054 3055 * nmake.opt: Add missed DLLNAME variable. 3056 30572004-11-26 Frank Warmerdam <[email protected]> 3058 3059 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 3060 30612004-11-24 Andrey Kiselev <[email protected]> 3062 3063 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 3064 per bug 3065 3066 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 3067 3068 * man/tiffset.1: Added manual page for tiffset tool written by Jay 3069 Berkenbilt. As per bug 3070 3071 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 3072 30732004-11-23 Frank Warmerdam <[email protected]> 3074 3075 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 3076 30772004-11-21 Frank Warmerdam <[email protected]> 3078 3079 * html/document.html: Updated Adobe web links as per email from Joris. 3080 30812004-11-21 Andrey Kiselev <[email protected]> 3082 3083 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 3084 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 3085 use C++ streams should #include <tiffio.hxx>. 3086 30872004-11-13 Andrey Kiselev <[email protected]> 3088 3089 * libtiff/tiff.h: Added Adobe DNG tags. 3090 3091 * libtiff/tif_win32.c: Typo fixed. 3092 3093 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 3094 be compliant with the latest standard. Appropriate additions in 3095 makefiles now completed. 3096 30972004-11-11 Andrey Kiselev <[email protected]> 3098 3099 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 3100 different tag types. As per bug 3101 3102 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 3103 31042004-11-10 Andrey Kiselev <[email protected]> 3105 3106 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 3107 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 3108 31092004-11-09 Andrey Kiselev <[email protected]> 3110 3111 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 3112 31132004-11-07 Andrey Kiselev <[email protected]> 3114 3115 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 3116 contributed by Edward Lam (see 3117 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 3118 Though no changes in any makefiles yet. 3119 31202004-11-05 Frank Warmerdam <[email protected]> 3121 3122 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 3123 is bad. This is the callers responsibility. 3124 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 3125 31262004-11-05 Andrey Kiselev <[email protected]> 3127 3128 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 3129 function to work with the double byte strings (used to represent 3130 filenames in some locales). As per bug 3131 3132 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 3133 3134 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 3135 Compression tags of type LONG from broken TIFFS as per bug 3136 3137 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 3138 3139 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 3140 the writecount should have uint32 type. As per bug 3141 3142 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 3143 3144 * libtiff/tif_write.c: Fixed wrong if() statement in 3145 TIFFAppendToStrip() function as per bug 3146 3147 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 3148 31492004-11-04 Andrey Kiselev <[email protected]> 3150 3151 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 3152 field. The caller should supply a count when setting this field. As 3153 per bug 3154 3155 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 3156 3157 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 3158 uint32 count. Use this type everywhere. 3159 31602004-11-03 Frank Warmerdam <[email protected]> 3161 3162 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 3163 31642004-11-02 Frank Warmerdam <[email protected]> 3165 3166 * tools/tiff2rgba.c: removed extra newlines in usage message. 3167 31682004-10-30 Andrey Kiselev <[email protected]> 3169 3170 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 3171 3172 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 3173 tags (Tristan Hill). 3174 31752004-10-30 Frank Warmerdam <[email protected]> 3176 3177 * libtiff/tiffiop.h: added fallback definition of assert() if we 3178 don't have assert.h. 3179 31802004-10-29 Andrey Kiselev <[email protected]> 3181 3182 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 3183 choosing when the incorrect Group4Options tag set. As per bug 3184 3185 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 3186 3187 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 3188 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 3189 TIFFWriteNormalTag(). 3190 31912004-10-28 Andrey Kiselev <[email protected]> 3192 3193 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 3194 tags (Peter Fales). 3195 3196 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 3197 31982004-10-28 Frank Warmerdam <[email protected]> 3199 3200 * tools/tiff2pdf.c: added casts to avoid warnings. 3201 3202 * libtiff/libtiff.def: Added several more entry points required 3203 to link fax2tiff.c against the DLL on windows. 3204 32052004-10-27 Andrey Kiselev <[email protected]> 3206 3207 * configure, configure.ac: Added --enable-rpath option to embed linker 3208 paths into library binary. 3209 32102004-10-26 Andrey Kiselev <[email protected]> 3211 3212 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 3213 3214 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 3215 (Vladimir Nadvornik, Dmitry V. Levin). 3216 32172004-10-16 Andrey Kiselev <[email protected]> 3218 3219 * libtiff 3.7.0 released. 3220 32212004-10-15 Bob Friesenhahn <[email protected]> 3222 3223 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 3224 in this file so its inclusion is removed. Including stdio.h 3225 sometimes incurs an INT32 typedef conflict between MinGW's 3226 basetsd.h and libjpeg's jmorecfg.h. 3227 32282004-10-15 Andrey Kiselev <[email protected]> 3229 3230 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 3231 32322004-10-13 Bob Friesenhahn <[email protected]> 3233 3234 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 3235 conflict noticed under MinGW. 3236 * ltmain.sh: Fix for MinGW compilation. 3237 32382004-10-13 Frank Warmerdam <[email protected]> 3239 3240 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 3241 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 3242 32432004-10-12 Andrey Kiselev <[email protected]> 3244 3245 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 3246 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 3247 properly (Dmitry V. Levin, Marcus Meissner). 3248 32492004-10-11 Andrey Kiselev <[email protected]> 3250 3251 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 3252 to TIFF_IFD. 3253 32542004-10-10 Andrey Kiselev <[email protected]> 3255 3256 * tools/bmp2tif.c: Check the space allocation results. 3257 32582004-10-09 Andrey Kiselev <[email protected]> 3259 3260 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 3261 of the TIFFDirectory structure with the 0 instead of -1 to avoid 3262 confusing integer overflows in TIFFTileRowSize() for striped images. 3263 3264 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 3265 by Ross A. Finlayson. 3266 3267 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 3268 3269 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 3270 32712004-10-08 Frank Warmerdam <[email protected]> 3272 3273 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 3274 of tif_fieldinfo. 3275 3276 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 3277 32782004-10-04 Bob Friesenhahn <[email protected]> 3279 3280 * contrib/iptcutil/README: Added the missing README which goes 3281 along with iptcutil. 3282 32832004-10-03 Andrey Kiselev <[email protected]> 3284 3285 * libtiff/tif_compress.c: Improved error reporting in 3286 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 3287 32882004-10-02 Andrey Kiselev <[email protected]> 3289 3290 * libtiff 3.7.0beta2 released. 3291 3292 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 3293 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 3294 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 3295 allocations and integer overflows (Dmitry V. Levin). 3296 3297 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 3298 32992004-10-01 Frank Warmerdam <[email protected]> 3300 3301 * libtiff/tif_open.c: added a more informative message if a BigTIFF 3302 file is opened. 3303 33042004-09-30 Frank Warmerdam <[email protected]> 3305 3306 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 3307 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 3308 in the Adobe XMP Specification. 3309 33102004-09-29 Andrey Kiselev <[email protected]> 3311 3312 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 3313 memset(). 3314 3315 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 3316 from Dmitry V. Levin to fix possible integer overflow problems. 3317 33182004-09-28 Andrey Kiselev <[email protected]> 3319 3320 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 3321 (Dmitry V. Levin). 3322 33232004-09-26 Andrey Kiselev <[email protected]> 3324 3325 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 3326 Optimize checking for the strip bounds. 3327 3328 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 3329 TIFFRasterScanlineSize() functions report zero in the case of integer 3330 overflow now. Properly handle this case in TIFFReadDirectory() 3331 (patches from Dmitry V. Levin). 3332 33332004-09-25 Andrey Kiselev <[email protected]> 3334 3335 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 3336 macro where appropriate. 3337 3338 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 3339 noted by Gennady Khokhorin. 3340 3341 * libtiff/tif_dirread.c: Always check the return values, returned 3342 by the _TIFFmalloc() (Dmitry V. Levin). 3343 3344 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 3345 functions (Dmitry V. Levin). 3346 3347 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 3348 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 3349 TIFFGrowStrips() (found by Dmitry V. Levin). 3350 33512004-09-24 Andrey Kiselev <[email protected]> 3352 3353 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 3354 to get the list of configured codecs. 3355 3356 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 3357 Dmitry V. Levin. 3358 33592004-09-23 Andrey Kiselev <[email protected]> 3360 3361 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 3362 possible integer overflow in CheckMalloc() function. 3363 33642004-09-22 Andrey Kiselev <[email protected]> 3365 3366 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 3367 of plain TIFFhowmany() where appropriate. 3368 33692004-09-21 Andrey Kiselev <[email protected]> 3370 3371 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 3372 33732004-09-19 Andrey Kiselev <[email protected]> 3374 3375 * libtiff 3.7.0beta released. 3376 3377 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 3378 overruns fixed, as noted by Chris Evans. 3379 33802004-09-14 Bob Friesenhahn <[email protected]> 3381 3382 * commit: Added a script to make it more convenient to commit 3383 updates. The CVS commit message is extracted from this ChangeLog 3384 file. 3385 33862004-09-14 Andrey Kiselev <[email protected]> 3387 3388 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 3389 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 3390 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 3391 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 3392 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 3393 tif_config.h.in, tiffiop.h}: 3394 Get rid of BSD data types (u_char, u_short, u_int, u_long). 3395 33962004-09-13 Bob Friesenhahn <[email protected]> 3397 3398 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 3399 specification. Reference libtiff bug tracking system to submit 3400 private tag additions. 3401 34022004-09-12 Bob Friesenhahn <[email protected]> 3403 3404 * tools/tiffgt.c: Include "tif_config.h". 3405 3406 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 3407 tiffgt. This results in the 'compile' script being added to the 3408 project. 3409 3410 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 3411 required to find OpenGL headers necessary to build tiffgt. Also 3412 ensure that the libtiff that we built is used rather than some other 3413 libtiff installed on the system. 3414 34152004-09-12 Andrey Kiselev <[email protected]> 3416 3417 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 3418 libraries. 3419 34202004-09-11 Bob Friesenhahn <[email protected]> 3421 3422 * configure.ac: Pass library configuration defines via 3423 tif_config.h rather than extending CPPFLAGS. Configure a 3424 libtiff/tiffconf.h in order to satisfy application requirements 3425 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 3426 this causes failure to build on systems which properly respect 3427 this request. 3428 3429 * libtiff/tiffconf.h.in: New file to act as the template for the 3430 configured tiffconf.h 3431 3432 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 3433 34342004-09-10 Frank Warmerdam <[email protected]> 3435 3436 * html/internals.html: Split off a discussion of adding new tags 3437 into addingtags.html. 3438 34392004-09-10 Andrey Kiselev <[email protected]> 3440 3441 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 3442 3443 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 3444 3445 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3446 3447 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 3448 3449 * libtiff/tif_dirread.c: Don't reject to read tags of the 3450 SamplesPerPixel size when the tag count is greater than number of 3451 samples as per bug 3452 3453 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 3454 3455 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 3456 defining int8/uint8/... etc. types. As per bug 3457 3458 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 3459 34602004-09-09 Frank Warmerdam <[email protected]> 3461 3462 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 3463 to avoid compile warnings about getopt() and a few other things. 3464 34652004-09-02 Andrey Kiselev <[email protected]> 3466 3467 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 3468 assigning magic in TIFFFetchFloat(). 3469 34702004-09-01 Andrey Kiselev <[email protected]> 3471 3472 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 3473 to avoid requirement for tiffiop.h inclusion in some applications. See 3474 here 3475 3476 http://www.asmail.be/msg0054799560.html 3477 3478 for details. 3479 3480 * tools/fax2tiff.c: Use the new functions in the code. 3481 34822004-08-25 Andrey Kiselev <[email protected]> 3483 3484 * tools/tiff2pdf.c: Initialize arrays properly. 3485 3486 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 3487 properly initialize array in PSDataBW(). 3488 34892004-08-24 Andrey Kiselev <[email protected]> 3490 3491 * tools/tiff2pdf.c: More fixes for bug 3492 3493 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3494 3495 from Ross Finlayson. 3496 34972004-08-23 Andrey Kiselev <[email protected]> 3498 3499 * tools/tiff2ps.c: Fixed problem with uninitialized values. 3500 3501 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 3502 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 3503 3504 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 3505 3506 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3507 35082004-08-20 Andrey Kiselev <[email protected]> 3509 3510 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 3511 that the input file has compression, photometric interpretation, 3512 etcetra, tags or if not than a more descriptive error is returned. 3513 3514 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 3515 code, responsible for tag data type checking. 3516 35172004-08-19 Andrey Kiselev <[email protected]> 3518 3519 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 3520 variable as per bug 3521 3522 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 3523 35242004-08-16 Andrey Kiselev <[email protected]> 3525 3526 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 3527 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 3528 35292004-08-01 Andrey Kiselev <[email protected]> 3530 3531 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 3532 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 3533 35342004-07-24 Andrey Kiselev <[email protected]> 3535 3536 * libtiff/tif_lzw.c: LZW compression code is merged back from the 3537 separate package. All libtiff tools are updated to not advertise an 3538 abcence of LZW support. 3539 35402004-07-12 Andrey Kiselev <[email protected]> 3541 3542 * libtiff/tiffio.h: Revert thandle_t back to void* type. 3543 35442004-07-11 Andrey Kiselev <[email protected]> 3545 3546 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 3547 messages, as suggested by Bernd Herd. 3548 35492004-07-03 Andrey Kiselev <[email protected]> 3550 3551 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 3552 when setting custom tags by value. Reported by Eric Fieleke. 3553 35542004-06-14 Andrey Kiselev <[email protected]> 3555 3556 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 3557 35582004-06-08 Andrey Kiselev <[email protected]> 3559 3560 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 3561 into TIFFs. 3562 35632004-06-07 Andrey Kiselev <[email protected]> 3564 3565 * libtiff 3.7.0alpha released. 3566 35672004-06-06 Andrey Kiselev <[email protected]> 3568 3569 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 3570 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 3571 ones :-). 3572 3573 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 3574 problems in 64-bit environment). 3575 35762004-06-05 Andrey Kiselev <[email protected]> 3577 3578 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 3579 Tags can be supplied by the mnemonic name or number. 3580 3581 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 3582 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 3583 35842004-05-27 Andrey Kiselev <[email protected]> 3585 3586 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 3587 markers as per bug 3588 3589 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 3590 35912004-05-24 Andrey Kiselev <[email protected]> 3592 3593 * tools/tiffsplit.c: Don't forget to copy Photometric 3594 Interpretation tag. 3595 35962004-05-20 Andrey Kiselev <[email protected]> 3597 3598 * libtiff/{tif_open.c, tiffio.h}: New function added: 3599 TIFFIsBigEndian(). Function returns nonzero if given was file written 3600 in big-endian order. 3601 3602 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 3603 files. Now output files will be written using the same byte order 3604 flag as in the input image. See 3605 3606 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 3607 3608 for details. 3609 36102004-05-19 Frank Warmerdam <[email protected]> 3611 3612 * libtiff/tif_print.c: added (untested) support for printing 3613 SSHORT, SLONG and SRATIONAL fields. 3614 3615 * tools/tiffcp.c: close output file on normal exit. 3616 36172004-05-17 Andrey Kiselev <[email protected]> 3618 3619 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 3620 if compression type mismatches. See 3621 3622 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 3623 36242004-04-30 Andrey Kiselev <[email protected]> 3625 3626 * libtiff/tif_strip.c: Never return 0 from the 3627 TIFFNumberOfStrips(). 3628 36292004-04-29 Andrey Kiselev <[email protected]> 3630 3631 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 3632 store single SampleFormat value for multisampled images. See 3633 3634 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 3635 36362004-04-25 Andrey Kiselev <[email protected]> 3637 3638 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 3639 int16 and int32 types to avoid complains on some compilers. Details at 3640 3641 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3642 36432004-04-20 Andrey Kiselev <[email protected]> 3644 3645 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 3646 3647 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 3648 36492004-04-14 Andrey Kiselev <[email protected]> 3650 3651 * libtiff/tif_write.c: Allow in-place updating of the compressed 3652 images (don't work properly with all codecs). For details see GDAL bug 3653 3654 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 3655 36562004-04-06 Andrey Kiselev <[email protected]> 3657 3658 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 3659 in the Intergarph JPEG compressed TIFF images as per bug: 3660 3661 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 3662 36632004-04-04 Frank Warmerdam <[email protected]> 3664 3665 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 3666 via bad2. 3667 36682004-03-26 Andrey Kiselev <[email protected]> 3669 3670 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 3671 JPEG compression of grayscale images. 3672 3673 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 3674 present in the input image. 3675 36762004-03-19 Andrey Kiselev <[email protected]> 3677 3678 * {many}: The first attempt to switch to autotools. 3679 36802004-03-03 Andrey Kiselev <[email protected]> 3681 3682 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 3683 TIFFClientOpen() when the appropriate client functions was not 3684 supplied by user. 3685 36862004-03-02 Frank Warmerdam <[email protected]> 3687 3688 * tools/ycbcr.c: fixed main() declaration as per: 3689 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 3690 36912004-02-26 Andrey Kiselev <[email protected]> 3692 3693 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 3694 images. Reported by Artem Mirolubov. 3695 3696 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 3697 tag type in TIFFFetchNormalTag() as per bug 3698 3699 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 3700 37012004-02-17 Frank Warmerdam <[email protected]> 3702 3703 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 3704 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 3705 37062004-02-05 Andrey Kiselev <[email protected]> 3707 3708 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 3709 bug 3710 3711 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 3712 3713 But we need more work on fax codec to support update mode. 3714 37152004-01-30 Frank Warmerdam <[email protected]> 3716 3717 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 3718 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 3719 Scott Reynolds. 3720 37212004-01-29 Andrey Kiselev <[email protected]> 3722 3723 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 3724 and TIFFTAG_INDEXED as per bug 3725 3726 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 3727 3728 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 3729 NULL before proceeding further as per bug 3730 3731 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 3732 3733 Check results, returned by the TIFFFdOpen() before returning and close 3734 file if TIFFFdOpen() failed as per bug 3735 3736 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3737 3738 * libtiff/tif_open.c: More fixes for 3739 3740 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3741 37422004-01-28 Andrey Kiselev <[email protected]> 3743 3744 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 3745 TIFFCleanup() from the TIFFClose() in order to fix the bug 3746 3747 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3748 3749 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 3750 InkNames tag as per bug 3751 3752 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 3753 3754 Memory leak fixed. 3755 37562004-01-21 Frank Warmerdam <[email protected]> 3757 3758 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 3759 are field_passcount=TRUE properly. Arguably anonymous custom tags 3760 should be declared as passcount=FALSE, but I don't want to change 3761 that without a careful review. 3762 37632004-01-20 Andrey Kiselev <[email protected]> 3764 3765 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 3766 stripped image in TIFFWriteBufferSetup(). As per bug 3767 3768 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 3769 37702004-01-11 Andrey Kiselev <[email protected]> 3771 3772 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 3773 patch from Gerben Koopmans. 3774 3775 * libtiff/tif_dirread.c: Check field_passcount value before setting 3776 the value of undefined type, patch from Gerben Koopmans. 3777 37782004-01-02 Andrey Kiselev <[email protected]> 3779 3780 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 3781 non-RGB images. 3782 37832003-12-31 Andrey Kiselev <[email protected]> 3784 3785 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 3786 pointer passed. Patch supplied by Larry Grill. 3787 3788 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 3789 suggested by Jeremy C. Reed. 3790 37912003-12-26 Andrey Kiselev <[email protected]> 3792 3793 * libtiff 3.6.1 released. 3794 37952003-12-24 Andrey Kiselev <[email protected]> 3796 3797 * config.guess, config.sub: Updated from the recent upstream. 3798 37992003-12-22 Andrey Kiselev <[email protected]> 3800 3801 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 3802 More cleanups in color conversion interface, added appropriate manual 3803 page. 3804 38052003-12-19 Andrey Kiselev <[email protected]> 3806 3807 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 3808 per bug 3809 3810 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 3811 3812 * tools/tiff2ps.c: Added support for alpha channel. Fixes 3813 3814 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 3815 3816 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 3817 Interface for Lab->RGB color conversion is finally cleaned up. 3818 Added support for ReferenceBlackWhite tag handling when converted from 3819 YCbCr color space. The latter closes 3820 3821 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 3822 38232003-12-07 Andrey Kiselev <[email protected]> 3824 3825 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 3826 3827 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 3828 library. 3829 38302003-12-06 Andrey Kiselev <[email protected]> 3831 3832 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 3833 file and properly use it for CIE Lab->RGB transform. 3834 38352003-12-04 Andrey Kiselev <[email protected]> 3836 3837 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 3838 conversion routines now in the tif_color.c module. New function 3839 TIFFYCbCrtoRGB() available in TIFF API. 3840 3841 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 3842 38432003-12-03 Andrey Kiselev <[email protected]> 3844 3845 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 3846 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 3847 module. 3848 3849 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 3850 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 3851 Finally resolved problems with orientation handling. TIFFRGBAImage 3852 interface now properly supports all possible orientations, i.e. images 3853 will be flipped both in horizontal and vertical directions if 3854 required. 'Known bugs' section now removed from the appropriate manual 3855 pages. Closed bug entry: 3856 3857 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 3858 38592003-12-02 Andrey Kiselev <[email protected]> 3860 3861 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 3862 function calls as per bug 3863 3864 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 3865 38662003-11-28 Ross Finlayson <[email protected]> 3867 3868 * tools/tiff2pdf.c: Some bugs fixed. 3869 38702003-11-27 Andrey Kiselev <[email protected]> 3871 3872 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 3873 reported by Antonio Scuri. 3874 3875 * man/tiff2pdf.1: Few improvements in page layout. 3876 3877 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 3878 Added support fpr tiff2pdf manual page. 3879 38802003-11-26 Ross Finlayson <[email protected]> 3881 3882 * /man/tiff2pdf.1: File added to repository. 3883 38842003-11-26 Andrey Kiselev <[email protected]> 3885 3886 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 3887 Added support fpr tiff2pdf utility. 3888 38892003-11-25 Ross Finlayson <[email protected]> 3890 3891 * /tools/tiff2pdf.c: File added to repository. 3892 38932003-11-22 Andrey Kiselev <[email protected]> 3894 3895 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 3896 38972003-11-21 Andrey Kiselev <[email protected]> 3898 3899 * /tools/raw2tiff.c: #include <getopt.h> removed. 3900 3901 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 3902 sgigt utility removed and replaced with the completely rewritten 3903 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 3904 there is a lot of things to improve. 3905 3906 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 3907 extract the fields from the OJPEG files. Patch supplied by Ross 3908 Finlayson. 3909 3910 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 3911 Added new function TIFFIsCODECConfigured(), suggested by Ross 3912 Finlayson. 3913 39142003-11-18 Andrey Kiselev <[email protected]> 3915 3916 * libtiff/tif_dirinfo.c: Implemented binary search in 3917 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 3918 3919 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 3920 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 3921 39222003-11-17 Frank Warmerdam <[email protected]> 3923 3924 * tif_dirread.c: do not mark all anonymously defined tags to be 3925 IGNOREd. 3926 39272003-11-17 Andrey Kiselev <[email protected]> 3928 3929 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 3930 TIFFDataWidth() function insted of tiffDataWidth array. 3931 39322003-11-16 Andrey Kiselev <[email protected]> 3933 3934 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 3935 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 3936 39372003-11-15 Frank Warmerdam <[email protected]> 3938 3939 * Makefile.in: fixed missing backslash for tif_color.c in list. 3940 39412003-11-13 Andrey Kiselev <[email protected]> 3942 3943 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 3944 New color space conversion code: CIE L*a*b* 1976 images now supported 3945 by the TIFFRGBAImage interface. All introduced routines go to new 3946 module tif_color.c. Eventually all color conversion functions should 3947 be moved there. 3948 39492003-11-12 Andrey Kiselev <[email protected]> 3950 3951 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 3952 with the reverse byte order (it is reported by the magic header 3953 field). Problem reported by Andreas Wiesmann. 3954 3955 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 3956 calculation function. Guessing mechanics now documented in manual page. 3957 39582003-11-11 Andrey Kiselev <[email protected]> 3959 3960 * tools/raw2tiff.c: Implemented image size guessing using 3961 correlation coefficient calculation between two neighbour lines. 3962 39632003-11-09 Frank Warmerdam <[email protected]> 3964 3965 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 3966 planarconfig_contig case in TIFFComputeTile(). 3967 3968 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 3969 39702003-11-09 Andrey Kiselev <[email protected]> 3971 3972 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 3973 39742003-11-07 Andrey Kiselev <[email protected]> 3975 3976 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 3977 Added TIFFRawStripSize() function as suggested by Chris Hanson. 3978 39792003-11-03 Andrey Kiselev <[email protected]> 3980 3981 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 3982 per bug 3983 3984 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 3985 39862003-10-29 Andrey Kiselev <[email protected]> 3987 3988 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 3989 3990 * html/build.html: Added note about GNU make requirement. 3991 39922003-10-25 Andrey Kiselev <[email protected]> 3993 3994 * Makefile.in: Fixes in using MAKEFLAGS as per bug 3995 3996 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 3997 3998 * port/install.sh.in: Option -p added to the mkdir command to create 3999 all directory tree structure before installing. 4000 40012003-10-18 Andrey Kiselev <[email protected]> 4002 4003 * /tools/tiff2ps.c: #include <strings.h> replaced with the 4004 #include <string.h>. 4005 40062003-10-16 Andrey Kiselev <[email protected]> 4007 4008 * Makefile.in: Add an absolute path to the test_pics.sh call. 4009 40102003-10-12 Andrey Kiselev <[email protected]> 4011 4012 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 4013 typedefs. 4014 40152003-10-09 Andrey Kiselev <[email protected]> 4016 4017 * configure, libtiff/{Makefile.in, mkversion.c}: 4018 Relative buildings fixed. 4019 4020 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 4021 rule. 4022 40232003-10-07 Andrey Kiselev <[email protected]> 4024 4025 * Makefile.in: Added missed v3.6.0.html. 4026 4027 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 4028 ORIENTATION_BOTLEFT. 4029 40302003-10-04 Andrey Kiselev <[email protected]> 4031 4032 * 3.6.0 final release. 4033 40342003-10-03 Andrey Kiselev <[email protected]> 4035 4036 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 4037 function TIFFReadRGBAImageOriented() implemented to retrieve raster 4038 array with user-specified origin position as suggested by Jason Frank. 4039 See 4040 4041 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 4042 4043 for details. 4044 4045 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 4046 instead of TIFFReadRGBAImage(). 4047 4048 * tools/tiff2ps.c: Fixed possible endless loop as per bug 4049 4050 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 4051 40522003-09-30 Andrey Kiselev <[email protected]> 4053 4054 * libtiff/tif_dirread.c: Check field counter against number of fields 4055 in order to fix 4056 4057 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 4058 4059 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 4060 4061 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 4062 40632003-09-25 Andrey Kiselev <[email protected]> 4064 4065 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 4066 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 4067 4068 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 4069 40702003-09-23 Andrey Kiselev <[email protected]> 4071 4072 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 4073 4074 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4075 40762003-08-21 Andrey Kiselev <[email protected]> 4077 4078 * tools/tiffmedian.c: int declaration replaced with the uint32 to 4079 support large images as per bug 4080 4081 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 4082 40832003-08-12 Andrey Kiselev <[email protected]> 4084 4085 * libtiff/Makefile.in: Fixed problem with building in different 4086 directory. 4087 4088 * tools/tiff2ps.c: Added missing #include <strings.h>. 4089 4090 * libtiff/tif_dirwrite.c: More fixes for custom tags code 4091 from Ashley Dreier. 4092 40932003-08-07 Andrey Kiselev <[email protected]> 4094 4095 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 4096 Patch submitted by Balatoni Denes (with corrections from Tom 4097 Kacvinsky). 4098 4099 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 4100 being used. Reported by Tom Kacvinsky. 4101 4102 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 4103 reported by Ashley Dreier. 4104 4105 * libtiff/tif_print.c: Fixed problem with float tags reading, support 4106 for printing RATIONAL and BYTE tags added. 4107 41082003-08-05 Andrey Kiselev <[email protected]> 4109 4110 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 4111 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 4112 problems with predictor initialization. Remove O_RDONLY check during 4113 state block allocation to be able open LZW compressed files in update 4114 mode. 4115 4116 Problem exist for libtiff version of the tif_lzw.c module. One from 4117 lzw-compression-kit hasn't such troubles. 4118 41192003-08-04 Frank Warmerdam <[email protected]> 4120 4121 * libtiff/tif_write.c: modified tif_write.c so that the various 4122 encoded write functions use tif_postdecode() to apply byte order 4123 swapping (swab) to the application passed data buffer if the same 4124 would be done when reading. This allows us to write pixel data with 4125 more than 8 bits per sample to existing files of a non-native byte 4126 order. One side effect of this change is the applications buffer 4127 itself is altered in this case by the act of writing. 4128 4129 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 4130 41312003-07-25 Frank Warmerdam <[email protected]> 4132 4133 * libtiff/tif_open.c: avoid signed/unsigned casting warning 4134 initializing typemask as per patch from J.A. Strother. 4135 4136 * tools/tiffcp.c: fixed signed/unsigned casting warning. 4137 4138 * libtiff/tif_print.c: dos2unix conversion. 4139 4140 * tools/tiffsplit.c: increased the maximum number of pages that 4141 can be split. Patch provided by Andrew J. Montalenti. 4142 41432003-07-11 Andrey Kiselev <[email protected]> 4144 4145 * tools/raw2tiff.c: Added option `-p' to explicitly select color 4146 space of input image data. Closes 4147 4148 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 4149 41502003-07-08 Frank Warmerdam <[email protected]> 4151 4152 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 4153 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 4154 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 4155 avoid casting warning at /W4. 4156 41572003-07-03 Andrey Kiselev <[email protected]> 4158 4159 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 4160 41612003-06-30 Andrey Kiselev <[email protected]> 4162 4163 * libtiff/tif_pixarlog.c: Unused variables removed. 4164 4165 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 4166 EstimateStripByteCounts() as per bug 4167 4168 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 4169 4170 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 4171 64-bit architectures as per bug 4172 4173 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 4174 4175 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 4176 unknown data type. 4177 41782003-06-19 Frank Warmerdam <[email protected]> 4179 4180 * libtiff/tif_print.c: fixed some serious bugs when printing 4181 custom tags ... almost certain to crash. 4182 4183 * libtiff/tif_dirread.c: Don't ignore custom fields that are 4184 autodefined. Not sure how this got to be like this. 4185 41862003-06-18 Andrey Kiselev <[email protected]> 4187 4188 * 3.6.0 Beta2 released. 4189 4190 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 4191 comparing as per bug 4192 4193 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 4194 4195 `-z' option now can be used to set the number of reported different 4196 bytes. 4197 41982003-06-09 Andrey Kiselev <[email protected]> 4199 4200 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 4201 to -r option to get the entire image as one strip. See 4202 4203 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4204 4205 for details. 4206 42072003-06-04 Andrey Kiselev <[email protected]> 4208 4209 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 4210 values as per bug 4211 4212 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 4213 42142003-05-27 Frank Warmerdam <[email protected]> 4215 4216 * libtiff/tif_jpeg.c: modified segment_height calculation to always 4217 be a full height tile for tiled images. Also changed error to just 4218 be a warning. 4219 42202003-05-25 Andrey Kiselev <[email protected]> 4221 4222 * tools/fax2tiff.c: Page numbering fixed, as per bug 4223 4224 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 4225 42262003-05-20 Andrey Kiselev <[email protected]> 4227 4228 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4229 configure, Makefile.in: Switched back to the old behaviour. Likely 4230 better solution should be found for OJPEG support. 4231 42322003-05-11 Andrey Kiselev <[email protected]> 4233 4234 * libtiff/mkversion.c: Fixed problem with wrong string size when 4235 reading RELEASE-DATE file. 4236 42372003-05-07 Andrey Kiselev <[email protected]> 4238 4239 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 4240 index was out of range. 4241 42422003-05-06 Andrey Kiselev <[email protected]> 4243 4244 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 4245 configure, Makefile.in: Improved libtiff compilation with OJPEG 4246 support. Now no need for patching IJG JPEG library, hack requred by 4247 libtiff will be compiled and used in-place. Implemented with 4248 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 4249 4250 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 4251 TIFFVGetFieldDefaulted() function. 4252 42532003-05-05 Andrey Kiselev <[email protected]> 4254 4255 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 4256 comments. 4257 4258 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 4259 was not copied from source image. 4260 4261 * libtiff/getimage.c: Workaround for some images without correct 4262 info about alpha channel as per bug 4263 4264 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 4265 42662003-04-29 Andrey Kiselev <[email protected]> 4267 4268 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 4269 It basically allows one to use the /flateDecode filter for ZIP 4270 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 4271 4272 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 4273 4274 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 4275 as per bug 4276 4277 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 4278 42792003-04-17 Andrey Kiselev <[email protected]> 4280 4281 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 4282 due to problems with multidirectory images. Quality of error messages 4283 improved. 4284 42852003-04-16 Andrey Kiselev <[email protected]> 4286 4287 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 4288 encoded images. See bug entries 4289 4290 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 4291 4292 and 4293 4294 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4295 4296 * libtiff/tif_dirread.c: Additional check for StripByteCounts 4297 correctness. Fixes 4298 4299 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 4300 43012003-03-12 Andrey Kiselev <[email protected]> 4302 4303 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 4304 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 4305 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 4306 tiffmedian.c}: Added library version reporting facility to all tools. 4307 43082003-03-06 Frank Warmerdam <[email protected]> 4309 4310 * port/install.sh.in: Fixed problems with install producing paths 4311 like ///usr/local/lib on cygwin. 4312 43132003-02-27 Andrey Kiselev <[email protected]> 4314 4315 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 4316 raw input page. Patch supplied by Julien Gaulmin. See 4317 4318 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 4319 4320 for details. 4321 43222003-02-26 Frank Warmerdam <[email protected]> 4323 4324 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 4325 responsible for byte swapping complex image data. 4326 4327 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 4328 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 4329 43302003-02-07 Andrey Kiselev <[email protected]> 4331 4332 * tools/ppm2tiff.c: Fixed problem with too many arguments. 4333 43342003-02-04 Andrey Kiselev <[email protected]> 4335 4336 * tools/raw2tiff.c: Memory leak fixed. 4337 43382003-02-03 Andrey Kiselev <[email protected]> 4339 4340 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 4341 (thanks, Julien!). More switches for fax2tiff tool for better control 4342 of input and output. Details at 4343 4344 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 4345 43462003-02-03 Frank Warmerdam <[email protected]> 4347 4348 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 4349 library so that we can check if there is already any tile/strip data 4350 before deciding between creating a compressor or a decompressor. 4351 43522003-01-31 Frank Warmerdam <[email protected]> 4353 4354 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 4355 a pre-existing compressed image. That is, image writing to 4356 pre-existing compressed images is not allowed. 4357 4358 * libtiff/tif_open.c: Removed error if opening a compressed file 4359 in update mode. 4360 4361 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 4362 43632003-01-31 Andrey Kiselev <[email protected]> 4364 4365 * config.guess, config.sub: Updated to recent upstream versions. 4366 43672003-01-15 Frank Warmerdam <[email protected]> 4368 4369 * cut 3.6.0 Beta release. 4370 43712002-12-20 Andrey Kiselev <[email protected]> 4372 4373 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 4374 in wrong way as per bug 4375 4376 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 4377 43782002-12-17 Frank Warmerdam <[email protected]> 4379 4380 * libtiff/tif_dirread.c: Allow wrong sized arrays in 4381 TIFFFetchStripThing(). 4382 4383 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 4384 43852002-12-02 Frank Warmerdam <[email protected]> 4386 4387 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 4388 Was using realloc even first time. Fix by Igor Venevtsev. 4389 43902002-11-30 Frank Warmerdam <[email protected]> 4391 4392 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 4393 field value. 4394 4395 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 4396 tags in TIFFVGetField() ... added missing break. 4397 43982002-10-14 Frank Warmerdam <[email protected]> 4399 4400 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 4401 the scanline buffer long enough when writing rgb triplets. 4402 The scanline needs to be 3 X the number of dots or else it will 4403 contain an incomplete triplet and programs that try to separate 4404 the eps by redefining the colorimage operator will get messed up. 4405 Patch supplied by William Bader. 4406 4407 * Makefile.in: added tif_extension.c to file list as per 4408 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 4409 44102002-10-11 Andrey Kiselev <[email protected]> 4411 4412 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 4413 large files (>2GiB) supporting. New option in the config.site: 4414 LARGEFILE="yes". Should be enough for I/O of the large files. 4415 44162002-10-10 Frank Warmerdam <[email protected]> 4417 4418 * libtiff/html/v3.6.0.html: new release notes. 4419 4420 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 4421 link for Andrey. Pointer to v3.6.0.html. 4422 4423 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 4424 44252002-10-07 Andrey Kiselev <[email protected]> 4426 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 4427 (thanks, Sebastian!). New switches: 4428 -b # for a bottom margin of # inches 4429 -c center image 4430 -l # for a left margin of # inches 4431 -r rotate the image by 180 degrees 4432 New features merged with code for shrinking/overlapping. 4433 Previously added -c and -n switches (for overriding PS units) renamed 4434 in -x and -y respectively. 4435 4436 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 4437 4438 * html/man/*.html: Updated from actual manual pages. 4439 44402002-10-06 Frank Warmerdam <[email protected]> 4441 4442 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 4443 size on windows. Use #define boolean hack. 4444 4445 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 4446 4447 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 4448 USING_VISUALAGE is defined. 4449 4450 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4451 44522002-10-03 Frank Warmerdam <[email protected]> 4453 4454 * libtiff/tiff.h: added COMPRESSION_JP2000. 4455 44562002-10-02 Andrey Kiselev <[email protected]> 4457 4458 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 4459 by the TIFFFetchByteArray() function. Should finally resolve 4460 4461 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 4462 4463 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 4464 4465 * html/Makefile.in: New targets added: html and groffhtml for 4466 producing HTML representations of the manual pages automatically. 4467 html target uses man2html tool, groffhtml uses groff tool. 4468 44692002-09-29 Frank Warmerdam <[email protected]> 4470 4471 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 4472 from John H. DuBois III. 4473 44742002-09-15 Andrey Kiselev <[email protected]> 4475 4476 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 4477 manual page for raw2tiff(1) tool. 4478 44792002-09-12 Andrey Kiselev <[email protected]> 4480 4481 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 4482 the tiffio.h header file. 4483 4484 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 4485 manual page for TIFFDataWidth() function 4486 44872002-09-08 Frank Warmerdam <[email protected]> 4488 4489 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 4490 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 4491 4492 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 4493 since we are unable to properly include the amount to skip. 4494 4495 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 4496 44972002-09-02 Andrey Kiselev <[email protected]> 4498 4499 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 4500 in TIFFFetchByteArray(). Problem described at 4501 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 4502 45032002-08-22 Andrey Kiselev <[email protected]> 4504 4505 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 4506 in _TIFFSetupFieldInfo() function. 4507 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 4508 4509 * /libtiff/tif_lzw.c: Additional consistency checking added in 4510 LZWDecode() and LZWDecodeCompat(). 4511 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 4512 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4513 4514 * /libtiff/tif_lzw.c: 4515 Added check for valid code lengths in LZWDecode() and 4516 LZWDecodeCompat(). Fixes 4517 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 4518 45192002-08-16 Andrey Kiselev <[email protected]> 4520 4521 * /libtiff/{Makefile.vc, libtiff.def}: 4522 Missed declarations added. 4523 45242002-08-15 Frank Warmerdam <[email protected]> 4525 4526 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 4527 return code from the underlying pick function. 4528 4529 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 4530 4531 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 4532 with FIELD_CUSTOM as mentioned in bug 169. 4533 4534 * tif_close.c: added logic to free dynamically created anonymous 4535 field definitions to correct a small memory leak. 4536 4537 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 4538 45392002-08-10 Andrey Kiselev <[email protected]> 4540 4541 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 4542 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 4543 45442002-07-31 Frank Warmerdam <[email protected]> 4545 4546 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 4547 JPEGDecode() as per bugzilla bug (issue 1): 4548 4549 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 4550 4551 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 4552 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 4553 present in the tiff tags. 4554 4555 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 4556 4557 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 4558 TIFFWriteScanline() now set tif_row explicitly in case the codec has 4559 fooled with the value. 4560 4561 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 4562 45632002-06-22 Andrey Kiselev <[email protected]> 4564 4565 * /tools/tiff2ps.c: Added workaround for some software that may crash 4566 when last strip of image contains fewer number of scanlines than 4567 specified by the `/Height' variable. See 4568 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 4569 for explanation. 4570 45712002-06-21 Andrey Kiselev <[email protected]> 4572 4573 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 4574 splitting long images in several pages. See 4575 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 4576 Patch granted by John Williams <[email protected]>. 4577 45782002-06-11 Frank Warmerdam <[email protected]> 4579 4580 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 4581 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 4582 This one is described in: 4583 4584 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 4585 4586 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 4587 4588 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 4589 45902002-05-10 Andrey Kiselev <[email protected]> 4591 4592 * tools/tiff2ps: New commandline switches to override resolution 4593 units obtained from the input file. Closes 4594 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 4595 45962002-04-26 Andrey Kiselev <[email protected]> 4597 4598 * libtiff/libtiff.def: Added missed declaration. 4599 46002002-04-22 Andrey Kiselev <[email protected]> 4601 4602 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 4603 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 4604 46052002-04-20 Andrey Kiselev <[email protected]> 4606 4607 * libtiff/tif_open.c: Pointers to custom procedures 4608 in TIFFClientOpen() are checked to be not NULL-pointers. 4609 46102002-04-18 Andrey Kiselev <[email protected]> 4611 4612 * libtiff/libtiff.def: Added missed declarations. 4613 4614 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 4615 46162002-04-16 Andrey Kiselev <[email protected]> 4617 4618 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 4619 Should finally close 4620 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4621 46222002-04-10 Andrey Kiselev <[email protected]> 4623 4624 * tools/tiff2ps: Division by zero fixed. 4625 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 4626 46272002-04-09 Andrey Kiselev <[email protected]> 4628 4629 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 4630 TIFFCheckpointDirectory() routine added. 4631 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 4632 4633 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 4634 for the new function. 4635 46362002-04-08 Andrey Kiselev <[email protected]> 4637 4638 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 4639 additional members tif->tif_decodestatus and tif->tif_encodestatus 4640 for correct handling of unconfigured codecs (we should not try to read 4641 data or to define data size without correct codecs). 4642 4643 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 4644 changed. Now it has used tif->tif_decodestatus and 4645 tif->tif_encodestatus. 4646 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 4647 case of __cvs_8.tif test image). 4648 4649 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 4650 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 4651 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 4652 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 4653 46542002-04-04 Andrey Kiselev <[email protected]> 4655 4656 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 4657 replaced by warnings. Now libtiff should read corrupted LZW-compressed 4658 files by skipping bad strips. 4659 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4660 46612002-04-03 Frank Warmerdam <[email protected]> 4662 4663 * libtiff/tif_dirwrite.c: Removed some dead code. 4664 4665 * libtiff/*: Cleanup some warnings. 4666 4667 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 4668 for variable length FIELD_CUSTOM values. Was int * but should be 4669 u_short *. 4670 46712002-04-01 Andrey Kiselev <[email protected]> 4672 4673 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 4674 utility (at cpStripToTile routine). 4675 46762002-03-27 Frank Warmerdam <[email protected]> 4677 4678 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 4679 4680 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 4681 4682 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 4683 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 4684 4685 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 4686 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 4687 46882002-03-26 Dwight Kelly <[email protected]> 4689 4690 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 4691 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 4692 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 4693 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 4694 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 4695 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 4696 46972002-03-26 Andrey Kiselev <[email protected]> 4698 4699 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 4700 now also uses TIFFRGBAImageOK before reading. This is additional fix 4701 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 4702 47032002-03-25 Andrey Kiselev <[email protected]> 4704 4705 * libtiff/: tif_getimage.c: Additional check for supported 4706 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 4707 TIFFRGBAImageOK before reading. 4708 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 4709 47102002-03-15 Andrey Kiselev <[email protected]> 4711 4712 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 4713 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 4714 TIFFDataType sizes instead of working with tiffDataWidth array 4715 directly. Should prevent out-of-borders bugs in case of unknown or 4716 broken data types. EstimateStripByteCounts routine modified, so it 4717 won't work when tags with uknown sizes founded. 4718 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 4719 47202002-03-13 Andrey Kiselev <[email protected]> 4721 4722 * libtiff/tif_getimage.c: Added support for correct handling 4723 `Orientation' tag in gtTileContig. Should be added in other gt* 4724 functions as well, but I have not images for testing yet. Partially 4725 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4726 47272002-03-10 Andrey Kiselev <[email protected]> 4728 4729 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 4730 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 4731 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 4732 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 4733 47342002-03-08 Andrey Kiselev <[email protected]> 4735 4736 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 4737 be stripped when installing, utility binaries will do. Closes 4738 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 4739 47402002-02-28 Frank Warmerdam <[email protected]> 4741 4742 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 4743 4744 * man/libtiff.3t: added copyright tag info. 4745 47462002-02-11 Frank Warmerdam <[email protected]> 4747 4748 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 4749 4750 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 4751 4752 * man/Makefile.in: Patch DESTDIR handling 4753 4754 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 4755 4756 * configure: OpenBSD changes for Sparc64 and DSO version. 4757 4758 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 4759 47602002-02-05 Frank Warmerdam <[email protected]> 4761 4762 * config.site/configure: added support for OJPEG=yes option to enable 4763 OJPEG support from config.site. 4764 47652002-01-27 Frank Warmerdam <[email protected]> 4766 4767 * html/document.html: fixed links for TIFf 6 docs. 4768 47692002-01-18 Frank Warmerdam <[email protected]> 4770 4771 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 4772 4773 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 4774 decodestrip function returns anything not greater than zero as per 4775 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 4776 4777 * configure: Modify CheckForBigEndian so it can work in a cross 4778 compiled situation. 4779 47802002-01-16 Frank Warmerdam <[email protected]> 4781 4782 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 4783 4784 * tools/tiffset.c: fix bug in error reporting. 4785 4786 * tools/tiffcp.c: fix several warnings that show up with -Wall. 4787 47882002-01-04 Frank Warmerdam <[email protected]> 4789 4790 * libtiff/tif_jpeg.c: fixed computation of segment_width for 4791 tiles files to avoid error about it not matching the 4792 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 4793 size.") for ITIFF files. Apparently the problem was incorporated since 4794 3.5.5, presumably during the OJPEG/JPEG work recently. 4795 47962001-12-15 Frank Warmerdam <[email protected]> 4797 4798 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 4799 4800 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 4801 4802 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 4803 (defined in tiffconf.h - 1 by default) then the RGBA interface 4804 will assume that a fourth extra sample is ASSOCALPHA if the 4805 EXTRASAMPLE value isn't set for it. This changes the behaviour of 4806 the library, but makes it work better with RGBA files produced by 4807 lots of applications that don't mark the alpha values properly. 4808 4809 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 4810 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 4811 48122001-12-12 Frank Warmerdam <[email protected]> 4813 4814 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 4815 override those from tiff directory. This makes this work with 4816 ImageGear generated files. 4817 48182001-12-07 Frank Warmerdam <[email protected]> 4819 4820 * html/Makefile.in: added missing images per bug 92. 4821 4822 * port/Makefile.in: fixed clean target per bug 92. 4823 48242001-11-28 Frank Warmerdam <[email protected]> 4825 4826 * Reissue 3.5.7 release. 4827 4828 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 4829 YYYYMMDD so that it is increasing over time. 4830 4831 * Makefile.in: Ensure that tiffvers.h is regenerated in the 4832 make release target. 4833 4834 * Makefile.in: added libtiff/tiffvers.h to the release file list. 4835 48362001-11-23 Frank Warmerdam <[email protected]> 4837 4838 * added html/v3.5.7.html, updated html/index.html. 4839 4840 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 4841 48422001-11-15 Frank Warmerdam <[email protected]> 4843 4844 * configure: fixed test for -lm. 4845 48462001-11-02 Frank Warmerdam <[email protected]> 4847 4848 * Added PHOTOMETRIC_ITULAB as per bug 90. 4849 4850 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 4851 48522001-10-10 Frank Warmerdam <[email protected]> 4853 4854 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 4855 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 4856 in keeping with TIFF 6.0 standard in tiff.h 4857 4858 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 4859 48602001-09-26 Frank Warmerdam <[email protected]> 4861 4862 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 4863 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 4864 48652001-09-24 Frank Warmerdam <[email protected]> 4866 4867 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 4868 4869 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 4870 4871 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 4872 error about LZW not being available. 4873 4874 * libtiff/tif_dir.c: propagate failure to initialize compression 4875 back from TIFFSetField() as an error status, so applications can 4876 detect failure. 4877 4878 * libtiff/tif_dir.c: removed the auto replacement of 4879 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 4880 4881 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 4882 from CVS as they are all supposed to be auto-generated by configure. 4883 48842001-09-22 Frank Warmerdam <[email protected]> 4885 4886 * libtiff/tif_ojpeg.c: new update from Scott. 4887 48882001-09-09 Frank Warmerdam <[email protected]> 4889 4890 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 4891 always use the "safe" version, even if there is a very slight 4892 cost in performance. 4893 4894 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 4895 4896 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 4897 in two places. 4898 4899 * libtiff/tif_getimage.c: Fixed problem with reading strips or 4900 tiles that don't start on a tile boundary. Fix contributed by 4901 Josep Vallverdu (from HP), and further described in bug 47. 4902 4903 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 4904 4905 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 4906 4907 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 4908 49092001-09-06 Frank Warmerdam <[email protected]> 4910 4911 * libtiff/tif_packbits.c: fixed memory overrun error. 4912 4913 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 4914 49152001-08-31 Frank Warmerdam <[email protected]> 4916 4917 * libtiff/tif_getimage.c: relax handling of contig case where 4918 there are extra samples that are supposed to be ignored. This 4919 should now work for 8bit greyscale or palletted images. 4920 4921 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 4922 49232001-08-28 Frank Warmerdam <[email protected]> 4924 4925 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 4926 images with more than four samples per pixel. See: 4927 4928 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 4929 49302001-08-10 Frank Warmerdam <[email protected]> 4931 4932 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 4933 in TIFFReadRGBATile() to avoid issues in cases of overlapping 4934 buffers. See Bug 69 in Bugzilla. 4935 4936 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 4937 4938 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 4939 49402001-08-09 Frank Warmerdam <[email protected]> 4941 4942 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 4943 when checking for 64 bit architectures as per bugzilla bug 67. 4944 49452001-07-27 Frank Warmerdam <[email protected]> 4946 4947 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 4948 bug 66. 4949 49502001-07-20 Frank Warmerdam <[email protected]> 4951 4952 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 4953 has been included. 4954 49552001-07-19 Frank Warmerdam <[email protected]> 4956 4957 * libtiff/tif_open.c: Seek back to zero after failed read, 4958 before writing header. 4959 49602001-07-18 Frank Warmerdam <[email protected]> 4961 4962 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 4963 much better. Now depends on having patched libjpeg as per 4964 patch in contrib/ojpeg/*. 4965 49662001-07-17 Frank Warmerdam <[email protected]> 4967 4968 * */Makefile.in: added DESTDIR support. 4969 4970 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 4971 49722001-07-16 Frank Warmerdam <[email protected]> 4973 4974 * configure, libtiff/Makefile.in: applied OpenBSD patches 4975 as per: 4976 4977 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 4978 49792001-06-28 Frank Warmerdam <[email protected]> 4980 4981 * libtiff/tif_getimage.c: Fixed so that failure is properly 4982 reported by gtTileContig, gtStripContig, gtTileSeparate and 4983 gtStripSeparate. 4984 4985 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 4986 4987 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 4988 Updated bug section of tiffcmp.1 to note tiled file issues. 4989 4990 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 4991 49922001-06-22 Frank Warmerdam <[email protected]> 4993 4994 * configure: Changes for DSO generation on AIX provided by 4995 John Marquart <[email protected]>. 4996 4997 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 4998 on Darwin thanks to Robert Krajewski ([email protected]) and 4999 Keisuke Fujii ([email protected]). 5000 50012001-06-13 Frank Warmerdam <[email protected]> 5002 5003 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 5004 5005 * man/tiff2rgba.1: new 5006 50072001-05-22 Frank Warmerdam <[email protected]> 5008 5009 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 5010 50112001-05-13 Frank Warmerdam <[email protected]> 5012 5013 * libtiff/tools/thumbnail.c: changed default output compression 5014 to packbits from LZW since LZW isn't generally available. 5015 50162001-05-12 Frank Warmerdam <[email protected]> 5017 5018 * libtiff/tif_ojpeg.c: New. 5019 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 5020 to OJPEG support. 5021 5022 Scott Marovich <[email protected]> supplied OJPEG support. 5023 50242001-05-11 Frank Warmerdam <[email protected]> 5025 5026 * tiff.h: removed, it duplicates libtiff/tiff.h. 5027 50282001-05-08 Frank Warmerdam <[email protected]> 5029 5030 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 5031 ensure everything is in order. 5032 5033 * libtiff/libtiff.def: added TIFFCreateDirectory and 5034 TIFFDefaultStripSize as per: 5035 5036 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 5037 50382001-05-02 Frank Warmerdam <[email protected]> 5039 5040 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 5041 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 5042 force use of uint32 counts instead of short counts. 5043 5044 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 5045 case of writing TIFF_BYTE/TIFF_SBYTE fields. 5046 5047 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 5048 50492001-05-01 Frank Warmerdam <[email protected]> 5050 5051 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 5052 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 5053 50542001-04-05 Frank Warmerdam <[email protected]> 5055 5056 * tiffio.h: removed C++ style comment. 5057 5058 * configure: fixed up SCRIPT_SH/SHELL handling. 5059 5060 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 5061 5062 * config.guess: documented more variables as per bug 40. 5063 50642001-04-03 Frank Warmerdam <[email protected]> 5065 5066 * configure, *Makefile.in: Various changes to improve configuration 5067 for HP/UX specifically, and also in general. They include: 5068 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 5069 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 5070 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 5071 - Use -${MAKEFLAGS} in sub makes from makefiles. 5072 5073 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 5074 50752001-04-02 Frank Warmerdam <[email protected]> 5076 5077 * libtiff/tiff.h: Applied hac to try and resolve the problem 5078 with the inttypes.h include file on AIX. 5079 5080 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5081 5082 * VERSION: update to 3.5.7 beta in preparation for release. 5083 5084 * configure/config.site: modified to check if -lm is needed for 5085 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 5086 5087 * config.guess: updated wholesale to an FSF version apparently 5088 from 1998 (as opposed to 1994). This is mainly inspired by 5089 providing for MacOS X support. 5090 50912001-03-29 Frank Warmerdam <[email protected]> 5092 5093 * configure, Makefile.in, etc: added support for OPTIMIZER being 5094 set from config.site. 5095 50962001-03-28 Frank Warmerdam <[email protected]> 5097 5098 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 5099 5100 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 5101 sizes. It fixes two problems: 5102 5103 Without scaling (-S) the fax is now centered on the page size specified 5104 with -H and/or -W. Before, fax2ps was using an obscure and practially 5105 useless algorithm to allocate the image relative to Letter sized paper 5106 which sometime sled to useless whitespace on the paper, while at the 5107 same time cutting of the faxes printable area at the opposite border. 5108 5109 Second, scaling now preserves aspect ratio, which makes unusual faxes 5110 (in particular short ones) print properly. 5111 5112 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 5113 5114 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 5115 Bruce A. Mallett. See check message for detailed information 5116 on all the changes, including a faster encoder, fixes for level 5117 2 PostScript, and support for the imagemask operator. 5118 51192001-03-27 Frank Warmerdam <[email protected]> 5120 5121 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 5122 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 5123 5124 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 5125 51262001-03-16 Frank Warmerdam <[email protected]> 5127 5128 * tif_dirinfo.c: moved definition of copyright tag in field list. 5129 Apparently they have to be in sorted order by tag id. 5130 51312001-03-13 Frank Warmerdam <[email protected]> 5132 5133 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 5134 images in RGBA interface. 5135 51362001-03-02 Frank Warmerdam <[email protected]> 5137 5138 * Added TIFFTAG_COPYRIGHT support. 5139 51402001-02-19 Frank Warmerdam <[email protected]> 5141 5142 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 5143 with support for extracting subimages with the ,n syntax, and also 5144 adding the -b bias removal flag. 5145 51462001-02-16 Frank Warmerdam <[email protected]> 5147 5148 * libtiff/libtiff.def: Brent Roman submitted new version adding 5149 serveral missing entry points. 5150 5151 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 5152 Some sort of weird VMS thing. 5153 5154 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 5155 5156 * tif_luv.c/tiff.h/tiffio.h: 5157 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 5158 ([email protected]). He writes: 5159 5160 1) I improved the gamut-mapping function in tif_luv.c for imaginary 5161 colors, because some images were being super-saturated on the input 5162 side and this resulted in some strange color shifts in the output. 5163 5164 2) I added a psuedotag in tiff.h to control random dithering during 5165 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 5166 on for 24-bit LogLuv output. Dithering improves the average color 5167 accuracy over the image. 5168 5169 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 5170 tiffio.h, to expose internal routines for converting between LogLuv and 5171 XYZ coordinates. This is helpful for writing more efficient, 5172 specialized conversion routines, especially for reading LogLuv files. 5173 5174 Changes applied with minor edits. 5175 51762001-01-23 Frank Warmerdam <[email protected]> 5177 5178 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 5179 whether we are encoding or decoding. This is to ensure graceful 5180 recovery if TIFFClientOpen() discovers an attempt to open a compressed 5181 file for "r+" access, and subsequently close it, as it resets the 5182 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 5183 compressor's concept of whether it is in encode or decode mode. 5184 51852001-01-08 Mike Welles <[email protected]> 5186 5187 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 5188 51892001-01-07 Frank Warmerdam <[email protected]> 5190 5191 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 5192 as per bug report by Patrick Connor. 5193 51942000-12-28 Frank Warmerdam <[email protected]> 5195 5196 * Added RELEASE-DATE file to release file list. 5197 5198 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 5199 52002000-12-22 Mike Welles <[email protected]> 5201 * added link to CVS mirror from index.html 5202 5203 * updated html/internals.html to note that LZW compression is 5204 not supported by default. 5205 52062000-12-22 Frank Warmerdam <[email protected]> 5207 5208 * updated html/libtiff.html to not point at Niles' old JPL web site 5209 for the man pages, point at www.libtiff.org. 5210 52112000-12-21 Frank Warmerdam <[email protected]> 5212 5213 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 5214 Leonard Rosenthol <[email protected]>. May interfere 5215 with correct building on older systems. If so, please let me know. 5216 52172000-12-19 Mike Welles <[email protected]> 5218 5219 * Took out LZW Encoding from tif_lzw.c 5220 5221 * Created HOWTO-RELEASE 5222 5223 * Created html/v3.5.6.html 5224 5225 * updated index.html 5226 52272000-12-01 Frank Warmerdam <[email protected]> 5228 5229 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 5230 Patches supplied by Frank Cringle <[email protected]> 5231 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 5232 52332000-11-24 Frank Warmerdam <[email protected]> 5234 5235 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 5236 target so that the private headers required by libgeotiff can be 5237 installed with the others. They are not installed by default. 5238 5239 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 5240 targets so libtiff.so will be built with an explicit dependency 5241 on libm.so. 5242 5243 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 5244 libtiff.so.3.5.5. 5245 5246 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 5247 file, or ALPHA version logic. Added stuff about DIST_POINT in 5248 place of DIST_TYPE and the alpha release number stuff. 5249 52502000-11-22 Frank Warmerdam <[email protected]> 5251 5252 * I have applied a patch from Steffen Moeller <[email protected]> to 5253 the configure script so that it now accepts the --prefix, and 5254 --exec-prefix directives. 5255 52562000-11-13 Frank Warmerdam <warmerda@cs46980-c> 5257 5258 * I have made a variety of modifications in an effort to ensure the 5259 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 5260 file which seems to be updated regularly. 5261 5262 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 5263 version include file. 5264 o renamed version.h to tiffvers.h because we now have to install it 5265 with the public libtiff include files. 5266 o include tiffvers.h in tiffio.h. 5267 o updated tif_version.c to use tiffvers.h. 5268 o Updated Makefile.in accordingly. 5269 5270 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 5271 I have updated the win32 detection rules in tiffcomp.h. 5272 52732000-10-20 Frank Warmerdam <warmerda@cs46980-c> 5274 5275 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 5276 the strip/tile width and height aren't multiples of the sampling size. 5277 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 5278 Some patches from Rick LaMont of Dot C Software. 5279 5280 * Modified tif_packbits.c encoder to avoid compressing more 5281 data than provided if rowsize doesn't factor into provided data 5282 (such as occurs for YCbCr). 5283 52842000-10-19 Frank Warmerdam <warmerda@cs46980-c> 5285 5286 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 5287 roundup if rows_per_strip not a multiple of vertical sample size. 5288 52892000-10-16 Frank Warmerdam <warmerda@cs46980-c> 5290 5291 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 5292 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5293 from [email protected]. 5294 5295 * Modified tif_packbits.c decoding to avoid overrunning the 5296 output buffer, and to issue a warning if data needs to be 5297 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 5298 52992000-10-12 Frank Warmerdam <warmerda@cs46980-c> 5300 5301 * Modified tiff2bw to ensure portions add to 100%, and that 5302 white is properly recovered. 5303 5304 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 5305 Patch c/o Stanislav Brabec <[email protected]> 5306 53072000-09-30 Frank Warmerdam <warmerda@cs46980-c> 5308 5309 * Modified TIFFClientOpen() to emit an error on an attempt to 5310 open a comperessed file for update (O_RDWR/r+) access. This is 5311 because the compressor/decompressor code gets very confused when 5312 the mode is O_RDWR, assuming this means writing only. See 5313 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 5314 53152000-09-27 Frank Warmerdam <warmerda@cs46980-c> 5316 5317 * Added GNULDdso target an`d switched linux and freebsd to use it. 5318 53192000-09-26 Frank Warmerdam <warmerda@cs46980-c> 5320 5321 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 5322 of EXPAND1D() as per bug 11 (from Roman). 5323 53242000-09-25 Frank Warmerdam <warmerda@cs46980-c> 5325 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 5326 cygwin compatibility. 5327 5328 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 5329 be a proper fix to the buffer sizing problem. See 5330 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 5331 5332 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 5333 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 5334 Thanks to Nick Lamb <[email protected]> for reporting the 5335 bug and proving the patch. 5336 53372000-09-18 Frank Warmerdam <warmerda@cs46980-c> 5338 5339 * Fixed tif_jpeg.c so avoid destroying the decompressor before 5340 we are done access data thanks to bug report from: 5341 Michael Eckstein <[email protected]>. 5342 5343 * Reverted tif_flush change. 5344 53452000-09-14 Frank Warmerdam <warmerda@cs46980-c> 5346 5347 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 5348 error when TIFF_BEENWRITING is not set. This ensures that the 5349 directory contents can still be flushed by TIFFFlush(). 5350 53512000-08-14 Frank Warmerdam <[email protected]> 5352 5353 * tif_open.c: Don't set MMAP for O_RDWR files. 5354 5355 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 5356 so that files opened for update can be strip chopped too. 5357 5358 * tif_read.c: fixed up bug with files missing rowsperstrip and 5359 the strips per separation fix done a few weeks ago. 5360 53612000-07-17 Frank Warmerdam <warmerda@cs46980-c> 5362 5363 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 5364 SAMPLEFORMAT_COMPLEXINT. 5365 53662000-07-13 Mike Welles <[email protected]> 5367 5368 * index.html, bugs.html: added bugzilla info. 5369 53702000-07-12 Frank Warmerdam <[email protected]> 5371 5372 * tif_read.c: fix subtle bug with determining the number of 5373 rows for strips that are the last strip in a separation but 5374 not the last strip of all in TIFFReadEncodedStrip(). 5375 5376 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 5377 Peter Skarpetis <[email protected]> 5378 53792000-06-15 Frank Warmerdam <[email protected]> 5380 5381 * Modified tiffio.h logic with regard to including windows.h. It 5382 won't include it when building with __CYGWIN__. 5383 53842000-05-11 Frank Warmerdam <warmerda@cs46980-c> 5385 5386 * README: update to mention www.libtiff.org, don't list Sam's old 5387 email address. 5388 5389 * configure: Fixed DSO test for Linux as per patch from 5390 Jan Van Buggenhout <[email protected]>. 5391 53922000-04-21 Frank Warmerdam <[email protected]> 5393 5394 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 5395 one tile/strip images with an offset, and byte count of zero. These 5396 could be "unpopulated" images. 5397 53982000-04-18 Frank Warmerdam <[email protected]> 5399 5400 * contrib/addtiffo: Added "averaging" resampling option. 5401 5402 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 5403 5404Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 5405 5406 * tools/Makefile.in: Modified to install properly on SGI. 5407 54082000-04-12 Mike Welles <[email protected]> 5409 * configure: Fixed stupid mistake in libc6 test on Linux 5410 54112000-04-04 Mike Welles <[email protected]> 5412 * tif_win32.c: Applied patch to fix overreads and ovverwrites 5413 caught by BoundsChecker. From Arvan Pritchard 5414 <[email protected]> (untested). 5415 5416 * tif_getimage.c: Applied patch to silence VC6 warnings. From 5417 Arvan Pritchard <[email protected]> 5418 5419 * tif_lzw.c: Applied patch to silence VC6 warnings. From 5420 Arvan Pritchard <[email protected]> 5421 54222000-03-28 Frank Warmerdam <warmerda@cs46980-c> 5423 5424 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 5425 54262000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 5427 5428 * fax2ps: Fixed mixup of width and height in bounding box statement 5429 as per submission by Nalin Dahyabhai <[email protected]>. 5430 54312000-03-27 Mike Welles <[email protected]> 5432 5433 * fax2ps: Modified printruns to take uint32 instead of uint16. 5434 Patch courtesy of Bernt Herd <[email protected]> 5435 54362000-03-20 Mike Welles <[email protected]> 5437 5438 * configure: added test for libc6 for linux targets. Bug reported by 5439 Stanislav Brabec <[email protected]> 5440 5441 * Added 3.5 docs to html/Makefile.in. 5442 Thanks to Stanislav Brabec <[email protected]> 5443 5444 * configure: fixed bugs in sed scripts 5445 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 5446 fix submitted to Stanislav Brabec <[email protected]> 5447 5448 * tools/iptcutil was not in files list, and wasn't being 5449 added to tar archive. Updated Makefile.in. 5450 54512000-03-17 Frank Warmerdam <warmerda@cs46980-c> 5452 5453 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 5454 conversion for the run arrays. 5455 54562000-03-03 Frank Warmerdam <[email protected]> 5457 5458 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 5459 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 5460 54612000-03-02 Frank Warmerdam <[email protected]> 5462 5463 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 5464 5465 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 5466 to avoid overruns encountered with frle_bug.tif. 5467 5468Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 5469 5470 * Fixed tools/tiffcmp so that stopondiff testing works. 5471 Patch care of Joseph Orost <[email protected]>. 5472 54732000-01-28 <warmerda@CS46980-B> 5474 5475 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 5476 set to 1, and added default (off) setting in tiffconf.h. This 5477 should eventually be set by the configure script somehow. 5478 5479 The original work on all these 2-4GB changes was done by 5480 Peter Smith ([email protected]). 5481 5482 * Modified tif_win32.c to support 2-4GB seeks. 5483 5484 * tentatively changed toff_t to be unsigned instead of signed to 5485 facilitate support for 2-4GB files. 5486 5487 * Updated a variety of files to use toff_t. Fixed some mixups 5488 between toff_t and tsize_t. 5489 5490Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 5491 5492 * Largely reimplemented contrib/addtiffo to avoid temp files, 5493 updating the TIFF file in place. Fixed a few other bugs to. 5494 5495 * Set tif_rawdatasize to zero when freeing raw data buffer in 5496 TIFFWriteDirectory(). 5497 5498 * Enabled "REWRITE_HACK" in tif_write.c by default. 5499 5500 * Fix bug in tif_write.c when switching between reading one directory 5501 and writing to another. 5502 5503 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 5504 5505Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 5506 5507 * Added TIFFmemory(3t) functions to libtiff.def. 5508 5509Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 5510 5511 * Added libtiff/libtiff.def to TIFFILES distribution list. 5512 5513Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 5514 5515 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 5516 5517 * Altered descriptions in tools to reflect "by default" lzw not supported 5518 5519 * Updated index.html to note lzw compression kit. 5520 5521Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 5522 5523 * Added fax3sm_winnt.c to distribution list in Makefile.in. 5524 5525Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 5526 5527 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 5528 5529 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 5530 when LZW compression invoked. 5531 5532 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 5533 in tools to reflect removal of LZW compression 5534 5535Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 5536 5537 * Fixed bug that caused LZW (non) compression to segfault. Added 5538 warning about LZW compression removed being removed, and why. 5539 5540 * Added nostrip to install in tools/Makefile.in so that debugging 5541 symbols are kept. 5542 5543Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 5544 5545 * Added patch from Ivo Penzar <[email protected]>, 5546 supporting Adobe ZIP deflate. Untested. 5547 5548Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 5549 5550 * Made Packbits the default compression in tools/tiff2rgba.c instead 5551 of LZW. 5552 5553Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 5554 5555 * Added tif_luv to contrib/djgpp/Makefile.lib. 5556 5557Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 5558 5559 * Added zip creation to relase makefile target 5560 5561 * Added html for TIFFWriteTile.3t man page. 5562 5563Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 5564 5565 * Added some changes to tif_write.c to support rewriting existing 5566 fixed sized tiles and strips. Code mods disabled by default, only 5567 enabled if REWRITE_HACK is defined for now. 5568 5569Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 5570 5571 * Added TIFFWriteTile.3t man page. 5572 5573Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 5574 5575 * Added notes on use of makefile.vc in build.html, and fixed 5576 email subscription address. 5577 5578199-11-28 Mike Welles <[email protected]> 5579 5580 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 5581 5582 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 5583 from Bruce Carmeron <[email protected]> -- modifications of 5584 changes made by Frank (sun cc still complained on cast). 5585 5586 * Added tiffconf.h to install target per request from Bill 5587 Radcliffe <[email protected]>: "We need a way for ImageMagick to 5588 know features have been compiled into the TIFF library in order to 5589 handle things properly". 5590 5591Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 5592 5593 * fixed various VC++ warnings as suggested by Gilles Vollant 5594 <[email protected]>. 5595 5596Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 5597 5598 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 5599 not imply applications are responsible for image data swapping. 5600 56011999-11-22 Mike Welles <[email protected]> 5602 * HTML-ized the man pages, added to html/man 5603 5604 * Removed LZW Compression to comply with Unisys patent extortion. 5605 56061999-09-29 Mike Welles <[email protected]> 5607 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 5608 From Ivo Penzar <[email protected]. 5609 5610 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 5611 memory mapped files. <[email protected]> 5612 56131999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 5614 * Corrected alpha versioning. 5615 5616 * Removed distinction between alpha and release targets in Makefile.in. 5617 5618 * added release.stamp target, which tags cvs tree, and updates 5619 "RELEASE-DATE" 5620 5621 * added releasediff target, which diffs tree with source as of 5622 date in "RELEASE-DATE" 5623 5624 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 5625 away from alpha/non-alpha distinctions). 5626 5627 * updated html to reflect release 5628 56291999-09-23 <warmerda@CS46980-B> 5630 5631 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 5632 5633 * Added CYGWIN case in configure. 5634 5635Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 5636 5637 * Applied Francois Dagand's patch to handle fax decompression bug. 5638 (sizes >= 65536 were failing) 5639 5640Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 5641 5642 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 5643 by Christopher Lawton <[email protected]> 5644 5645Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 5646 5647 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 5648 Albert Chin-A-Young <[email protected]> 5649 5650 * Added TIFFReassignTagToIgnore() API on behalf of 5651 Bruce Cameron <[email protected]>. Man page still pending. 5652 5653Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 5654 5655 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 5656 files to provide for a rudimentary testsuite. 5657 5658 * Added contrib/tags back from old distribution ... fixed up a bit. 5659 56601999-08-16 <warmerda@CS46980-B> 5661 5662 * Added simple makefile.vc makefiles for building with MS VC++ 5663 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 5664 better solutions for some users. 5665 5666Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 5667 5668 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 5669 put it in tools since part of it is in C++. 5670 56711999-08-16 Michael L. Welles <[email protected]> 5672 5673 * Updated html/index.html with anon CVS instructions. 5674 5675Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 5676 5677 * pre-remove so link before softlink in LINUXdso action in 5678 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 5679 the first. 5680 5681 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 5682 colormaps owned by the TIFF handle itself when trying to fixup wrong 5683 (eight bit) colormaps. Corrected by maintaining a private copy of 5684 the colormap. 5685 5686 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 5687 tif_getimage.c. 5688 5689 * CVS Repository placed at remotesensing.org. ChangeLog added. 5690