12010-07-13 Bob Friesenhahn <[email protected]> 2 3 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 4 potentially unterminated buffer due to using an exceptionally long 5 file name. 6 72010-07-08 Andrey Kiselev <[email protected]> 8 9 * tools/tiff2pdf.c: Fixed ID buffer filling in 10 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 11 122010-07-07 Andrey Kiselev <[email protected]> 13 14 * lintiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 15 to expected value as the warning message suggests. As per bug 16 http://bugzilla.maptools.org/show_bug.cgi?id=1963 17 182010-07-06 Andrey Kiselev <[email protected]> 19 20 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 21 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 22 which should be set by value. 23 24 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 25 and _TIFFFieldWithName() if the tag is not found in the tag table. 26 This should be normal situation and returned NULL value should be 27 properly handled by the caller. 28 292010-07-02 Andrey Kiselev <[email protected]> 30 31 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 32 integer type conversions. As per bug 33 http://bugzilla.maptools.org/show_bug.cgi?id=2207 34 35 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 36 WhitePoint tag as per bug 37 http://bugzilla.maptools.org/show_bug.cgi?id=2042 38 39 * libtiff/tif_getimage.c: Check the number of samples per pixel when 40 working with YCbCr image in PickContigCase(). As per bug 41 http://bugzilla.maptools.org/show_bug.cgi?id=2216 42 43 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 44 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 45 we don't need any post-processing. That helps to reset the hook if we 46 previously set this field to some other value and the hook was 47 initialized accordingly. As per bug 48 http://bugzilla.maptools.org/show_bug.cgi?id=2035 49 502010-07-01 Andrey Kiselev <[email protected]> 51 52 * tools/tiffgt.c: Properly check the raster buffer allocations for 53 integer overflows. As per bug 54 http://bugzilla.maptools.org/show_bug.cgi?id=2108 55 56 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 57 upstream. 58 59 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 60 multiply_32() and multiply_64() functions into tif_aux.c file and 61 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 62 632010-06-30 Andrey Kiselev <[email protected]> 64 65 * tools/tiff2pdf.c: Better generation of ID field in 66 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 67 68 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 69 converting JPEG encoded tiles. 70 71 * tools/tiff2pdf.c: Better handling of string fields, use static 72 string buffers instead of dynamically allocated, use strncpy() instead 73 of strcpy(), control the string lengths. 74 752010-06-25 Andrey Kiselev <[email protected]> 76 77 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 78 referencing to uninitialized memory in some cases (e.g. when tile size 79 set bigger than the image size). 80 812010-06-15 Bob Friesenhahn <[email protected]> 82 83 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 84 subsampled data since tiffcrop currently doesn't support it. Fix 85 JPEG support. 86 872010-06-13 Frank Warmerdam <[email protected]> 88 89 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 90 91 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 92 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 93 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 94 size is larger. Also, there are a bunch of places that try to 95 memset() a malloc'd buffer before checking for malloc failure, which 96 would result in core dump if there actually were a failure. (#2211) 97 982010-06-11 Bob Friesenhahn <[email protected]> 99 100 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 101 avoid compiler warnings if parameter types are not sign 102 consistent. 103 104 * libtiff 4.0.0alpha6 released. 105 106 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 107 European page size dimensions. Added an option to allow the user 108 to specify a custom page size on the command line. Fix the case 109 where a page size specified with a fractional part was being 110 coerced to an integer by retyping the variables that define the 111 paper size. 112 113 * html/index.html: Update for the 3.9.3 release. 114 115 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 116 YCbCr subsampled data since tiffcp currently doesn't support it. 117 http://bugzilla.maptools.org/show_bug.cgi?id=2097 118 119 * Update libtool to version 2.2.10. 120 1212010-06-10 Bob Friesenhahn <[email protected]> 122 123 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 124 multiplier is zero. 125 1262010-06-09 Bob Friesenhahn <[email protected]> 127 128 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 129 CVE-2010-1411 was not complete. 130 131 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 132 multiply two integers. Returns zero if there is an integer 133 overflow. 134 135 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 136 is reported when reading the input file. 137 1382010-06-08 Bob Friesenhahn <[email protected]> 139 140 * Update libtool to version 2.2.8. 141 142 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 143 buffer due to integer overflow in TIFFroundup() and several other 144 potential overflows. In conjunction with the fix to TIFFhowmany(), 145 fixes CVE-2010-1411. 146 147 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 148 result in an integer overflow. This causes TIFFroundup() to also 149 return zero if there would be an integer overflow. 150 151 * contrib: Add an emacs formatting mode footer to all source files 152 so that emacs can be effectively used. 153 1542010-06-03 Oliver Chen Feng <[email protected]> 155 156 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 157 file PAGENUMBER value in sequence for users who care the page 158 sequence, this will also prevent tiff2pdf from creating pdf file from 159 the merged tiff file with wrong page sequence. 160 1612010-05-08 Olivier Paquet <[email protected]> 162 163 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 164 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 165 * libtiff/tif_dirinfo.c: Use correct set_field_type for 166 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 167 http://bugzilla.maptools.org/show_bug.cgi?id=2192 168 1692010-05-07 Frank Warmerdam <[email protected]> 170 171 * libtiff/tif_jpeg.c: Ensure that quality is always set in 172 JPEGPreEncode(), not just when we want to output local tables. 173 Otherwise the quality used during compression may not be right and 174 might not match the tables in the tables tag. This bug only occurs 175 when seeking between directories in the midst of writing blocks. 176 http://trac.osgeo.org/gdal/ticket/3539 177 1782010-05-06 Andrey Kiselev <[email protected]> 179 180 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 181 Regenerated from the source. 182 1832010-05-05 Olivier Paquet <[email protected]> 184 185 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 186 had stopped working. Also made it always print 6 floats instead of 187 2*SamplesPerPixel. 188 http://bugzilla.maptools.org/show_bug.cgi?id=2191 189 http://bugzilla.maptools.org/show_bug.cgi?id=2186 190 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 191 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 192 1932010-05-05 Frank Warmerdam <[email protected]> 194 195 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 196 if the jpeg table was written. This is a fix for the last fix on 04-21. 197 1982010-04-21 Frank Warmerdam <[email protected]> 199 200 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 201 JPEGSetupEncode() is called if the tables already seem to be 202 established. This prevents spurious updates and rewriting of 203 directories with jpegtables when doing updates to existing images. 204 http://trac.osgeo.org/gdal/ticket/3539 205 2062010-04-20 Olivier Paquet <[email protected]> 207 208 * libtiff/tif_dirinfo.c: Use correct set_field_type for 209 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 210 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 211 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 212 http://bugzilla.maptools.org/show_bug.cgi?id=2139 213 2142010-04-10 Bob Friesenhahn <[email protected]> 215 216 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 217 when the tag count value is zero. Error handling is still a 218 regression since in 3.9.2, empty tags are skipped (with a warning) 219 rather than returning a hard error and refusing to read the file. 220 221 * tools/ppm2tiff.c (main): While case for parsing comment line 222 requires extra parenthesis to work as expected. Reported by 223 Thomas Sinclair. 224 2252010-04-02 Frank Warmerdam <[email protected]> 226 227 * libtiff/tif_read.c (primarily): Add support for 228 CHUNKY_STRIP_READ_SUPPORT where large strips are 229 read in chunks for applications using TIFFReadScanline(). 230 This is intended to make it more practical work with very 231 large compressed one-strip files. Feature is off by default. 232 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 233 http://trac.osgeo.org/gdal/ticket/3514 234 2352010-03-31 Frank Warmerdam <[email protected]> 236 237 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 238 directories so previously placed directories will be migrated to 239 the end of file if needed. 240 2412010-03-30 Frank Warmerdam <[email protected]> 242 243 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 244 to support operating on strips/tiles of more than 256MB. 245 http://trac.osgeo.org/gdal/ticket/3512 246 2472010-03-10 Bob Friesenhahn <[email protected]> 248 249 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 250 that it is clearly a memory allocation error message, and also 251 includes the size of the allocation request. 252 2532010-02-22 Lee Howard <[email protected]> 254 255 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 256 the JPEG TIFF as is is not required in order to prevent it from 257 being unused and filled with invalid data. (Leave it to be 258 generated by later activity.) 259 http://bugzilla.maptools.org/show_bug.cgi?id=2135 260 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 261 data rather than skipping them. This fixes the ability to view in 262 Acrobat Reader, Evince, and Ghostscript. 263 http://bugzilla.maptools.org/show_bug.cgi?id=2135 264 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 265 strips. 266 http://bugzilla.maptools.org/show_bug.cgi?id=2029 267 2682009-12-03 Frank Warmerdam <[email protected]> 269 270 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 271 Made so that when working with downsampled images a stub function 272 reporting an error is used for tif_decoderow. We cannot meaningfully 273 support reading scanlines in this situation. (#1936) 274 275 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 276 resetting of the upsampling values (gdal:#3259). 277 http://bugzilla.maptools.org/show_bug.cgi?id=1936 278 2792009-11-30 Frank Warmerdam <[email protected]> 280 281 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 282 tools/ras2tiff.c: Fix resource leaks on error. 283 http://bugzilla.maptools.org/show_bug.cgi?id=2121 284 285 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 286 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 287 of as a custom(generic) field to avoid a potential reentrancy problem. 288 http://bugzilla.maptools.org/show_bug.cgi?id=2125 289 290 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 291 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 292 const, and display_sRGB static and const. 293 http://bugzilla.maptools.org/show_bug.cgi?id=2124 294 2952009-11-04 Bob Friesenhahn <[email protected]> 296 297 * libtiff 4.0.0alpha5 released. 298 2992009-11-03 Bob Friesenhahn <[email protected]> 300 301 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 302 version has undergone substantial testing with arbitrary sample 303 bit depths. Also eliminates GCC compilation warnings. 304 3052009-11-02 Bob Friesenhahn <[email protected]> 306 307 * port/libport.h: Add extern declarations for getopt standard 308 globals. 309 3102009-10-31 Bob Friesenhahn <[email protected]> 311 312 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 313 noticed in 64-bit build of libtiff with Visual Studio 2005. 314 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 315 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 316 317 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 318 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 319 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 320 http://bugzilla.maptools.org/show_bug.cgi?id=2068 321 3222009-10-29 Bob Friesenhahn <[email protected]> 323 324 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 325 pointer" warnings. 326 3272009-10-28 Bob Friesenhahn <[email protected]> 328 329 * html/tools.html: Add manual page links, and a summary 330 description of tiffcrop. 331 3322009-10-07 Bob Friesenhahn <[email protected]> 333 334 * configure.ac: x86_64 should use the same fill order as i386. 335 3362009-09-24 Bob Friesenhahn <[email protected]> 337 338 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 339 Nolde. Major updates to add significant functionality for reading 340 and writing tile based images with bit depths not a multiple of 8 341 which cannot be handled by tiffcp. 342 3432009-09-03 Bob Friesenhahn <[email protected]> 344 345 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 346 do_fancy_upsampling=FALSE in order to read raw data. Resolves 347 "Bug 2090 - OJPEG crash with libjpeg v7". 348 http://bugzilla.maptools.org/show_bug.cgi?id=2090 349 3502009-09-03 Frank Warmerdam <[email protected]> 351 352 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 353 interface when stoponerror is set. 354 http://bugzilla.maptools.org/show_bug.cgi?id=2071 355 3562009-08-30 Bob Friesenhahn <[email protected]> 357 358 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 359 fix build with gcc when using the "-Wformat 360 -Werror=format-security" flags. 361 3622009-08-29 Bob Friesenhahn <[email protected]> 363 364 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 365 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 366 utilities tests. 367 3682009-08-28 Bob Friesenhahn <[email protected]> 369 370 * tools/tiffinfo.c: tiffinfo should return error status to the 371 caller. Register a private error callback to accomplish that. 372 373 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 374 PNM formats so that we will be able to test more of the tools. 375 While adding these test images I notice that bmp2tiff and gif2tiff 376 only support ancient versions of their respective formats. 377 3782009-08-27 Bob Friesenhahn <[email protected]> 379 380 * libtiff 4.0.0alpha4 released. 381 382 * HOWTO-RELEASE: Improved release instructions. 383 3842009-08-24 Bob Friesenhahn <[email protected]> 385 386 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 387 fixes for "Bug 2023 - nroff errors in manual pages". 388 http://bugzilla.maptools.org/show_bug.cgi?id=2023 389 390 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 391 CVE-2009-2347 libtiff: integer overflows in various inter-color 392 space conversion tools". 393 http://bugzilla.maptools.org/show_bug.cgi?id=2079 394 395 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 396 Berkenbilt for "Bug 2024 - possible null pointer dereference with 397 one-line fix". 398 http://bugzilla.maptools.org/show_bug.cgi?id=2024 399 400 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 401 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 402 segfault after setting tdir_tag = IGNORE". 403 http://bugzilla.maptools.org/show_bug.cgi?id=1895 404 4052009-08-23 Bob Friesenhahn <[email protected]> 406 407 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 408 tiffcrop.sh into a collection of many specific tests. Re-wrote 409 all of the existing tests to be based on some simple shell 410 functions. Make distcheck works again. 411 412 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 413 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 414 tests under valgrind. 415 4162009-08-21 Bob Friesenhahn <[email protected]> 417 418 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 419 build. 420 421 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 422 actually activated since it needed to be enabled in this 423 Makefile.am. Also activated parallel-tests mode since it offers 424 useful features such as per-test .log files and a summary test 425 report .log file. 426 4272009-08-20 Bob Friesenhahn <[email protected]> 428 429 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 430 libtool 2.2.6. Enabled support for silent build rules 431 (--enable-silent-rules or 'make V=0') and colorized tests. 432 433 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 434 4352009-06-30 Frank Warmerdam <[email protected]> 436 437 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 438 439 * tools/tiffcp.c: add -c sgilog support. 440 441 * libtiff/tif_luv.c: correct return codes from encoderow to be 442 1 on success instead of zero. 443 http://bugzilla.maptools.org/show_bug.cgi?id=2069 444 445 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 446 #1085 for a better underflow fix that errors properly. 447 http://bugzilla.maptools.org/show_bug.cgi?id=2065 448 http://bugzilla.maptools.org/show_bug.cgi?id=1985 449 4502009-06-26 Frank Warmerdam <[email protected]> 451 452 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 453 fails on oddly sized 12bit jpeg compressed ycbcr images. 454 4552009-06-22 Frank Warmerdam <[email protected]> 456 457 * libtiff/tif_lzw.c: Fix buffer underflow bug. 458 http://bugzilla.maptools.org/show_bug.cgi?id=2065 459 4602009-06-21 Frank Warmerdam <[email protected]> 461 462 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 463 for dual mode 8/12 bit jpeg support. 464 4652009-06-03 Frank Warmerdam <[email protected]> 466 467 * libtiff/tif_write.c: do not override the planar configuration to be 468 contig for one sample files if planar configuration is already set. 469 http://bugzilla.maptools.org/show_bug.cgi?id=2057 470 4712009-06-02 Frank Warmerdam <[email protected]> 472 473 * libtiff/libtiff.def: Add TIFFUnsetField. 474 4752009-05-03 Frank Warmerdam <[email protected]> 476 477 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 478 error reports to use "%s" as format string. 479 http://trac.osgeo.org/gdal/ticket/2976 480 4812009-03-12 Frank Warmerdam <[email protected]> 482 483 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 484 for some codecs (#2020). 485 4862009-02-12 Frank Warmerdam <[email protected]> 487 488 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 489 http://bugzilla.maptools.org/show_bug.cgi?id=2005 490 4912009-02-09 Frank Warmerdam <[email protected]> 492 493 * libtiff/tif_dirread.c: Improve allocation safety when allocated 494 buffer for large tags. (#1998) Related to (#1993) 495 4962009-02-06 Frank Warmerdam <[email protected]> 497 498 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 499 test suite should pass. 500 5012009-02-05 Frank Warmerdam <[email protected]> 502 503 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 504 but at the 2GB boundary to avoid overflow on 32bit systems. 505 http://bugzilla.maptools.org/show_bug.cgi?id=1993 506 507 * libtiff/tif_dirread.c: Remove some assertions that blow due to 508 corrupt files rather than in response to library internal 509 inconsistencies. 510 http://bugzilla.maptools.org/show_bug.cgi?id=1995 511 http://bugzilla.maptools.org/show_bug.cgi?id=1991 512 513 * libtiff/tif_dirread.c: Fixed testing for failed result from 514 TIFFReadDirectoryFindFieldInfo(). 515 http://bugzilla.maptools.org/show_bug.cgi?id=1992 516 5172009-01-23 Frank Warmerdam <[email protected]> 518 519 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 520 http://bugzilla.maptools.org/show_bug.cgi?id=1911 521 522 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 523 524 http://bugzilla.maptools.org/show_bug.cgi?id=1924 525 526 * tools/tiffcrop.c: initialize xres/yres values. 527 528 * test/*.sh - default ${srcdir} to local directory. 529 530 * test/common.sh - start verbose mode after common settings. 531 532 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 533 avoid type mismatches on different platforms. 534 http://bugzilla.maptools.org/show_bug.cgi?id=1889 535 5362009-01-22 Frank Warmerdam <[email protected]> 537 538 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 539 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 540 541 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 542 defined, primarily to reduce prototype warnings on windows. 543 544 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 545 about unused parameters, and uninitialized variables. 546 5472009-01-21 Bob Friesenhahn <[email protected]> 548 549 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 550 order to trace full execution detail while executing the test suite. 551 5522009-01-20 Frank Warmerdam <[email protected]> 553 554 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 555 5562009-01-20 Bob Friesenhahn <[email protected]> 557 558 * test/Makefile.am (CLEANFILES): Make sure that test output files 559 are removed by 'make clean' 560 561 * Update autotools for 4.0.0 beta3 562 563 * 4.0.0 beta3 produced. 564 5652009-01-12 Bob Friesenhahn <[email protected]> 566 567 * test/tiffcrop.sh: New test script for tiffcrop from Richard 568 Nolde. 569 570 * tools/tiff2ps.c: Remove spurious message to stderr. 571 5722009-01-11 Bob Friesenhahn <[email protected]> 573 574 * tools/tiff2ps.c: Incorporated significant functionality update 575 from Richard Nolde. In particular, support for rotating the image 576 by 90, 180, 270, and 'auto' has been added. 577 578 * man/tiffcrop.1: Incorporated documentation updates from Richard 579 Nolde. 580 581 * tools/tiffcrop.c: Incorporated significant functionality update 582 from Richard Nolde. 583 5842008-12-31 Bob Friesenhahn <[email protected]> 585 586 * libtiff/tiffio.h: GCC will now validate format specifications 587 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 588 TIFFWarningExt() in order to reveal bugs. 589 590 * Many fixes throughout to work better as a 64-bit build. 591 5922008-12-30 Bob Friesenhahn <[email protected]> 593 594 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 595 tags now require 64-bit parameter rather than 32-bit. 596 597 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 598 64-bit values. 599 600 * tools/thumbnail.c: Eliminate crash noticed while running test 601 suite. 602 6032008-12-29 Bob Friesenhahn <[email protected]> 604 605 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 606 Initialize stack variables to avoid compiler warning. 607 608 * tools/tiffinfoce.c (main): Use toff_t for offset type when 609 retrieving offset of EXIF IFD. 610 611 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 612 TIFFClientOpen() callback and other external function definitions. 613 614 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 615 type now. Fixes crash when dumping files containing an EXIF IFD. 616 617 * m4/libtool.m4: Update to libtool 2.2.6. 618 6192008-12-21 Frank Warmerdam <[email protected]> 620 621 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 622 623 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 624 strip for the last partial strip in a jpeg compressed file. 625 http://bugzilla.maptools.org/show_bug.cgi?id=1981 626 6272008-10-29 Frank Warmerdam <[email protected]> 628 629 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 630 we take the shortcut to only update the strip/tile offsets in place. 631 http://trac.osgeo.org/gdal/ticket/2621 632 6332008-10-21 Andrey Kiselev <[email protected]> 634 635 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 636 the older versions retained). 637 6382008-10-09 Frank Warmerdam <[email protected]> 639 640 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 641 IPP enabled version of libjpeg from Intel. 642 http://bugzilla.maptools.org/show_bug.cgi?id=1951 643 6442008-09-05 Andrey Kiselev <[email protected]> 645 646 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 647 Required for libtiff 4.0. 648 649 * tools/tiffsplit.c: Use dynamically allocated array instead of static 650 when constructing output file names. 651 6522008-09-03 Andrey Kiselev <[email protected]> 653 654 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 655 doing the filename/path construction. 656 657 * tools/tiff2pdf.c: More appropriate format string in 658 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 659 660 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 661 662 http://bugzilla.maptools.org/show_bug.cgi?id=1929 663 664 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 665 CVE-2008-2327 security issue. 666 6672008-09-01 Frank Warmerdam <[email protected]> 668 669 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 670 671 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 672 depending on whether the file is bigtiff or classic tiff. 673 http://bugzilla.maptools.org/show_bug.cgi?id=1917 674 6752008-08-12 Edward Lam <[email protected]> 676 677 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 678 consistent (__int64) casting when testing if _lseeki64 has 679 successfully seeked as requested. This is necessary for large 680 file support to work since off_t is only 32-bit. 681 6822008-07-29 Frank Warmerdam <[email protected]> 683 684 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 685 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 686 with control logic to return runtime errors (c/o Even Rouault) (#1927). 687 6882008-06-17 Frank Warmerdam <[email protected]> 689 690 * tools/tiffcrop.c: Fix some portability problems. 691 692 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 693 used in tif_jpeg.c. 694 695 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 696 as TIFFOpen(). 697 6982008-06-01 Frank Warmerdam <[email protected]> 699 700 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 701 like Sparc/Solaris. 702 http://bugzilla.maptools.org/show_bug.cgi?id=1892 703 7042008-05-27 Frank Warmerdam <[email protected]> 705 706 * libtiff.def: Add TIFFFindField 707 http://bugzilla.maptools.org/show_bug.cgi?id=1891 708 7092008-05-26 Frank Warmerdam <[email protected]> 710 711 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 712 713 * li2008-04-15 Andrey Kiselev <[email protected]> 714 715btiff/tif_win32.c: Replace custom Win32 memory api with generic 716 POSIX one. No apparent value to use of GlobalAlloc() in the modern 717 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 718 719 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 720 in windows version (care of Edward Lam). 721 7222008-05-24 Frank Warmerdam <[email protected]> 723 724 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 725 compression codec codes. 726 727 * tif_dirwrite.c: fix potential memory leak. 728 729 * tif_dirread.c: Fix unchecked malloc result. 730 7312008-05-24 Bob Friesenhahn <[email protected]> 732 733 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 734 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 735 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 736 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 737 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 738 suggestions from Lee Howard posted to the tiff list on 13 Sep 739 2007. 740 7412008-05-23 Frank Warmerdam <[email protected]> 742 743 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 744 possible runtime problem reported by coverity. 745 746 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 747 748 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 749 http://bugzilla.maptools.org/show_bug.cgi?id=1888 750 751 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 752 753 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 754 755 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 756 Cleanup scanline allocation to avoid coverity warning. 757 758 * tools/thumbnail.c: Check for TIFFOpen() failure. 759 7602008-05-18 Frank Warmerdam <[email protected]> 761 762 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 763 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 764 why this is needed. 765 7662008-05-09 Bob Friesenhahn <[email protected]> 767 768 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 769 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 770 7712008-04-15 Andrey Kiselev <[email protected]> 772 773 * test/: Test suite updated. Everything is passed now. 774 775 * libtiff/tif_dirinfo.c: Fixed description of the 776 TIFFTAG_NUMBEROFINKS tag. 777 7782008-04-14 Andrey Kiselev <[email protected]> 779 780 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 781 Get rid of some of "dereferencing type-punned" warnings by converting 782 tdir_offset field of TIFFDirEntry structure into union. 783 7842008-04-10 Andrey Kiselev <[email protected]> 785 786 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 787 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 788 from the public interface. Type of its 'count' parameter changed 789 from uint32 to tmsize_t. 790 791 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 792 of the tiff structure have the size_t type instead of uint32. 793 7942008-04-09 Andrey Kiselev <[email protected]> 795 796 * tools/tiffdump.c: Added support for MSVS 6.0. 797 798 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 799 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 800 point values on MSVS 6.0 platform. 801 8022008-03-14 Frank Warmerdam <[email protected]> 803 804 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 805 TIFFReadDirEntryArray() since they are interfering with seemingly 806 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 807 8082008-02-09 Joris Van Damme <[email protected]> 809 810 * tif_dirread.c: Added handling for the case of number of values for 811 PageNumber tag different from 2 (previously resulted in an assert 812 indicating lack of handling and was forgotten about) 813 8142008-02-01 Frank Warmerdam <[email protected]> 815 816 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 817 the actual jpeg data stream if the first strip/tile has zero size. 818 This is the case when GDAL creates a new file with zero sizes, closes 819 and reopens it. 820 8212008-01-07 Frank Warmerdam <[email protected]> 822 823 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 824 8252008-01-01 Frank Warmerdam <[email protected]> 826 827 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 828 829 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 830 targets. 831 832 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 833 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 834 (x64). 835 836 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 837 and TIFFFieldWithName() now return TIFFField pointers instead of 838 TIFFFieldInfo pointers. 839 840 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 841 exist. This makes it compile again on Windows 842 843 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 844 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 845 846 * test/rewrite_tag.c: New test for TIFFRewriteField(). 847 8482007-12-31 Frank Warmerdam <[email protected]> 849 850 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 851 rewrites one field "on disk" updating an existing directory 852 entry. Lots of limitations still... 853 854 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 855 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 856 the strip offset/size values are dirty but nothing else about the 857 directory is dirty. In flush handle "just stripmaps dirty" as a 858 special case that just rewrites these values without otherwise 859 modifying the directory on disk using TIFFRewriteField(). 860 861 We also modify logic so that in update mode the directory is not 862 marked dirty on read, but only when something is changed. This 863 means we need to keep track of updates to the stripmap stuff in 864 TIFFAppendToStrip(). 865 8662007-12-10 Frank Warmerdam <[email protected]> 867 868 * tif_jpeg.c: Improve ability to switch between encoding and decoding 869 in the jpeg code (gdal bug #2033). 870 8712007-11-23 Frank Warmerdam <[email protected]> 872 873 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 874 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 875 rawcp/rawcc buffer are for writing and thus may require flushing. 876 Necessary to distinguish whether they need to be written to disk when 877 in mixed read/write mode and doing a mixture of writing followed by 878 reading. http://trac.osgeo.org/gdal/ticket/1758 879 8802007-11-23 Andrey Kiselev <[email protected]> 881 882 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 883 from Alexey Chupahin. 884 8852007-11-02 Frank Warmerdam <[email protected]> 886 887 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 888 establishing if an existing tile can be rewritten to the same location 889 by comparing the current size to all the other blocks in the same 890 directory. This is dangerous in many situations and can easily 891 corrupt a file. (observed in esoteric GDAL situation that's hard to 892 document). This change involves leaving the stripbytecount[] values 893 unaltered till TIFFAppendToStrip(). Now we only write a block back 894 to the same location it used to be at if the new data is the same 895 size or smaller - otherwise we move it to the end of file. 896 897 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 898 data when writing the directory just because we have BEENWRITING at 899 some point in the past. This was causing odd junk to be written out 900 in a tile of data when a single tile had an interleaving of reading 901 and writing with reading last. (highlighted by gdal 902 autotest/gcore/tif_write.py test 7. 903 904 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 905 modifying callers buffer. 906 http://trac.osgeo.org/gdal/ticket/1965 907 908 * tif_predict.c/h: more fixes related to last item, keeping a 909 distinct pfunc for encode and decode cases as these were getting 910 mixed up sometimes. 911 http://trac.osgeo.org/gdal/ticket/1948 912 9132007-11-01 Frank Warmerdam <[email protected]> 914 915 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 916 predictor based encoding and decoding works in read-write update 917 mode properly. 918 http://trac.osgeo.org/gdal/ticket/1948 919 9202007-10-24 Joris Van Damme <[email protected]> 921 922 * tif_dirread.c: Fixed problem with bogus file triggering 923 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 924 ChopUpSingleUncompressedStrip 925 9262007-10-22 Joris Van Damme <[email protected]> 927 928 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 929 at best, access violation at worst, when subsampled JPEG compressed imagery 930 is decoded without the JPEG_COLORMODE feature 931 9322007-10-11 Frank Warmerdam <[email protected]> 933 934 * html/index.html: Update "people responsible" section. 935 9362007-10-05 Frank Warmerdam <[email protected]> 937 938 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 939 as reported on the mailing list. 940 9412007-10-01 Joris Van Damme <[email protected]> 942 943 * changed some more incorrect %lud printf flags to %lu 944 9452007-09-29 Joris Van Damme <[email protected]> 946 947 * tif_dirread.c: Strip chopping interfered badly with uncompressed 948 subsampled images because it tried to divide subsampled rowblocks, 949 leading to all sorts of errors throughout the library for these 950 images. Fixed by making strip chopping divide in row counts that 951 are a multiple of vertical subsampling value. 952 9532007-09-28 Joris Van Damme <[email protected]> 954 955 * tif_dirread.c: Logical cast working around compiler warning 956 957 * tif_read.c: Correction of some error flags and parameter lists 958 9592007-09-27 Joris Van Damme <[email protected]> 960 961 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 962 when dealing with large bitspersample values, shutting up purification 963 tools that warn about truncation, though it remains incorrect and 964 indicates a conceptual problem there. 965 966 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 967 of first IFD) to proper place because it badly interfered with memory 968 mapping, resulting in mapping flag even with dummy mapping functions 969 that returned 0 whilst at the same time the mapping tif_size wasn't 970 set, thus resulting in continuous incorrect beyond-eof errors. 971 9722007-09-24 Joris Van Damme <[email protected]> 973 974 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 975 inconsistent use of const in tiffFields and exifFields definition 976 9772007-09-20 Frank Warmerdam <[email protected]> 978 979 * tif_dirwrite.c: Always write tile/strip offsets and sizes 980 using LONG8 type when output format is BigTIFF. The 981 TIFFWriteDirectoryTagLongLong8Array() function was restructured 982 accordingly. 983 984 * tif_dirread.c: Improvements to error reporting text in 985 TIFFFetchDirectory(). 986 9872007-09-19 Bob Friesenhahn <[email protected]> 988 989 * test/images: Added a small collection of test images for use by 990 test programs and scripts. 991 * test/tiffinfo.sh: A trivial example test script. 992 * test/common.sh: Added small script for setting the environment 993 used by script-based tests. 994 9952007-08-24 Frank Warmerdam <[email protected]> 996 997 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 998 zero when writing directory contents to preserve the ability to 999 rewrite directories in place, even in the middle of a directory 1000 chain. 1001 1002 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 1003 definitions that are missing. Existing definitions are silently 1004 ignored. 1005 1006 * tif_dirread.c: Add runtime error for fields for which no definition 1007 is found (in addition to an assert for developers) in 1008 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 1009 prudent. 1010 10112007-08-10 Joris Van Damme <[email protected]> 1012 1013 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 1014 from _TIFFRGBAImage structure to revert unwanted ABI change. 1015 10162007-08-10 Joris Van Damme <[email protected]> 1017 1018 * libtiff/tif_win32.c: use SetFilePointer instead of 1019 SetFilePointerEx, as per bug 1020 1021 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 1022 10232007-07-19 Andrey Kiselev <[email protected]> 1024 1025 * libtiff/tif_stream.cxx: Put all callback functions declarations 1026 inside extern "C" block. 1027 1028 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 1029 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 1030 formatter instead of "%lld" with MSVC compiler. 1031 1032 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 1033 _TIFFUInt64ToDouble() functions. 1034 10352007-07-18 Andrey Kiselev <[email protected]> 1036 1037 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 1038 integer constants. 1039 1040 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 1041 remove tif_config.h/tiffconf.h during cleaning. As per bug 1042 1043 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 1044 1045 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 1046 1047 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 1048 10492007-07-13 Andrey Kiselev <[email protected]> 1050 1051 * libtiff 4.0.0alpha released. 1052 10532007-07-12 Andrey Kiselev <[email protected]> 1054 1055 * tools/tiff2pdf.c: Added missed extern optind as per bug 1056 1057 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 1058 1059 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 1060 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 1061 extending scheme completed. 1062 10632007-07-11 Bob Friesenhahn <[email protected]> 1064 1065 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 1066 use standard C++ library size types and attempt to detect overflow 1067 cases. 1068 10692007-07-08 Andrey Kiselev <[email protected]> 1070 1071 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 1072 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 1073 tag extending scheme. Use the new scheme everywhere. 1074 1075 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 1076 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 1077 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 1078 TIFFFIeldInfo structure replaced with TIFFField structure. 1079 TIFFFieldInfo retained for the backward compatibility. 1080 10812007-07-05 Bob Friesenhahn <[email protected]> 1082 1083 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 1084 defined. 1085 10862007-07-04 Andrey Kiselev <[email protected]> 1087 1088 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 1089 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 1090 removed. 1091 1092 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 1093 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 1094 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 1095 These tags are not codec-specific and relate to image content, so 1096 process them as other normal tags. 1097 1098 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 1099 public tiffio.h to private tif_dir.h. 1100 1101 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 1102 outdated. 1103 11042007-07-03 Andrey Kiselev <[email protected]> 1105 1106 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 1107 tif_win3.c}: Obsoleted portability stuff removed. 1108 1109 * tools/tiff2ps.c: Added support 16-bit images as per bug 1110 1111 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 1112 1113 Patch from William Bader. 1114 1115 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 1116 significant upgrade of the whole utility as per bug 1117 1118 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 1119 1120 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 1121 PDF file using TIFFClientOpen() machinery as it is implemented 1122 by Leon Bottou. 1123 11242007-06-26 Bob Friesenhahn <[email protected]> 1125 1126 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 1127 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 1128 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 1129 allow returning -1 for errors. 1130 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 1131 11322007-06-25 Bob Friesenhahn <[email protected]> 1133 1134 * port/strtoull.c: New porting function in case strtoull() is not 1135 available on the target system. 1136 * configure.ac: Add configure support for determining sized types 1137 in a portable way and performing necessary substitutions in 1138 tif_config.h and tiffconf.h. Updated tiff.h to use the new 1139 definitions. 1140 11412007-04-27 Andrey Kiselev <[email protected]> 1142 1143 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 1144 1145 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 1146 11472007-04-07 Andrey Kiselev <[email protected]> 1148 1149 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 1150 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 1151 tif_predict.c, tif_zip.c}: Finally fix bug 1152 1153 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 1154 1155 by introducing _TIFFMergeFieldInfo() returning integer error status 1156 instead of void in case of problems with field merging (e.g., if the 1157 field with such a tag already registered). TIFFMergeFieldInfo() in 1158 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 1159 check returned value. 1160 11612007-04-07 Frank Warmerdam <[email protected]> 1162 1163 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 1164 blocks in TIFF_DownSample_Subsampled() (bug 1542). 1165 11662007-04-06 Frank Warmerdam <[email protected]> 1167 1168 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 1169 will convert from decompressor to compressor or compress to decompress 1170 if required by the force arguments. This works around a problem in 1171 where the JPEGFixupTestSubsampling() may cause a decompressor to 1172 be setup on a directory when later a compressor is required with the 1173 force flag set. Occurs with the addtiffo program for instance. 1174 11752007-04-06 Andrey Kiselev <[email protected]> 1176 1177 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 1178 functionality from Richard Nolde. As per bug 1179 1180 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 1181 11822007-03-28 Frank Warmerdam <[email protected]> 1183 1184 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 1185 11862007-03-17 Joris Van Damme <[email protected]> 1187 1188 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 1189 11902007-03-07 Joris Van Damme <[email protected]> 1191 1192 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 1193 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 1194 factor. This bug is mentioned in: 1195 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 1196 http://www.asmail.be/msg0054766825.html 1197 11982007-03-07 Joris Van Damme <[email protected]> 1199 1200 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 1201 1202 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 1203 unused arguments by standard C indication for the same 1204 12052007-02-27 Andrey Kiselev <[email protected]> 1206 1207 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 1208 counters in TIFFFetchData(). Should finally fix the issue 1209 1210 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 1211 12122007-02-24 Andrey Kiselev <[email protected]> 1213 1214 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 1215 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 1216 1217 * libtiff/tif_dirread.c: Added special function to handle 1218 SubjectDistance EXIF tag as per bug 1219 1220 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 1221 1222 * tools/tiff2pdf.c: Do not assume inches when the resolution units 1223 do not specified. As per bug 1224 1225 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 1226 1227 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 1228 it was set as infinite. As per bug 1229 1230 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 1231 1232 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 1233 by Richard Nolde. As per bug 1234 1235 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 1236 12372007-02-22 Andrey Kiselev <[email protected]> 1238 1239 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 1240 ExtraSamples == 999 produced by Corel Draw. As per bug 1241 1242 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 1243 1244 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 1245 changed from tsize_t to uint32 to be able to work with data arrays 1246 larger than 2GB. Fixes bug 1247 1248 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 1249 1250 Idea submitted by Matt Hancher. 1251 12522007-01-31 Andrey Kiselev <[email protected]> 1253 1254 * tools/tif2rgba.c: This utility does not work properly on big-endian 1255 architectures. It was fixed including the bug 1256 1257 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 1258 12592007-01-15 Mateusz Loskot <[email protected]> 1260 1261 * Submitted libtiff port for Windows CE platform 1262 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 1263 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 1264 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 1265 functons from tif_win32.c. 1266 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 1267 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 1268 standard header files for Windows CE build. 1269 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 1270 12712006-11-19 Frank Warmerdam <[email protected]> 1272 1273 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 1274 we move a strip. 1275 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 1276 12772006-10-13 Andrey Kiselev <[email protected]> 1278 1279 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 1280 in Gentoo bug (): 1281 1282 http://bugs.gentoo.org/show_bug.cgi?id=142383 1283 1284 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 1285 Though it is still far from the state of being working and useful. 1286 12872006-10-12 Andrey Kiselev <[email protected]> 1288 1289 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 1290 method. 1291 1292 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 1293 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 1294 1295 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 1296 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 1297 1298 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 1299 vulnerabilities, reported in Gentoo bug (): 1300 1301 http://bugs.gentoo.org/show_bug.cgi?id=142383 1302 13032006-09-28 Andrey Kiselev <[email protected]> 1304 1305 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 1306 vulnerabilities, as per Gentoo bug (): 1307 1308 http://bugs.gentoo.org/show_bug.cgi?id=142383 1309 13102006-09-27 Frank Warmerdam <[email protected]> 1311 1312 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 1313 encoding and decoding on the same read-write TIFF handle. The LZW 1314 code can now maintain encode and decode state at the same time. The 1315 ZIP code will switch back and forth as needed. 1316 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 1317 13182006-09-20 Frank Warmerdam <[email protected]> 1319 1320 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 1321 tif_config.vc.h for easier identification by folks using an IDE. 1322 13232006-07-25 Frank Warmerdam <[email protected]> 1324 1325 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 1326 13272006-07-19 Frank Warmerdam <[email protected]> 1328 1329 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 1330 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 1331 to bug report by Peng Gao with black strip at bottom of images. 1332 13332006-07-12 Frank Warmerdam <[email protected]> 1334 1335 * tif_dirwrite.c: make sure to use uint32 for wordcount in 1336 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 1337 It already seems to have been done for other field types. Needed 1338 for "tiffset" on files with geotiff ascii text. 1339 13402006-07-04 Bob Friesenhahn <[email protected]> 1341 1342 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 1343 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 1344 its use does not appear to be required, so use it only when it is 1345 available. 1346 13472006-06-24 Andrey Kiselev <[email protected]> 1348 1349 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 1350 1351 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 1352 function TIFFFetchDirectory() avoiding code duplication in 1353 TIFFReadDirectory() and TIFFReadCustomDirectory(). 1354 13552006-06-19 Frank Warmerdam <[email protected]> 1356 1357 * tools/tiff2pdf.c: Fix handling of -q values. 1358 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 1359 13602006-06-17 Frank Warmerdam <[email protected]> 1361 1362 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 1363 files. Modified TIFFReadDirectory() to not invoke 1364 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 1365 but one of them is zero. 1366 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 1367 13682006-06-08 Andrey Kiselev <[email protected]> 1369 1370 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 1371 checking code in the separate function TIFFCheckDirOffset(). 1372 1373 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 1374 1375 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 1376 1377 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 1378 1379 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 1380 1381 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 1382 1383 * tools/tiff2pdf.c: Fixed buffer overflow condition in 1384 t2p_write_pdf_string() as per bug 1385 1386 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 1387 13882006-06-07 Andrey Kiselev <[email protected]> 1389 1390 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 1391 support for JBIG compression scheme (34661 code) contributed by Lee 1392 Howard. As per bug 1393 1394 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 1395 1396 * configure, configure.ac: OJPEG support enabled by default. 1397 1398 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 1399 14002006-06-03 Bob Friesenhahn <[email protected]> 1401 1402 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 1403 TIFFPrintDirectory(). Joris Van Damme authored the fix. 1404 14052006-04-21 Andrey Kiselev <[email protected]> 1406 1407 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 1408 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 1409 1410 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 1411 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 1412 Added support for OpenVMS by Alexey Chupahin, [email protected]. 1413 14142006-04-20 Andrey Kiselev <[email protected]> 1415 1416 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 1417 Properly set the binary mode for stdin stream as per bug 1418 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 1419 1420 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 1421 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 1422 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 1423 tiffset.1}: Improvements in page formatting as per bug 1424 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 1425 1426 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 1427 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 1428 14292006-04-18 Frank Warmerdam <[email protected]> 1430 1431 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 1432 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 1433 14342006-04-12 Joris Van Damme <[email protected]> 1435 1436 * libtiff/tif_getimage.c: Added support for planarconfig separate 1437 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 1438 14392006-04-11 Joris Van Damme <[email protected]> 1440 1441 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 1442 - Conversion of unassociated alpha to associated alpha now done with 1443 more performant LUT, and calculation more correct 1444 - Conversion of 16bit data to 8bit data now done with 1445 more performant LUT, and calculation more correct 1446 - Bugfix of handling of 16bit RGB with unassociated alpha 1447 14482006-04-11 Joris Van Damme <[email protected]> 1449 1450 * libtiff/tif_getimage.c: 1451 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 1452 buffer for alpha strile and filled it, only to never read it back. 1453 Removed allocation and fill. 1454 - Minor rename of vars in gtTileSeparate and gtStripSeparate 1455 anticipating planned functionality extension 1456 14572006-04-08 Joris Van Damme <[email protected]> 1458 1459 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 1460 and pickTileSeparateCase to PickSeparateCase as both work on strips as 1461 well 1462 1463 * libtiff/tif_getimage.c: moved img->get selection from 1464 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 1465 logical hook for planned functionality extension 1466 14672006-04-08 Joris Van Damme <[email protected]> 1468 1469 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 1470 of inappropriate use of jpeg_abort instead of jpeg_destroy 1471 14722006-04-07 Joris Van Damme <[email protected]> 1473 1474 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 1475 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 1476 on subsampled images - this ought to get sorted when we feel brave 1477 enough to replace TIFFScanlineSize alltogether 1478 1479 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 1480 14812006-04-04 Joris Van Damme <[email protected]> 1482 1483 * libtiff/tiffio.h: added new type tstrile_t 1484 1485 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 1486 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 1487 toff_t* 1488 1489 * libtiff/tif_ojpeg.c: totally new implementation 1490 1491 * libtiff/tif_dirread.c: added several hacks to suit new support of 1492 OJPEG 1493 1494 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 1495 of OJPEG images in favor of tif_getimage.c native handling of 1496 YCbCr and desubsampling 1497 14982006-03-29 Frank Warmerdam <[email protected]> 1499 1500 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 1501 interpretation causes the "upsampled" flag to be recomputed. Fixes 1502 peculiar bug where photometric flag had to be set before jpegcolormode 1503 flag. 1504 15052006-03-25 Joris Van Damme <[email protected]> 1506 1507 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 1508 1509 * libtiff/tif_strip.c: temporarilly added two new versions of 1510 TIFFScanlineSize 1511 - TIFFNewScanlineSize: proposed new version, after all related 1512 issues and side-effects are sorted out 1513 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 1514 This needs further sorting out. 1515 15162006-03-25 Joris Van Damme <[email protected]> 1517 1518 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 1519 of last truncated strip data to TIFFWriteEncodedStrip 1520 15212006-03-25 Joris Van Damme <[email protected]> 1522 1523 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 1524 15252006-03-25 Joris Van Damme <[email protected]> 1526 1527 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 1528 1529 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 1530 1531 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 1532 prepare the path for new tif_ojpeg.c 1533 15342006-03-23 Andrey Kiselev <[email protected]> 1535 1536 * libtiff 3.8.2 released. 1537 1538 * tools/Makefile.am: Use runtime paths linker flags when rpath 1539 option enabled. 1540 15412006-03-21 Andrey Kiselev <[email protected]> 1542 1543 * libtiff/libtiff.def: Added missed exports as per bug 1544 http://bugzilla.remotesensing.org/attachment.cgi?id=337 1545 1546 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 1547 tools/Makefile.vc: Makefiles improvements as per bug 1548 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 1549 1550 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 1551 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 1552 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 1553 1554 * libtiff/tif_strip.c: Take subsampling in account when calculating 1555 TIFFScanlineSize(). 1556 1557 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 1558 15592006-03-17 Andrey Kiselev <[email protected]> 1560 1561 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 1562 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 1563 1564 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 1565 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 1566 15672006-03-16 Andrey Kiselev <[email protected]> 1568 1569 * libtiff/tiffiop.h: Added decalration for 1570 _TIFFSetDefaultCompressionState(). 1571 1572 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 1573 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 1574 codec cleanup methods. As per bug 1575 1576 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 1577 15782006-03-15 Andrey Kiselev <[email protected]> 1579 1580 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 1581 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 1582 1583 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 1584 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 1585 1586 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 1587 removed; move here the STRIP_SIZE_DEFAULT macro definition. 1588 1589 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 1590 macro definition. 1591 1592 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 1593 15942006-03-14 Andrey Kiselev <[email protected]> 1595 1596 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 1597 in TIFFReadDirectory, because it is always set at the start of 1598 function and we allow TIFFs without that tag set. 1599 16002005-03-13 Andrey Kiselev <[email protected]> 1601 1602 * libtiff 3.8.1 released. 1603 16042006-03-07 Andrey Kiselev <[email protected]> 1605 1606 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 1607 function as per bug 1608 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1609 1610 * libtiff/tif_dirread.c: More wise check for integer overflow 1611 condition as per bug 1612 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1613 1614 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 1615 Properly restore setfield/getfield methods in cleanup functions. As 1616 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1617 16182006-03-03 Andrey Kiselev <[email protected]> 1619 1620 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 1621 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 1622 1623 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 1624 TIFFPredictorCleanup() in codec cleanup methods. As per bug 1625 1626 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1627 1628 * libtiff/tif_dirread.c: Fixed integer overflow condition in 1629 TIFFFetchData() function. As per bug 1630 1631 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1632 16332006-03-01 Andrey Kiselev <[email protected]> 1634 1635 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 1636 TIFFSetField() method, not directly. As per bug 1637 1638 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 1639 1640 * tools/ppm2tiff.c: Added support for PBM files as per bug 1641 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 1642 16432006-02-27 Andrey Kiselev <[email protected]> 1644 1645 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 1646 to avoid crash as per bug 1647 1648 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 1649 16502006-02-26 Andrey Kiselev <[email protected]> 1651 1652 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 1653 t2p_sample_rgba_to_rgb() was used in place of each other, that was 1654 resulted in problems with RGBA images with associated alpha. 1655 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 1656 16572006-02-23 Andrey Kiselev <[email protected]> 1658 1659 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 1660 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 1661 1662 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 1663 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 1664 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 1665 1666 * tools/tiff2ps.c: Properly scale all the pages when converting 1667 multipage TIFF with /width/height/center options set. As per bug 1668 1669 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 1670 16712006-02-15 Andrey Kiselev <[email protected]> 1672 1673 * tools/tiff2pdf.c: Do not create output file until all option checks 1674 will be done. As per bug 1675 1676 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 1677 1678 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 1679 list of input files as per bug: 1680 1681 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 1682 16832006-02-09 Andrey Kiselev <[email protected]> 1684 1685 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 1686 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 1687 1688 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 1689 TIFFRGBAImage interface. 1690 1691 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 1692 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 1693 16942006-02-07 Frank Warmerdam <[email protected]> 1695 1696 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 1697 compressed TIFF files, per submission from Dan Cobra. 1698 16992006-02-07 Andrey Kiselev <[email protected]> 1700 1701 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 1702 cast values to avoid warnings. As per bug 1703 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 1704 1705 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 1706 appropriate. As per bug 1707 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 1708 1709 * libtiff/tif_aux.c: Fixed type of temporary variable in 1710 _TIFFCheckMalloc() as per bug 1711 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 1712 17132006-02-06 Andrey Kiselev <[email protected]> 1714 1715 * libtiff/tif_aux.c: Return static array when fetching default 1716 YCbCrCoefficients (another problem, reported a the 1717 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 1718 17192006-02-03 Andrey Kiselev <[email protected]> 1720 1721 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 1722 YCbCrSubsampling and DotRange tags as per bugs 1723 1724 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 1725 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 1726 1727 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 1728 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 1729 1730 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 1731 17322006-01-23 Andrey Kiselev <[email protected]> 1733 1734 * libtool related stuff updated from the 2.1a branch. 1735 17362006-01-11 Frank Warmerdam <[email protected]> 1737 1738 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 1739 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 1740 properly as per bug: 1741 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 1742 17432006-01-09 Bob Friesenhahn <[email protected]> 1744 1745 * configure.ac: Fix with_default_strip_size comparison as reported 1746 by Norihiko Murase. 1747 17482006-01-08 Bob Friesenhahn <[email protected]> 1749 1750 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 1751 incorrectly, tests were not actually testing the uninstalled 1752 libtiff. Now they are. 1753 17542006-01-04 Andrey Kiselev <[email protected]> 1755 1756 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 1757 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 1758 should be uint32 value. 1759 17602006-01-02 Bob Friesenhahn <[email protected]> 1761 1762 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 1763 be used if build directory is not the same as source directory. 1764 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 1765 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 1766 and re-sorted tag names in alphabetical order. 1767 17682005-12-29 Andrey Kiselev <[email protected]> 1769 1770 * libtiff 3.8.0 released. 1771 17722005-12-28 Bob Friesenhahn <[email protected]> 1773 1774 * tools/bmp2tiff.c (main): Fixed warning regarding returning 1775 inconsistent types from a condition. 1776 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 1777 format. 1778 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 1779 17802005-12-28 Joris Van Damme <[email protected]> 1781 1782 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 1783 17842005-12-27 Andrey Kiselev <[email protected]> 1785 1786 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 1787 windows.h, to reduce the compile time. 1788 17892005-12-26 Bob Friesenhahn <[email protected]> 1790 1791 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 1792 17932005-12-26 Andrey Kiselev <[email protected]> 1794 1795 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 1796 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 1797 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 1798 private functions to retrieve FieldInfo arrays. 1799 18002005-12-24 Bob Friesenhahn <[email protected]> 1801 1802 * html/build.html: Added some additional instructions for when 1803 building using MSVC under Windows. Also fixed two HTML syntax 1804 errors and used HTML Tidy to tidy up the HTML syntax and 1805 formatting. 1806 18072005-12-24 Andrey Kiselev <[email protected]> 1808 1809 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 1810 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 1811 StoNits tags custom. 1812 18132005-12-23 Andrey Kiselev <[email protected]> 1814 1815 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 1816 WhitePoint tag custom. 1817 1818 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 1819 18202005-12-23 Joris Van Damme <[email protected]> 1821 1822 * libtiff/tiffio.h: fixed typo that potentially resulted in 1823 redefininition of USE_WIN32_FILEIO 1824 1825 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 1826 calls in core LibTiff. 1827 18282005-12-21 Andrey Kiselev <[email protected]> 1829 1830 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 1831 Photoshop and ICCProfile tags custom. 1832 18332005-12-21 Joris Van Damme <[email protected]> 1834 1835 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 1836 newer code to get context indicator in error handler and still 1837 remain compatible with older code: Done TIFFError calls everywhere 1838 except in tools 1839 18402005-12-20 Andrey Kiselev <[email protected]> 1841 1842 * tools/tiffcp.c: Added many error reporting messages; fixed integer 1843 overflow as per bug 1844 1845 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 1846 18472005-12-16 Frank Warmerdam <[email protected]> 1848 1849 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 1850 YCbCr images in jpeg compressed TIFF files. 1851 18522005-12-14 Andrey Kiselev <[email protected]> 1853 1854 * tools/tiffcp.c: Return non-zero status when reading fails (again). 1855 18562005-12-13 Andrey Kiselev <[email protected]> 1857 1858 * tools/tiffcp.c: Return non-zero status when reading fails. 1859 18602005-12-12 Andrey Kiselev <[email protected]> 1861 1862 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 1863 18642005-12-09 Andrey Kiselev <[email protected]> 1865 1866 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 1867 custom. 1868 1869 * tools/tiffinfo.c: Print EXIF directory contents if exist. 1870 1871 * libtiff/tiff.h: Few EXIF tag numbers added. 1872 1873 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 1874 tiffio.h}: Preliminary support to read custom directories. New 1875 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 1876 18772005-12-07 Andrey Kiselev <[email protected]> 1878 1879 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 1880 More work to implement custom directory read support. 1881 1882 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 1883 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 1884 tags custom. 1885 18862005-12-05 Andrey Kiselev <[email protected]> 1887 1888 * libtiff/tif_dirread.c: One more workaround for broken 1889 StripByteCounts tag. Handle the case when StripByteCounts array filled 1890 with completely wrong values. 1891 18922005-11-30 Andrey Kiselev <[email protected]> 1893 1894 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 1895 in the TIFFOpenW() function as per bug 1896 1897 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 1898 1899 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 1900 functions as per bug 1901 1902 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 1903 19042005-11-20 Frank Warmerdam <[email protected]> 1905 1906 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 1907 for MS MDI format. 1908 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 1909 1910 * .cvsignore: many files added, and a few update according 1911 to suggestion of Brad HArds on tiff mailing list. 1912 19132005-11-03 Frank Warmerdam <[email protected]> 1914 1915 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 1916 public. 1917 19182005-10-31 Andrey Kiselev <[email protected]> 1919 1920 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 1921 as per bug 1922 1923 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 1924 1925 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 1926 as per bug 1927 1928 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 1929 1930 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 1931 problem as per bug 1932 1933 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 1934 1935 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 1936 1937 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 1938 1939 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 1940 ResolutionUnit tags modifiable during write process. As per bug 1941 1942 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 1943 1944 * tools/tiffsplit.c: Copy fax related fields over splitted parts 1945 as per bug 1946 1947 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 1948 19492005-10-21 Frank Warmerdam <[email protected]> 1950 1951 * tif_dirread.c: Don't try and split single strips into "0" strips 1952 in ChopUpSingleUncompressedStrip. This happens in some degenerate 1953 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 1954 19552005-10-20 Joris Van Damme <[email protected]> 1956 1957 * tif_fax3.c: changed 'at scanline ...' style warning/errors 1958 with incorrect use of tif_row, to 'at line ... of 1959 strip/tile ...' style 1960 19612005-10-15 Frank Warmerdam <[email protected]> 1962 1963 * tif_write.c: fixed setting of planarconfig as per bug report 1964 on the mailing list from Joris. 1965 19662005-10-07 Andrey Kiselev <[email protected]> 1967 1968 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 1969 tif_dirread.c}: Make the default strip size configurable via the 1970 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 1971 19722005-09-30 Bob Friesenhahn <[email protected]> 1973 1974 * html/support.html: Fixed link to documentation on Greg Ward's 1975 LogLuv TIFF format. 1976 19772005-09-28 Andrey Kiselev <[email protected]> 1978 1979 * tools/tiffdump.c: Fixed crash when reading malformed tags. 1980 19812005-09-20 Andrey Kiselev <[email protected]> 1982 1983 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 1984 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 1985 19862005-09-12 Andrey Kiselev <[email protected]> 1987 1988 * libtiff 3.7.4 released. 1989 1990 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 1991 from Patrick Welche (all scripts moved in the 'config' and 'm4' 1992 directories). 1993 19942005-09-12 Frank Warmerdam <[email protected]> 1995 1996 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 1997 19982005-09-05 Frank Warmerdam <[email protected]> 1999 2000 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 2001 also set it to NULL to avoid double free when re-setting custom 2002 string fields as per: 2003 2004 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 2005 20062005-08-12 Frank Warmerdam <[email protected]> 2007 2008 * libtiff/tif_print.c: avoid signed/unsigned warning. 2009 2010 * libtiff/tif_dirread.c: removed unused variable. 2011 20122005-07-30 Frank Warmerdam <[email protected]> 2013 2014 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 2015 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 2016 pass on bigendian (macosx) system. 2017 20182005-07-28 Andrey Kiselev <[email protected]> 2019 2020 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 2021 CheckMalloc() function to _TIFFCheckMalloc() and make it available 2022 globally as an internal helper routine. 2023 20242005-07-27 Andrey Kiselev <[email protected]> 2025 2026 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 2027 the custom tags handling code. 2028 20292005-07-26 Andrey Kiselev <[email protected]> 2030 2031 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 2032 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 2033 function, use TIFFFetchNormalTag() instead as per bug 2034 2035 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 2036 2037 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 2038 instead. 2039 2040 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 2041 2042 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2043 20442005-07-25 Andrey Kiselev <[email protected]> 2045 2046 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 2047 2048 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 2049 20502005-07-21 Andrey Kiselev <[email protected]> 2051 2052 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 2053 the TIFFWriteCheck() function in case of single band images (as per 2054 TIFF spec). 2055 20562005-07-12 Andrey Kiselev <[email protected]> 2057 2058 * SConstruct, libtiff/SConstruct: Added the first very preliminary 2059 support for SCons software building tool (http://www.scons.org/). 2060 This is experimental infrastructure and it will exist along with the 2061 autotools mechanics. 2062 20632005-07-07 Andrey Kiselev <[email protected]> 2064 2065 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 2066 the NetBSD source tree (the old 4-clause BSD license changed to 2067 the new 3-clause one). 2068 2069 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 2070 replacement module. 2071 2072 * port/dummy.c: Make the dummy function static. 2073 20742005-07-06 Andrey Kiselev <[email protected]> 2075 2076 * tools/tiffcp.c: Fixed WhitePoint tag copying. 2077 2078 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 2079 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 2080 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 2081 20822005-07-04 Andrey Kiselev <[email protected]> 2083 2084 * libtiff 3.7.3 released. 2085 2086 * configure, configure.ac: Do not use empty -R option when linking 2087 with --enable-rpath. 2088 20892005-07-01 Andrey Kiselev <[email protected]> 2090 2091 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 2092 reading the first IFD when needed. As per bug 2093 2094 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 2095 2096 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 2097 effects. 2098 20992005-06-23 Andrey Kiselev <[email protected]> 2100 2101 * tools/tiff2pdf.c: Print two characters per loop in the 2102 t2p_write_pdf_trailer(). As per bug 2103 2104 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 2105 2106 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 2107 per bug 2108 2109 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 2110 2111 * acinclude.m4: Updated to latest OpenGL test macros versions. 2112 2113 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 2114 platform. As per bug 2115 2116 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 2117 21182005-06-14 Andrey Kiselev <[email protected]> 2119 2120 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 2121 and YClipPathUnits tags. 2122 21232005-06-07 Andrey Kiselev <[email protected]> 2124 2125 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 2126 use pixel sized shift in contigous case. 2127 21282005-06-06 Andrey Kiselev <[email protected]> 2129 2130 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 2131 Make overviews working for contiguos images. 2132 21332005-06-03 Andrey Kiselev <[email protected]> 2134 2135 * libtiff/tif_open.c: Replace runtime endianess check with the compile 2136 time one. 2137 2138 * libtiff/tif_predict.c: Floating point predictor now works on 2139 big-endian hosts. 2140 21412005-06-01 Andrey Kiselev <[email protected]> 2142 2143 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 2144 ASCII values. 2145 2146 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 2147 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 2148 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 2149 TargetPrinter tags custom. 2150 2151 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 2152 TIFF_CODERSETUP flag (to fix memry leaks). 2153 2154 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 2155 allocating. 2156 21572005-05-26 Andrey Kiselev <[email protected]> 2158 2159 * configure.ac, libtiff/Makefile.am: Added workaround for 2160 OpenBSD/MirOS soname problem as per bug 2161 2162 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 2163 2164 * libtiff/tif_dirwrite.c: Use tdir_count when calling 2165 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 2166 per bug 2167 2168 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 2169 21702005-05-25 Andrey Kiselev <[email protected]> 2171 2172 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 2173 the fscanf() function. As per bug 2174 2175 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 2176 2177 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 2178 uint16 array when fetching the BYTE and SBYTE filds, so we should 2179 consider result as pointer to uint16 array and not as array of chars. 2180 As per bug 2181 2182 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 2183 2184 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 2185 2186 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 2187 2188 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 2189 mode in CreateFile() call as per bug 2190 2191 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 2192 2193 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 2194 libtiffxx libraries as per bug 2195 2196 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 2197 2198 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 2199 GDAL. 2200 22012005-05-23 Frank Warmerdam <[email protected]> 2202 2203 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 2204 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 2205 in directory. 2206 22072005-05-22 Frank Warmerdam <[email protected]> 2208 2209 * libtiff/tif_dirread.c: Changed the code that computes 2210 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 2211 zero. This is a common case with GDAL indicating a "null" tile/strip. 2212 22132005-05-17 Andrey Kiselev <[email protected]> 2214 2215 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 2216 22172005-05-06 Frank Warmerdam <[email protected]> 2218 2219 * libtiff/tif_dirread.c: Applied similar change to 2220 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 2221 2222 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 2223 2224 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 2225 22262005-05-06 Andrey Kiselev <[email protected]> 2227 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 2228 added new option '-b' to use interpolation in output PDF files (Bruno 2229 Ledoux). 2230 22312005-05-05 Frank Warmerdam <[email protected]> 2232 2233 * libtiff/tif_dirread.c: Ensure that broken files with too many 2234 values in PerSampleShorts work ok instead of crashing. 2235 2236 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 2237 22382005-04-27 Andrey Kiselev <[email protected]> 2239 2240 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 2241 input file. 2242 22432005-04-15 Andrey Kiselev <[email protected]> 2244 2245 * libtiff/tif_predict.c: Added ability to encode floating point 2246 predictor, as per TIFF Technical Note 3. 2247 22482005-04-14 Andrey Kiselev <[email protected]> 2249 2250 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 2251 floating point predictor, as per TIFF Technical Note 3. 2252 22532005-04-13 Andrey Kiselev <[email protected]> 2254 2255 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 2256 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 2257 swap 24-bit floating point values. 2258 2259 * libtiff/tiff.h: Added predictor constants. 2260 22612005-04-08 Andrey Kiselev <[email protected]> 2262 2263 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 2264 values in _TIFFVSetField() function. Inspired by the bug 2265 2266 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 2267 2268 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 2269 as per bug 2270 2271 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 2272 22732005-03-30 Andrey Kiselev <[email protected]> 2274 2275 * libtiff/tif_open.c: Do not read header in case the output file 2276 should be truncated (Ron). 2277 2278 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 2279 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 2280 2281 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 2282 22832005-03-22 Andrey Kiselev <[email protected]> 2284 2285 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 2286 rpath option. 2287 22882005-03-21 Andrey Kiselev <[email protected]> 2289 2290 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 2291 tags. 2292 22932005-03-18 Andrey Kiselev <[email protected]> 2294 2295 * libtiff/dirinfo.c: Added DNG tags. 2296 2297 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 2298 handling code. 2299 2300 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 2301 added DNG 1.1.0.0 tags. 2302 2303 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 2304 bug 2305 2306 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 2307 2308 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 2309 23102005-03-17 Andrey Kiselev <[email protected]> 2311 2312 * nmake.opt: Build with Win32 CRT library by default. 2313 2314 * tools/tiff2ps.c: Fixed typo in page size handling code. 2315 2316 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 2317 by value. 2318 2319 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 2320 23212005-03-15 Andrey Kiselev <[email protected]> 2322 2323 * libtiff 3.7.2 released. 2324 23252005-03-09 Andrey Kiselev <[email protected]> 2326 2327 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 2328 floating point data; complain on unsupported bit depths. 2329 23302005-03-05 Andrey Kiselev <[email protected]> 2331 2332 * tif_stream.cxx: Use ios namespace instead of ios_base to support 2333 GCC 2.95. 2334 2335 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 2336 Lee Howard for HylaFax DCS tag 2337 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 2338 23392005-03-04 Andrey Kiselev <[email protected]> 2340 2341 * configure, configure.ac: Use -rpath option instead of -R as per bug 2342 2343 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 2344 2345 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 2346 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 2347 software. As per bug 2348 2349 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 2350 2351 * nmake.opt, html/build.html: Add more comments, change the config 2352 file organization a bit as per bug 2353 2354 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 2355 2356 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 2357 as per bug 2358 2359 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 2360 23612005-03-03 Andrey Kiselev <[email protected]> 2362 2363 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 2364 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 2365 2366 * tools/fax2ps.c: Replace insecure mktemp() function with the 2367 tmpfile() as per bug 2368 2369 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 2370 23712005-02-04 Andrey Kiselev <[email protected]> 2372 2373 * libtiff/tiff.h: Changed the int8 definition to be always signed char 2374 as per bug 2375 2376 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2377 2378 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 2379 block as per bug 2380 2381 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 2382 23832005-02-03 Bob Friesenhahn <[email protected]> 2384 2385 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 2386 display more correctly. Images display brighter than they should 2387 on a Sun workstation. 2388 23892005-02-03 Andrey Kiselev <[email protected]> 2390 2391 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 2392 suspicious values in the tags. As per bugs 2393 2394 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 2395 2396 and 2397 2398 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 2399 2400 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 2401 2402 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 2403 24042005-01-31 Bob Friesenhahn <[email protected]> 2405 2406 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 2407 (TIFFTAG_TILELENGTH): Corrected description. 2408 24092005-01-30 Andrey Kiselev <[email protected]> 2410 2411 * configure.ac: Fixes for --with-docdir option as per bug 2412 2413 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 2414 2415 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 2416 bug 2417 2418 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 2419 2420 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 2421 Michael Rinne and Edward Lam. 2422 24232005-01-15 Andrey Kiselev <[email protected]> 2424 2425 * configure.ac: Make the documentation directory location configurable 2426 via the --with-docdir option (as suggested by Jeremy C. Reed). 2427 2428 * libtiff/tif_color.c: Use double as the second argument of pow() 2429 function in TIFFCIELabToRGBInit(). As per bug 2430 2431 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 2432 2433 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 2434 integer as per bug 2435 2436 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 2437 2438 * libtiff/tif_getimage.c: Always fill the error message buffer in 2439 TIFFRGBAImageBegin() as per bug 2440 2441 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 2442 24432005-01-12 Andrey Kiselev <[email protected]> 2444 2445 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 2446 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 2447 tags as per bug 2448 2449 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 2450 2451 * libtiff/tif_win32.c: Fixed message formatting in functions 2452 Win32WarningHandler() and Win32ErrorHandler() as per bug 2453 2454 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 2455 2456 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 2457 per bug 2458 2459 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 2460 24612005-01-11 Andrey Kiselev <[email protected]> 2462 2463 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 2464 "C"' section as per bug 2465 2466 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2467 2468 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 2469 compiler to avoid double definition of BSD types as per bug 2470 2471 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2472 2473 * libtiff/Makefile.am: Place the C++ stream API in the separate 2474 library called libtiffxx to avoid unneeded dependencies. Probably 2475 there will be more C++ API in the future. As per bugs 2476 2477 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 2478 2479 and 2480 2481 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 2482 24832005-01-05 Andrey Kiselev <[email protected]> 2484 2485 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 2486 wrong tag counts (Dmitry V. Levin, Martin Pitt). 2487 2488 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 2489 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 2490 24912004-12-25 Andrey Kiselev <[email protected]> 2492 2493 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 2494 RGB-images as per bug 2495 2496 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 2497 2498 2499 * tools/tiffset.c: Convert character option to integer value as per 2500 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 2501 25022004-12-20 Andrey Kiselev <[email protected]> 2503 2504 * libtiff 3.7.1 released. 2505 2506 * html/tiffset.1.html: Add missed manual page as per bug 2507 2508 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 2509 2510 * libtiff/tiff.h: Revert back libtiff data type definitions as per 2511 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 2512 25132004-12-19 Andrey Kiselev <[email protected]> 2514 2515 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 2516 checking for tag count in TIFFReadDirectory() function. As per bug 2517 2518 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 2519 2520 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 2521 CheckMallock() function. 2522 2523 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 2524 RGB-images as per bug 2525 2526 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 2527 25282004-12-15 Frank Warmerdam <[email protected]> 2529 2530 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 2531 SunPro compiler. 2532 25332004-12-11 Bob Friesenhahn <[email protected]> 2534 2535 * autogen.sh: aclocal and autoheader should be executed after 2536 libtoolize. Also add '-I .' to aclocal invocation to check 2537 current directory for macros. 2538 25392004-12-10 Andrey Kiselev <[email protected]> 2540 2541 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 2542 as per bugs 2543 2544 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 2545 2546 and 2547 2548 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 2549 25502004-12-04 Andrey Kiselev <[email protected]> 2551 2552 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 2553 2554 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 2555 2556 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 2557 mode as per bug 2558 2559 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 2560 2561 * libtiff/tif_config.in.vc: Removed unneded definitions for 2562 read/open/close/lseek functions to fix the 2563 2564 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 2565 25662004-12-03 Andrey Kiselev <[email protected]> 2567 2568 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 2569 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 2570 must be removed in the future, as it was never used properly. As per 2571 bug 2572 2573 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 2574 25752004-11-30 Bob Friesenhahn <[email protected]> 2576 2577 * libtiff/tif_jpeg.c: Added a work-around in order to allow 2578 compilation with the heavily modified version of libjpeg delivered 2579 with Cygwin. 2580 25812004-11-29 Andrey Kiselev <[email protected]> 2582 2583 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 2584 counts. As per bug 2585 2586 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 2587 2588 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 2589 2590 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 2591 25922004-11-28 Andrey Kiselev <[email protected]> 2593 2594 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 2595 on Windows. 2596 2597 * nmake.opt: Add missed DLLNAME variable. 2598 25992004-11-26 Frank Warmerdam <[email protected]> 2600 2601 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 2602 26032004-11-24 Andrey Kiselev <[email protected]> 2604 2605 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 2606 per bug 2607 2608 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 2609 2610 * man/tiffset.1: Added manual page for tiffset tool written by Jay 2611 Berkenbilt. As per bug 2612 2613 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 2614 26152004-11-23 Frank Warmerdam <[email protected]> 2616 2617 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 2618 26192004-11-21 Frank Warmerdam <[email protected]> 2620 2621 * html/document.html: Updated Adobe web links as per email from Joris. 2622 26232004-11-21 Andrey Kiselev <[email protected]> 2624 2625 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 2626 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 2627 use C++ streams should #include <tiffio.hxx>. 2628 26292004-11-13 Andrey Kiselev <[email protected]> 2630 2631 * libtiff/tiff.h: Added Adobe DNG tags. 2632 2633 * libtiff/tif_win32.c: Typo fixed. 2634 2635 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 2636 be compliant with the latest standard. Appropriate additions in 2637 makefiles now completed. 2638 26392004-11-11 Andrey Kiselev <[email protected]> 2640 2641 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 2642 different tag types. As per bug 2643 2644 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 2645 26462004-11-10 Andrey Kiselev <[email protected]> 2647 2648 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 2649 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 2650 26512004-11-09 Andrey Kiselev <[email protected]> 2652 2653 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 2654 26552004-11-07 Andrey Kiselev <[email protected]> 2656 2657 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 2658 contributed by Edward Lam (see 2659 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 2660 Though no changes in any makefiles yet. 2661 26622004-11-05 Frank Warmerdam <[email protected]> 2663 2664 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 2665 is bad. This is the callers responsibility. 2666 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 2667 26682004-11-05 Andrey Kiselev <[email protected]> 2669 2670 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 2671 function to work with the double byte strings (used to represent 2672 filenames in some locales). As per bug 2673 2674 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 2675 2676 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 2677 Compression tags of type LONG from broken TIFFS as per bug 2678 2679 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 2680 2681 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 2682 the writecount should have uint32 type. As per bug 2683 2684 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 2685 2686 * libtiff/tif_write.c: Fixed wrong if() statement in 2687 TIFFAppendToStrip() function as per bug 2688 2689 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 2690 26912004-11-04 Andrey Kiselev <[email protected]> 2692 2693 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 2694 field. The caller should supply a count when setting this field. As 2695 per bug 2696 2697 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 2698 2699 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 2700 uint32 count. Use this type everywhere. 2701 27022004-11-03 Frank Warmerdam <[email protected]> 2703 2704 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 2705 27062004-11-02 Frank Warmerdam <[email protected]> 2707 2708 * tools/tiff2rgba.c: removed extra newlines in usage message. 2709 27102004-10-30 Andrey Kiselev <[email protected]> 2711 2712 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 2713 2714 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 2715 tags (Tristan Hill). 2716 27172004-10-30 Frank Warmerdam <[email protected]> 2718 2719 * libtiff/tiffiop.h: added fallback definition of assert() if we 2720 don't have assert.h. 2721 27222004-10-29 Andrey Kiselev <[email protected]> 2723 2724 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 2725 choosing when the incorrect Group4Options tag set. As per bug 2726 2727 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 2728 2729 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 2730 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 2731 TIFFWriteNormalTag(). 2732 27332004-10-28 Andrey Kiselev <[email protected]> 2734 2735 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 2736 tags (Peter Fales). 2737 2738 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 2739 27402004-10-28 Frank Warmerdam <[email protected]> 2741 2742 * tools/tiff2pdf.c: added casts to avoid warnings. 2743 2744 * libtiff/libtiff.def: Added several more entry points required 2745 to link fax2tiff.c against the DLL on windows. 2746 27472004-10-27 Andrey Kiselev <[email protected]> 2748 2749 * configure, configure.ac: Added --enable-rpath option to embed linker 2750 paths into library binary. 2751 27522004-10-26 Andrey Kiselev <[email protected]> 2753 2754 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 2755 2756 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 2757 (Vladimir Nadvornik, Dmitry V. Levin). 2758 27592004-10-16 Andrey Kiselev <[email protected]> 2760 2761 * libtiff 3.7.0 released. 2762 27632004-10-15 Bob Friesenhahn <[email protected]> 2764 2765 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 2766 in this file so its inclusion is removed. Including stdio.h 2767 sometimes incurs an INT32 typedef conflict between MinGW's 2768 basetsd.h and libjpeg's jmorecfg.h. 2769 27702004-10-15 Andrey Kiselev <[email protected]> 2771 2772 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 2773 27742004-10-13 Bob Friesenhahn <[email protected]> 2775 2776 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 2777 conflict noticed under MinGW. 2778 * ltmain.sh: Fix for MinGW compilation. 2779 27802004-10-13 Frank Warmerdam <[email protected]> 2781 2782 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 2783 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 2784 27852004-10-12 Andrey Kiselev <[email protected]> 2786 2787 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 2788 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 2789 properly (Dmitry V. Levin, Marcus Meissner). 2790 27912004-10-11 Andrey Kiselev <[email protected]> 2792 2793 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 2794 to TIFF_IFD. 2795 27962004-10-10 Andrey Kiselev <[email protected]> 2797 2798 * tools/bmp2tif.c: Check the space allocation results. 2799 28002004-10-09 Andrey Kiselev <[email protected]> 2801 2802 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 2803 of the TIFFDirectory structure with the 0 instead of -1 to avoid 2804 confusing integer overflows in TIFFTileRowSize() for striped images. 2805 2806 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 2807 by Ross A. Finlayson. 2808 2809 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 2810 2811 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 2812 28132004-10-08 Frank Warmerdam <[email protected]> 2814 2815 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 2816 of tif_fieldinfo. 2817 2818 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 2819 28202004-10-04 Bob Friesenhahn <[email protected]> 2821 2822 * contrib/iptcutil/README: Added the missing README which goes 2823 along with iptcutil. 2824 28252004-10-03 Andrey Kiselev <[email protected]> 2826 2827 * libtiff/tif_compress.c: Improved error reporting in 2828 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 2829 28302004-10-02 Andrey Kiselev <[email protected]> 2831 2832 * libtiff 3.7.0beta2 released. 2833 2834 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 2835 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 2836 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 2837 allocations and integer overflows (Dmitry V. Levin). 2838 2839 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 2840 28412004-10-01 Frank Warmerdam <[email protected]> 2842 2843 * libtiff/tif_open.c: added a more informative message if a BigTIFF 2844 file is opened. 2845 28462004-09-30 Frank Warmerdam <[email protected]> 2847 2848 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 2849 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 2850 in the Adobe XMP Specification. 2851 28522004-09-29 Andrey Kiselev <[email protected]> 2853 2854 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 2855 memset(). 2856 2857 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 2858 from Dmitry V. Levin to fix possible integer overflow problems. 2859 28602004-09-28 Andrey Kiselev <[email protected]> 2861 2862 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 2863 (Dmitry V. Levin). 2864 28652004-09-26 Andrey Kiselev <[email protected]> 2866 2867 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 2868 Optimize checking for the strip bounds. 2869 2870 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 2871 TIFFRasterScanlineSize() functions report zero in the case of integer 2872 overflow now. Properly handle this case in TIFFReadDirectory() 2873 (patches from Dmitry V. Levin). 2874 28752004-09-25 Andrey Kiselev <[email protected]> 2876 2877 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 2878 macro where appropriate. 2879 2880 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 2881 noted by Gennady Khokhorin. 2882 2883 * libtiff/tif_dirread.c: Always check the return values, returned 2884 by the _TIFFmalloc() (Dmitry V. Levin). 2885 2886 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 2887 functions (Dmitry V. Levin). 2888 2889 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 2890 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 2891 TIFFGrowStrips() (found by Dmitry V. Levin). 2892 28932004-09-24 Andrey Kiselev <[email protected]> 2894 2895 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 2896 to get the list of configured codecs. 2897 2898 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 2899 Dmitry V. Levin. 2900 29012004-09-23 Andrey Kiselev <[email protected]> 2902 2903 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 2904 possible integer overflow in CheckMalloc() function. 2905 29062004-09-22 Andrey Kiselev <[email protected]> 2907 2908 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 2909 of plain TIFFhowmany() where appropriate. 2910 29112004-09-21 Andrey Kiselev <[email protected]> 2912 2913 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 2914 29152004-09-19 Andrey Kiselev <[email protected]> 2916 2917 * libtiff 3.7.0beta released. 2918 2919 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 2920 overruns fixed, as noted by Chris Evans. 2921 29222004-09-14 Bob Friesenhahn <[email protected]> 2923 2924 * commit: Added a script to make it more convenient to commit 2925 updates. The CVS commit message is extracted from this ChangeLog 2926 file. 2927 29282004-09-14 Andrey Kiselev <[email protected]> 2929 2930 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 2931 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 2932 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 2933 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 2934 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 2935 tif_config.h.in, tiffiop.h}: 2936 Get rid of BSD data types (u_char, u_short, u_int, u_long). 2937 29382004-09-13 Bob Friesenhahn <[email protected]> 2939 2940 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 2941 specification. Reference libtiff bug tracking system to submit 2942 private tag additions. 2943 29442004-09-12 Bob Friesenhahn <[email protected]> 2945 2946 * tools/tiffgt.c: Include "tif_config.h". 2947 2948 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 2949 tiffgt. This results in the 'compile' script being added to the 2950 project. 2951 2952 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 2953 required to find OpenGL headers necessary to build tiffgt. Also 2954 ensure that the libtiff that we built is used rather than some other 2955 libtiff installed on the system. 2956 29572004-09-12 Andrey Kiselev <[email protected]> 2958 2959 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 2960 libraries. 2961 29622004-09-11 Bob Friesenhahn <[email protected]> 2963 2964 * configure.ac: Pass library configuration defines via 2965 tif_config.h rather than extending CPPFLAGS. Configure a 2966 libtiff/tiffconf.h in order to satisfy application requirements 2967 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 2968 this causes failure to build on systems which properly respect 2969 this request. 2970 2971 * libtiff/tiffconf.h.in: New file to act as the template for the 2972 configured tiffconf.h 2973 2974 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 2975 29762004-09-10 Frank Warmerdam <[email protected]> 2977 2978 * html/internals.html: Split off a discussion of adding new tags 2979 into addingtags.html. 2980 29812004-09-10 Andrey Kiselev <[email protected]> 2982 2983 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 2984 2985 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 2986 2987 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 2988 2989 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 2990 2991 * libtiff/tif_dirread.c: Don't reject to read tags of the 2992 SamplesPerPixel size when the tag count is greater than number of 2993 samples as per bug 2994 2995 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 2996 2997 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 2998 defining int8/uint8/... etc. types. As per bug 2999 3000 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 3001 30022004-09-09 Frank Warmerdam <[email protected]> 3003 3004 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 3005 to avoid compile warnings about getopt() and a few other things. 3006 30072004-09-02 Andrey Kiselev <[email protected]> 3008 3009 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 3010 assigning magic in TIFFFetchFloat(). 3011 30122004-09-01 Andrey Kiselev <[email protected]> 3013 3014 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 3015 to avoid requirement for tiffiop.h inclusion in some applications. See 3016 here 3017 3018 http://www.asmail.be/msg0054799560.html 3019 3020 for details. 3021 3022 * tools/fax2tiff.c: Use the new functions in the code. 3023 30242004-08-25 Andrey Kiselev <[email protected]> 3025 3026 * tools/tiff2pdf.c: Initialize arrays properly. 3027 3028 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 3029 properly initialize array in PSDataBW(). 3030 30312004-08-24 Andrey Kiselev <[email protected]> 3032 3033 * tools/tiff2pdf.c: More fixes for bug 3034 3035 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3036 3037 from Ross Finlayson. 3038 30392004-08-23 Andrey Kiselev <[email protected]> 3040 3041 * tools/tiff2ps.c: Fixed problem with uninitialized values. 3042 3043 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 3044 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 3045 3046 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 3047 3048 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3049 30502004-08-20 Andrey Kiselev <[email protected]> 3051 3052 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 3053 that the input file has compression, photometric interpretation, 3054 etcetra, tags or if not than a more descriptive error is returned. 3055 3056 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 3057 code, responsible for tag data type checking. 3058 30592004-08-19 Andrey Kiselev <[email protected]> 3060 3061 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 3062 variable as per bug 3063 3064 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 3065 30662004-08-16 Andrey Kiselev <[email protected]> 3067 3068 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 3069 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 3070 30712004-08-01 Andrey Kiselev <[email protected]> 3072 3073 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 3074 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 3075 30762004-07-24 Andrey Kiselev <[email protected]> 3077 3078 * libtiff/tif_lzw.c: LZW compression code is merged back from the 3079 separate package. All libtiff tools are updated to not advertise an 3080 abcence of LZW support. 3081 30822004-07-12 Andrey Kiselev <[email protected]> 3083 3084 * libtiff/tiffio.h: Revert thandle_t back to void* type. 3085 30862004-07-11 Andrey Kiselev <[email protected]> 3087 3088 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 3089 messages, as suggested by Bernd Herd. 3090 30912004-07-03 Andrey Kiselev <[email protected]> 3092 3093 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 3094 when setting custom tags by value. Reported by Eric Fieleke. 3095 30962004-06-14 Andrey Kiselev <[email protected]> 3097 3098 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 3099 31002004-06-08 Andrey Kiselev <[email protected]> 3101 3102 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 3103 into TIFFs. 3104 31052004-06-07 Andrey Kiselev <[email protected]> 3106 3107 * libtiff 3.7.0alpha released. 3108 31092004-06-06 Andrey Kiselev <[email protected]> 3110 3111 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 3112 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 3113 ones :-). 3114 3115 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 3116 problems in 64-bit environment). 3117 31182004-06-05 Andrey Kiselev <[email protected]> 3119 3120 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 3121 Tags can be supplied by the mnemonic name or number. 3122 3123 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 3124 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 3125 31262004-05-27 Andrey Kiselev <[email protected]> 3127 3128 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 3129 markers as per bug 3130 3131 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 3132 31332004-05-24 Andrey Kiselev <[email protected]> 3134 3135 * tools/tiffsplit.c: Don't forget to copy Photometric 3136 Interpretation tag. 3137 31382004-05-20 Andrey Kiselev <[email protected]> 3139 3140 * libtiff/{tif_open.c, tiffio.h}: New function added: 3141 TIFFIsBigEndian(). Function returns nonzero if given was file written 3142 in big-endian order. 3143 3144 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 3145 files. Now output files will be written using the same byte order 3146 flag as in the input image. See 3147 3148 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 3149 3150 for details. 3151 31522004-05-19 Frank Warmerdam <[email protected]> 3153 3154 * libtiff/tif_print.c: added (untested) support for printing 3155 SSHORT, SLONG and SRATIONAL fields. 3156 3157 * tools/tiffcp.c: close output file on normal exit. 3158 31592004-05-17 Andrey Kiselev <[email protected]> 3160 3161 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 3162 if compression type mismatches. See 3163 3164 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 3165 31662004-04-30 Andrey Kiselev <[email protected]> 3167 3168 * libtiff/tif_strip.c: Never return 0 from the 3169 TIFFNumberOfStrips(). 3170 31712004-04-29 Andrey Kiselev <[email protected]> 3172 3173 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 3174 store single SampleFormat value for multisampled images. See 3175 3176 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 3177 31782004-04-25 Andrey Kiselev <[email protected]> 3179 3180 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 3181 int16 and int32 types to avoid complains on some compilers. Details at 3182 3183 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3184 31852004-04-20 Andrey Kiselev <[email protected]> 3186 3187 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 3188 3189 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 3190 31912004-04-14 Andrey Kiselev <[email protected]> 3192 3193 * libtiff/tif_write.c: Allow in-place updating of the compressed 3194 images (don't work properly with all codecs). For details see GDAL bug 3195 3196 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 3197 31982004-04-06 Andrey Kiselev <[email protected]> 3199 3200 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 3201 in the Intergarph JPEG compressed TIFF images as per bug: 3202 3203 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 3204 32052004-04-04 Frank Warmerdam <[email protected]> 3206 3207 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 3208 via bad2. 3209 32102004-03-26 Andrey Kiselev <[email protected]> 3211 3212 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 3213 JPEG compression of grayscale images. 3214 3215 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 3216 present in the input image. 3217 32182004-03-19 Andrey Kiselev <[email protected]> 3219 3220 * {many}: The first attempt to switch to autotools. 3221 32222004-03-03 Andrey Kiselev <[email protected]> 3223 3224 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 3225 TIFFClientOpen() when the appropriate client functions was not 3226 supplied by user. 3227 32282004-03-02 Frank Warmerdam <[email protected]> 3229 3230 * tools/ycbcr.c: fixed main() declaration as per: 3231 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 3232 32332004-02-26 Andrey Kiselev <[email protected]> 3234 3235 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 3236 images. Reported by Artem Mirolubov. 3237 3238 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 3239 tag type in TIFFFetchNormalTag() as per bug 3240 3241 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 3242 32432004-02-17 Frank Warmerdam <[email protected]> 3244 3245 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 3246 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 3247 32482004-02-05 Andrey Kiselev <[email protected]> 3249 3250 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 3251 bug 3252 3253 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 3254 3255 But we need more work on fax codec to support update mode. 3256 32572004-01-30 Frank Warmerdam <[email protected]> 3258 3259 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 3260 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 3261 Scott Reynolds. 3262 32632004-01-29 Andrey Kiselev <[email protected]> 3264 3265 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 3266 and TIFFTAG_INDEXED as per bug 3267 3268 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 3269 3270 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 3271 NULL before proceeding further as per bug 3272 3273 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 3274 3275 Check results, returned by the TIFFFdOpen() before returning and close 3276 file if TIFFFdOpen() failed as per bug 3277 3278 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3279 3280 * libtiff/tif_open.c: More fixes for 3281 3282 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3283 32842004-01-28 Andrey Kiselev <[email protected]> 3285 3286 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 3287 TIFFCleanup() from the TIFFClose() in order to fix the bug 3288 3289 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3290 3291 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 3292 InkNames tag as per bug 3293 3294 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 3295 3296 Memory leak fixed. 3297 32982004-01-21 Frank Warmerdam <[email protected]> 3299 3300 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 3301 are field_passcount=TRUE properly. Arguably anonymous custom tags 3302 should be declared as passcount=FALSE, but I don't want to change 3303 that without a careful review. 3304 33052004-01-20 Andrey Kiselev <[email protected]> 3306 3307 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 3308 stripped image in TIFFWriteBufferSetup(). As per bug 3309 3310 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 3311 33122004-01-11 Andrey Kiselev <[email protected]> 3313 3314 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 3315 patch from Gerben Koopmans. 3316 3317 * libtiff/tif_dirread.c: Check field_passcount value before setting 3318 the value of undefined type, patch from Gerben Koopmans. 3319 33202004-01-02 Andrey Kiselev <[email protected]> 3321 3322 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 3323 non-RGB images. 3324 33252003-12-31 Andrey Kiselev <[email protected]> 3326 3327 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 3328 pointer passed. Patch supplied by Larry Grill. 3329 3330 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 3331 suggested by Jeremy C. Reed. 3332 33332003-12-26 Andrey Kiselev <[email protected]> 3334 3335 * libtiff 3.6.1 released. 3336 33372003-12-24 Andrey Kiselev <[email protected]> 3338 3339 * config.guess, config.sub: Updated from the recent upstream. 3340 33412003-12-22 Andrey Kiselev <[email protected]> 3342 3343 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 3344 More cleanups in color conversion interface, added appropriate manual 3345 page. 3346 33472003-12-19 Andrey Kiselev <[email protected]> 3348 3349 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 3350 per bug 3351 3352 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 3353 3354 * tools/tiff2ps.c: Added support for alpha channel. Fixes 3355 3356 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 3357 3358 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 3359 Interface for Lab->RGB color conversion is finally cleaned up. 3360 Added support for ReferenceBlackWhite tag handling when converted from 3361 YCbCr color space. The latter closes 3362 3363 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 3364 33652003-12-07 Andrey Kiselev <[email protected]> 3366 3367 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 3368 3369 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 3370 library. 3371 33722003-12-06 Andrey Kiselev <[email protected]> 3373 3374 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 3375 file and properly use it for CIE Lab->RGB transform. 3376 33772003-12-04 Andrey Kiselev <[email protected]> 3378 3379 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 3380 conversion routines now in the tif_color.c module. New function 3381 TIFFYCbCrtoRGB() available in TIFF API. 3382 3383 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 3384 33852003-12-03 Andrey Kiselev <[email protected]> 3386 3387 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 3388 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 3389 module. 3390 3391 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 3392 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 3393 Finally resolved problems with orientation handling. TIFFRGBAImage 3394 interface now properly supports all possible orientations, i.e. images 3395 will be flipped both in horizontal and vertical directions if 3396 required. 'Known bugs' section now removed from the appropriate manual 3397 pages. Closed bug entry: 3398 3399 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 3400 34012003-12-02 Andrey Kiselev <[email protected]> 3402 3403 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 3404 function calls as per bug 3405 3406 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 3407 34082003-11-28 Ross Finlayson <[email protected]> 3409 3410 * tools/tiff2pdf.c: Some bugs fixed. 3411 34122003-11-27 Andrey Kiselev <[email protected]> 3413 3414 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 3415 reported by Antonio Scuri. 3416 3417 * man/tiff2pdf.1: Few improvements in page layout. 3418 3419 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 3420 Added support fpr tiff2pdf manual page. 3421 34222003-11-26 Ross Finlayson <[email protected]> 3423 3424 * /man/tiff2pdf.1: File added to repository. 3425 34262003-11-26 Andrey Kiselev <[email protected]> 3427 3428 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 3429 Added support fpr tiff2pdf utility. 3430 34312003-11-25 Ross Finlayson <[email protected]> 3432 3433 * /tools/tiff2pdf.c: File added to repository. 3434 34352003-11-22 Andrey Kiselev <[email protected]> 3436 3437 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 3438 34392003-11-21 Andrey Kiselev <[email protected]> 3440 3441 * /tools/raw2tiff.c: #include <getopt.h> removed. 3442 3443 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 3444 sgigt utility removed and replaced with the completely rewritten 3445 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 3446 there is a lot of things to improve. 3447 3448 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 3449 extract the fields from the OJPEG files. Patch supplied by Ross 3450 Finlayson. 3451 3452 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 3453 Added new function TIFFIsCODECConfigured(), suggested by Ross 3454 Finlayson. 3455 34562003-11-18 Andrey Kiselev <[email protected]> 3457 3458 * libtiff/tif_dirinfo.c: Implemented binary search in 3459 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 3460 3461 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 3462 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 3463 34642003-11-17 Frank Warmerdam <[email protected]> 3465 3466 * tif_dirread.c: do not mark all anonymously defined tags to be 3467 IGNOREd. 3468 34692003-11-17 Andrey Kiselev <[email protected]> 3470 3471 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 3472 TIFFDataWidth() function insted of tiffDataWidth array. 3473 34742003-11-16 Andrey Kiselev <[email protected]> 3475 3476 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 3477 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 3478 34792003-11-15 Frank Warmerdam <[email protected]> 3480 3481 * Makefile.in: fixed missing backslash for tif_color.c in list. 3482 34832003-11-13 Andrey Kiselev <[email protected]> 3484 3485 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 3486 New color space conversion code: CIE L*a*b* 1976 images now supported 3487 by the TIFFRGBAImage interface. All introduced routines go to new 3488 module tif_color.c. Eventually all color conversion functions should 3489 be moved there. 3490 34912003-11-12 Andrey Kiselev <[email protected]> 3492 3493 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 3494 with the reverse byte order (it is reported by the magic header 3495 field). Problem reported by Andreas Wiesmann. 3496 3497 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 3498 calculation function. Guessing mechanics now documented in manual page. 3499 35002003-11-11 Andrey Kiselev <[email protected]> 3501 3502 * tools/raw2tiff.c: Implemented image size guessing using 3503 correlation coefficient calculation between two neighbour lines. 3504 35052003-11-09 Frank Warmerdam <[email protected]> 3506 3507 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 3508 planarconfig_contig case in TIFFComputeTile(). 3509 3510 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 3511 35122003-11-09 Andrey Kiselev <[email protected]> 3513 3514 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 3515 35162003-11-07 Andrey Kiselev <[email protected]> 3517 3518 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 3519 Added TIFFRawStripSize() function as suggested by Chris Hanson. 3520 35212003-11-03 Andrey Kiselev <[email protected]> 3522 3523 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 3524 per bug 3525 3526 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 3527 35282003-10-29 Andrey Kiselev <[email protected]> 3529 3530 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 3531 3532 * html/build.html: Added note about GNU make requirement. 3533 35342003-10-25 Andrey Kiselev <[email protected]> 3535 3536 * Makefile.in: Fixes in using MAKEFLAGS as per bug 3537 3538 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 3539 3540 * port/install.sh.in: Option -p added to the mkdir command to create 3541 all directory tree structure before installing. 3542 35432003-10-18 Andrey Kiselev <[email protected]> 3544 3545 * /tools/tiff2ps.c: #include <strings.h> replaced with the 3546 #include <string.h>. 3547 35482003-10-16 Andrey Kiselev <[email protected]> 3549 3550 * Makefile.in: Add an absolute path to the test_pics.sh call. 3551 35522003-10-12 Andrey Kiselev <[email protected]> 3553 3554 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 3555 typedefs. 3556 35572003-10-09 Andrey Kiselev <[email protected]> 3558 3559 * configure, libtiff/{Makefile.in, mkversion.c}: 3560 Relative buildings fixed. 3561 3562 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 3563 rule. 3564 35652003-10-07 Andrey Kiselev <[email protected]> 3566 3567 * Makefile.in: Added missed v3.6.0.html. 3568 3569 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 3570 ORIENTATION_BOTLEFT. 3571 35722003-10-04 Andrey Kiselev <[email protected]> 3573 3574 * 3.6.0 final release. 3575 35762003-10-03 Andrey Kiselev <[email protected]> 3577 3578 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 3579 function TIFFReadRGBAImageOriented() implemented to retrieve raster 3580 array with user-specified origin position as suggested by Jason Frank. 3581 See 3582 3583 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 3584 3585 for details. 3586 3587 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 3588 instead of TIFFReadRGBAImage(). 3589 3590 * tools/tiff2ps.c: Fixed possible endless loop as per bug 3591 3592 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 3593 35942003-09-30 Andrey Kiselev <[email protected]> 3595 3596 * libtiff/tif_dirread.c: Check field counter against number of fields 3597 in order to fix 3598 3599 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 3600 3601 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 3602 3603 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 3604 36052003-09-25 Andrey Kiselev <[email protected]> 3606 3607 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 3608 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 3609 3610 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 3611 36122003-09-23 Andrey Kiselev <[email protected]> 3613 3614 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 3615 3616 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 3617 36182003-08-21 Andrey Kiselev <[email protected]> 3619 3620 * tools/tiffmedian.c: int declaration replaced with the uint32 to 3621 support large images as per bug 3622 3623 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 3624 36252003-08-12 Andrey Kiselev <[email protected]> 3626 3627 * libtiff/Makefile.in: Fixed problem with building in different 3628 directory. 3629 3630 * tools/tiff2ps.c: Added missing #include <strings.h>. 3631 3632 * libtiff/tif_dirwrite.c: More fixes for custom tags code 3633 from Ashley Dreier. 3634 36352003-08-07 Andrey Kiselev <[email protected]> 3636 3637 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 3638 Patch submitted by Balatoni Denes (with corrections from Tom 3639 Kacvinsky). 3640 3641 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 3642 being used. Reported by Tom Kacvinsky. 3643 3644 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 3645 reported by Ashley Dreier. 3646 3647 * libtiff/tif_print.c: Fixed problem with float tags reading, support 3648 for printing RATIONAL and BYTE tags added. 3649 36502003-08-05 Andrey Kiselev <[email protected]> 3651 3652 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 3653 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 3654 problems with predictor initialization. Remove O_RDONLY check during 3655 state block allocation to be able open LZW compressed files in update 3656 mode. 3657 3658 Problem exist for libtiff version of the tif_lzw.c module. One from 3659 lzw-compression-kit hasn't such troubles. 3660 36612003-08-04 Frank Warmerdam <[email protected]> 3662 3663 * libtiff/tif_write.c: modified tif_write.c so that the various 3664 encoded write functions use tif_postdecode() to apply byte order 3665 swapping (swab) to the application passed data buffer if the same 3666 would be done when reading. This allows us to write pixel data with 3667 more than 8 bits per sample to existing files of a non-native byte 3668 order. One side effect of this change is the applications buffer 3669 itself is altered in this case by the act of writing. 3670 3671 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 3672 36732003-07-25 Frank Warmerdam <[email protected]> 3674 3675 * libtiff/tif_open.c: avoid signed/unsigned casting warning 3676 initializing typemask as per patch from J.A. Strother. 3677 3678 * tools/tiffcp.c: fixed signed/unsigned casting warning. 3679 3680 * libtiff/tif_print.c: dos2unix conversion. 3681 3682 * tools/tiffsplit.c: increased the maximum number of pages that 3683 can be split. Patch provided by Andrew J. Montalenti. 3684 36852003-07-11 Andrey Kiselev <[email protected]> 3686 3687 * tools/raw2tiff.c: Added option `-p' to explicitly select color 3688 space of input image data. Closes 3689 3690 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 3691 36922003-07-08 Frank Warmerdam <[email protected]> 3693 3694 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 3695 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 3696 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 3697 avoid casting warning at /W4. 3698 36992003-07-03 Andrey Kiselev <[email protected]> 3700 3701 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 3702 37032003-06-30 Andrey Kiselev <[email protected]> 3704 3705 * libtiff/tif_pixarlog.c: Unused variables removed. 3706 3707 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 3708 EstimateStripByteCounts() as per bug 3709 3710 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 3711 3712 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 3713 64-bit architectures as per bug 3714 3715 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 3716 3717 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 3718 unknown data type. 3719 37202003-06-19 Frank Warmerdam <[email protected]> 3721 3722 * libtiff/tif_print.c: fixed some serious bugs when printing 3723 custom tags ... almost certain to crash. 3724 3725 * libtiff/tif_dirread.c: Don't ignore custom fields that are 3726 autodefined. Not sure how this got to be like this. 3727 37282003-06-18 Andrey Kiselev <[email protected]> 3729 3730 * 3.6.0 Beta2 released. 3731 3732 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 3733 comparing as per bug 3734 3735 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 3736 3737 `-z' option now can be used to set the number of reported different 3738 bytes. 3739 37402003-06-09 Andrey Kiselev <[email protected]> 3741 3742 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 3743 to -r option to get the entire image as one strip. See 3744 3745 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 3746 3747 for details. 3748 37492003-06-04 Andrey Kiselev <[email protected]> 3750 3751 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 3752 values as per bug 3753 3754 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 3755 37562003-05-27 Frank Warmerdam <[email protected]> 3757 3758 * libtiff/tif_jpeg.c: modified segment_height calculation to always 3759 be a full height tile for tiled images. Also changed error to just 3760 be a warning. 3761 37622003-05-25 Andrey Kiselev <[email protected]> 3763 3764 * tools/fax2tiff.c: Page numbering fixed, as per bug 3765 3766 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 3767 37682003-05-20 Andrey Kiselev <[email protected]> 3769 3770 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 3771 configure, Makefile.in: Switched back to the old behaviour. Likely 3772 better solution should be found for OJPEG support. 3773 37742003-05-11 Andrey Kiselev <[email protected]> 3775 3776 * libtiff/mkversion.c: Fixed problem with wrong string size when 3777 reading RELEASE-DATE file. 3778 37792003-05-07 Andrey Kiselev <[email protected]> 3780 3781 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 3782 index was out of range. 3783 37842003-05-06 Andrey Kiselev <[email protected]> 3785 3786 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 3787 configure, Makefile.in: Improved libtiff compilation with OJPEG 3788 support. Now no need for patching IJG JPEG library, hack requred by 3789 libtiff will be compiled and used in-place. Implemented with 3790 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 3791 3792 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 3793 TIFFVGetFieldDefaulted() function. 3794 37952003-05-05 Andrey Kiselev <[email protected]> 3796 3797 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 3798 comments. 3799 3800 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 3801 was not copied from source image. 3802 3803 * libtiff/getimage.c: Workaround for some images without correct 3804 info about alpha channel as per bug 3805 3806 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 3807 38082003-04-29 Andrey Kiselev <[email protected]> 3809 3810 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 3811 It basically allows one to use the /flateDecode filter for ZIP 3812 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 3813 3814 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 3815 3816 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 3817 as per bug 3818 3819 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 3820 38212003-04-17 Andrey Kiselev <[email protected]> 3822 3823 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 3824 due to problems with multidirectory images. Quality of error messages 3825 improved. 3826 38272003-04-16 Andrey Kiselev <[email protected]> 3828 3829 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 3830 encoded images. See bug entries 3831 3832 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 3833 3834 and 3835 3836 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 3837 3838 * libtiff/tif_dirread.c: Additional check for StripByteCounts 3839 correctness. Fixes 3840 3841 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 3842 38432003-03-12 Andrey Kiselev <[email protected]> 3844 3845 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 3846 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 3847 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 3848 tiffmedian.c}: Added library version reporting facility to all tools. 3849 38502003-03-06 Frank Warmerdam <[email protected]> 3851 3852 * port/install.sh.in: Fixed problems with install producing paths 3853 like ///usr/local/lib on cygwin. 3854 38552003-02-27 Andrey Kiselev <[email protected]> 3856 3857 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 3858 raw input page. Patch supplied by Julien Gaulmin. See 3859 3860 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 3861 3862 for details. 3863 38642003-02-26 Frank Warmerdam <[email protected]> 3865 3866 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 3867 responsible for byte swapping complex image data. 3868 3869 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 3870 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 3871 38722003-02-07 Andrey Kiselev <[email protected]> 3873 3874 * tools/ppm2tiff.c: Fixed problem with too many arguments. 3875 38762003-02-04 Andrey Kiselev <[email protected]> 3877 3878 * tools/raw2tiff.c: Memory leak fixed. 3879 38802003-02-03 Andrey Kiselev <[email protected]> 3881 3882 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 3883 (thanks, Julien!). More switches for fax2tiff tool for better control 3884 of input and output. Details at 3885 3886 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 3887 38882003-02-03 Frank Warmerdam <[email protected]> 3889 3890 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 3891 library so that we can check if there is already any tile/strip data 3892 before deciding between creating a compressor or a decompressor. 3893 38942003-01-31 Frank Warmerdam <[email protected]> 3895 3896 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 3897 a pre-existing compressed image. That is, image writing to 3898 pre-existing compressed images is not allowed. 3899 3900 * libtiff/tif_open.c: Removed error if opening a compressed file 3901 in update mode. 3902 3903 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 3904 39052003-01-31 Andrey Kiselev <[email protected]> 3906 3907 * config.guess, config.sub: Updated to recent upstream versions. 3908 39092003-01-15 Frank Warmerdam <[email protected]> 3910 3911 * cut 3.6.0 Beta release. 3912 39132002-12-20 Andrey Kiselev <[email protected]> 3914 3915 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 3916 in wrong way as per bug 3917 3918 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 3919 39202002-12-17 Frank Warmerdam <[email protected]> 3921 3922 * libtiff/tif_dirread.c: Allow wrong sized arrays in 3923 TIFFFetchStripThing(). 3924 3925 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 3926 39272002-12-02 Frank Warmerdam <[email protected]> 3928 3929 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 3930 Was using realloc even first time. Fix by Igor Venevtsev. 3931 39322002-11-30 Frank Warmerdam <[email protected]> 3933 3934 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 3935 field value. 3936 3937 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 3938 tags in TIFFVGetField() ... added missing break. 3939 39402002-10-14 Frank Warmerdam <[email protected]> 3941 3942 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 3943 the scanline buffer long enough when writing rgb triplets. 3944 The scanline needs to be 3 X the number of dots or else it will 3945 contain an incomplete triplet and programs that try to separate 3946 the eps by redefining the colorimage operator will get messed up. 3947 Patch supplied by William Bader. 3948 3949 * Makefile.in: added tif_extension.c to file list as per 3950 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 3951 39522002-10-11 Andrey Kiselev <[email protected]> 3953 3954 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 3955 large files (>2GiB) supporting. New option in the config.site: 3956 LARGEFILE="yes". Should be enough for I/O of the large files. 3957 39582002-10-10 Frank Warmerdam <[email protected]> 3959 3960 * libtiff/html/v3.6.0.html: new release notes. 3961 3962 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 3963 link for Andrey. Pointer to v3.6.0.html. 3964 3965 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 3966 39672002-10-07 Andrey Kiselev <[email protected]> 3968 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 3969 (thanks, Sebastian!). New switches: 3970 -b # for a bottom margin of # inches 3971 -c center image 3972 -l # for a left margin of # inches 3973 -r rotate the image by 180 degrees 3974 New features merged with code for shrinking/overlapping. 3975 Previously added -c and -n switches (for overriding PS units) renamed 3976 in -x and -y respectively. 3977 3978 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 3979 3980 * html/man/*.html: Updated from actual manual pages. 3981 39822002-10-06 Frank Warmerdam <[email protected]> 3983 3984 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 3985 size on windows. Use #define boolean hack. 3986 3987 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 3988 3989 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 3990 USING_VISUALAGE is defined. 3991 3992 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3993 39942002-10-03 Frank Warmerdam <[email protected]> 3995 3996 * libtiff/tiff.h: added COMPRESSION_JP2000. 3997 39982002-10-02 Andrey Kiselev <[email protected]> 3999 4000 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 4001 by the TIFFFetchByteArray() function. Should finally resolve 4002 4003 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 4004 4005 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 4006 4007 * html/Makefile.in: New targets added: html and groffhtml for 4008 producing HTML representations of the manual pages automatically. 4009 html target uses man2html tool, groffhtml uses groff tool. 4010 40112002-09-29 Frank Warmerdam <[email protected]> 4012 4013 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 4014 from John H. DuBois III. 4015 40162002-09-15 Andrey Kiselev <[email protected]> 4017 4018 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 4019 manual page for raw2tiff(1) tool. 4020 40212002-09-12 Andrey Kiselev <[email protected]> 4022 4023 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 4024 the tiffio.h header file. 4025 4026 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 4027 manual page for TIFFDataWidth() function 4028 40292002-09-08 Frank Warmerdam <[email protected]> 4030 4031 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 4032 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 4033 4034 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 4035 since we are unable to properly include the amount to skip. 4036 4037 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 4038 40392002-09-02 Andrey Kiselev <[email protected]> 4040 4041 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 4042 in TIFFFetchByteArray(). Problem described at 4043 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 4044 40452002-08-22 Andrey Kiselev <[email protected]> 4046 4047 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 4048 in _TIFFSetupFieldInfo() function. 4049 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 4050 4051 * /libtiff/tif_lzw.c: Additional consistency checking added in 4052 LZWDecode() and LZWDecodeCompat(). 4053 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 4054 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4055 4056 * /libtiff/tif_lzw.c: 4057 Added check for valid code lengths in LZWDecode() and 4058 LZWDecodeCompat(). Fixes 4059 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 4060 40612002-08-16 Andrey Kiselev <[email protected]> 4062 4063 * /libtiff/{Makefile.vc, libtiff.def}: 4064 Missed declarations added. 4065 40662002-08-15 Frank Warmerdam <[email protected]> 4067 4068 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 4069 return code from the underlying pick function. 4070 4071 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 4072 4073 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 4074 with FIELD_CUSTOM as mentioned in bug 169. 4075 4076 * tif_close.c: added logic to free dynamically created anonymous 4077 field definitions to correct a small memory leak. 4078 4079 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 4080 40812002-08-10 Andrey Kiselev <[email protected]> 4082 4083 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 4084 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 4085 40862002-07-31 Frank Warmerdam <[email protected]> 4087 4088 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 4089 JPEGDecode() as per bugzilla bug (issue 1): 4090 4091 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 4092 4093 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 4094 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 4095 present in the tiff tags. 4096 4097 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 4098 4099 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 4100 TIFFWriteScanline() now set tif_row explicitly in case the codec has 4101 fooled with the value. 4102 4103 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 4104 41052002-06-22 Andrey Kiselev <[email protected]> 4106 4107 * /tools/tiff2ps.c: Added workaround for some software that may crash 4108 when last strip of image contains fewer number of scanlines than 4109 specified by the `/Height' variable. See 4110 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 4111 for explanation. 4112 41132002-06-21 Andrey Kiselev <[email protected]> 4114 4115 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 4116 splitting long images in several pages. See 4117 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 4118 Patch granted by John Williams <[email protected]>. 4119 41202002-06-11 Frank Warmerdam <[email protected]> 4121 4122 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 4123 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 4124 This one is described in: 4125 4126 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 4127 4128 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 4129 4130 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 4131 41322002-05-10 Andrey Kiselev <[email protected]> 4133 4134 * tools/tiff2ps: New commandline switches to override resolution 4135 units obtained from the input file. Closes 4136 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 4137 41382002-04-26 Andrey Kiselev <[email protected]> 4139 4140 * libtiff/libtiff.def: Added missed declaration. 4141 41422002-04-22 Andrey Kiselev <[email protected]> 4143 4144 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 4145 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 4146 41472002-04-20 Andrey Kiselev <[email protected]> 4148 4149 * libtiff/tif_open.c: Pointers to custom procedures 4150 in TIFFClientOpen() are checked to be not NULL-pointers. 4151 41522002-04-18 Andrey Kiselev <[email protected]> 4153 4154 * libtiff/libtiff.def: Added missed declarations. 4155 4156 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 4157 41582002-04-16 Andrey Kiselev <[email protected]> 4159 4160 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 4161 Should finally close 4162 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4163 41642002-04-10 Andrey Kiselev <[email protected]> 4165 4166 * tools/tiff2ps: Division by zero fixed. 4167 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 4168 41692002-04-09 Andrey Kiselev <[email protected]> 4170 4171 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 4172 TIFFCheckpointDirectory() routine added. 4173 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 4174 4175 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 4176 for the new function. 4177 41782002-04-08 Andrey Kiselev <[email protected]> 4179 4180 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 4181 additional members tif->tif_decodestatus and tif->tif_encodestatus 4182 for correct handling of unconfigured codecs (we should not try to read 4183 data or to define data size without correct codecs). 4184 4185 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 4186 changed. Now it has used tif->tif_decodestatus and 4187 tif->tif_encodestatus. 4188 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 4189 case of __cvs_8.tif test image). 4190 4191 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 4192 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 4193 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 4194 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 4195 41962002-04-04 Andrey Kiselev <[email protected]> 4197 4198 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 4199 replaced by warnings. Now libtiff should read corrupted LZW-compressed 4200 files by skipping bad strips. 4201 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4202 42032002-04-03 Frank Warmerdam <[email protected]> 4204 4205 * libtiff/tif_dirwrite.c: Removed some dead code. 4206 4207 * libtiff/*: Cleanup some warnings. 4208 4209 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 4210 for variable length FIELD_CUSTOM values. Was int * but should be 4211 u_short *. 4212 42132002-04-01 Andrey Kiselev <[email protected]> 4214 4215 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 4216 utility (at cpStripToTile routine). 4217 42182002-03-27 Frank Warmerdam <[email protected]> 4219 4220 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 4221 4222 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 4223 4224 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 4225 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 4226 4227 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 4228 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 4229 42302002-03-26 Dwight Kelly <[email protected]> 4231 4232 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 4233 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 4234 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 4235 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 4236 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 4237 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 4238 42392002-03-26 Andrey Kiselev <[email protected]> 4240 4241 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 4242 now also uses TIFFRGBAImageOK before reading. This is additional fix 4243 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 4244 42452002-03-25 Andrey Kiselev <[email protected]> 4246 4247 * libtiff/: tif_getimage.c: Additional check for supported 4248 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 4249 TIFFRGBAImageOK before reading. 4250 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 4251 42522002-03-15 Andrey Kiselev <[email protected]> 4253 4254 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 4255 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 4256 TIFFDataType sizes instead of working with tiffDataWidth array 4257 directly. Should prevent out-of-borders bugs in case of unknown or 4258 broken data types. EstimateStripByteCounts routine modified, so it 4259 won't work when tags with uknown sizes founded. 4260 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 4261 42622002-03-13 Andrey Kiselev <[email protected]> 4263 4264 * libtiff/tif_getimage.c: Added support for correct handling 4265 `Orientation' tag in gtTileContig. Should be added in other gt* 4266 functions as well, but I have not images for testing yet. Partially 4267 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4268 42692002-03-10 Andrey Kiselev <[email protected]> 4270 4271 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 4272 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 4273 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 4274 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 4275 42762002-03-08 Andrey Kiselev <[email protected]> 4277 4278 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 4279 be stripped when installing, utility binaries will do. Closes 4280 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 4281 42822002-02-28 Frank Warmerdam <[email protected]> 4283 4284 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 4285 4286 * man/libtiff.3t: added copyright tag info. 4287 42882002-02-11 Frank Warmerdam <[email protected]> 4289 4290 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 4291 4292 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 4293 4294 * man/Makefile.in: Patch DESTDIR handling 4295 4296 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 4297 4298 * configure: OpenBSD changes for Sparc64 and DSO version. 4299 4300 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 4301 43022002-02-05 Frank Warmerdam <[email protected]> 4303 4304 * config.site/configure: added support for OJPEG=yes option to enable 4305 OJPEG support from config.site. 4306 43072002-01-27 Frank Warmerdam <[email protected]> 4308 4309 * html/document.html: fixed links for TIFf 6 docs. 4310 43112002-01-18 Frank Warmerdam <[email protected]> 4312 4313 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 4314 4315 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 4316 decodestrip function returns anything not greater than zero as per 4317 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 4318 4319 * configure: Modify CheckForBigEndian so it can work in a cross 4320 compiled situation. 4321 43222002-01-16 Frank Warmerdam <[email protected]> 4323 4324 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 4325 4326 * tools/tiffset.c: fix bug in error reporting. 4327 4328 * tools/tiffcp.c: fix several warnings that show up with -Wall. 4329 43302002-01-04 Frank Warmerdam <[email protected]> 4331 4332 * libtiff/tif_jpeg.c: fixed computation of segment_width for 4333 tiles files to avoid error about it not matching the 4334 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 4335 size.") for ITIFF files. Apparently the problem was incorporated since 4336 3.5.5, presumably during the OJPEG/JPEG work recently. 4337 43382001-12-15 Frank Warmerdam <[email protected]> 4339 4340 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 4341 4342 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 4343 4344 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 4345 (defined in tiffconf.h - 1 by default) then the RGBA interface 4346 will assume that a fourth extra sample is ASSOCALPHA if the 4347 EXTRASAMPLE value isn't set for it. This changes the behaviour of 4348 the library, but makes it work better with RGBA files produced by 4349 lots of applications that don't mark the alpha values properly. 4350 4351 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 4352 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 4353 43542001-12-12 Frank Warmerdam <[email protected]> 4355 4356 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 4357 override those from tiff directory. This makes this work with 4358 ImageGear generated files. 4359 43602001-12-07 Frank Warmerdam <[email protected]> 4361 4362 * html/Makefile.in: added missing images per bug 92. 4363 4364 * port/Makefile.in: fixed clean target per bug 92. 4365 43662001-11-28 Frank Warmerdam <[email protected]> 4367 4368 * Reissue 3.5.7 release. 4369 4370 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 4371 YYYYMMDD so that it is increasing over time. 4372 4373 * Makefile.in: Ensure that tiffvers.h is regenerated in the 4374 make release target. 4375 4376 * Makefile.in: added libtiff/tiffvers.h to the release file list. 4377 43782001-11-23 Frank Warmerdam <[email protected]> 4379 4380 * added html/v3.5.7.html, updated html/index.html. 4381 4382 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 4383 43842001-11-15 Frank Warmerdam <[email protected]> 4385 4386 * configure: fixed test for -lm. 4387 43882001-11-02 Frank Warmerdam <[email protected]> 4389 4390 * Added PHOTOMETRIC_ITULAB as per bug 90. 4391 4392 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 4393 43942001-10-10 Frank Warmerdam <[email protected]> 4395 4396 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 4397 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 4398 in keeping with TIFF 6.0 standard in tiff.h 4399 4400 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 4401 44022001-09-26 Frank Warmerdam <[email protected]> 4403 4404 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 4405 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 4406 44072001-09-24 Frank Warmerdam <[email protected]> 4408 4409 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 4410 4411 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 4412 4413 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 4414 error about LZW not being available. 4415 4416 * libtiff/tif_dir.c: propagate failure to initialize compression 4417 back from TIFFSetField() as an error status, so applications can 4418 detect failure. 4419 4420 * libtiff/tif_dir.c: removed the auto replacement of 4421 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 4422 4423 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 4424 from CVS as they are all supposed to be auto-generated by configure. 4425 44262001-09-22 Frank Warmerdam <[email protected]> 4427 4428 * libtiff/tif_ojpeg.c: new update from Scott. 4429 44302001-09-09 Frank Warmerdam <[email protected]> 4431 4432 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 4433 always use the "safe" version, even if there is a very slight 4434 cost in performance. 4435 4436 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 4437 4438 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 4439 in two places. 4440 4441 * libtiff/tif_getimage.c: Fixed problem with reading strips or 4442 tiles that don't start on a tile boundary. Fix contributed by 4443 Josep Vallverdu (from HP), and further described in bug 47. 4444 4445 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 4446 4447 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 4448 4449 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 4450 44512001-09-06 Frank Warmerdam <[email protected]> 4452 4453 * libtiff/tif_packbits.c: fixed memory overrun error. 4454 4455 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 4456 44572001-08-31 Frank Warmerdam <[email protected]> 4458 4459 * libtiff/tif_getimage.c: relax handling of contig case where 4460 there are extra samples that are supposed to be ignored. This 4461 should now work for 8bit greyscale or palletted images. 4462 4463 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 4464 44652001-08-28 Frank Warmerdam <[email protected]> 4466 4467 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 4468 images with more than four samples per pixel. See: 4469 4470 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 4471 44722001-08-10 Frank Warmerdam <[email protected]> 4473 4474 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 4475 in TIFFReadRGBATile() to avoid issues in cases of overlapping 4476 buffers. See Bug 69 in Bugzilla. 4477 4478 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 4479 4480 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 4481 44822001-08-09 Frank Warmerdam <[email protected]> 4483 4484 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 4485 when checking for 64 bit architectures as per bugzilla bug 67. 4486 44872001-07-27 Frank Warmerdam <[email protected]> 4488 4489 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 4490 bug 66. 4491 44922001-07-20 Frank Warmerdam <[email protected]> 4493 4494 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 4495 has been included. 4496 44972001-07-19 Frank Warmerdam <[email protected]> 4498 4499 * libtiff/tif_open.c: Seek back to zero after failed read, 4500 before writing header. 4501 45022001-07-18 Frank Warmerdam <[email protected]> 4503 4504 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 4505 much better. Now depends on having patched libjpeg as per 4506 patch in contrib/ojpeg/*. 4507 45082001-07-17 Frank Warmerdam <[email protected]> 4509 4510 * */Makefile.in: added DESTDIR support. 4511 4512 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 4513 45142001-07-16 Frank Warmerdam <[email protected]> 4515 4516 * configure, libtiff/Makefile.in: applied OpenBSD patches 4517 as per: 4518 4519 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 4520 45212001-06-28 Frank Warmerdam <[email protected]> 4522 4523 * libtiff/tif_getimage.c: Fixed so that failure is properly 4524 reported by gtTileContig, gtStripContig, gtTileSeparate and 4525 gtStripSeparate. 4526 4527 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 4528 4529 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 4530 Updated bug section of tiffcmp.1 to note tiled file issues. 4531 4532 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 4533 45342001-06-22 Frank Warmerdam <[email protected]> 4535 4536 * configure: Changes for DSO generation on AIX provided by 4537 John Marquart <[email protected]>. 4538 4539 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 4540 on Darwin thanks to Robert Krajewski ([email protected]) and 4541 Keisuke Fujii ([email protected]). 4542 45432001-06-13 Frank Warmerdam <[email protected]> 4544 4545 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 4546 4547 * man/tiff2rgba.1: new 4548 45492001-05-22 Frank Warmerdam <[email protected]> 4550 4551 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 4552 45532001-05-13 Frank Warmerdam <[email protected]> 4554 4555 * libtiff/tools/thumbnail.c: changed default output compression 4556 to packbits from LZW since LZW isn't generally available. 4557 45582001-05-12 Frank Warmerdam <[email protected]> 4559 4560 * libtiff/tif_ojpeg.c: New. 4561 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 4562 to OJPEG support. 4563 4564 Scott Marovich <[email protected]> supplied OJPEG support. 4565 45662001-05-11 Frank Warmerdam <[email protected]> 4567 4568 * tiff.h: removed, it duplicates libtiff/tiff.h. 4569 45702001-05-08 Frank Warmerdam <[email protected]> 4571 4572 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 4573 ensure everything is in order. 4574 4575 * libtiff/libtiff.def: added TIFFCreateDirectory and 4576 TIFFDefaultStripSize as per: 4577 4578 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 4579 45802001-05-02 Frank Warmerdam <[email protected]> 4581 4582 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 4583 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 4584 force use of uint32 counts instead of short counts. 4585 4586 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 4587 case of writing TIFF_BYTE/TIFF_SBYTE fields. 4588 4589 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 4590 45912001-05-01 Frank Warmerdam <[email protected]> 4592 4593 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 4594 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 4595 45962001-04-05 Frank Warmerdam <[email protected]> 4597 4598 * tiffio.h: removed C++ style comment. 4599 4600 * configure: fixed up SCRIPT_SH/SHELL handling. 4601 4602 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 4603 4604 * config.guess: documented more variables as per bug 40. 4605 46062001-04-03 Frank Warmerdam <[email protected]> 4607 4608 * configure, *Makefile.in: Various changes to improve configuration 4609 for HP/UX specifically, and also in general. They include: 4610 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 4611 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 4612 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 4613 - Use -${MAKEFLAGS} in sub makes from makefiles. 4614 4615 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 4616 46172001-04-02 Frank Warmerdam <[email protected]> 4618 4619 * libtiff/tiff.h: Applied hac to try and resolve the problem 4620 with the inttypes.h include file on AIX. 4621 4622 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4623 4624 * VERSION: update to 3.5.7 beta in preparation for release. 4625 4626 * configure/config.site: modified to check if -lm is needed for 4627 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 4628 4629 * config.guess: updated wholesale to an FSF version apparently 4630 from 1998 (as opposed to 1994). This is mainly inspired by 4631 providing for MacOS X support. 4632 46332001-03-29 Frank Warmerdam <[email protected]> 4634 4635 * configure, Makefile.in, etc: added support for OPTIMIZER being 4636 set from config.site. 4637 46382001-03-28 Frank Warmerdam <[email protected]> 4639 4640 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 4641 4642 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 4643 sizes. It fixes two problems: 4644 4645 Without scaling (-S) the fax is now centered on the page size specified 4646 with -H and/or -W. Before, fax2ps was using an obscure and practially 4647 useless algorithm to allocate the image relative to Letter sized paper 4648 which sometime sled to useless whitespace on the paper, while at the 4649 same time cutting of the faxes printable area at the opposite border. 4650 4651 Second, scaling now preserves aspect ratio, which makes unusual faxes 4652 (in particular short ones) print properly. 4653 4654 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 4655 4656 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 4657 Bruce A. Mallett. See check message for detailed information 4658 on all the changes, including a faster encoder, fixes for level 4659 2 PostScript, and support for the imagemask operator. 4660 46612001-03-27 Frank Warmerdam <[email protected]> 4662 4663 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 4664 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 4665 4666 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4667 46682001-03-16 Frank Warmerdam <[email protected]> 4669 4670 * tif_dirinfo.c: moved definition of copyright tag in field list. 4671 Apparently they have to be in sorted order by tag id. 4672 46732001-03-13 Frank Warmerdam <[email protected]> 4674 4675 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 4676 images in RGBA interface. 4677 46782001-03-02 Frank Warmerdam <[email protected]> 4679 4680 * Added TIFFTAG_COPYRIGHT support. 4681 46822001-02-19 Frank Warmerdam <[email protected]> 4683 4684 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 4685 with support for extracting subimages with the ,n syntax, and also 4686 adding the -b bias removal flag. 4687 46882001-02-16 Frank Warmerdam <[email protected]> 4689 4690 * libtiff/libtiff.def: Brent Roman submitted new version adding 4691 serveral missing entry points. 4692 4693 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 4694 Some sort of weird VMS thing. 4695 4696 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 4697 4698 * tif_luv.c/tiff.h/tiffio.h: 4699 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 4700 ([email protected]). He writes: 4701 4702 1) I improved the gamut-mapping function in tif_luv.c for imaginary 4703 colors, because some images were being super-saturated on the input 4704 side and this resulted in some strange color shifts in the output. 4705 4706 2) I added a psuedotag in tiff.h to control random dithering during 4707 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 4708 on for 24-bit LogLuv output. Dithering improves the average color 4709 accuracy over the image. 4710 4711 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 4712 tiffio.h, to expose internal routines for converting between LogLuv and 4713 XYZ coordinates. This is helpful for writing more efficient, 4714 specialized conversion routines, especially for reading LogLuv files. 4715 4716 Changes applied with minor edits. 4717 47182001-01-23 Frank Warmerdam <[email protected]> 4719 4720 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 4721 whether we are encoding or decoding. This is to ensure graceful 4722 recovery if TIFFClientOpen() discovers an attempt to open a compressed 4723 file for "r+" access, and subsequently close it, as it resets the 4724 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 4725 compressor's concept of whether it is in encode or decode mode. 4726 47272001-01-08 Mike Welles <[email protected]> 4728 4729 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 4730 47312001-01-07 Frank Warmerdam <[email protected]> 4732 4733 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 4734 as per bug report by Patrick Connor. 4735 47362000-12-28 Frank Warmerdam <[email protected]> 4737 4738 * Added RELEASE-DATE file to release file list. 4739 4740 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 4741 47422000-12-22 Mike Welles <[email protected]> 4743 * added link to CVS mirror from index.html 4744 4745 * updated html/internals.html to note that LZW compression is 4746 not supported by default. 4747 47482000-12-22 Frank Warmerdam <[email protected]> 4749 4750 * updated html/libtiff.html to not point at Niles' old JPL web site 4751 for the man pages, point at www.libtiff.org. 4752 47532000-12-21 Frank Warmerdam <[email protected]> 4754 4755 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 4756 Leonard Rosenthol <[email protected]>. May interfere 4757 with correct building on older systems. If so, please let me know. 4758 47592000-12-19 Mike Welles <[email protected]> 4760 4761 * Took out LZW Encoding from tif_lzw.c 4762 4763 * Created HOWTO-RELEASE 4764 4765 * Created html/v3.5.6.html 4766 4767 * updated index.html 4768 47692000-12-01 Frank Warmerdam <[email protected]> 4770 4771 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 4772 Patches supplied by Frank Cringle <[email protected]> 4773 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 4774 47752000-11-24 Frank Warmerdam <[email protected]> 4776 4777 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 4778 target so that the private headers required by libgeotiff can be 4779 installed with the others. They are not installed by default. 4780 4781 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 4782 targets so libtiff.so will be built with an explicit dependency 4783 on libm.so. 4784 4785 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 4786 libtiff.so.3.5.5. 4787 4788 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 4789 file, or ALPHA version logic. Added stuff about DIST_POINT in 4790 place of DIST_TYPE and the alpha release number stuff. 4791 47922000-11-22 Frank Warmerdam <[email protected]> 4793 4794 * I have applied a patch from Steffen Moeller <[email protected]> to 4795 the configure script so that it now accepts the --prefix, and 4796 --exec-prefix directives. 4797 47982000-11-13 Frank Warmerdam <warmerda@cs46980-c> 4799 4800 * I have made a variety of modifications in an effort to ensure the 4801 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 4802 file which seems to be updated regularly. 4803 4804 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 4805 version include file. 4806 o renamed version.h to tiffvers.h because we now have to install it 4807 with the public libtiff include files. 4808 o include tiffvers.h in tiffio.h. 4809 o updated tif_version.c to use tiffvers.h. 4810 o Updated Makefile.in accordingly. 4811 4812 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 4813 I have updated the win32 detection rules in tiffcomp.h. 4814 48152000-10-20 Frank Warmerdam <warmerda@cs46980-c> 4816 4817 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 4818 the strip/tile width and height aren't multiples of the sampling size. 4819 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 4820 Some patches from Rick LaMont of Dot C Software. 4821 4822 * Modified tif_packbits.c encoder to avoid compressing more 4823 data than provided if rowsize doesn't factor into provided data 4824 (such as occurs for YCbCr). 4825 48262000-10-19 Frank Warmerdam <warmerda@cs46980-c> 4827 4828 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 4829 roundup if rows_per_strip not a multiple of vertical sample size. 4830 48312000-10-16 Frank Warmerdam <warmerda@cs46980-c> 4832 4833 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 4834 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 4835 from [email protected]. 4836 4837 * Modified tif_packbits.c decoding to avoid overrunning the 4838 output buffer, and to issue a warning if data needs to be 4839 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 4840 48412000-10-12 Frank Warmerdam <warmerda@cs46980-c> 4842 4843 * Modified tiff2bw to ensure portions add to 100%, and that 4844 white is properly recovered. 4845 4846 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 4847 Patch c/o Stanislav Brabec <[email protected]> 4848 48492000-09-30 Frank Warmerdam <warmerda@cs46980-c> 4850 4851 * Modified TIFFClientOpen() to emit an error on an attempt to 4852 open a comperessed file for update (O_RDWR/r+) access. This is 4853 because the compressor/decompressor code gets very confused when 4854 the mode is O_RDWR, assuming this means writing only. See 4855 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 4856 48572000-09-27 Frank Warmerdam <warmerda@cs46980-c> 4858 4859 * Added GNULDdso target an`d switched linux and freebsd to use it. 4860 48612000-09-26 Frank Warmerdam <warmerda@cs46980-c> 4862 4863 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 4864 of EXPAND1D() as per bug 11 (from Roman). 4865 48662000-09-25 Frank Warmerdam <warmerda@cs46980-c> 4867 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 4868 cygwin compatibility. 4869 4870 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 4871 be a proper fix to the buffer sizing problem. See 4872 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 4873 4874 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 4875 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 4876 Thanks to Nick Lamb <[email protected]> for reporting the 4877 bug and proving the patch. 4878 48792000-09-18 Frank Warmerdam <warmerda@cs46980-c> 4880 4881 * Fixed tif_jpeg.c so avoid destroying the decompressor before 4882 we are done access data thanks to bug report from: 4883 Michael Eckstein <[email protected]>. 4884 4885 * Reverted tif_flush change. 4886 48872000-09-14 Frank Warmerdam <warmerda@cs46980-c> 4888 4889 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 4890 error when TIFF_BEENWRITING is not set. This ensures that the 4891 directory contents can still be flushed by TIFFFlush(). 4892 48932000-08-14 Frank Warmerdam <[email protected]> 4894 4895 * tif_open.c: Don't set MMAP for O_RDWR files. 4896 4897 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 4898 so that files opened for update can be strip chopped too. 4899 4900 * tif_read.c: fixed up bug with files missing rowsperstrip and 4901 the strips per separation fix done a few weeks ago. 4902 49032000-07-17 Frank Warmerdam <warmerda@cs46980-c> 4904 4905 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 4906 SAMPLEFORMAT_COMPLEXINT. 4907 49082000-07-13 Mike Welles <[email protected]> 4909 4910 * index.html, bugs.html: added bugzilla info. 4911 49122000-07-12 Frank Warmerdam <[email protected]> 4913 4914 * tif_read.c: fix subtle bug with determining the number of 4915 rows for strips that are the last strip in a separation but 4916 not the last strip of all in TIFFReadEncodedStrip(). 4917 4918 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 4919 Peter Skarpetis <[email protected]> 4920 49212000-06-15 Frank Warmerdam <[email protected]> 4922 4923 * Modified tiffio.h logic with regard to including windows.h. It 4924 won't include it when building with __CYGWIN__. 4925 49262000-05-11 Frank Warmerdam <warmerda@cs46980-c> 4927 4928 * README: update to mention www.libtiff.org, don't list Sam's old 4929 email address. 4930 4931 * configure: Fixed DSO test for Linux as per patch from 4932 Jan Van Buggenhout <[email protected]>. 4933 49342000-04-21 Frank Warmerdam <[email protected]> 4935 4936 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 4937 one tile/strip images with an offset, and byte count of zero. These 4938 could be "unpopulated" images. 4939 49402000-04-18 Frank Warmerdam <[email protected]> 4941 4942 * contrib/addtiffo: Added "averaging" resampling option. 4943 4944 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 4945 4946Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 4947 4948 * tools/Makefile.in: Modified to install properly on SGI. 4949 49502000-04-12 Mike Welles <[email protected]> 4951 * configure: Fixed stupid mistake in libc6 test on Linux 4952 49532000-04-04 Mike Welles <[email protected]> 4954 * tif_win32.c: Applied patch to fix overreads and ovverwrites 4955 caught by BoundsChecker. From Arvan Pritchard 4956 <[email protected]> (untested). 4957 4958 * tif_getimage.c: Applied patch to silence VC6 warnings. From 4959 Arvan Pritchard <[email protected]> 4960 4961 * tif_lzw.c: Applied patch to silence VC6 warnings. From 4962 Arvan Pritchard <[email protected]> 4963 49642000-03-28 Frank Warmerdam <warmerda@cs46980-c> 4965 4966 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 4967 49682000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 4969 4970 * fax2ps: Fixed mixup of width and height in bounding box statement 4971 as per submission by Nalin Dahyabhai <[email protected]>. 4972 49732000-03-27 Mike Welles <[email protected]> 4974 4975 * fax2ps: Modified printruns to take uint32 instead of uint16. 4976 Patch courtesy of Bernt Herd <[email protected]> 4977 49782000-03-20 Mike Welles <[email protected]> 4979 4980 * configure: added test for libc6 for linux targets. Bug reported by 4981 Stanislav Brabec <[email protected]> 4982 4983 * Added 3.5 docs to html/Makefile.in. 4984 Thanks to Stanislav Brabec <[email protected]> 4985 4986 * configure: fixed bugs in sed scripts 4987 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 4988 fix submitted to Stanislav Brabec <[email protected]> 4989 4990 * tools/iptcutil was not in files list, and wasn't being 4991 added to tar archive. Updated Makefile.in. 4992 49932000-03-17 Frank Warmerdam <warmerda@cs46980-c> 4994 4995 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 4996 conversion for the run arrays. 4997 49982000-03-03 Frank Warmerdam <[email protected]> 4999 5000 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 5001 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 5002 50032000-03-02 Frank Warmerdam <[email protected]> 5004 5005 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 5006 5007 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 5008 to avoid overruns encountered with frle_bug.tif. 5009 5010Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 5011 5012 * Fixed tools/tiffcmp so that stopondiff testing works. 5013 Patch care of Joseph Orost <[email protected]>. 5014 50152000-01-28 <warmerda@CS46980-B> 5016 5017 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 5018 set to 1, and added default (off) setting in tiffconf.h. This 5019 should eventually be set by the configure script somehow. 5020 5021 The original work on all these 2-4GB changes was done by 5022 Peter Smith ([email protected]). 5023 5024 * Modified tif_win32.c to support 2-4GB seeks. 5025 5026 * tentatively changed toff_t to be unsigned instead of signed to 5027 facilitate support for 2-4GB files. 5028 5029 * Updated a variety of files to use toff_t. Fixed some mixups 5030 between toff_t and tsize_t. 5031 5032Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 5033 5034 * Largely reimplemented contrib/addtiffo to avoid temp files, 5035 updating the TIFF file in place. Fixed a few other bugs to. 5036 5037 * Set tif_rawdatasize to zero when freeing raw data buffer in 5038 TIFFWriteDirectory(). 5039 5040 * Enabled "REWRITE_HACK" in tif_write.c by default. 5041 5042 * Fix bug in tif_write.c when switching between reading one directory 5043 and writing to another. 5044 5045 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 5046 5047Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 5048 5049 * Added TIFFmemory(3t) functions to libtiff.def. 5050 5051Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 5052 5053 * Added libtiff/libtiff.def to TIFFILES distribution list. 5054 5055Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 5056 5057 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 5058 5059 * Altered descriptions in tools to reflect "by default" lzw not supported 5060 5061 * Updated index.html to note lzw compression kit. 5062 5063Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 5064 5065 * Added fax3sm_winnt.c to distribution list in Makefile.in. 5066 5067Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 5068 5069 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 5070 5071 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 5072 when LZW compression invoked. 5073 5074 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 5075 in tools to reflect removal of LZW compression 5076 5077Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 5078 5079 * Fixed bug that caused LZW (non) compression to segfault. Added 5080 warning about LZW compression removed being removed, and why. 5081 5082 * Added nostrip to install in tools/Makefile.in so that debugging 5083 symbols are kept. 5084 5085Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 5086 5087 * Added patch from Ivo Penzar <[email protected]>, 5088 supporting Adobe ZIP deflate. Untested. 5089 5090Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 5091 5092 * Made Packbits the default compression in tools/tiff2rgba.c instead 5093 of LZW. 5094 5095Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 5096 5097 * Added tif_luv to contrib/djgpp/Makefile.lib. 5098 5099Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 5100 5101 * Added zip creation to relase makefile target 5102 5103 * Added html for TIFFWriteTile.3t man page. 5104 5105Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 5106 5107 * Added some changes to tif_write.c to support rewriting existing 5108 fixed sized tiles and strips. Code mods disabled by default, only 5109 enabled if REWRITE_HACK is defined for now. 5110 5111Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 5112 5113 * Added TIFFWriteTile.3t man page. 5114 5115Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 5116 5117 * Added notes on use of makefile.vc in build.html, and fixed 5118 email subscription address. 5119 5120199-11-28 Mike Welles <[email protected]> 5121 5122 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 5123 5124 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 5125 from Bruce Carmeron <[email protected]> -- modifications of 5126 changes made by Frank (sun cc still complained on cast). 5127 5128 * Added tiffconf.h to install target per request from Bill 5129 Radcliffe <[email protected]>: "We need a way for ImageMagick to 5130 know features have been compiled into the TIFF library in order to 5131 handle things properly". 5132 5133Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 5134 5135 * fixed various VC++ warnings as suggested by Gilles Vollant 5136 <[email protected]>. 5137 5138Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 5139 5140 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 5141 not imply applications are responsible for image data swapping. 5142 51431999-11-22 Mike Welles <[email protected]> 5144 * HTML-ized the man pages, added to html/man 5145 5146 * Removed LZW Compression to comply with Unisys patent extortion. 5147 51481999-09-29 Mike Welles <[email protected]> 5149 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 5150 From Ivo Penzar <[email protected]. 5151 5152 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 5153 memory mapped files. <[email protected]> 5154 51551999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 5156 * Corrected alpha versioning. 5157 5158 * Removed distinction between alpha and release targets in Makefile.in. 5159 5160 * added release.stamp target, which tags cvs tree, and updates 5161 "RELEASE-DATE" 5162 5163 * added releasediff target, which diffs tree with source as of 5164 date in "RELEASE-DATE" 5165 5166 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 5167 away from alpha/non-alpha distinctions). 5168 5169 * updated html to reflect release 5170 51711999-09-23 <warmerda@CS46980-B> 5172 5173 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 5174 5175 * Added CYGWIN case in configure. 5176 5177Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 5178 5179 * Applied Francois Dagand's patch to handle fax decompression bug. 5180 (sizes >= 65536 were failing) 5181 5182Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 5183 5184 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 5185 by Christopher Lawton <[email protected]> 5186 5187Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 5188 5189 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 5190 Albert Chin-A-Young <[email protected]> 5191 5192 * Added TIFFReassignTagToIgnore() API on behalf of 5193 Bruce Cameron <[email protected]>. Man page still pending. 5194 5195Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 5196 5197 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 5198 files to provide for a rudimentary testsuite. 5199 5200 * Added contrib/tags back from old distribution ... fixed up a bit. 5201 52021999-08-16 <warmerda@CS46980-B> 5203 5204 * Added simple makefile.vc makefiles for building with MS VC++ 5205 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 5206 better solutions for some users. 5207 5208Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 5209 5210 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 5211 put it in tools since part of it is in C++. 5212 52131999-08-16 Michael L. Welles <[email protected]> 5214 5215 * Updated html/index.html with anon CVS instructions. 5216 5217Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 5218 5219 * pre-remove so link before softlink in LINUXdso action in 5220 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 5221 the first. 5222 5223 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 5224 colormaps owned by the TIFF handle itself when trying to fixup wrong 5225 (eight bit) colormaps. Corrected by maintaining a private copy of 5226 the colormap. 5227 5228 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 5229 tif_getimage.c. 5230 5231 * CVS Repository placed at remotesensing.org. ChangeLog added. 5232