12010-12-13 Lee Howard <[email protected]> 2 3 * tools/fax2ps.c: be consistent with page-numbering 4 http://bugzilla.maptools.org/show_bug.cgi?id=2225 5 62010-12-13 Lee Howard <[email protected]> 7 8 * libtiff/tif_color.c: prevent crash in handling bad TIFFs 9 resolves CVE-2010-2595 10 http://bugzilla.maptools.org/show_bug.cgi?id=2208 11 122010-12-13 Lee Howard <[email protected]> 13 14 * tools/tiffcrop.c: new release by Richard Nolde 15 http://bugzilla.maptools.org/show_bug.cgi?id=2004 16 172010-12-12 Lee Howard <[email protected]> 18 19 * tools/tiff2pdf.c: fix colors for images with RGBA 20 interleaved data 21 http://bugzilla.maptools.org/show_bug.cgi?id=2250 22 232010-12-12 Lee Howard <[email protected]> 24 25 * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files 26 http://bugzilla.maptools.org/show_bug.cgi?id=2164 27 282010-12-11 Lee Howard <[email protected]> 29 30 * tools/tiff2pdf.c: remove invalid duplication for Lab 31 http://bugzilla.maptools.org/show_bug.cgi?id=2162 32 332010-12-11 Lee Howard <[email protected]> 34 35 * libtiff/tif_jpeg.c: fix use of clumplines calculation 36 http://bugzilla.maptools.org/show_bug.cgi?id=2149 37 382010-12-11 Lee Howard <[email protected]> 39 40 * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp() 41 http://bugzilla.maptools.org/show_bug.cgi?id=2118 42 432010-12-11 Lee Howard <[email protected]> 44 45 * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c, 46 libtiff/tif_zip.c: fix build errors for VC6 47 http://bugzilla.maptools.org/show_bug.cgi?id=2105 48 492010-12-11 Lee Howard <[email protected]> 50 51 * libtiff/tif_stream.cxx: warnings cleanup 52 http://bugzilla.maptools.org/show_bug.cgi?id=2091 53 * libtiff/tif_dirread.c: warnings cleanup 54 http://bugzilla.maptools.org/show_bug.cgi?id=2092 55 562010-12-11 Lee Howard <[email protected]> 57 58 * tools/tiff2pdf.c: add fill-page option 59 http://bugzilla.maptools.org/show_bug.cgi?id=2051 60 612010-12-11 Lee Howard <[email protected]> 62 63 * libtiff/tif_dirread.c: modify warnings 64 http://bugzilla.maptools.org/show_bug.cgi?id=2016 65 662010-12-11 Lee Howard <[email protected]> 67 68 * libtiff/tif_ojpeg.c: fix buffer overflow on problem data 69 http://bugzilla.maptools.org/show_bug.cgi?id=1999 70 712010-12-11 Lee Howard <[email protected]> 72 73 * tools/tiffinfoce.c: strip byte counts are uint64* now 74 752010-12-11 Lee Howard <[email protected]> 76 77 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero 78 or missing byte-count tag 79 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count 80 per http://bugzilla.maptools.org/show_bug.cgi?id=1996 81 822010-12-08 Lee Howard <[email protected]> 83 84 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed 85 TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994 86 872010-12-06 Lee Howard <[email protected]> 88 89 * libtiff/tif_open.c: Fix mode check before opening a file. 90 http://bugzilla.maptools.org/show_bug.cgi?id=1906 91 922010-11-27 Bob Friesenhahn <[email protected]> 93 94 * libtiff-4.pc.in: Added libtiff pkg-config .pc file support. 95 Patch by Vincent Torri. 96 972010-10-21 Frank Warmerdam <[email protected]> 98 99 * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler. 100 101 * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf. 102 103 * libtiff/libtiff.def: export _TIFFCheckMalloc for tools. 104 1052010-09-25 Lee Howard <[email protected]> 106 107 * tools/tiff2ps.c: improvements and enhancements from Richard Nolde 108 with additional command line options for Document Title, 109 Document Creator, and Page Orientation 110 1112010-07-13 Bob Friesenhahn <[email protected]> 112 113 * tools/tiffcrop.c: Patch from Richard Nolde to avoid a 114 potentially unterminated buffer due to using an exceptionally long 115 file name. 116 1172010-07-08 Andrey Kiselev <[email protected]> 118 119 * tools/tiff2pdf.c: Fixed ID buffer filling in 120 t2p_write_pdf_trailer(), thanks to Dmitry V. Levin. 121 1222010-07-07 Andrey Kiselev <[email protected]> 123 124 * lintiff/tif_dirread.c: Really reset the tag count in CheckDirCount() 125 to expected value as the warning message suggests. As per bug 126 http://bugzilla.maptools.org/show_bug.cgi?id=1963 127 1282010-07-06 Andrey Kiselev <[email protected]> 129 130 * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER, 131 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE 132 which should be set by value. 133 134 * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag() 135 and _TIFFFieldWithName() if the tag is not found in the tag table. 136 This should be normal situation and returned NULL value should be 137 properly handled by the caller. 138 1392010-07-02 Andrey Kiselev <[email protected]> 140 141 * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned 142 integer type conversions. As per bug 143 http://bugzilla.maptools.org/show_bug.cgi?id=2207 144 145 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 146 WhitePoint tag as per bug 147 http://bugzilla.maptools.org/show_bug.cgi?id=2042 148 149 * libtiff/tif_getimage.c: Check the number of samples per pixel when 150 working with YCbCr image in PickContigCase(). As per bug 151 http://bugzilla.maptools.org/show_bug.cgi?id=2216 152 153 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing 154 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when 155 we don't need any post-processing. That helps to reset the hook if we 156 previously set this field to some other value and the hook was 157 initialized accordingly. As per bug 158 http://bugzilla.maptools.org/show_bug.cgi?id=2035 159 1602010-07-01 Andrey Kiselev <[email protected]> 161 162 * tools/tiffgt.c: Properly check the raster buffer allocations for 163 integer overflows. As per bug 164 http://bugzilla.maptools.org/show_bug.cgi?id=2108 165 166 * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the 167 upstream. 168 169 * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move 170 multiply_32() and multiply_64() functions into tif_aux.c file and 171 rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively. 172 1732010-06-30 Andrey Kiselev <[email protected]> 174 175 * tools/tiff2pdf.c: Better generation of ID field in 176 t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings. 177 178 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when 179 converting JPEG encoded tiles. 180 181 * tools/tiff2pdf.c: Better handling of string fields, use static 182 string buffers instead of dynamically allocated, use strncpy() instead 183 of strcpy(), control the string lengths. 184 1852010-06-25 Andrey Kiselev <[email protected]> 186 187 * tools/tiffcp.c: Initialize buffer arrays with zero to avoid 188 referencing to uninitialized memory in some cases (e.g. when tile size 189 set bigger than the image size). 190 1912010-06-15 Bob Friesenhahn <[email protected]> 192 193 * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr 194 subsampled data since tiffcrop currently doesn't support it. Fix 195 JPEG support. 196 1972010-06-13 Frank Warmerdam <[email protected]> 198 199 * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201) 200 201 * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 202 in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 203 wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 204 size is larger. Also, there are a bunch of places that try to 205 memset() a malloc'd buffer before checking for malloc failure, which 206 would result in core dump if there actually were a failure. (#2211) 207 2082010-06-11 Bob Friesenhahn <[email protected]> 209 210 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to 211 avoid compiler warnings if parameter types are not sign 212 consistent. 213 214 * libtiff 4.0.0alpha6 released. 215 216 * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected 217 European page size dimensions. Added an option to allow the user 218 to specify a custom page size on the command line. Fix the case 219 where a page size specified with a fractional part was being 220 coerced to an integer by retyping the variables that define the 221 paper size. 222 223 * html/index.html: Update for the 3.9.3 release. 224 225 * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject 226 YCbCr subsampled data since tiffcp currently doesn't support it. 227 http://bugzilla.maptools.org/show_bug.cgi?id=2097 228 229 * Update libtool to version 2.2.10. 230 2312010-06-10 Bob Friesenhahn <[email protected]> 232 233 * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if 234 multiplier is zero. 235 2362010-06-09 Bob Friesenhahn <[email protected]> 237 238 * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for 239 CVE-2010-1411 was not complete. 240 241 * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely 242 multiply two integers. Returns zero if there is an integer 243 overflow. 244 245 * tools/tiffcp.c (main): tiffcp should not leak memory if an error 246 is reported when reading the input file. 247 2482010-06-08 Bob Friesenhahn <[email protected]> 249 250 * Update libtool to version 2.2.8. 251 252 * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of 253 buffer due to integer overflow in TIFFroundup() and several other 254 potential overflows. In conjunction with the fix to TIFFhowmany(), 255 fixes CVE-2010-1411. 256 257 * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would 258 result in an integer overflow. This causes TIFFroundup() to also 259 return zero if there would be an integer overflow. 260 261 * contrib: Add an emacs formatting mode footer to all source files 262 so that emacs can be effectively used. 263 2642010-06-03 Oliver Chen Feng <[email protected]> 265 266 * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff 267 file PAGENUMBER value in sequence for users who care the page 268 sequence, this will also prevent tiff2pdf from creating pdf file from 269 the merged tiff file with wrong page sequence. 270 2712010-05-08 Olivier Paquet <[email protected]> 272 273 * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order 274 to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag. 275 * libtiff/tif_dirinfo.c: Use correct set_field_type for 276 TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2). 277 http://bugzilla.maptools.org/show_bug.cgi?id=2192 278 2792010-05-07 Frank Warmerdam <[email protected]> 280 281 * libtiff/tif_jpeg.c: Ensure that quality is always set in 282 JPEGPreEncode(), not just when we want to output local tables. 283 Otherwise the quality used during compression may not be right and 284 might not match the tables in the tables tag. This bug only occurs 285 when seeking between directories in the midst of writing blocks. 286 http://trac.osgeo.org/gdal/ticket/3539 287 2882010-05-06 Andrey Kiselev <[email protected]> 289 290 * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html: 291 Regenerated from the source. 292 2932010-05-05 Olivier Paquet <[email protected]> 294 295 * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which 296 had stopped working. Also made it always print 6 floats instead of 297 2*SamplesPerPixel. 298 http://bugzilla.maptools.org/show_bug.cgi?id=2191 299 http://bugzilla.maptools.org/show_bug.cgi?id=2186 300 * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the 301 fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats. 302 3032010-05-05 Frank Warmerdam <[email protected]> 304 305 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking 306 if the jpeg table was written. This is a fix for the last fix on 04-21. 307 3082010-04-21 Frank Warmerdam <[email protected]> 309 310 * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 311 JPEGSetupEncode() is called if the tables already seem to be 312 established. This prevents spurious updates and rewriting of 313 directories with jpegtables when doing updates to existing images. 314 http://trac.osgeo.org/gdal/ticket/3539 315 3162010-04-20 Olivier Paquet <[email protected]> 317 318 * libtiff/tif_dirinfo.c: Use correct set_field_type for 319 TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH, 320 TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA. 321 They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2. 322 http://bugzilla.maptools.org/show_bug.cgi?id=2139 323 3242010-04-10 Bob Friesenhahn <[email protected]> 325 326 * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for 327 when the tag count value is zero. Error handling is still a 328 regression since in 3.9.2, empty tags are skipped (with a warning) 329 rather than returning a hard error and refusing to read the file. 330 331 * tools/ppm2tiff.c (main): While case for parsing comment line 332 requires extra parenthesis to work as expected. Reported by 333 Thomas Sinclair. 334 3352010-04-02 Frank Warmerdam <[email protected]> 336 337 * libtiff/tif_read.c (primarily): Add support for 338 CHUNKY_STRIP_READ_SUPPORT where large strips are 339 read in chunks for applications using TIFFReadScanline(). 340 This is intended to make it more practical work with very 341 large compressed one-strip files. Feature is off by default. 342 Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro. 343 http://trac.osgeo.org/gdal/ticket/3514 344 3452010-03-31 Frank Warmerdam <[email protected]> 346 347 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing 348 directories so previously placed directories will be migrated to 349 the end of file if needed. 350 3512010-03-30 Frank Warmerdam <[email protected]> 352 353 * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64 354 to support operating on strips/tiles of more than 256MB. 355 http://trac.osgeo.org/gdal/ticket/3512 356 3572010-03-10 Bob Friesenhahn <[email protected]> 358 359 * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so 360 that it is clearly a memory allocation error message, and also 361 includes the size of the allocation request. 362 3632010-02-22 Lee Howard <[email protected]> 364 365 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating 366 the JPEG TIFF as is is not required in order to prevent it from 367 being unused and filled with invalid data. (Leave it to be 368 generated by later activity.) 369 http://bugzilla.maptools.org/show_bug.cgi?id=2135 370 * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 371 data rather than skipping them. This fixes the ability to view in 372 Acrobat Reader, Evince, and Ghostscript. 373 http://bugzilla.maptools.org/show_bug.cgi?id=2135 374 * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR 375 strips. 376 http://bugzilla.maptools.org/show_bug.cgi?id=2029 377 3782009-12-03 Frank Warmerdam <[email protected]> 379 380 * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns. 381 Made so that when working with downsampled images a stub function 382 reporting an error is used for tif_decoderow. We cannot meaningfully 383 support reading scanlines in this situation. (#1936) 384 385 * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after 386 resetting of the upsampling values (gdal:#3259). 387 http://bugzilla.maptools.org/show_bug.cgi?id=1936 388 3892009-11-30 Frank Warmerdam <[email protected]> 390 391 * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 392 tools/ras2tiff.c: Fix resource leaks on error. 393 http://bugzilla.maptools.org/show_bug.cgi?id=2121 394 395 * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 396 TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead 397 of as a custom(generic) field to avoid a potential reentrancy problem. 398 http://bugzilla.maptools.org/show_bug.cgi?id=2125 399 400 * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h, 401 man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 402 const, and display_sRGB static and const. 403 http://bugzilla.maptools.org/show_bug.cgi?id=2124 404 4052009-11-04 Bob Friesenhahn <[email protected]> 406 407 * libtiff 4.0.0alpha5 released. 408 4092009-11-03 Bob Friesenhahn <[email protected]> 410 411 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This 412 version has undergone substantial testing with arbitrary sample 413 bit depths. Also eliminates GCC compilation warnings. 414 4152009-11-02 Bob Friesenhahn <[email protected]> 416 417 * port/libport.h: Add extern declarations for getopt standard 418 globals. 419 4202009-10-31 Bob Friesenhahn <[email protected]> 421 422 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings 423 noticed in 64-bit build of libtiff with Visual Studio 2005. 424 Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in 425 tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067 426 427 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important 428 warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 - 429 Visual Studio 2005 64-bit warning in tif_pixarlog.c", 430 http://bugzilla.maptools.org/show_bug.cgi?id=2068 431 4322009-10-29 Bob Friesenhahn <[email protected]> 433 434 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned 435 pointer" warnings. 436 4372009-10-28 Bob Friesenhahn <[email protected]> 438 439 * html/tools.html: Add manual page links, and a summary 440 description of tiffcrop. 441 4422009-10-07 Bob Friesenhahn <[email protected]> 443 444 * configure.ac: x86_64 should use the same fill order as i386. 445 4462009-09-24 Bob Friesenhahn <[email protected]> 447 448 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard 449 Nolde. Major updates to add significant functionality for reading 450 and writing tile based images with bit depths not a multiple of 8 451 which cannot be handled by tiffcp. 452 4532009-09-03 Bob Friesenhahn <[email protected]> 454 455 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs 456 do_fancy_upsampling=FALSE in order to read raw data. Resolves 457 "Bug 2090 - OJPEG crash with libjpeg v7". 458 http://bugzilla.maptools.org/show_bug.cgi?id=2090 459 4602009-09-03 Frank Warmerdam <[email protected]> 461 462 * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA 463 interface when stoponerror is set. 464 http://bugzilla.maptools.org/show_bug.cgi?id=2071 465 4662009-08-30 Bob Friesenhahn <[email protected]> 467 468 * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to 469 fix build with gcc when using the "-Wformat 470 -Werror=format-security" flags. 471 4722009-08-29 Bob Friesenhahn <[email protected]> 473 474 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh, 475 ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional 476 utilities tests. 477 4782009-08-28 Bob Friesenhahn <[email protected]> 479 480 * tools/tiffinfo.c: tiffinfo should return error status to the 481 caller. Register a private error callback to accomplish that. 482 483 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 484 PNM formats so that we will be able to test more of the tools. 485 While adding these test images I notice that bmp2tiff and gif2tiff 486 only support ancient versions of their respective formats. 487 4882009-08-27 Bob Friesenhahn <[email protected]> 489 490 * libtiff 4.0.0alpha4 released. 491 492 * HOWTO-RELEASE: Improved release instructions. 493 4942009-08-24 Bob Friesenhahn <[email protected]> 495 496 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 497 fixes for "Bug 2023 - nroff errors in manual pages". 498 http://bugzilla.maptools.org/show_bug.cgi?id=2023 499 500 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 501 CVE-2009-2347 libtiff: integer overflows in various inter-color 502 space conversion tools". 503 http://bugzilla.maptools.org/show_bug.cgi?id=2079 504 505 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 506 Berkenbilt for "Bug 2024 - possible null pointer dereference with 507 one-line fix". 508 http://bugzilla.maptools.org/show_bug.cgi?id=2024 509 510 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 511 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 512 segfault after setting tdir_tag = IGNORE". 513 http://bugzilla.maptools.org/show_bug.cgi?id=1895 514 5152009-08-23 Bob Friesenhahn <[email protected]> 516 517 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 518 tiffcrop.sh into a collection of many specific tests. Re-wrote 519 all of the existing tests to be based on some simple shell 520 functions. Make distcheck works again. 521 522 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 523 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 524 tests under valgrind. 525 5262009-08-21 Bob Friesenhahn <[email protected]> 527 528 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 529 build. 530 531 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 532 actually activated since it needed to be enabled in this 533 Makefile.am. Also activated parallel-tests mode since it offers 534 useful features such as per-test .log files and a summary test 535 report .log file. 536 5372009-08-20 Bob Friesenhahn <[email protected]> 538 539 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 540 libtool 2.2.6. Enabled support for silent build rules 541 (--enable-silent-rules or 'make V=0') and colorized tests. 542 543 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 544 5452009-06-30 Frank Warmerdam <[email protected]> 546 547 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 548 549 * tools/tiffcp.c: add -c sgilog support. 550 551 * libtiff/tif_luv.c: correct return codes from encoderow to be 552 1 on success instead of zero. 553 http://bugzilla.maptools.org/show_bug.cgi?id=2069 554 555 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 556 #1085 for a better underflow fix that errors properly. 557 http://bugzilla.maptools.org/show_bug.cgi?id=2065 558 http://bugzilla.maptools.org/show_bug.cgi?id=1985 559 5602009-06-26 Frank Warmerdam <[email protected]> 561 562 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 563 fails on oddly sized 12bit jpeg compressed ycbcr images. 564 5652009-06-22 Frank Warmerdam <[email protected]> 566 567 * libtiff/tif_lzw.c: Fix buffer underflow bug. 568 http://bugzilla.maptools.org/show_bug.cgi?id=2065 569 5702009-06-21 Frank Warmerdam <[email protected]> 571 572 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 573 for dual mode 8/12 bit jpeg support. 574 5752009-06-03 Frank Warmerdam <[email protected]> 576 577 * libtiff/tif_write.c: do not override the planar configuration to be 578 contig for one sample files if planar configuration is already set. 579 http://bugzilla.maptools.org/show_bug.cgi?id=2057 580 5812009-06-02 Frank Warmerdam <[email protected]> 582 583 * libtiff/libtiff.def: Add TIFFUnsetField. 584 5852009-05-03 Frank Warmerdam <[email protected]> 586 587 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 588 error reports to use "%s" as format string. 589 http://trac.osgeo.org/gdal/ticket/2976 590 5912009-03-12 Frank Warmerdam <[email protected]> 592 593 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 594 for some codecs (#2020). 595 5962009-02-12 Frank Warmerdam <[email protected]> 597 598 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 599 http://bugzilla.maptools.org/show_bug.cgi?id=2005 600 6012009-02-09 Frank Warmerdam <[email protected]> 602 603 * libtiff/tif_dirread.c: Improve allocation safety when allocated 604 buffer for large tags. (#1998) Related to (#1993) 605 6062009-02-06 Frank Warmerdam <[email protected]> 607 608 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 609 test suite should pass. 610 6112009-02-05 Frank Warmerdam <[email protected]> 612 613 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 614 but at the 2GB boundary to avoid overflow on 32bit systems. 615 http://bugzilla.maptools.org/show_bug.cgi?id=1993 616 617 * libtiff/tif_dirread.c: Remove some assertions that blow due to 618 corrupt files rather than in response to library internal 619 inconsistencies. 620 http://bugzilla.maptools.org/show_bug.cgi?id=1995 621 http://bugzilla.maptools.org/show_bug.cgi?id=1991 622 623 * libtiff/tif_dirread.c: Fixed testing for failed result from 624 TIFFReadDirectoryFindFieldInfo(). 625 http://bugzilla.maptools.org/show_bug.cgi?id=1992 626 6272009-01-23 Frank Warmerdam <[email protected]> 628 629 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 630 http://bugzilla.maptools.org/show_bug.cgi?id=1911 631 632 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 633 634 http://bugzilla.maptools.org/show_bug.cgi?id=1924 635 636 * tools/tiffcrop.c: initialize xres/yres values. 637 638 * test/*.sh - default ${srcdir} to local directory. 639 640 * test/common.sh - start verbose mode after common settings. 641 642 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 643 avoid type mismatches on different platforms. 644 http://bugzilla.maptools.org/show_bug.cgi?id=1889 645 6462009-01-22 Frank Warmerdam <[email protected]> 647 648 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 649 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 650 651 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 652 defined, primarily to reduce prototype warnings on windows. 653 654 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 655 about unused parameters, and uninitialized variables. 656 6572009-01-21 Bob Friesenhahn <[email protected]> 658 659 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 660 order to trace full execution detail while executing the test suite. 661 6622009-01-20 Frank Warmerdam <[email protected]> 663 664 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 665 6662009-01-20 Bob Friesenhahn <[email protected]> 667 668 * test/Makefile.am (CLEANFILES): Make sure that test output files 669 are removed by 'make clean' 670 671 * Update autotools for 4.0.0 beta3 672 673 * 4.0.0 beta3 produced. 674 6752009-01-12 Bob Friesenhahn <[email protected]> 676 677 * test/tiffcrop.sh: New test script for tiffcrop from Richard 678 Nolde. 679 680 * tools/tiff2ps.c: Remove spurious message to stderr. 681 6822009-01-11 Bob Friesenhahn <[email protected]> 683 684 * tools/tiff2ps.c: Incorporated significant functionality update 685 from Richard Nolde. In particular, support for rotating the image 686 by 90, 180, 270, and 'auto' has been added. 687 688 * man/tiffcrop.1: Incorporated documentation updates from Richard 689 Nolde. 690 691 * tools/tiffcrop.c: Incorporated significant functionality update 692 from Richard Nolde. 693 6942008-12-31 Bob Friesenhahn <[email protected]> 695 696 * libtiff/tiffio.h: GCC will now validate format specifications 697 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 698 TIFFWarningExt() in order to reveal bugs. 699 700 * Many fixes throughout to work better as a 64-bit build. 701 7022008-12-30 Bob Friesenhahn <[email protected]> 703 704 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 705 tags now require 64-bit parameter rather than 32-bit. 706 707 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 708 64-bit values. 709 710 * tools/thumbnail.c: Eliminate crash noticed while running test 711 suite. 712 7132008-12-29 Bob Friesenhahn <[email protected]> 714 715 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 716 Initialize stack variables to avoid compiler warning. 717 718 * tools/tiffinfoce.c (main): Use toff_t for offset type when 719 retrieving offset of EXIF IFD. 720 721 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 722 TIFFClientOpen() callback and other external function definitions. 723 724 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 725 type now. Fixes crash when dumping files containing an EXIF IFD. 726 727 * m4/libtool.m4: Update to libtool 2.2.6. 728 7292008-12-21 Frank Warmerdam <[email protected]> 730 731 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 732 733 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 734 strip for the last partial strip in a jpeg compressed file. 735 http://bugzilla.maptools.org/show_bug.cgi?id=1981 736 7372008-10-29 Frank Warmerdam <[email protected]> 738 739 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 740 we take the shortcut to only update the strip/tile offsets in place. 741 http://trac.osgeo.org/gdal/ticket/2621 742 7432008-10-21 Andrey Kiselev <[email protected]> 744 745 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 746 the older versions retained). 747 7482008-10-09 Frank Warmerdam <[email protected]> 749 750 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 751 IPP enabled version of libjpeg from Intel. 752 http://bugzilla.maptools.org/show_bug.cgi?id=1951 753 7542008-09-05 Andrey Kiselev <[email protected]> 755 756 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 757 Required for libtiff 4.0. 758 759 * tools/tiffsplit.c: Use dynamically allocated array instead of static 760 when constructing output file names. 761 7622008-09-03 Andrey Kiselev <[email protected]> 763 764 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 765 doing the filename/path construction. 766 767 * tools/tiff2pdf.c: More appropriate format string in 768 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 769 770 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 771 772 http://bugzilla.maptools.org/show_bug.cgi?id=1929 773 774 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 775 CVE-2008-2327 security issue. 776 7772008-09-01 Frank Warmerdam <[email protected]> 778 779 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 780 781 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 782 depending on whether the file is bigtiff or classic tiff. 783 http://bugzilla.maptools.org/show_bug.cgi?id=1917 784 7852008-08-12 Edward Lam <[email protected]> 786 787 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 788 consistent (__int64) casting when testing if _lseeki64 has 789 successfully seeked as requested. This is necessary for large 790 file support to work since off_t is only 32-bit. 791 7922008-07-29 Frank Warmerdam <[email protected]> 793 794 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 795 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 796 with control logic to return runtime errors (c/o Even Rouault) (#1927). 797 7982008-06-17 Frank Warmerdam <[email protected]> 799 800 * tools/tiffcrop.c: Fix some portability problems. 801 802 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 803 used in tif_jpeg.c. 804 805 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 806 as TIFFOpen(). 807 8082008-06-01 Frank Warmerdam <[email protected]> 809 810 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 811 like Sparc/Solaris. 812 http://bugzilla.maptools.org/show_bug.cgi?id=1892 813 8142008-05-27 Frank Warmerdam <[email protected]> 815 816 * libtiff.def: Add TIFFFindField 817 http://bugzilla.maptools.org/show_bug.cgi?id=1891 818 8192008-05-26 Frank Warmerdam <[email protected]> 820 821 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 822 823 * li2008-04-15 Andrey Kiselev <[email protected]> 824 825btiff/tif_win32.c: Replace custom Win32 memory api with generic 826 POSIX one. No apparent value to use of GlobalAlloc() in the modern 827 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 828 829 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 830 in windows version (care of Edward Lam). 831 8322008-05-24 Frank Warmerdam <[email protected]> 833 834 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 835 compression codec codes. 836 837 * tif_dirwrite.c: fix potential memory leak. 838 839 * tif_dirread.c: Fix unchecked malloc result. 840 8412008-05-24 Bob Friesenhahn <[email protected]> 842 843 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 844 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 845 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 846 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 847 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 848 suggestions from Lee Howard posted to the tiff list on 13 Sep 849 2007. 850 8512008-05-23 Frank Warmerdam <[email protected]> 852 853 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 854 possible runtime problem reported by coverity. 855 856 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 857 858 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 859 http://bugzilla.maptools.org/show_bug.cgi?id=1888 860 861 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 862 863 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 864 865 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 866 Cleanup scanline allocation to avoid coverity warning. 867 868 * tools/thumbnail.c: Check for TIFFOpen() failure. 869 8702008-05-18 Frank Warmerdam <[email protected]> 871 872 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 873 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 874 why this is needed. 875 8762008-05-09 Bob Friesenhahn <[email protected]> 877 878 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 879 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 880 8812008-04-15 Andrey Kiselev <[email protected]> 882 883 * test/: Test suite updated. Everything is passed now. 884 885 * libtiff/tif_dirinfo.c: Fixed description of the 886 TIFFTAG_NUMBEROFINKS tag. 887 8882008-04-14 Andrey Kiselev <[email protected]> 889 890 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 891 Get rid of some of "dereferencing type-punned" warnings by converting 892 tdir_offset field of TIFFDirEntry structure into union. 893 8942008-04-10 Andrey Kiselev <[email protected]> 895 896 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 897 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 898 from the public interface. Type of its 'count' parameter changed 899 from uint32 to tmsize_t. 900 901 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 902 of the tiff structure have the size_t type instead of uint32. 903 9042008-04-09 Andrey Kiselev <[email protected]> 905 906 * tools/tiffdump.c: Added support for MSVS 6.0. 907 908 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 909 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 910 point values on MSVS 6.0 platform. 911 9122008-03-14 Frank Warmerdam <[email protected]> 913 914 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 915 TIFFReadDirEntryArray() since they are interfering with seemingly 916 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 917 9182008-02-09 Joris Van Damme <[email protected]> 919 920 * tif_dirread.c: Added handling for the case of number of values for 921 PageNumber tag different from 2 (previously resulted in an assert 922 indicating lack of handling and was forgotten about) 923 9242008-02-01 Frank Warmerdam <[email protected]> 925 926 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 927 the actual jpeg data stream if the first strip/tile has zero size. 928 This is the case when GDAL creates a new file with zero sizes, closes 929 and reopens it. 930 9312008-01-07 Frank Warmerdam <[email protected]> 932 933 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 934 9352008-01-01 Frank Warmerdam <[email protected]> 936 937 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 938 939 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 940 targets. 941 942 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 943 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 944 (x64). 945 946 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 947 and TIFFFieldWithName() now return TIFFField pointers instead of 948 TIFFFieldInfo pointers. 949 950 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 951 exist. This makes it compile again on Windows 952 953 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 954 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 955 956 * test/rewrite_tag.c: New test for TIFFRewriteField(). 957 9582007-12-31 Frank Warmerdam <[email protected]> 959 960 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 961 rewrites one field "on disk" updating an existing directory 962 entry. Lots of limitations still... 963 964 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 965 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 966 the strip offset/size values are dirty but nothing else about the 967 directory is dirty. In flush handle "just stripmaps dirty" as a 968 special case that just rewrites these values without otherwise 969 modifying the directory on disk using TIFFRewriteField(). 970 971 We also modify logic so that in update mode the directory is not 972 marked dirty on read, but only when something is changed. This 973 means we need to keep track of updates to the stripmap stuff in 974 TIFFAppendToStrip(). 975 9762007-12-10 Frank Warmerdam <[email protected]> 977 978 * tif_jpeg.c: Improve ability to switch between encoding and decoding 979 in the jpeg code (gdal bug #2033). 980 9812007-11-23 Frank Warmerdam <[email protected]> 982 983 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 984 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 985 rawcp/rawcc buffer are for writing and thus may require flushing. 986 Necessary to distinguish whether they need to be written to disk when 987 in mixed read/write mode and doing a mixture of writing followed by 988 reading. http://trac.osgeo.org/gdal/ticket/1758 989 9902007-11-23 Andrey Kiselev <[email protected]> 991 992 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 993 from Alexey Chupahin. 994 9952007-11-02 Frank Warmerdam <[email protected]> 996 997 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 998 establishing if an existing tile can be rewritten to the same location 999 by comparing the current size to all the other blocks in the same 1000 directory. This is dangerous in many situations and can easily 1001 corrupt a file. (observed in esoteric GDAL situation that's hard to 1002 document). This change involves leaving the stripbytecount[] values 1003 unaltered till TIFFAppendToStrip(). Now we only write a block back 1004 to the same location it used to be at if the new data is the same 1005 size or smaller - otherwise we move it to the end of file. 1006 1007 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 1008 data when writing the directory just because we have BEENWRITING at 1009 some point in the past. This was causing odd junk to be written out 1010 in a tile of data when a single tile had an interleaving of reading 1011 and writing with reading last. (highlighted by gdal 1012 autotest/gcore/tif_write.py test 7. 1013 1014 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 1015 modifying callers buffer. 1016 http://trac.osgeo.org/gdal/ticket/1965 1017 1018 * tif_predict.c/h: more fixes related to last item, keeping a 1019 distinct pfunc for encode and decode cases as these were getting 1020 mixed up sometimes. 1021 http://trac.osgeo.org/gdal/ticket/1948 1022 10232007-11-01 Frank Warmerdam <[email protected]> 1024 1025 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 1026 predictor based encoding and decoding works in read-write update 1027 mode properly. 1028 http://trac.osgeo.org/gdal/ticket/1948 1029 10302007-10-24 Joris Van Damme <[email protected]> 1031 1032 * tif_dirread.c: Fixed problem with bogus file triggering 1033 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 1034 ChopUpSingleUncompressedStrip 1035 10362007-10-22 Joris Van Damme <[email protected]> 1037 1038 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 1039 at best, access violation at worst, when subsampled JPEG compressed imagery 1040 is decoded without the JPEG_COLORMODE feature 1041 10422007-10-11 Frank Warmerdam <[email protected]> 1043 1044 * html/index.html: Update "people responsible" section. 1045 10462007-10-05 Frank Warmerdam <[email protected]> 1047 1048 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 1049 as reported on the mailing list. 1050 10512007-10-01 Joris Van Damme <[email protected]> 1052 1053 * changed some more incorrect %lud printf flags to %lu 1054 10552007-09-29 Joris Van Damme <[email protected]> 1056 1057 * tif_dirread.c: Strip chopping interfered badly with uncompressed 1058 subsampled images because it tried to divide subsampled rowblocks, 1059 leading to all sorts of errors throughout the library for these 1060 images. Fixed by making strip chopping divide in row counts that 1061 are a multiple of vertical subsampling value. 1062 10632007-09-28 Joris Van Damme <[email protected]> 1064 1065 * tif_dirread.c: Logical cast working around compiler warning 1066 1067 * tif_read.c: Correction of some error flags and parameter lists 1068 10692007-09-27 Joris Van Damme <[email protected]> 1070 1071 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 1072 when dealing with large bitspersample values, shutting up purification 1073 tools that warn about truncation, though it remains incorrect and 1074 indicates a conceptual problem there. 1075 1076 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 1077 of first IFD) to proper place because it badly interfered with memory 1078 mapping, resulting in mapping flag even with dummy mapping functions 1079 that returned 0 whilst at the same time the mapping tif_size wasn't 1080 set, thus resulting in continuous incorrect beyond-eof errors. 1081 10822007-09-24 Joris Van Damme <[email protected]> 1083 1084 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 1085 inconsistent use of const in tiffFields and exifFields definition 1086 10872007-09-20 Frank Warmerdam <[email protected]> 1088 1089 * tif_dirwrite.c: Always write tile/strip offsets and sizes 1090 using LONG8 type when output format is BigTIFF. The 1091 TIFFWriteDirectoryTagLongLong8Array() function was restructured 1092 accordingly. 1093 1094 * tif_dirread.c: Improvements to error reporting text in 1095 TIFFFetchDirectory(). 1096 10972007-09-19 Bob Friesenhahn <[email protected]> 1098 1099 * test/images: Added a small collection of test images for use by 1100 test programs and scripts. 1101 * test/tiffinfo.sh: A trivial example test script. 1102 * test/common.sh: Added small script for setting the environment 1103 used by script-based tests. 1104 11052007-08-24 Frank Warmerdam <[email protected]> 1106 1107 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 1108 zero when writing directory contents to preserve the ability to 1109 rewrite directories in place, even in the middle of a directory 1110 chain. 1111 1112 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 1113 definitions that are missing. Existing definitions are silently 1114 ignored. 1115 1116 * tif_dirread.c: Add runtime error for fields for which no definition 1117 is found (in addition to an assert for developers) in 1118 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 1119 prudent. 1120 11212007-08-10 Joris Van Damme <[email protected]> 1122 1123 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 1124 from _TIFFRGBAImage structure to revert unwanted ABI change. 1125 11262007-08-10 Joris Van Damme <[email protected]> 1127 1128 * libtiff/tif_win32.c: use SetFilePointer instead of 1129 SetFilePointerEx, as per bug 1130 1131 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 1132 11332007-07-19 Andrey Kiselev <[email protected]> 1134 1135 * libtiff/tif_stream.cxx: Put all callback functions declarations 1136 inside extern "C" block. 1137 1138 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 1139 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 1140 formatter instead of "%lld" with MSVC compiler. 1141 1142 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 1143 _TIFFUInt64ToDouble() functions. 1144 11452007-07-18 Andrey Kiselev <[email protected]> 1146 1147 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 1148 integer constants. 1149 1150 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 1151 remove tif_config.h/tiffconf.h during cleaning. As per bug 1152 1153 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 1154 1155 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 1156 1157 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 1158 11592007-07-13 Andrey Kiselev <[email protected]> 1160 1161 * libtiff 4.0.0alpha released. 1162 11632007-07-12 Andrey Kiselev <[email protected]> 1164 1165 * tools/tiff2pdf.c: Added missed extern optind as per bug 1166 1167 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 1168 1169 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 1170 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 1171 extending scheme completed. 1172 11732007-07-11 Bob Friesenhahn <[email protected]> 1174 1175 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 1176 use standard C++ library size types and attempt to detect overflow 1177 cases. 1178 11792007-07-08 Andrey Kiselev <[email protected]> 1180 1181 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 1182 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 1183 tag extending scheme. Use the new scheme everywhere. 1184 1185 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 1186 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 1187 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 1188 TIFFFIeldInfo structure replaced with TIFFField structure. 1189 TIFFFieldInfo retained for the backward compatibility. 1190 11912007-07-05 Bob Friesenhahn <[email protected]> 1192 1193 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 1194 defined. 1195 11962007-07-04 Andrey Kiselev <[email protected]> 1197 1198 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 1199 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 1200 removed. 1201 1202 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 1203 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 1204 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 1205 These tags are not codec-specific and relate to image content, so 1206 process them as other normal tags. 1207 1208 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 1209 public tiffio.h to private tif_dir.h. 1210 1211 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 1212 outdated. 1213 12142007-07-03 Andrey Kiselev <[email protected]> 1215 1216 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 1217 tif_win3.c}: Obsoleted portability stuff removed. 1218 1219 * tools/tiff2ps.c: Added support 16-bit images as per bug 1220 1221 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 1222 1223 Patch from William Bader. 1224 1225 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 1226 significant upgrade of the whole utility as per bug 1227 1228 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 1229 1230 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 1231 PDF file using TIFFClientOpen() machinery as it is implemented 1232 by Leon Bottou. 1233 12342007-06-26 Bob Friesenhahn <[email protected]> 1235 1236 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 1237 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 1238 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 1239 allow returning -1 for errors. 1240 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 1241 12422007-06-25 Bob Friesenhahn <[email protected]> 1243 1244 * port/strtoull.c: New porting function in case strtoull() is not 1245 available on the target system. 1246 * configure.ac: Add configure support for determining sized types 1247 in a portable way and performing necessary substitutions in 1248 tif_config.h and tiffconf.h. Updated tiff.h to use the new 1249 definitions. 1250 12512007-04-27 Andrey Kiselev <[email protected]> 1252 1253 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 1254 1255 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 1256 12572007-04-07 Andrey Kiselev <[email protected]> 1258 1259 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 1260 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 1261 tif_predict.c, tif_zip.c}: Finally fix bug 1262 1263 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 1264 1265 by introducing _TIFFMergeFieldInfo() returning integer error status 1266 instead of void in case of problems with field merging (e.g., if the 1267 field with such a tag already registered). TIFFMergeFieldInfo() in 1268 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 1269 check returned value. 1270 12712007-04-07 Frank Warmerdam <[email protected]> 1272 1273 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 1274 blocks in TIFF_DownSample_Subsampled() (bug 1542). 1275 12762007-04-06 Frank Warmerdam <[email protected]> 1277 1278 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 1279 will convert from decompressor to compressor or compress to decompress 1280 if required by the force arguments. This works around a problem in 1281 where the JPEGFixupTestSubsampling() may cause a decompressor to 1282 be setup on a directory when later a compressor is required with the 1283 force flag set. Occurs with the addtiffo program for instance. 1284 12852007-04-06 Andrey Kiselev <[email protected]> 1286 1287 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 1288 functionality from Richard Nolde. As per bug 1289 1290 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 1291 12922007-03-28 Frank Warmerdam <[email protected]> 1293 1294 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 1295 12962007-03-17 Joris Van Damme <[email protected]> 1297 1298 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 1299 13002007-03-07 Joris Van Damme <[email protected]> 1301 1302 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 1303 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 1304 factor. This bug is mentioned in: 1305 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 1306 http://www.asmail.be/msg0054766825.html 1307 13082007-03-07 Joris Van Damme <[email protected]> 1309 1310 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 1311 1312 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 1313 unused arguments by standard C indication for the same 1314 13152007-02-27 Andrey Kiselev <[email protected]> 1316 1317 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 1318 counters in TIFFFetchData(). Should finally fix the issue 1319 1320 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 1321 13222007-02-24 Andrey Kiselev <[email protected]> 1323 1324 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 1325 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 1326 1327 * libtiff/tif_dirread.c: Added special function to handle 1328 SubjectDistance EXIF tag as per bug 1329 1330 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 1331 1332 * tools/tiff2pdf.c: Do not assume inches when the resolution units 1333 do not specified. As per bug 1334 1335 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 1336 1337 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 1338 it was set as infinite. As per bug 1339 1340 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 1341 1342 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 1343 by Richard Nolde. As per bug 1344 1345 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 1346 13472007-02-22 Andrey Kiselev <[email protected]> 1348 1349 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 1350 ExtraSamples == 999 produced by Corel Draw. As per bug 1351 1352 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 1353 1354 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 1355 changed from tsize_t to uint32 to be able to work with data arrays 1356 larger than 2GB. Fixes bug 1357 1358 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 1359 1360 Idea submitted by Matt Hancher. 1361 13622007-01-31 Andrey Kiselev <[email protected]> 1363 1364 * tools/tif2rgba.c: This utility does not work properly on big-endian 1365 architectures. It was fixed including the bug 1366 1367 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 1368 13692007-01-15 Mateusz Loskot <[email protected]> 1370 1371 * Submitted libtiff port for Windows CE platform 1372 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 1373 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 1374 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 1375 functons from tif_win32.c. 1376 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 1377 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 1378 standard header files for Windows CE build. 1379 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 1380 13812006-11-19 Frank Warmerdam <[email protected]> 1382 1383 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 1384 we move a strip. 1385 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 1386 13872006-10-13 Andrey Kiselev <[email protected]> 1388 1389 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 1390 in Gentoo bug (): 1391 1392 http://bugs.gentoo.org/show_bug.cgi?id=142383 1393 1394 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 1395 Though it is still far from the state of being working and useful. 1396 13972006-10-12 Andrey Kiselev <[email protected]> 1398 1399 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 1400 method. 1401 1402 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 1403 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 1404 1405 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 1406 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 1407 1408 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 1409 vulnerabilities, reported in Gentoo bug (): 1410 1411 http://bugs.gentoo.org/show_bug.cgi?id=142383 1412 14132006-09-28 Andrey Kiselev <[email protected]> 1414 1415 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 1416 vulnerabilities, as per Gentoo bug (): 1417 1418 http://bugs.gentoo.org/show_bug.cgi?id=142383 1419 14202006-09-27 Frank Warmerdam <[email protected]> 1421 1422 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 1423 encoding and decoding on the same read-write TIFF handle. The LZW 1424 code can now maintain encode and decode state at the same time. The 1425 ZIP code will switch back and forth as needed. 1426 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 1427 14282006-09-20 Frank Warmerdam <[email protected]> 1429 1430 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 1431 tif_config.vc.h for easier identification by folks using an IDE. 1432 14332006-07-25 Frank Warmerdam <[email protected]> 1434 1435 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 1436 14372006-07-19 Frank Warmerdam <[email protected]> 1438 1439 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 1440 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 1441 to bug report by Peng Gao with black strip at bottom of images. 1442 14432006-07-12 Frank Warmerdam <[email protected]> 1444 1445 * tif_dirwrite.c: make sure to use uint32 for wordcount in 1446 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 1447 It already seems to have been done for other field types. Needed 1448 for "tiffset" on files with geotiff ascii text. 1449 14502006-07-04 Bob Friesenhahn <[email protected]> 1451 1452 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 1453 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 1454 its use does not appear to be required, so use it only when it is 1455 available. 1456 14572006-06-24 Andrey Kiselev <[email protected]> 1458 1459 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 1460 1461 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 1462 function TIFFFetchDirectory() avoiding code duplication in 1463 TIFFReadDirectory() and TIFFReadCustomDirectory(). 1464 14652006-06-19 Frank Warmerdam <[email protected]> 1466 1467 * tools/tiff2pdf.c: Fix handling of -q values. 1468 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 1469 14702006-06-17 Frank Warmerdam <[email protected]> 1471 1472 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 1473 files. Modified TIFFReadDirectory() to not invoke 1474 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 1475 but one of them is zero. 1476 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 1477 14782006-06-08 Andrey Kiselev <[email protected]> 1479 1480 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 1481 checking code in the separate function TIFFCheckDirOffset(). 1482 1483 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 1484 1485 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 1486 1487 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 1488 1489 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 1490 1491 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 1492 1493 * tools/tiff2pdf.c: Fixed buffer overflow condition in 1494 t2p_write_pdf_string() as per bug 1495 1496 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 1497 14982006-06-07 Andrey Kiselev <[email protected]> 1499 1500 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 1501 support for JBIG compression scheme (34661 code) contributed by Lee 1502 Howard. As per bug 1503 1504 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 1505 1506 * configure, configure.ac: OJPEG support enabled by default. 1507 1508 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 1509 15102006-06-03 Bob Friesenhahn <[email protected]> 1511 1512 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 1513 TIFFPrintDirectory(). Joris Van Damme authored the fix. 1514 15152006-04-21 Andrey Kiselev <[email protected]> 1516 1517 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 1518 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 1519 1520 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 1521 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 1522 Added support for OpenVMS by Alexey Chupahin, [email protected]. 1523 15242006-04-20 Andrey Kiselev <[email protected]> 1525 1526 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 1527 Properly set the binary mode for stdin stream as per bug 1528 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 1529 1530 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 1531 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 1532 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 1533 tiffset.1}: Improvements in page formatting as per bug 1534 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 1535 1536 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 1537 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 1538 15392006-04-18 Frank Warmerdam <[email protected]> 1540 1541 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 1542 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 1543 15442006-04-12 Joris Van Damme <[email protected]> 1545 1546 * libtiff/tif_getimage.c: Added support for planarconfig separate 1547 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 1548 15492006-04-11 Joris Van Damme <[email protected]> 1550 1551 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 1552 - Conversion of unassociated alpha to associated alpha now done with 1553 more performant LUT, and calculation more correct 1554 - Conversion of 16bit data to 8bit data now done with 1555 more performant LUT, and calculation more correct 1556 - Bugfix of handling of 16bit RGB with unassociated alpha 1557 15582006-04-11 Joris Van Damme <[email protected]> 1559 1560 * libtiff/tif_getimage.c: 1561 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 1562 buffer for alpha strile and filled it, only to never read it back. 1563 Removed allocation and fill. 1564 - Minor rename of vars in gtTileSeparate and gtStripSeparate 1565 anticipating planned functionality extension 1566 15672006-04-08 Joris Van Damme <[email protected]> 1568 1569 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 1570 and pickTileSeparateCase to PickSeparateCase as both work on strips as 1571 well 1572 1573 * libtiff/tif_getimage.c: moved img->get selection from 1574 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 1575 logical hook for planned functionality extension 1576 15772006-04-08 Joris Van Damme <[email protected]> 1578 1579 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 1580 of inappropriate use of jpeg_abort instead of jpeg_destroy 1581 15822006-04-07 Joris Van Damme <[email protected]> 1583 1584 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 1585 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 1586 on subsampled images - this ought to get sorted when we feel brave 1587 enough to replace TIFFScanlineSize alltogether 1588 1589 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 1590 15912006-04-04 Joris Van Damme <[email protected]> 1592 1593 * libtiff/tiffio.h: added new type tstrile_t 1594 1595 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 1596 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 1597 toff_t* 1598 1599 * libtiff/tif_ojpeg.c: totally new implementation 1600 1601 * libtiff/tif_dirread.c: added several hacks to suit new support of 1602 OJPEG 1603 1604 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 1605 of OJPEG images in favor of tif_getimage.c native handling of 1606 YCbCr and desubsampling 1607 16082006-03-29 Frank Warmerdam <[email protected]> 1609 1610 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 1611 interpretation causes the "upsampled" flag to be recomputed. Fixes 1612 peculiar bug where photometric flag had to be set before jpegcolormode 1613 flag. 1614 16152006-03-25 Joris Van Damme <[email protected]> 1616 1617 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 1618 1619 * libtiff/tif_strip.c: temporarilly added two new versions of 1620 TIFFScanlineSize 1621 - TIFFNewScanlineSize: proposed new version, after all related 1622 issues and side-effects are sorted out 1623 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 1624 This needs further sorting out. 1625 16262006-03-25 Joris Van Damme <[email protected]> 1627 1628 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 1629 of last truncated strip data to TIFFWriteEncodedStrip 1630 16312006-03-25 Joris Van Damme <[email protected]> 1632 1633 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 1634 16352006-03-25 Joris Van Damme <[email protected]> 1636 1637 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 1638 1639 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 1640 1641 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 1642 prepare the path for new tif_ojpeg.c 1643 16442006-03-23 Andrey Kiselev <[email protected]> 1645 1646 * libtiff 3.8.2 released. 1647 1648 * tools/Makefile.am: Use runtime paths linker flags when rpath 1649 option enabled. 1650 16512006-03-21 Andrey Kiselev <[email protected]> 1652 1653 * libtiff/libtiff.def: Added missed exports as per bug 1654 http://bugzilla.remotesensing.org/attachment.cgi?id=337 1655 1656 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 1657 tools/Makefile.vc: Makefiles improvements as per bug 1658 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 1659 1660 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 1661 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 1662 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 1663 1664 * libtiff/tif_strip.c: Take subsampling in account when calculating 1665 TIFFScanlineSize(). 1666 1667 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 1668 16692006-03-17 Andrey Kiselev <[email protected]> 1670 1671 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 1672 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 1673 1674 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 1675 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 1676 16772006-03-16 Andrey Kiselev <[email protected]> 1678 1679 * libtiff/tiffiop.h: Added decalration for 1680 _TIFFSetDefaultCompressionState(). 1681 1682 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 1683 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 1684 codec cleanup methods. As per bug 1685 1686 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 1687 16882006-03-15 Andrey Kiselev <[email protected]> 1689 1690 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 1691 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 1692 1693 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 1694 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 1695 1696 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 1697 removed; move here the STRIP_SIZE_DEFAULT macro definition. 1698 1699 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 1700 macro definition. 1701 1702 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 1703 17042006-03-14 Andrey Kiselev <[email protected]> 1705 1706 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 1707 in TIFFReadDirectory, because it is always set at the start of 1708 function and we allow TIFFs without that tag set. 1709 17102005-03-13 Andrey Kiselev <[email protected]> 1711 1712 * libtiff 3.8.1 released. 1713 17142006-03-07 Andrey Kiselev <[email protected]> 1715 1716 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 1717 function as per bug 1718 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1719 1720 * libtiff/tif_dirread.c: More wise check for integer overflow 1721 condition as per bug 1722 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1723 1724 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 1725 Properly restore setfield/getfield methods in cleanup functions. As 1726 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1727 17282006-03-03 Andrey Kiselev <[email protected]> 1729 1730 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 1731 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 1732 1733 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 1734 TIFFPredictorCleanup() in codec cleanup methods. As per bug 1735 1736 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1737 1738 * libtiff/tif_dirread.c: Fixed integer overflow condition in 1739 TIFFFetchData() function. As per bug 1740 1741 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1742 17432006-03-01 Andrey Kiselev <[email protected]> 1744 1745 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 1746 TIFFSetField() method, not directly. As per bug 1747 1748 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 1749 1750 * tools/ppm2tiff.c: Added support for PBM files as per bug 1751 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 1752 17532006-02-27 Andrey Kiselev <[email protected]> 1754 1755 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 1756 to avoid crash as per bug 1757 1758 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 1759 17602006-02-26 Andrey Kiselev <[email protected]> 1761 1762 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 1763 t2p_sample_rgba_to_rgb() was used in place of each other, that was 1764 resulted in problems with RGBA images with associated alpha. 1765 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 1766 17672006-02-23 Andrey Kiselev <[email protected]> 1768 1769 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 1770 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 1771 1772 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 1773 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 1774 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 1775 1776 * tools/tiff2ps.c: Properly scale all the pages when converting 1777 multipage TIFF with /width/height/center options set. As per bug 1778 1779 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 1780 17812006-02-15 Andrey Kiselev <[email protected]> 1782 1783 * tools/tiff2pdf.c: Do not create output file until all option checks 1784 will be done. As per bug 1785 1786 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 1787 1788 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 1789 list of input files as per bug: 1790 1791 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 1792 17932006-02-09 Andrey Kiselev <[email protected]> 1794 1795 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 1796 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 1797 1798 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 1799 TIFFRGBAImage interface. 1800 1801 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 1802 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 1803 18042006-02-07 Frank Warmerdam <[email protected]> 1805 1806 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 1807 compressed TIFF files, per submission from Dan Cobra. 1808 18092006-02-07 Andrey Kiselev <[email protected]> 1810 1811 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 1812 cast values to avoid warnings. As per bug 1813 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 1814 1815 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 1816 appropriate. As per bug 1817 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 1818 1819 * libtiff/tif_aux.c: Fixed type of temporary variable in 1820 _TIFFCheckMalloc() as per bug 1821 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 1822 18232006-02-06 Andrey Kiselev <[email protected]> 1824 1825 * libtiff/tif_aux.c: Return static array when fetching default 1826 YCbCrCoefficients (another problem, reported a the 1827 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 1828 18292006-02-03 Andrey Kiselev <[email protected]> 1830 1831 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 1832 YCbCrSubsampling and DotRange tags as per bugs 1833 1834 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 1835 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 1836 1837 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 1838 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 1839 1840 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 1841 18422006-01-23 Andrey Kiselev <[email protected]> 1843 1844 * libtool related stuff updated from the 2.1a branch. 1845 18462006-01-11 Frank Warmerdam <[email protected]> 1847 1848 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 1849 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 1850 properly as per bug: 1851 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 1852 18532006-01-09 Bob Friesenhahn <[email protected]> 1854 1855 * configure.ac: Fix with_default_strip_size comparison as reported 1856 by Norihiko Murase. 1857 18582006-01-08 Bob Friesenhahn <[email protected]> 1859 1860 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 1861 incorrectly, tests were not actually testing the uninstalled 1862 libtiff. Now they are. 1863 18642006-01-04 Andrey Kiselev <[email protected]> 1865 1866 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 1867 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 1868 should be uint32 value. 1869 18702006-01-02 Bob Friesenhahn <[email protected]> 1871 1872 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 1873 be used if build directory is not the same as source directory. 1874 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 1875 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 1876 and re-sorted tag names in alphabetical order. 1877 18782005-12-29 Andrey Kiselev <[email protected]> 1879 1880 * libtiff 3.8.0 released. 1881 18822005-12-28 Bob Friesenhahn <[email protected]> 1883 1884 * tools/bmp2tiff.c (main): Fixed warning regarding returning 1885 inconsistent types from a condition. 1886 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 1887 format. 1888 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 1889 18902005-12-28 Joris Van Damme <[email protected]> 1891 1892 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 1893 18942005-12-27 Andrey Kiselev <[email protected]> 1895 1896 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 1897 windows.h, to reduce the compile time. 1898 18992005-12-26 Bob Friesenhahn <[email protected]> 1900 1901 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 1902 19032005-12-26 Andrey Kiselev <[email protected]> 1904 1905 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 1906 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 1907 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 1908 private functions to retrieve FieldInfo arrays. 1909 19102005-12-24 Bob Friesenhahn <[email protected]> 1911 1912 * html/build.html: Added some additional instructions for when 1913 building using MSVC under Windows. Also fixed two HTML syntax 1914 errors and used HTML Tidy to tidy up the HTML syntax and 1915 formatting. 1916 19172005-12-24 Andrey Kiselev <[email protected]> 1918 1919 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 1920 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 1921 StoNits tags custom. 1922 19232005-12-23 Andrey Kiselev <[email protected]> 1924 1925 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 1926 WhitePoint tag custom. 1927 1928 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 1929 19302005-12-23 Joris Van Damme <[email protected]> 1931 1932 * libtiff/tiffio.h: fixed typo that potentially resulted in 1933 redefininition of USE_WIN32_FILEIO 1934 1935 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 1936 calls in core LibTiff. 1937 19382005-12-21 Andrey Kiselev <[email protected]> 1939 1940 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 1941 Photoshop and ICCProfile tags custom. 1942 19432005-12-21 Joris Van Damme <[email protected]> 1944 1945 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 1946 newer code to get context indicator in error handler and still 1947 remain compatible with older code: Done TIFFError calls everywhere 1948 except in tools 1949 19502005-12-20 Andrey Kiselev <[email protected]> 1951 1952 * tools/tiffcp.c: Added many error reporting messages; fixed integer 1953 overflow as per bug 1954 1955 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 1956 19572005-12-16 Frank Warmerdam <[email protected]> 1958 1959 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 1960 YCbCr images in jpeg compressed TIFF files. 1961 19622005-12-14 Andrey Kiselev <[email protected]> 1963 1964 * tools/tiffcp.c: Return non-zero status when reading fails (again). 1965 19662005-12-13 Andrey Kiselev <[email protected]> 1967 1968 * tools/tiffcp.c: Return non-zero status when reading fails. 1969 19702005-12-12 Andrey Kiselev <[email protected]> 1971 1972 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 1973 19742005-12-09 Andrey Kiselev <[email protected]> 1975 1976 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 1977 custom. 1978 1979 * tools/tiffinfo.c: Print EXIF directory contents if exist. 1980 1981 * libtiff/tiff.h: Few EXIF tag numbers added. 1982 1983 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 1984 tiffio.h}: Preliminary support to read custom directories. New 1985 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 1986 19872005-12-07 Andrey Kiselev <[email protected]> 1988 1989 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 1990 More work to implement custom directory read support. 1991 1992 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 1993 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 1994 tags custom. 1995 19962005-12-05 Andrey Kiselev <[email protected]> 1997 1998 * libtiff/tif_dirread.c: One more workaround for broken 1999 StripByteCounts tag. Handle the case when StripByteCounts array filled 2000 with completely wrong values. 2001 20022005-11-30 Andrey Kiselev <[email protected]> 2003 2004 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 2005 in the TIFFOpenW() function as per bug 2006 2007 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 2008 2009 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 2010 functions as per bug 2011 2012 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 2013 20142005-11-20 Frank Warmerdam <[email protected]> 2015 2016 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 2017 for MS MDI format. 2018 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 2019 2020 * .cvsignore: many files added, and a few update according 2021 to suggestion of Brad HArds on tiff mailing list. 2022 20232005-11-03 Frank Warmerdam <[email protected]> 2024 2025 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 2026 public. 2027 20282005-10-31 Andrey Kiselev <[email protected]> 2029 2030 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 2031 as per bug 2032 2033 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 2034 2035 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 2036 as per bug 2037 2038 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 2039 2040 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 2041 problem as per bug 2042 2043 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 2044 2045 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 2046 2047 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 2048 2049 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 2050 ResolutionUnit tags modifiable during write process. As per bug 2051 2052 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 2053 2054 * tools/tiffsplit.c: Copy fax related fields over splitted parts 2055 as per bug 2056 2057 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 2058 20592005-10-21 Frank Warmerdam <[email protected]> 2060 2061 * tif_dirread.c: Don't try and split single strips into "0" strips 2062 in ChopUpSingleUncompressedStrip. This happens in some degenerate 2063 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 2064 20652005-10-20 Joris Van Damme <[email protected]> 2066 2067 * tif_fax3.c: changed 'at scanline ...' style warning/errors 2068 with incorrect use of tif_row, to 'at line ... of 2069 strip/tile ...' style 2070 20712005-10-15 Frank Warmerdam <[email protected]> 2072 2073 * tif_write.c: fixed setting of planarconfig as per bug report 2074 on the mailing list from Joris. 2075 20762005-10-07 Andrey Kiselev <[email protected]> 2077 2078 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 2079 tif_dirread.c}: Make the default strip size configurable via the 2080 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 2081 20822005-09-30 Bob Friesenhahn <[email protected]> 2083 2084 * html/support.html: Fixed link to documentation on Greg Ward's 2085 LogLuv TIFF format. 2086 20872005-09-28 Andrey Kiselev <[email protected]> 2088 2089 * tools/tiffdump.c: Fixed crash when reading malformed tags. 2090 20912005-09-20 Andrey Kiselev <[email protected]> 2092 2093 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 2094 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 2095 20962005-09-12 Andrey Kiselev <[email protected]> 2097 2098 * libtiff 3.7.4 released. 2099 2100 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 2101 from Patrick Welche (all scripts moved in the 'config' and 'm4' 2102 directories). 2103 21042005-09-12 Frank Warmerdam <[email protected]> 2105 2106 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 2107 21082005-09-05 Frank Warmerdam <[email protected]> 2109 2110 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 2111 also set it to NULL to avoid double free when re-setting custom 2112 string fields as per: 2113 2114 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 2115 21162005-08-12 Frank Warmerdam <[email protected]> 2117 2118 * libtiff/tif_print.c: avoid signed/unsigned warning. 2119 2120 * libtiff/tif_dirread.c: removed unused variable. 2121 21222005-07-30 Frank Warmerdam <[email protected]> 2123 2124 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 2125 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 2126 pass on bigendian (macosx) system. 2127 21282005-07-28 Andrey Kiselev <[email protected]> 2129 2130 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 2131 CheckMalloc() function to _TIFFCheckMalloc() and make it available 2132 globally as an internal helper routine. 2133 21342005-07-27 Andrey Kiselev <[email protected]> 2135 2136 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 2137 the custom tags handling code. 2138 21392005-07-26 Andrey Kiselev <[email protected]> 2140 2141 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 2142 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 2143 function, use TIFFFetchNormalTag() instead as per bug 2144 2145 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 2146 2147 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 2148 instead. 2149 2150 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 2151 2152 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2153 21542005-07-25 Andrey Kiselev <[email protected]> 2155 2156 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 2157 2158 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 2159 21602005-07-21 Andrey Kiselev <[email protected]> 2161 2162 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 2163 the TIFFWriteCheck() function in case of single band images (as per 2164 TIFF spec). 2165 21662005-07-12 Andrey Kiselev <[email protected]> 2167 2168 * SConstruct, libtiff/SConstruct: Added the first very preliminary 2169 support for SCons software building tool (http://www.scons.org/). 2170 This is experimental infrastructure and it will exist along with the 2171 autotools mechanics. 2172 21732005-07-07 Andrey Kiselev <[email protected]> 2174 2175 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 2176 the NetBSD source tree (the old 4-clause BSD license changed to 2177 the new 3-clause one). 2178 2179 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 2180 replacement module. 2181 2182 * port/dummy.c: Make the dummy function static. 2183 21842005-07-06 Andrey Kiselev <[email protected]> 2185 2186 * tools/tiffcp.c: Fixed WhitePoint tag copying. 2187 2188 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 2189 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 2190 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 2191 21922005-07-04 Andrey Kiselev <[email protected]> 2193 2194 * libtiff 3.7.3 released. 2195 2196 * configure, configure.ac: Do not use empty -R option when linking 2197 with --enable-rpath. 2198 21992005-07-01 Andrey Kiselev <[email protected]> 2200 2201 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 2202 reading the first IFD when needed. As per bug 2203 2204 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 2205 2206 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 2207 effects. 2208 22092005-06-23 Andrey Kiselev <[email protected]> 2210 2211 * tools/tiff2pdf.c: Print two characters per loop in the 2212 t2p_write_pdf_trailer(). As per bug 2213 2214 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 2215 2216 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 2217 per bug 2218 2219 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 2220 2221 * acinclude.m4: Updated to latest OpenGL test macros versions. 2222 2223 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 2224 platform. As per bug 2225 2226 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 2227 22282005-06-14 Andrey Kiselev <[email protected]> 2229 2230 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 2231 and YClipPathUnits tags. 2232 22332005-06-07 Andrey Kiselev <[email protected]> 2234 2235 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 2236 use pixel sized shift in contigous case. 2237 22382005-06-06 Andrey Kiselev <[email protected]> 2239 2240 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 2241 Make overviews working for contiguos images. 2242 22432005-06-03 Andrey Kiselev <[email protected]> 2244 2245 * libtiff/tif_open.c: Replace runtime endianess check with the compile 2246 time one. 2247 2248 * libtiff/tif_predict.c: Floating point predictor now works on 2249 big-endian hosts. 2250 22512005-06-01 Andrey Kiselev <[email protected]> 2252 2253 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 2254 ASCII values. 2255 2256 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 2257 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 2258 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 2259 TargetPrinter tags custom. 2260 2261 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 2262 TIFF_CODERSETUP flag (to fix memry leaks). 2263 2264 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 2265 allocating. 2266 22672005-05-26 Andrey Kiselev <[email protected]> 2268 2269 * configure.ac, libtiff/Makefile.am: Added workaround for 2270 OpenBSD/MirOS soname problem as per bug 2271 2272 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 2273 2274 * libtiff/tif_dirwrite.c: Use tdir_count when calling 2275 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 2276 per bug 2277 2278 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 2279 22802005-05-25 Andrey Kiselev <[email protected]> 2281 2282 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 2283 the fscanf() function. As per bug 2284 2285 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 2286 2287 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 2288 uint16 array when fetching the BYTE and SBYTE filds, so we should 2289 consider result as pointer to uint16 array and not as array of chars. 2290 As per bug 2291 2292 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 2293 2294 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 2295 2296 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 2297 2298 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 2299 mode in CreateFile() call as per bug 2300 2301 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 2302 2303 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 2304 libtiffxx libraries as per bug 2305 2306 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 2307 2308 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 2309 GDAL. 2310 23112005-05-23 Frank Warmerdam <[email protected]> 2312 2313 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 2314 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 2315 in directory. 2316 23172005-05-22 Frank Warmerdam <[email protected]> 2318 2319 * libtiff/tif_dirread.c: Changed the code that computes 2320 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 2321 zero. This is a common case with GDAL indicating a "null" tile/strip. 2322 23232005-05-17 Andrey Kiselev <[email protected]> 2324 2325 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 2326 23272005-05-06 Frank Warmerdam <[email protected]> 2328 2329 * libtiff/tif_dirread.c: Applied similar change to 2330 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 2331 2332 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 2333 2334 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 2335 23362005-05-06 Andrey Kiselev <[email protected]> 2337 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 2338 added new option '-b' to use interpolation in output PDF files (Bruno 2339 Ledoux). 2340 23412005-05-05 Frank Warmerdam <[email protected]> 2342 2343 * libtiff/tif_dirread.c: Ensure that broken files with too many 2344 values in PerSampleShorts work ok instead of crashing. 2345 2346 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 2347 23482005-04-27 Andrey Kiselev <[email protected]> 2349 2350 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 2351 input file. 2352 23532005-04-15 Andrey Kiselev <[email protected]> 2354 2355 * libtiff/tif_predict.c: Added ability to encode floating point 2356 predictor, as per TIFF Technical Note 3. 2357 23582005-04-14 Andrey Kiselev <[email protected]> 2359 2360 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 2361 floating point predictor, as per TIFF Technical Note 3. 2362 23632005-04-13 Andrey Kiselev <[email protected]> 2364 2365 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 2366 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 2367 swap 24-bit floating point values. 2368 2369 * libtiff/tiff.h: Added predictor constants. 2370 23712005-04-08 Andrey Kiselev <[email protected]> 2372 2373 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 2374 values in _TIFFVSetField() function. Inspired by the bug 2375 2376 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 2377 2378 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 2379 as per bug 2380 2381 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 2382 23832005-03-30 Andrey Kiselev <[email protected]> 2384 2385 * libtiff/tif_open.c: Do not read header in case the output file 2386 should be truncated (Ron). 2387 2388 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 2389 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 2390 2391 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 2392 23932005-03-22 Andrey Kiselev <[email protected]> 2394 2395 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 2396 rpath option. 2397 23982005-03-21 Andrey Kiselev <[email protected]> 2399 2400 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 2401 tags. 2402 24032005-03-18 Andrey Kiselev <[email protected]> 2404 2405 * libtiff/dirinfo.c: Added DNG tags. 2406 2407 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 2408 handling code. 2409 2410 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 2411 added DNG 1.1.0.0 tags. 2412 2413 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 2414 bug 2415 2416 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 2417 2418 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 2419 24202005-03-17 Andrey Kiselev <[email protected]> 2421 2422 * nmake.opt: Build with Win32 CRT library by default. 2423 2424 * tools/tiff2ps.c: Fixed typo in page size handling code. 2425 2426 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 2427 by value. 2428 2429 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 2430 24312005-03-15 Andrey Kiselev <[email protected]> 2432 2433 * libtiff 3.7.2 released. 2434 24352005-03-09 Andrey Kiselev <[email protected]> 2436 2437 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 2438 floating point data; complain on unsupported bit depths. 2439 24402005-03-05 Andrey Kiselev <[email protected]> 2441 2442 * tif_stream.cxx: Use ios namespace instead of ios_base to support 2443 GCC 2.95. 2444 2445 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 2446 Lee Howard for HylaFax DCS tag 2447 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 2448 24492005-03-04 Andrey Kiselev <[email protected]> 2450 2451 * configure, configure.ac: Use -rpath option instead of -R as per bug 2452 2453 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 2454 2455 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 2456 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 2457 software. As per bug 2458 2459 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 2460 2461 * nmake.opt, html/build.html: Add more comments, change the config 2462 file organization a bit as per bug 2463 2464 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 2465 2466 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 2467 as per bug 2468 2469 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 2470 24712005-03-03 Andrey Kiselev <[email protected]> 2472 2473 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 2474 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 2475 2476 * tools/fax2ps.c: Replace insecure mktemp() function with the 2477 tmpfile() as per bug 2478 2479 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 2480 24812005-02-04 Andrey Kiselev <[email protected]> 2482 2483 * libtiff/tiff.h: Changed the int8 definition to be always signed char 2484 as per bug 2485 2486 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2487 2488 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 2489 block as per bug 2490 2491 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 2492 24932005-02-03 Bob Friesenhahn <[email protected]> 2494 2495 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 2496 display more correctly. Images display brighter than they should 2497 on a Sun workstation. 2498 24992005-02-03 Andrey Kiselev <[email protected]> 2500 2501 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 2502 suspicious values in the tags. As per bugs 2503 2504 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 2505 2506 and 2507 2508 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 2509 2510 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 2511 2512 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 2513 25142005-01-31 Bob Friesenhahn <[email protected]> 2515 2516 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 2517 (TIFFTAG_TILELENGTH): Corrected description. 2518 25192005-01-30 Andrey Kiselev <[email protected]> 2520 2521 * configure.ac: Fixes for --with-docdir option as per bug 2522 2523 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 2524 2525 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 2526 bug 2527 2528 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 2529 2530 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 2531 Michael Rinne and Edward Lam. 2532 25332005-01-15 Andrey Kiselev <[email protected]> 2534 2535 * configure.ac: Make the documentation directory location configurable 2536 via the --with-docdir option (as suggested by Jeremy C. Reed). 2537 2538 * libtiff/tif_color.c: Use double as the second argument of pow() 2539 function in TIFFCIELabToRGBInit(). As per bug 2540 2541 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 2542 2543 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 2544 integer as per bug 2545 2546 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 2547 2548 * libtiff/tif_getimage.c: Always fill the error message buffer in 2549 TIFFRGBAImageBegin() as per bug 2550 2551 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 2552 25532005-01-12 Andrey Kiselev <[email protected]> 2554 2555 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 2556 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 2557 tags as per bug 2558 2559 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 2560 2561 * libtiff/tif_win32.c: Fixed message formatting in functions 2562 Win32WarningHandler() and Win32ErrorHandler() as per bug 2563 2564 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 2565 2566 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 2567 per bug 2568 2569 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 2570 25712005-01-11 Andrey Kiselev <[email protected]> 2572 2573 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 2574 "C"' section as per bug 2575 2576 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2577 2578 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 2579 compiler to avoid double definition of BSD types as per bug 2580 2581 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2582 2583 * libtiff/Makefile.am: Place the C++ stream API in the separate 2584 library called libtiffxx to avoid unneeded dependencies. Probably 2585 there will be more C++ API in the future. As per bugs 2586 2587 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 2588 2589 and 2590 2591 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 2592 25932005-01-05 Andrey Kiselev <[email protected]> 2594 2595 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 2596 wrong tag counts (Dmitry V. Levin, Martin Pitt). 2597 2598 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 2599 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 2600 26012004-12-25 Andrey Kiselev <[email protected]> 2602 2603 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 2604 RGB-images as per bug 2605 2606 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 2607 2608 2609 * tools/tiffset.c: Convert character option to integer value as per 2610 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 2611 26122004-12-20 Andrey Kiselev <[email protected]> 2613 2614 * libtiff 3.7.1 released. 2615 2616 * html/tiffset.1.html: Add missed manual page as per bug 2617 2618 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 2619 2620 * libtiff/tiff.h: Revert back libtiff data type definitions as per 2621 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 2622 26232004-12-19 Andrey Kiselev <[email protected]> 2624 2625 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 2626 checking for tag count in TIFFReadDirectory() function. As per bug 2627 2628 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 2629 2630 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 2631 CheckMallock() function. 2632 2633 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 2634 RGB-images as per bug 2635 2636 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 2637 26382004-12-15 Frank Warmerdam <[email protected]> 2639 2640 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 2641 SunPro compiler. 2642 26432004-12-11 Bob Friesenhahn <[email protected]> 2644 2645 * autogen.sh: aclocal and autoheader should be executed after 2646 libtoolize. Also add '-I .' to aclocal invocation to check 2647 current directory for macros. 2648 26492004-12-10 Andrey Kiselev <[email protected]> 2650 2651 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 2652 as per bugs 2653 2654 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 2655 2656 and 2657 2658 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 2659 26602004-12-04 Andrey Kiselev <[email protected]> 2661 2662 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 2663 2664 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 2665 2666 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 2667 mode as per bug 2668 2669 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 2670 2671 * libtiff/tif_config.in.vc: Removed unneded definitions for 2672 read/open/close/lseek functions to fix the 2673 2674 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 2675 26762004-12-03 Andrey Kiselev <[email protected]> 2677 2678 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 2679 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 2680 must be removed in the future, as it was never used properly. As per 2681 bug 2682 2683 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 2684 26852004-11-30 Bob Friesenhahn <[email protected]> 2686 2687 * libtiff/tif_jpeg.c: Added a work-around in order to allow 2688 compilation with the heavily modified version of libjpeg delivered 2689 with Cygwin. 2690 26912004-11-29 Andrey Kiselev <[email protected]> 2692 2693 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 2694 counts. As per bug 2695 2696 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 2697 2698 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 2699 2700 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 2701 27022004-11-28 Andrey Kiselev <[email protected]> 2703 2704 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 2705 on Windows. 2706 2707 * nmake.opt: Add missed DLLNAME variable. 2708 27092004-11-26 Frank Warmerdam <[email protected]> 2710 2711 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 2712 27132004-11-24 Andrey Kiselev <[email protected]> 2714 2715 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 2716 per bug 2717 2718 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 2719 2720 * man/tiffset.1: Added manual page for tiffset tool written by Jay 2721 Berkenbilt. As per bug 2722 2723 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 2724 27252004-11-23 Frank Warmerdam <[email protected]> 2726 2727 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 2728 27292004-11-21 Frank Warmerdam <[email protected]> 2730 2731 * html/document.html: Updated Adobe web links as per email from Joris. 2732 27332004-11-21 Andrey Kiselev <[email protected]> 2734 2735 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 2736 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 2737 use C++ streams should #include <tiffio.hxx>. 2738 27392004-11-13 Andrey Kiselev <[email protected]> 2740 2741 * libtiff/tiff.h: Added Adobe DNG tags. 2742 2743 * libtiff/tif_win32.c: Typo fixed. 2744 2745 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 2746 be compliant with the latest standard. Appropriate additions in 2747 makefiles now completed. 2748 27492004-11-11 Andrey Kiselev <[email protected]> 2750 2751 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 2752 different tag types. As per bug 2753 2754 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 2755 27562004-11-10 Andrey Kiselev <[email protected]> 2757 2758 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 2759 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 2760 27612004-11-09 Andrey Kiselev <[email protected]> 2762 2763 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 2764 27652004-11-07 Andrey Kiselev <[email protected]> 2766 2767 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 2768 contributed by Edward Lam (see 2769 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 2770 Though no changes in any makefiles yet. 2771 27722004-11-05 Frank Warmerdam <[email protected]> 2773 2774 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 2775 is bad. This is the callers responsibility. 2776 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 2777 27782004-11-05 Andrey Kiselev <[email protected]> 2779 2780 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 2781 function to work with the double byte strings (used to represent 2782 filenames in some locales). As per bug 2783 2784 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 2785 2786 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 2787 Compression tags of type LONG from broken TIFFS as per bug 2788 2789 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 2790 2791 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 2792 the writecount should have uint32 type. As per bug 2793 2794 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 2795 2796 * libtiff/tif_write.c: Fixed wrong if() statement in 2797 TIFFAppendToStrip() function as per bug 2798 2799 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 2800 28012004-11-04 Andrey Kiselev <[email protected]> 2802 2803 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 2804 field. The caller should supply a count when setting this field. As 2805 per bug 2806 2807 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 2808 2809 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 2810 uint32 count. Use this type everywhere. 2811 28122004-11-03 Frank Warmerdam <[email protected]> 2813 2814 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 2815 28162004-11-02 Frank Warmerdam <[email protected]> 2817 2818 * tools/tiff2rgba.c: removed extra newlines in usage message. 2819 28202004-10-30 Andrey Kiselev <[email protected]> 2821 2822 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 2823 2824 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 2825 tags (Tristan Hill). 2826 28272004-10-30 Frank Warmerdam <[email protected]> 2828 2829 * libtiff/tiffiop.h: added fallback definition of assert() if we 2830 don't have assert.h. 2831 28322004-10-29 Andrey Kiselev <[email protected]> 2833 2834 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 2835 choosing when the incorrect Group4Options tag set. As per bug 2836 2837 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 2838 2839 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 2840 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 2841 TIFFWriteNormalTag(). 2842 28432004-10-28 Andrey Kiselev <[email protected]> 2844 2845 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 2846 tags (Peter Fales). 2847 2848 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 2849 28502004-10-28 Frank Warmerdam <[email protected]> 2851 2852 * tools/tiff2pdf.c: added casts to avoid warnings. 2853 2854 * libtiff/libtiff.def: Added several more entry points required 2855 to link fax2tiff.c against the DLL on windows. 2856 28572004-10-27 Andrey Kiselev <[email protected]> 2858 2859 * configure, configure.ac: Added --enable-rpath option to embed linker 2860 paths into library binary. 2861 28622004-10-26 Andrey Kiselev <[email protected]> 2863 2864 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 2865 2866 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 2867 (Vladimir Nadvornik, Dmitry V. Levin). 2868 28692004-10-16 Andrey Kiselev <[email protected]> 2870 2871 * libtiff 3.7.0 released. 2872 28732004-10-15 Bob Friesenhahn <[email protected]> 2874 2875 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 2876 in this file so its inclusion is removed. Including stdio.h 2877 sometimes incurs an INT32 typedef conflict between MinGW's 2878 basetsd.h and libjpeg's jmorecfg.h. 2879 28802004-10-15 Andrey Kiselev <[email protected]> 2881 2882 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 2883 28842004-10-13 Bob Friesenhahn <[email protected]> 2885 2886 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 2887 conflict noticed under MinGW. 2888 * ltmain.sh: Fix for MinGW compilation. 2889 28902004-10-13 Frank Warmerdam <[email protected]> 2891 2892 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 2893 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 2894 28952004-10-12 Andrey Kiselev <[email protected]> 2896 2897 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 2898 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 2899 properly (Dmitry V. Levin, Marcus Meissner). 2900 29012004-10-11 Andrey Kiselev <[email protected]> 2902 2903 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 2904 to TIFF_IFD. 2905 29062004-10-10 Andrey Kiselev <[email protected]> 2907 2908 * tools/bmp2tif.c: Check the space allocation results. 2909 29102004-10-09 Andrey Kiselev <[email protected]> 2911 2912 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 2913 of the TIFFDirectory structure with the 0 instead of -1 to avoid 2914 confusing integer overflows in TIFFTileRowSize() for striped images. 2915 2916 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 2917 by Ross A. Finlayson. 2918 2919 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 2920 2921 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 2922 29232004-10-08 Frank Warmerdam <[email protected]> 2924 2925 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 2926 of tif_fieldinfo. 2927 2928 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 2929 29302004-10-04 Bob Friesenhahn <[email protected]> 2931 2932 * contrib/iptcutil/README: Added the missing README which goes 2933 along with iptcutil. 2934 29352004-10-03 Andrey Kiselev <[email protected]> 2936 2937 * libtiff/tif_compress.c: Improved error reporting in 2938 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 2939 29402004-10-02 Andrey Kiselev <[email protected]> 2941 2942 * libtiff 3.7.0beta2 released. 2943 2944 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 2945 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 2946 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 2947 allocations and integer overflows (Dmitry V. Levin). 2948 2949 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 2950 29512004-10-01 Frank Warmerdam <[email protected]> 2952 2953 * libtiff/tif_open.c: added a more informative message if a BigTIFF 2954 file is opened. 2955 29562004-09-30 Frank Warmerdam <[email protected]> 2957 2958 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 2959 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 2960 in the Adobe XMP Specification. 2961 29622004-09-29 Andrey Kiselev <[email protected]> 2963 2964 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 2965 memset(). 2966 2967 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 2968 from Dmitry V. Levin to fix possible integer overflow problems. 2969 29702004-09-28 Andrey Kiselev <[email protected]> 2971 2972 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 2973 (Dmitry V. Levin). 2974 29752004-09-26 Andrey Kiselev <[email protected]> 2976 2977 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 2978 Optimize checking for the strip bounds. 2979 2980 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 2981 TIFFRasterScanlineSize() functions report zero in the case of integer 2982 overflow now. Properly handle this case in TIFFReadDirectory() 2983 (patches from Dmitry V. Levin). 2984 29852004-09-25 Andrey Kiselev <[email protected]> 2986 2987 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 2988 macro where appropriate. 2989 2990 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 2991 noted by Gennady Khokhorin. 2992 2993 * libtiff/tif_dirread.c: Always check the return values, returned 2994 by the _TIFFmalloc() (Dmitry V. Levin). 2995 2996 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 2997 functions (Dmitry V. Levin). 2998 2999 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 3000 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 3001 TIFFGrowStrips() (found by Dmitry V. Levin). 3002 30032004-09-24 Andrey Kiselev <[email protected]> 3004 3005 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 3006 to get the list of configured codecs. 3007 3008 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 3009 Dmitry V. Levin. 3010 30112004-09-23 Andrey Kiselev <[email protected]> 3012 3013 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 3014 possible integer overflow in CheckMalloc() function. 3015 30162004-09-22 Andrey Kiselev <[email protected]> 3017 3018 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 3019 of plain TIFFhowmany() where appropriate. 3020 30212004-09-21 Andrey Kiselev <[email protected]> 3022 3023 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 3024 30252004-09-19 Andrey Kiselev <[email protected]> 3026 3027 * libtiff 3.7.0beta released. 3028 3029 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 3030 overruns fixed, as noted by Chris Evans. 3031 30322004-09-14 Bob Friesenhahn <[email protected]> 3033 3034 * commit: Added a script to make it more convenient to commit 3035 updates. The CVS commit message is extracted from this ChangeLog 3036 file. 3037 30382004-09-14 Andrey Kiselev <[email protected]> 3039 3040 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 3041 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 3042 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 3043 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 3044 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 3045 tif_config.h.in, tiffiop.h}: 3046 Get rid of BSD data types (u_char, u_short, u_int, u_long). 3047 30482004-09-13 Bob Friesenhahn <[email protected]> 3049 3050 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 3051 specification. Reference libtiff bug tracking system to submit 3052 private tag additions. 3053 30542004-09-12 Bob Friesenhahn <[email protected]> 3055 3056 * tools/tiffgt.c: Include "tif_config.h". 3057 3058 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 3059 tiffgt. This results in the 'compile' script being added to the 3060 project. 3061 3062 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 3063 required to find OpenGL headers necessary to build tiffgt. Also 3064 ensure that the libtiff that we built is used rather than some other 3065 libtiff installed on the system. 3066 30672004-09-12 Andrey Kiselev <[email protected]> 3068 3069 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 3070 libraries. 3071 30722004-09-11 Bob Friesenhahn <[email protected]> 3073 3074 * configure.ac: Pass library configuration defines via 3075 tif_config.h rather than extending CPPFLAGS. Configure a 3076 libtiff/tiffconf.h in order to satisfy application requirements 3077 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 3078 this causes failure to build on systems which properly respect 3079 this request. 3080 3081 * libtiff/tiffconf.h.in: New file to act as the template for the 3082 configured tiffconf.h 3083 3084 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 3085 30862004-09-10 Frank Warmerdam <[email protected]> 3087 3088 * html/internals.html: Split off a discussion of adding new tags 3089 into addingtags.html. 3090 30912004-09-10 Andrey Kiselev <[email protected]> 3092 3093 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 3094 3095 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 3096 3097 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3098 3099 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 3100 3101 * libtiff/tif_dirread.c: Don't reject to read tags of the 3102 SamplesPerPixel size when the tag count is greater than number of 3103 samples as per bug 3104 3105 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 3106 3107 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 3108 defining int8/uint8/... etc. types. As per bug 3109 3110 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 3111 31122004-09-09 Frank Warmerdam <[email protected]> 3113 3114 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 3115 to avoid compile warnings about getopt() and a few other things. 3116 31172004-09-02 Andrey Kiselev <[email protected]> 3118 3119 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 3120 assigning magic in TIFFFetchFloat(). 3121 31222004-09-01 Andrey Kiselev <[email protected]> 3123 3124 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 3125 to avoid requirement for tiffiop.h inclusion in some applications. See 3126 here 3127 3128 http://www.asmail.be/msg0054799560.html 3129 3130 for details. 3131 3132 * tools/fax2tiff.c: Use the new functions in the code. 3133 31342004-08-25 Andrey Kiselev <[email protected]> 3135 3136 * tools/tiff2pdf.c: Initialize arrays properly. 3137 3138 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 3139 properly initialize array in PSDataBW(). 3140 31412004-08-24 Andrey Kiselev <[email protected]> 3142 3143 * tools/tiff2pdf.c: More fixes for bug 3144 3145 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3146 3147 from Ross Finlayson. 3148 31492004-08-23 Andrey Kiselev <[email protected]> 3150 3151 * tools/tiff2ps.c: Fixed problem with uninitialized values. 3152 3153 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 3154 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 3155 3156 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 3157 3158 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 3159 31602004-08-20 Andrey Kiselev <[email protected]> 3161 3162 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 3163 that the input file has compression, photometric interpretation, 3164 etcetra, tags or if not than a more descriptive error is returned. 3165 3166 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 3167 code, responsible for tag data type checking. 3168 31692004-08-19 Andrey Kiselev <[email protected]> 3170 3171 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 3172 variable as per bug 3173 3174 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 3175 31762004-08-16 Andrey Kiselev <[email protected]> 3177 3178 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 3179 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 3180 31812004-08-01 Andrey Kiselev <[email protected]> 3182 3183 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 3184 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 3185 31862004-07-24 Andrey Kiselev <[email protected]> 3187 3188 * libtiff/tif_lzw.c: LZW compression code is merged back from the 3189 separate package. All libtiff tools are updated to not advertise an 3190 abcence of LZW support. 3191 31922004-07-12 Andrey Kiselev <[email protected]> 3193 3194 * libtiff/tiffio.h: Revert thandle_t back to void* type. 3195 31962004-07-11 Andrey Kiselev <[email protected]> 3197 3198 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 3199 messages, as suggested by Bernd Herd. 3200 32012004-07-03 Andrey Kiselev <[email protected]> 3202 3203 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 3204 when setting custom tags by value. Reported by Eric Fieleke. 3205 32062004-06-14 Andrey Kiselev <[email protected]> 3207 3208 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 3209 32102004-06-08 Andrey Kiselev <[email protected]> 3211 3212 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 3213 into TIFFs. 3214 32152004-06-07 Andrey Kiselev <[email protected]> 3216 3217 * libtiff 3.7.0alpha released. 3218 32192004-06-06 Andrey Kiselev <[email protected]> 3220 3221 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 3222 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 3223 ones :-). 3224 3225 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 3226 problems in 64-bit environment). 3227 32282004-06-05 Andrey Kiselev <[email protected]> 3229 3230 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 3231 Tags can be supplied by the mnemonic name or number. 3232 3233 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 3234 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 3235 32362004-05-27 Andrey Kiselev <[email protected]> 3237 3238 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 3239 markers as per bug 3240 3241 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 3242 32432004-05-24 Andrey Kiselev <[email protected]> 3244 3245 * tools/tiffsplit.c: Don't forget to copy Photometric 3246 Interpretation tag. 3247 32482004-05-20 Andrey Kiselev <[email protected]> 3249 3250 * libtiff/{tif_open.c, tiffio.h}: New function added: 3251 TIFFIsBigEndian(). Function returns nonzero if given was file written 3252 in big-endian order. 3253 3254 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 3255 files. Now output files will be written using the same byte order 3256 flag as in the input image. See 3257 3258 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 3259 3260 for details. 3261 32622004-05-19 Frank Warmerdam <[email protected]> 3263 3264 * libtiff/tif_print.c: added (untested) support for printing 3265 SSHORT, SLONG and SRATIONAL fields. 3266 3267 * tools/tiffcp.c: close output file on normal exit. 3268 32692004-05-17 Andrey Kiselev <[email protected]> 3270 3271 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 3272 if compression type mismatches. See 3273 3274 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 3275 32762004-04-30 Andrey Kiselev <[email protected]> 3277 3278 * libtiff/tif_strip.c: Never return 0 from the 3279 TIFFNumberOfStrips(). 3280 32812004-04-29 Andrey Kiselev <[email protected]> 3282 3283 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 3284 store single SampleFormat value for multisampled images. See 3285 3286 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 3287 32882004-04-25 Andrey Kiselev <[email protected]> 3289 3290 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 3291 int16 and int32 types to avoid complains on some compilers. Details at 3292 3293 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3294 32952004-04-20 Andrey Kiselev <[email protected]> 3296 3297 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 3298 3299 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 3300 33012004-04-14 Andrey Kiselev <[email protected]> 3302 3303 * libtiff/tif_write.c: Allow in-place updating of the compressed 3304 images (don't work properly with all codecs). For details see GDAL bug 3305 3306 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 3307 33082004-04-06 Andrey Kiselev <[email protected]> 3309 3310 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 3311 in the Intergarph JPEG compressed TIFF images as per bug: 3312 3313 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 3314 33152004-04-04 Frank Warmerdam <[email protected]> 3316 3317 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 3318 via bad2. 3319 33202004-03-26 Andrey Kiselev <[email protected]> 3321 3322 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 3323 JPEG compression of grayscale images. 3324 3325 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 3326 present in the input image. 3327 33282004-03-19 Andrey Kiselev <[email protected]> 3329 3330 * {many}: The first attempt to switch to autotools. 3331 33322004-03-03 Andrey Kiselev <[email protected]> 3333 3334 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 3335 TIFFClientOpen() when the appropriate client functions was not 3336 supplied by user. 3337 33382004-03-02 Frank Warmerdam <[email protected]> 3339 3340 * tools/ycbcr.c: fixed main() declaration as per: 3341 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 3342 33432004-02-26 Andrey Kiselev <[email protected]> 3344 3345 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 3346 images. Reported by Artem Mirolubov. 3347 3348 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 3349 tag type in TIFFFetchNormalTag() as per bug 3350 3351 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 3352 33532004-02-17 Frank Warmerdam <[email protected]> 3354 3355 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 3356 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 3357 33582004-02-05 Andrey Kiselev <[email protected]> 3359 3360 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 3361 bug 3362 3363 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 3364 3365 But we need more work on fax codec to support update mode. 3366 33672004-01-30 Frank Warmerdam <[email protected]> 3368 3369 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 3370 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 3371 Scott Reynolds. 3372 33732004-01-29 Andrey Kiselev <[email protected]> 3374 3375 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 3376 and TIFFTAG_INDEXED as per bug 3377 3378 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 3379 3380 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 3381 NULL before proceeding further as per bug 3382 3383 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 3384 3385 Check results, returned by the TIFFFdOpen() before returning and close 3386 file if TIFFFdOpen() failed as per bug 3387 3388 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3389 3390 * libtiff/tif_open.c: More fixes for 3391 3392 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3393 33942004-01-28 Andrey Kiselev <[email protected]> 3395 3396 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 3397 TIFFCleanup() from the TIFFClose() in order to fix the bug 3398 3399 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 3400 3401 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 3402 InkNames tag as per bug 3403 3404 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 3405 3406 Memory leak fixed. 3407 34082004-01-21 Frank Warmerdam <[email protected]> 3409 3410 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 3411 are field_passcount=TRUE properly. Arguably anonymous custom tags 3412 should be declared as passcount=FALSE, but I don't want to change 3413 that without a careful review. 3414 34152004-01-20 Andrey Kiselev <[email protected]> 3416 3417 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 3418 stripped image in TIFFWriteBufferSetup(). As per bug 3419 3420 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 3421 34222004-01-11 Andrey Kiselev <[email protected]> 3423 3424 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 3425 patch from Gerben Koopmans. 3426 3427 * libtiff/tif_dirread.c: Check field_passcount value before setting 3428 the value of undefined type, patch from Gerben Koopmans. 3429 34302004-01-02 Andrey Kiselev <[email protected]> 3431 3432 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 3433 non-RGB images. 3434 34352003-12-31 Andrey Kiselev <[email protected]> 3436 3437 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 3438 pointer passed. Patch supplied by Larry Grill. 3439 3440 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 3441 suggested by Jeremy C. Reed. 3442 34432003-12-26 Andrey Kiselev <[email protected]> 3444 3445 * libtiff 3.6.1 released. 3446 34472003-12-24 Andrey Kiselev <[email protected]> 3448 3449 * config.guess, config.sub: Updated from the recent upstream. 3450 34512003-12-22 Andrey Kiselev <[email protected]> 3452 3453 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 3454 More cleanups in color conversion interface, added appropriate manual 3455 page. 3456 34572003-12-19 Andrey Kiselev <[email protected]> 3458 3459 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 3460 per bug 3461 3462 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 3463 3464 * tools/tiff2ps.c: Added support for alpha channel. Fixes 3465 3466 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 3467 3468 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 3469 Interface for Lab->RGB color conversion is finally cleaned up. 3470 Added support for ReferenceBlackWhite tag handling when converted from 3471 YCbCr color space. The latter closes 3472 3473 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 3474 34752003-12-07 Andrey Kiselev <[email protected]> 3476 3477 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 3478 3479 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 3480 library. 3481 34822003-12-06 Andrey Kiselev <[email protected]> 3483 3484 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 3485 file and properly use it for CIE Lab->RGB transform. 3486 34872003-12-04 Andrey Kiselev <[email protected]> 3488 3489 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 3490 conversion routines now in the tif_color.c module. New function 3491 TIFFYCbCrtoRGB() available in TIFF API. 3492 3493 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 3494 34952003-12-03 Andrey Kiselev <[email protected]> 3496 3497 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 3498 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 3499 module. 3500 3501 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 3502 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 3503 Finally resolved problems with orientation handling. TIFFRGBAImage 3504 interface now properly supports all possible orientations, i.e. images 3505 will be flipped both in horizontal and vertical directions if 3506 required. 'Known bugs' section now removed from the appropriate manual 3507 pages. Closed bug entry: 3508 3509 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 3510 35112003-12-02 Andrey Kiselev <[email protected]> 3512 3513 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 3514 function calls as per bug 3515 3516 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 3517 35182003-11-28 Ross Finlayson <[email protected]> 3519 3520 * tools/tiff2pdf.c: Some bugs fixed. 3521 35222003-11-27 Andrey Kiselev <[email protected]> 3523 3524 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 3525 reported by Antonio Scuri. 3526 3527 * man/tiff2pdf.1: Few improvements in page layout. 3528 3529 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 3530 Added support fpr tiff2pdf manual page. 3531 35322003-11-26 Ross Finlayson <[email protected]> 3533 3534 * /man/tiff2pdf.1: File added to repository. 3535 35362003-11-26 Andrey Kiselev <[email protected]> 3537 3538 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 3539 Added support fpr tiff2pdf utility. 3540 35412003-11-25 Ross Finlayson <[email protected]> 3542 3543 * /tools/tiff2pdf.c: File added to repository. 3544 35452003-11-22 Andrey Kiselev <[email protected]> 3546 3547 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 3548 35492003-11-21 Andrey Kiselev <[email protected]> 3550 3551 * /tools/raw2tiff.c: #include <getopt.h> removed. 3552 3553 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 3554 sgigt utility removed and replaced with the completely rewritten 3555 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 3556 there is a lot of things to improve. 3557 3558 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 3559 extract the fields from the OJPEG files. Patch supplied by Ross 3560 Finlayson. 3561 3562 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 3563 Added new function TIFFIsCODECConfigured(), suggested by Ross 3564 Finlayson. 3565 35662003-11-18 Andrey Kiselev <[email protected]> 3567 3568 * libtiff/tif_dirinfo.c: Implemented binary search in 3569 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 3570 3571 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 3572 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 3573 35742003-11-17 Frank Warmerdam <[email protected]> 3575 3576 * tif_dirread.c: do not mark all anonymously defined tags to be 3577 IGNOREd. 3578 35792003-11-17 Andrey Kiselev <[email protected]> 3580 3581 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 3582 TIFFDataWidth() function insted of tiffDataWidth array. 3583 35842003-11-16 Andrey Kiselev <[email protected]> 3585 3586 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 3587 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 3588 35892003-11-15 Frank Warmerdam <[email protected]> 3590 3591 * Makefile.in: fixed missing backslash for tif_color.c in list. 3592 35932003-11-13 Andrey Kiselev <[email protected]> 3594 3595 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 3596 New color space conversion code: CIE L*a*b* 1976 images now supported 3597 by the TIFFRGBAImage interface. All introduced routines go to new 3598 module tif_color.c. Eventually all color conversion functions should 3599 be moved there. 3600 36012003-11-12 Andrey Kiselev <[email protected]> 3602 3603 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 3604 with the reverse byte order (it is reported by the magic header 3605 field). Problem reported by Andreas Wiesmann. 3606 3607 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 3608 calculation function. Guessing mechanics now documented in manual page. 3609 36102003-11-11 Andrey Kiselev <[email protected]> 3611 3612 * tools/raw2tiff.c: Implemented image size guessing using 3613 correlation coefficient calculation between two neighbour lines. 3614 36152003-11-09 Frank Warmerdam <[email protected]> 3616 3617 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 3618 planarconfig_contig case in TIFFComputeTile(). 3619 3620 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 3621 36222003-11-09 Andrey Kiselev <[email protected]> 3623 3624 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 3625 36262003-11-07 Andrey Kiselev <[email protected]> 3627 3628 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 3629 Added TIFFRawStripSize() function as suggested by Chris Hanson. 3630 36312003-11-03 Andrey Kiselev <[email protected]> 3632 3633 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 3634 per bug 3635 3636 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 3637 36382003-10-29 Andrey Kiselev <[email protected]> 3639 3640 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 3641 3642 * html/build.html: Added note about GNU make requirement. 3643 36442003-10-25 Andrey Kiselev <[email protected]> 3645 3646 * Makefile.in: Fixes in using MAKEFLAGS as per bug 3647 3648 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 3649 3650 * port/install.sh.in: Option -p added to the mkdir command to create 3651 all directory tree structure before installing. 3652 36532003-10-18 Andrey Kiselev <[email protected]> 3654 3655 * /tools/tiff2ps.c: #include <strings.h> replaced with the 3656 #include <string.h>. 3657 36582003-10-16 Andrey Kiselev <[email protected]> 3659 3660 * Makefile.in: Add an absolute path to the test_pics.sh call. 3661 36622003-10-12 Andrey Kiselev <[email protected]> 3663 3664 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 3665 typedefs. 3666 36672003-10-09 Andrey Kiselev <[email protected]> 3668 3669 * configure, libtiff/{Makefile.in, mkversion.c}: 3670 Relative buildings fixed. 3671 3672 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 3673 rule. 3674 36752003-10-07 Andrey Kiselev <[email protected]> 3676 3677 * Makefile.in: Added missed v3.6.0.html. 3678 3679 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 3680 ORIENTATION_BOTLEFT. 3681 36822003-10-04 Andrey Kiselev <[email protected]> 3683 3684 * 3.6.0 final release. 3685 36862003-10-03 Andrey Kiselev <[email protected]> 3687 3688 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 3689 function TIFFReadRGBAImageOriented() implemented to retrieve raster 3690 array with user-specified origin position as suggested by Jason Frank. 3691 See 3692 3693 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 3694 3695 for details. 3696 3697 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 3698 instead of TIFFReadRGBAImage(). 3699 3700 * tools/tiff2ps.c: Fixed possible endless loop as per bug 3701 3702 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 3703 37042003-09-30 Andrey Kiselev <[email protected]> 3705 3706 * libtiff/tif_dirread.c: Check field counter against number of fields 3707 in order to fix 3708 3709 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 3710 3711 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 3712 3713 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 3714 37152003-09-25 Andrey Kiselev <[email protected]> 3716 3717 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 3718 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 3719 3720 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 3721 37222003-09-23 Andrey Kiselev <[email protected]> 3723 3724 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 3725 3726 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 3727 37282003-08-21 Andrey Kiselev <[email protected]> 3729 3730 * tools/tiffmedian.c: int declaration replaced with the uint32 to 3731 support large images as per bug 3732 3733 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 3734 37352003-08-12 Andrey Kiselev <[email protected]> 3736 3737 * libtiff/Makefile.in: Fixed problem with building in different 3738 directory. 3739 3740 * tools/tiff2ps.c: Added missing #include <strings.h>. 3741 3742 * libtiff/tif_dirwrite.c: More fixes for custom tags code 3743 from Ashley Dreier. 3744 37452003-08-07 Andrey Kiselev <[email protected]> 3746 3747 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 3748 Patch submitted by Balatoni Denes (with corrections from Tom 3749 Kacvinsky). 3750 3751 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 3752 being used. Reported by Tom Kacvinsky. 3753 3754 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 3755 reported by Ashley Dreier. 3756 3757 * libtiff/tif_print.c: Fixed problem with float tags reading, support 3758 for printing RATIONAL and BYTE tags added. 3759 37602003-08-05 Andrey Kiselev <[email protected]> 3761 3762 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 3763 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 3764 problems with predictor initialization. Remove O_RDONLY check during 3765 state block allocation to be able open LZW compressed files in update 3766 mode. 3767 3768 Problem exist for libtiff version of the tif_lzw.c module. One from 3769 lzw-compression-kit hasn't such troubles. 3770 37712003-08-04 Frank Warmerdam <[email protected]> 3772 3773 * libtiff/tif_write.c: modified tif_write.c so that the various 3774 encoded write functions use tif_postdecode() to apply byte order 3775 swapping (swab) to the application passed data buffer if the same 3776 would be done when reading. This allows us to write pixel data with 3777 more than 8 bits per sample to existing files of a non-native byte 3778 order. One side effect of this change is the applications buffer 3779 itself is altered in this case by the act of writing. 3780 3781 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 3782 37832003-07-25 Frank Warmerdam <[email protected]> 3784 3785 * libtiff/tif_open.c: avoid signed/unsigned casting warning 3786 initializing typemask as per patch from J.A. Strother. 3787 3788 * tools/tiffcp.c: fixed signed/unsigned casting warning. 3789 3790 * libtiff/tif_print.c: dos2unix conversion. 3791 3792 * tools/tiffsplit.c: increased the maximum number of pages that 3793 can be split. Patch provided by Andrew J. Montalenti. 3794 37952003-07-11 Andrey Kiselev <[email protected]> 3796 3797 * tools/raw2tiff.c: Added option `-p' to explicitly select color 3798 space of input image data. Closes 3799 3800 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 3801 38022003-07-08 Frank Warmerdam <[email protected]> 3803 3804 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 3805 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 3806 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 3807 avoid casting warning at /W4. 3808 38092003-07-03 Andrey Kiselev <[email protected]> 3810 3811 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 3812 38132003-06-30 Andrey Kiselev <[email protected]> 3814 3815 * libtiff/tif_pixarlog.c: Unused variables removed. 3816 3817 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 3818 EstimateStripByteCounts() as per bug 3819 3820 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 3821 3822 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 3823 64-bit architectures as per bug 3824 3825 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 3826 3827 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 3828 unknown data type. 3829 38302003-06-19 Frank Warmerdam <[email protected]> 3831 3832 * libtiff/tif_print.c: fixed some serious bugs when printing 3833 custom tags ... almost certain to crash. 3834 3835 * libtiff/tif_dirread.c: Don't ignore custom fields that are 3836 autodefined. Not sure how this got to be like this. 3837 38382003-06-18 Andrey Kiselev <[email protected]> 3839 3840 * 3.6.0 Beta2 released. 3841 3842 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 3843 comparing as per bug 3844 3845 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 3846 3847 `-z' option now can be used to set the number of reported different 3848 bytes. 3849 38502003-06-09 Andrey Kiselev <[email protected]> 3851 3852 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 3853 to -r option to get the entire image as one strip. See 3854 3855 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 3856 3857 for details. 3858 38592003-06-04 Andrey Kiselev <[email protected]> 3860 3861 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 3862 values as per bug 3863 3864 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 3865 38662003-05-27 Frank Warmerdam <[email protected]> 3867 3868 * libtiff/tif_jpeg.c: modified segment_height calculation to always 3869 be a full height tile for tiled images. Also changed error to just 3870 be a warning. 3871 38722003-05-25 Andrey Kiselev <[email protected]> 3873 3874 * tools/fax2tiff.c: Page numbering fixed, as per bug 3875 3876 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 3877 38782003-05-20 Andrey Kiselev <[email protected]> 3879 3880 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 3881 configure, Makefile.in: Switched back to the old behaviour. Likely 3882 better solution should be found for OJPEG support. 3883 38842003-05-11 Andrey Kiselev <[email protected]> 3885 3886 * libtiff/mkversion.c: Fixed problem with wrong string size when 3887 reading RELEASE-DATE file. 3888 38892003-05-07 Andrey Kiselev <[email protected]> 3890 3891 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 3892 index was out of range. 3893 38942003-05-06 Andrey Kiselev <[email protected]> 3895 3896 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 3897 configure, Makefile.in: Improved libtiff compilation with OJPEG 3898 support. Now no need for patching IJG JPEG library, hack requred by 3899 libtiff will be compiled and used in-place. Implemented with 3900 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 3901 3902 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 3903 TIFFVGetFieldDefaulted() function. 3904 39052003-05-05 Andrey Kiselev <[email protected]> 3906 3907 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 3908 comments. 3909 3910 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 3911 was not copied from source image. 3912 3913 * libtiff/getimage.c: Workaround for some images without correct 3914 info about alpha channel as per bug 3915 3916 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 3917 39182003-04-29 Andrey Kiselev <[email protected]> 3919 3920 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 3921 It basically allows one to use the /flateDecode filter for ZIP 3922 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 3923 3924 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 3925 3926 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 3927 as per bug 3928 3929 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 3930 39312003-04-17 Andrey Kiselev <[email protected]> 3932 3933 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 3934 due to problems with multidirectory images. Quality of error messages 3935 improved. 3936 39372003-04-16 Andrey Kiselev <[email protected]> 3938 3939 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 3940 encoded images. See bug entries 3941 3942 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 3943 3944 and 3945 3946 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 3947 3948 * libtiff/tif_dirread.c: Additional check for StripByteCounts 3949 correctness. Fixes 3950 3951 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 3952 39532003-03-12 Andrey Kiselev <[email protected]> 3954 3955 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 3956 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 3957 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 3958 tiffmedian.c}: Added library version reporting facility to all tools. 3959 39602003-03-06 Frank Warmerdam <[email protected]> 3961 3962 * port/install.sh.in: Fixed problems with install producing paths 3963 like ///usr/local/lib on cygwin. 3964 39652003-02-27 Andrey Kiselev <[email protected]> 3966 3967 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 3968 raw input page. Patch supplied by Julien Gaulmin. See 3969 3970 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 3971 3972 for details. 3973 39742003-02-26 Frank Warmerdam <[email protected]> 3975 3976 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 3977 responsible for byte swapping complex image data. 3978 3979 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 3980 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 3981 39822003-02-07 Andrey Kiselev <[email protected]> 3983 3984 * tools/ppm2tiff.c: Fixed problem with too many arguments. 3985 39862003-02-04 Andrey Kiselev <[email protected]> 3987 3988 * tools/raw2tiff.c: Memory leak fixed. 3989 39902003-02-03 Andrey Kiselev <[email protected]> 3991 3992 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 3993 (thanks, Julien!). More switches for fax2tiff tool for better control 3994 of input and output. Details at 3995 3996 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 3997 39982003-02-03 Frank Warmerdam <[email protected]> 3999 4000 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 4001 library so that we can check if there is already any tile/strip data 4002 before deciding between creating a compressor or a decompressor. 4003 40042003-01-31 Frank Warmerdam <[email protected]> 4005 4006 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 4007 a pre-existing compressed image. That is, image writing to 4008 pre-existing compressed images is not allowed. 4009 4010 * libtiff/tif_open.c: Removed error if opening a compressed file 4011 in update mode. 4012 4013 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 4014 40152003-01-31 Andrey Kiselev <[email protected]> 4016 4017 * config.guess, config.sub: Updated to recent upstream versions. 4018 40192003-01-15 Frank Warmerdam <[email protected]> 4020 4021 * cut 3.6.0 Beta release. 4022 40232002-12-20 Andrey Kiselev <[email protected]> 4024 4025 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 4026 in wrong way as per bug 4027 4028 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 4029 40302002-12-17 Frank Warmerdam <[email protected]> 4031 4032 * libtiff/tif_dirread.c: Allow wrong sized arrays in 4033 TIFFFetchStripThing(). 4034 4035 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 4036 40372002-12-02 Frank Warmerdam <[email protected]> 4038 4039 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 4040 Was using realloc even first time. Fix by Igor Venevtsev. 4041 40422002-11-30 Frank Warmerdam <[email protected]> 4043 4044 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 4045 field value. 4046 4047 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 4048 tags in TIFFVGetField() ... added missing break. 4049 40502002-10-14 Frank Warmerdam <[email protected]> 4051 4052 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 4053 the scanline buffer long enough when writing rgb triplets. 4054 The scanline needs to be 3 X the number of dots or else it will 4055 contain an incomplete triplet and programs that try to separate 4056 the eps by redefining the colorimage operator will get messed up. 4057 Patch supplied by William Bader. 4058 4059 * Makefile.in: added tif_extension.c to file list as per 4060 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 4061 40622002-10-11 Andrey Kiselev <[email protected]> 4063 4064 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 4065 large files (>2GiB) supporting. New option in the config.site: 4066 LARGEFILE="yes". Should be enough for I/O of the large files. 4067 40682002-10-10 Frank Warmerdam <[email protected]> 4069 4070 * libtiff/html/v3.6.0.html: new release notes. 4071 4072 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 4073 link for Andrey. Pointer to v3.6.0.html. 4074 4075 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 4076 40772002-10-07 Andrey Kiselev <[email protected]> 4078 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 4079 (thanks, Sebastian!). New switches: 4080 -b # for a bottom margin of # inches 4081 -c center image 4082 -l # for a left margin of # inches 4083 -r rotate the image by 180 degrees 4084 New features merged with code for shrinking/overlapping. 4085 Previously added -c and -n switches (for overriding PS units) renamed 4086 in -x and -y respectively. 4087 4088 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 4089 4090 * html/man/*.html: Updated from actual manual pages. 4091 40922002-10-06 Frank Warmerdam <[email protected]> 4093 4094 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 4095 size on windows. Use #define boolean hack. 4096 4097 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 4098 4099 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 4100 USING_VISUALAGE is defined. 4101 4102 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4103 41042002-10-03 Frank Warmerdam <[email protected]> 4105 4106 * libtiff/tiff.h: added COMPRESSION_JP2000. 4107 41082002-10-02 Andrey Kiselev <[email protected]> 4109 4110 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 4111 by the TIFFFetchByteArray() function. Should finally resolve 4112 4113 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 4114 4115 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 4116 4117 * html/Makefile.in: New targets added: html and groffhtml for 4118 producing HTML representations of the manual pages automatically. 4119 html target uses man2html tool, groffhtml uses groff tool. 4120 41212002-09-29 Frank Warmerdam <[email protected]> 4122 4123 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 4124 from John H. DuBois III. 4125 41262002-09-15 Andrey Kiselev <[email protected]> 4127 4128 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 4129 manual page for raw2tiff(1) tool. 4130 41312002-09-12 Andrey Kiselev <[email protected]> 4132 4133 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 4134 the tiffio.h header file. 4135 4136 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 4137 manual page for TIFFDataWidth() function 4138 41392002-09-08 Frank Warmerdam <[email protected]> 4140 4141 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 4142 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 4143 4144 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 4145 since we are unable to properly include the amount to skip. 4146 4147 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 4148 41492002-09-02 Andrey Kiselev <[email protected]> 4150 4151 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 4152 in TIFFFetchByteArray(). Problem described at 4153 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 4154 41552002-08-22 Andrey Kiselev <[email protected]> 4156 4157 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 4158 in _TIFFSetupFieldInfo() function. 4159 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 4160 4161 * /libtiff/tif_lzw.c: Additional consistency checking added in 4162 LZWDecode() and LZWDecodeCompat(). 4163 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 4164 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4165 4166 * /libtiff/tif_lzw.c: 4167 Added check for valid code lengths in LZWDecode() and 4168 LZWDecodeCompat(). Fixes 4169 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 4170 41712002-08-16 Andrey Kiselev <[email protected]> 4172 4173 * /libtiff/{Makefile.vc, libtiff.def}: 4174 Missed declarations added. 4175 41762002-08-15 Frank Warmerdam <[email protected]> 4177 4178 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 4179 return code from the underlying pick function. 4180 4181 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 4182 4183 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 4184 with FIELD_CUSTOM as mentioned in bug 169. 4185 4186 * tif_close.c: added logic to free dynamically created anonymous 4187 field definitions to correct a small memory leak. 4188 4189 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 4190 41912002-08-10 Andrey Kiselev <[email protected]> 4192 4193 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 4194 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 4195 41962002-07-31 Frank Warmerdam <[email protected]> 4197 4198 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 4199 JPEGDecode() as per bugzilla bug (issue 1): 4200 4201 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 4202 4203 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 4204 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 4205 present in the tiff tags. 4206 4207 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 4208 4209 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 4210 TIFFWriteScanline() now set tif_row explicitly in case the codec has 4211 fooled with the value. 4212 4213 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 4214 42152002-06-22 Andrey Kiselev <[email protected]> 4216 4217 * /tools/tiff2ps.c: Added workaround for some software that may crash 4218 when last strip of image contains fewer number of scanlines than 4219 specified by the `/Height' variable. See 4220 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 4221 for explanation. 4222 42232002-06-21 Andrey Kiselev <[email protected]> 4224 4225 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 4226 splitting long images in several pages. See 4227 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 4228 Patch granted by John Williams <[email protected]>. 4229 42302002-06-11 Frank Warmerdam <[email protected]> 4231 4232 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 4233 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 4234 This one is described in: 4235 4236 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 4237 4238 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 4239 4240 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 4241 42422002-05-10 Andrey Kiselev <[email protected]> 4243 4244 * tools/tiff2ps: New commandline switches to override resolution 4245 units obtained from the input file. Closes 4246 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 4247 42482002-04-26 Andrey Kiselev <[email protected]> 4249 4250 * libtiff/libtiff.def: Added missed declaration. 4251 42522002-04-22 Andrey Kiselev <[email protected]> 4253 4254 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 4255 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 4256 42572002-04-20 Andrey Kiselev <[email protected]> 4258 4259 * libtiff/tif_open.c: Pointers to custom procedures 4260 in TIFFClientOpen() are checked to be not NULL-pointers. 4261 42622002-04-18 Andrey Kiselev <[email protected]> 4263 4264 * libtiff/libtiff.def: Added missed declarations. 4265 4266 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 4267 42682002-04-16 Andrey Kiselev <[email protected]> 4269 4270 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 4271 Should finally close 4272 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4273 42742002-04-10 Andrey Kiselev <[email protected]> 4275 4276 * tools/tiff2ps: Division by zero fixed. 4277 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 4278 42792002-04-09 Andrey Kiselev <[email protected]> 4280 4281 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 4282 TIFFCheckpointDirectory() routine added. 4283 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 4284 4285 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 4286 for the new function. 4287 42882002-04-08 Andrey Kiselev <[email protected]> 4289 4290 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 4291 additional members tif->tif_decodestatus and tif->tif_encodestatus 4292 for correct handling of unconfigured codecs (we should not try to read 4293 data or to define data size without correct codecs). 4294 4295 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 4296 changed. Now it has used tif->tif_decodestatus and 4297 tif->tif_encodestatus. 4298 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 4299 case of __cvs_8.tif test image). 4300 4301 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 4302 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 4303 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 4304 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 4305 43062002-04-04 Andrey Kiselev <[email protected]> 4307 4308 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 4309 replaced by warnings. Now libtiff should read corrupted LZW-compressed 4310 files by skipping bad strips. 4311 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 4312 43132002-04-03 Frank Warmerdam <[email protected]> 4314 4315 * libtiff/tif_dirwrite.c: Removed some dead code. 4316 4317 * libtiff/*: Cleanup some warnings. 4318 4319 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 4320 for variable length FIELD_CUSTOM values. Was int * but should be 4321 u_short *. 4322 43232002-04-01 Andrey Kiselev <[email protected]> 4324 4325 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 4326 utility (at cpStripToTile routine). 4327 43282002-03-27 Frank Warmerdam <[email protected]> 4329 4330 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 4331 4332 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 4333 4334 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 4335 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 4336 4337 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 4338 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 4339 43402002-03-26 Dwight Kelly <[email protected]> 4341 4342 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 4343 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 4344 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 4345 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 4346 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 4347 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 4348 43492002-03-26 Andrey Kiselev <[email protected]> 4350 4351 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 4352 now also uses TIFFRGBAImageOK before reading. This is additional fix 4353 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 4354 43552002-03-25 Andrey Kiselev <[email protected]> 4356 4357 * libtiff/: tif_getimage.c: Additional check for supported 4358 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 4359 TIFFRGBAImageOK before reading. 4360 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 4361 43622002-03-15 Andrey Kiselev <[email protected]> 4363 4364 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 4365 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 4366 TIFFDataType sizes instead of working with tiffDataWidth array 4367 directly. Should prevent out-of-borders bugs in case of unknown or 4368 broken data types. EstimateStripByteCounts routine modified, so it 4369 won't work when tags with uknown sizes founded. 4370 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 4371 43722002-03-13 Andrey Kiselev <[email protected]> 4373 4374 * libtiff/tif_getimage.c: Added support for correct handling 4375 `Orientation' tag in gtTileContig. Should be added in other gt* 4376 functions as well, but I have not images for testing yet. Partially 4377 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 4378 43792002-03-10 Andrey Kiselev <[email protected]> 4380 4381 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 4382 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 4383 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 4384 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 4385 43862002-03-08 Andrey Kiselev <[email protected]> 4387 4388 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 4389 be stripped when installing, utility binaries will do. Closes 4390 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 4391 43922002-02-28 Frank Warmerdam <[email protected]> 4393 4394 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 4395 4396 * man/libtiff.3t: added copyright tag info. 4397 43982002-02-11 Frank Warmerdam <[email protected]> 4399 4400 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 4401 4402 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 4403 4404 * man/Makefile.in: Patch DESTDIR handling 4405 4406 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 4407 4408 * configure: OpenBSD changes for Sparc64 and DSO version. 4409 4410 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 4411 44122002-02-05 Frank Warmerdam <[email protected]> 4413 4414 * config.site/configure: added support for OJPEG=yes option to enable 4415 OJPEG support from config.site. 4416 44172002-01-27 Frank Warmerdam <[email protected]> 4418 4419 * html/document.html: fixed links for TIFf 6 docs. 4420 44212002-01-18 Frank Warmerdam <[email protected]> 4422 4423 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 4424 4425 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 4426 decodestrip function returns anything not greater than zero as per 4427 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 4428 4429 * configure: Modify CheckForBigEndian so it can work in a cross 4430 compiled situation. 4431 44322002-01-16 Frank Warmerdam <[email protected]> 4433 4434 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 4435 4436 * tools/tiffset.c: fix bug in error reporting. 4437 4438 * tools/tiffcp.c: fix several warnings that show up with -Wall. 4439 44402002-01-04 Frank Warmerdam <[email protected]> 4441 4442 * libtiff/tif_jpeg.c: fixed computation of segment_width for 4443 tiles files to avoid error about it not matching the 4444 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 4445 size.") for ITIFF files. Apparently the problem was incorporated since 4446 3.5.5, presumably during the OJPEG/JPEG work recently. 4447 44482001-12-15 Frank Warmerdam <[email protected]> 4449 4450 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 4451 4452 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 4453 4454 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 4455 (defined in tiffconf.h - 1 by default) then the RGBA interface 4456 will assume that a fourth extra sample is ASSOCALPHA if the 4457 EXTRASAMPLE value isn't set for it. This changes the behaviour of 4458 the library, but makes it work better with RGBA files produced by 4459 lots of applications that don't mark the alpha values properly. 4460 4461 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 4462 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 4463 44642001-12-12 Frank Warmerdam <[email protected]> 4465 4466 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 4467 override those from tiff directory. This makes this work with 4468 ImageGear generated files. 4469 44702001-12-07 Frank Warmerdam <[email protected]> 4471 4472 * html/Makefile.in: added missing images per bug 92. 4473 4474 * port/Makefile.in: fixed clean target per bug 92. 4475 44762001-11-28 Frank Warmerdam <[email protected]> 4477 4478 * Reissue 3.5.7 release. 4479 4480 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 4481 YYYYMMDD so that it is increasing over time. 4482 4483 * Makefile.in: Ensure that tiffvers.h is regenerated in the 4484 make release target. 4485 4486 * Makefile.in: added libtiff/tiffvers.h to the release file list. 4487 44882001-11-23 Frank Warmerdam <[email protected]> 4489 4490 * added html/v3.5.7.html, updated html/index.html. 4491 4492 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 4493 44942001-11-15 Frank Warmerdam <[email protected]> 4495 4496 * configure: fixed test for -lm. 4497 44982001-11-02 Frank Warmerdam <[email protected]> 4499 4500 * Added PHOTOMETRIC_ITULAB as per bug 90. 4501 4502 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 4503 45042001-10-10 Frank Warmerdam <[email protected]> 4505 4506 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 4507 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 4508 in keeping with TIFF 6.0 standard in tiff.h 4509 4510 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 4511 45122001-09-26 Frank Warmerdam <[email protected]> 4513 4514 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 4515 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 4516 45172001-09-24 Frank Warmerdam <[email protected]> 4518 4519 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 4520 4521 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 4522 4523 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 4524 error about LZW not being available. 4525 4526 * libtiff/tif_dir.c: propagate failure to initialize compression 4527 back from TIFFSetField() as an error status, so applications can 4528 detect failure. 4529 4530 * libtiff/tif_dir.c: removed the auto replacement of 4531 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 4532 4533 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 4534 from CVS as they are all supposed to be auto-generated by configure. 4535 45362001-09-22 Frank Warmerdam <[email protected]> 4537 4538 * libtiff/tif_ojpeg.c: new update from Scott. 4539 45402001-09-09 Frank Warmerdam <[email protected]> 4541 4542 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 4543 always use the "safe" version, even if there is a very slight 4544 cost in performance. 4545 4546 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 4547 4548 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 4549 in two places. 4550 4551 * libtiff/tif_getimage.c: Fixed problem with reading strips or 4552 tiles that don't start on a tile boundary. Fix contributed by 4553 Josep Vallverdu (from HP), and further described in bug 47. 4554 4555 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 4556 4557 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 4558 4559 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 4560 45612001-09-06 Frank Warmerdam <[email protected]> 4562 4563 * libtiff/tif_packbits.c: fixed memory overrun error. 4564 4565 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 4566 45672001-08-31 Frank Warmerdam <[email protected]> 4568 4569 * libtiff/tif_getimage.c: relax handling of contig case where 4570 there are extra samples that are supposed to be ignored. This 4571 should now work for 8bit greyscale or palletted images. 4572 4573 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 4574 45752001-08-28 Frank Warmerdam <[email protected]> 4576 4577 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 4578 images with more than four samples per pixel. See: 4579 4580 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 4581 45822001-08-10 Frank Warmerdam <[email protected]> 4583 4584 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 4585 in TIFFReadRGBATile() to avoid issues in cases of overlapping 4586 buffers. See Bug 69 in Bugzilla. 4587 4588 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 4589 4590 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 4591 45922001-08-09 Frank Warmerdam <[email protected]> 4593 4594 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 4595 when checking for 64 bit architectures as per bugzilla bug 67. 4596 45972001-07-27 Frank Warmerdam <[email protected]> 4598 4599 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 4600 bug 66. 4601 46022001-07-20 Frank Warmerdam <[email protected]> 4603 4604 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 4605 has been included. 4606 46072001-07-19 Frank Warmerdam <[email protected]> 4608 4609 * libtiff/tif_open.c: Seek back to zero after failed read, 4610 before writing header. 4611 46122001-07-18 Frank Warmerdam <[email protected]> 4613 4614 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 4615 much better. Now depends on having patched libjpeg as per 4616 patch in contrib/ojpeg/*. 4617 46182001-07-17 Frank Warmerdam <[email protected]> 4619 4620 * */Makefile.in: added DESTDIR support. 4621 4622 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 4623 46242001-07-16 Frank Warmerdam <[email protected]> 4625 4626 * configure, libtiff/Makefile.in: applied OpenBSD patches 4627 as per: 4628 4629 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 4630 46312001-06-28 Frank Warmerdam <[email protected]> 4632 4633 * libtiff/tif_getimage.c: Fixed so that failure is properly 4634 reported by gtTileContig, gtStripContig, gtTileSeparate and 4635 gtStripSeparate. 4636 4637 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 4638 4639 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 4640 Updated bug section of tiffcmp.1 to note tiled file issues. 4641 4642 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 4643 46442001-06-22 Frank Warmerdam <[email protected]> 4645 4646 * configure: Changes for DSO generation on AIX provided by 4647 John Marquart <[email protected]>. 4648 4649 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 4650 on Darwin thanks to Robert Krajewski ([email protected]) and 4651 Keisuke Fujii ([email protected]). 4652 46532001-06-13 Frank Warmerdam <[email protected]> 4654 4655 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 4656 4657 * man/tiff2rgba.1: new 4658 46592001-05-22 Frank Warmerdam <[email protected]> 4660 4661 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 4662 46632001-05-13 Frank Warmerdam <[email protected]> 4664 4665 * libtiff/tools/thumbnail.c: changed default output compression 4666 to packbits from LZW since LZW isn't generally available. 4667 46682001-05-12 Frank Warmerdam <[email protected]> 4669 4670 * libtiff/tif_ojpeg.c: New. 4671 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 4672 to OJPEG support. 4673 4674 Scott Marovich <[email protected]> supplied OJPEG support. 4675 46762001-05-11 Frank Warmerdam <[email protected]> 4677 4678 * tiff.h: removed, it duplicates libtiff/tiff.h. 4679 46802001-05-08 Frank Warmerdam <[email protected]> 4681 4682 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 4683 ensure everything is in order. 4684 4685 * libtiff/libtiff.def: added TIFFCreateDirectory and 4686 TIFFDefaultStripSize as per: 4687 4688 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 4689 46902001-05-02 Frank Warmerdam <[email protected]> 4691 4692 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 4693 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 4694 force use of uint32 counts instead of short counts. 4695 4696 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 4697 case of writing TIFF_BYTE/TIFF_SBYTE fields. 4698 4699 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 4700 47012001-05-01 Frank Warmerdam <[email protected]> 4702 4703 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 4704 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 4705 47062001-04-05 Frank Warmerdam <[email protected]> 4707 4708 * tiffio.h: removed C++ style comment. 4709 4710 * configure: fixed up SCRIPT_SH/SHELL handling. 4711 4712 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 4713 4714 * config.guess: documented more variables as per bug 40. 4715 47162001-04-03 Frank Warmerdam <[email protected]> 4717 4718 * configure, *Makefile.in: Various changes to improve configuration 4719 for HP/UX specifically, and also in general. They include: 4720 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 4721 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 4722 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 4723 - Use -${MAKEFLAGS} in sub makes from makefiles. 4724 4725 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 4726 47272001-04-02 Frank Warmerdam <[email protected]> 4728 4729 * libtiff/tiff.h: Applied hac to try and resolve the problem 4730 with the inttypes.h include file on AIX. 4731 4732 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4733 4734 * VERSION: update to 3.5.7 beta in preparation for release. 4735 4736 * configure/config.site: modified to check if -lm is needed for 4737 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 4738 4739 * config.guess: updated wholesale to an FSF version apparently 4740 from 1998 (as opposed to 1994). This is mainly inspired by 4741 providing for MacOS X support. 4742 47432001-03-29 Frank Warmerdam <[email protected]> 4744 4745 * configure, Makefile.in, etc: added support for OPTIMIZER being 4746 set from config.site. 4747 47482001-03-28 Frank Warmerdam <[email protected]> 4749 4750 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 4751 4752 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 4753 sizes. It fixes two problems: 4754 4755 Without scaling (-S) the fax is now centered on the page size specified 4756 with -H and/or -W. Before, fax2ps was using an obscure and practially 4757 useless algorithm to allocate the image relative to Letter sized paper 4758 which sometime sled to useless whitespace on the paper, while at the 4759 same time cutting of the faxes printable area at the opposite border. 4760 4761 Second, scaling now preserves aspect ratio, which makes unusual faxes 4762 (in particular short ones) print properly. 4763 4764 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 4765 4766 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 4767 Bruce A. Mallett. See check message for detailed information 4768 on all the changes, including a faster encoder, fixes for level 4769 2 PostScript, and support for the imagemask operator. 4770 47712001-03-27 Frank Warmerdam <[email protected]> 4772 4773 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 4774 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 4775 4776 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4777 47782001-03-16 Frank Warmerdam <[email protected]> 4779 4780 * tif_dirinfo.c: moved definition of copyright tag in field list. 4781 Apparently they have to be in sorted order by tag id. 4782 47832001-03-13 Frank Warmerdam <[email protected]> 4784 4785 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 4786 images in RGBA interface. 4787 47882001-03-02 Frank Warmerdam <[email protected]> 4789 4790 * Added TIFFTAG_COPYRIGHT support. 4791 47922001-02-19 Frank Warmerdam <[email protected]> 4793 4794 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 4795 with support for extracting subimages with the ,n syntax, and also 4796 adding the -b bias removal flag. 4797 47982001-02-16 Frank Warmerdam <[email protected]> 4799 4800 * libtiff/libtiff.def: Brent Roman submitted new version adding 4801 serveral missing entry points. 4802 4803 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 4804 Some sort of weird VMS thing. 4805 4806 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 4807 4808 * tif_luv.c/tiff.h/tiffio.h: 4809 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 4810 ([email protected]). He writes: 4811 4812 1) I improved the gamut-mapping function in tif_luv.c for imaginary 4813 colors, because some images were being super-saturated on the input 4814 side and this resulted in some strange color shifts in the output. 4815 4816 2) I added a psuedotag in tiff.h to control random dithering during 4817 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 4818 on for 24-bit LogLuv output. Dithering improves the average color 4819 accuracy over the image. 4820 4821 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 4822 tiffio.h, to expose internal routines for converting between LogLuv and 4823 XYZ coordinates. This is helpful for writing more efficient, 4824 specialized conversion routines, especially for reading LogLuv files. 4825 4826 Changes applied with minor edits. 4827 48282001-01-23 Frank Warmerdam <[email protected]> 4829 4830 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 4831 whether we are encoding or decoding. This is to ensure graceful 4832 recovery if TIFFClientOpen() discovers an attempt to open a compressed 4833 file for "r+" access, and subsequently close it, as it resets the 4834 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 4835 compressor's concept of whether it is in encode or decode mode. 4836 48372001-01-08 Mike Welles <[email protected]> 4838 4839 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 4840 48412001-01-07 Frank Warmerdam <[email protected]> 4842 4843 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 4844 as per bug report by Patrick Connor. 4845 48462000-12-28 Frank Warmerdam <[email protected]> 4847 4848 * Added RELEASE-DATE file to release file list. 4849 4850 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 4851 48522000-12-22 Mike Welles <[email protected]> 4853 * added link to CVS mirror from index.html 4854 4855 * updated html/internals.html to note that LZW compression is 4856 not supported by default. 4857 48582000-12-22 Frank Warmerdam <[email protected]> 4859 4860 * updated html/libtiff.html to not point at Niles' old JPL web site 4861 for the man pages, point at www.libtiff.org. 4862 48632000-12-21 Frank Warmerdam <[email protected]> 4864 4865 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 4866 Leonard Rosenthol <[email protected]>. May interfere 4867 with correct building on older systems. If so, please let me know. 4868 48692000-12-19 Mike Welles <[email protected]> 4870 4871 * Took out LZW Encoding from tif_lzw.c 4872 4873 * Created HOWTO-RELEASE 4874 4875 * Created html/v3.5.6.html 4876 4877 * updated index.html 4878 48792000-12-01 Frank Warmerdam <[email protected]> 4880 4881 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 4882 Patches supplied by Frank Cringle <[email protected]> 4883 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 4884 48852000-11-24 Frank Warmerdam <[email protected]> 4886 4887 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 4888 target so that the private headers required by libgeotiff can be 4889 installed with the others. They are not installed by default. 4890 4891 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 4892 targets so libtiff.so will be built with an explicit dependency 4893 on libm.so. 4894 4895 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 4896 libtiff.so.3.5.5. 4897 4898 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 4899 file, or ALPHA version logic. Added stuff about DIST_POINT in 4900 place of DIST_TYPE and the alpha release number stuff. 4901 49022000-11-22 Frank Warmerdam <[email protected]> 4903 4904 * I have applied a patch from Steffen Moeller <[email protected]> to 4905 the configure script so that it now accepts the --prefix, and 4906 --exec-prefix directives. 4907 49082000-11-13 Frank Warmerdam <warmerda@cs46980-c> 4909 4910 * I have made a variety of modifications in an effort to ensure the 4911 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 4912 file which seems to be updated regularly. 4913 4914 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 4915 version include file. 4916 o renamed version.h to tiffvers.h because we now have to install it 4917 with the public libtiff include files. 4918 o include tiffvers.h in tiffio.h. 4919 o updated tif_version.c to use tiffvers.h. 4920 o Updated Makefile.in accordingly. 4921 4922 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 4923 I have updated the win32 detection rules in tiffcomp.h. 4924 49252000-10-20 Frank Warmerdam <warmerda@cs46980-c> 4926 4927 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 4928 the strip/tile width and height aren't multiples of the sampling size. 4929 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 4930 Some patches from Rick LaMont of Dot C Software. 4931 4932 * Modified tif_packbits.c encoder to avoid compressing more 4933 data than provided if rowsize doesn't factor into provided data 4934 (such as occurs for YCbCr). 4935 49362000-10-19 Frank Warmerdam <warmerda@cs46980-c> 4937 4938 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 4939 roundup if rows_per_strip not a multiple of vertical sample size. 4940 49412000-10-16 Frank Warmerdam <warmerda@cs46980-c> 4942 4943 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 4944 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 4945 from [email protected]. 4946 4947 * Modified tif_packbits.c decoding to avoid overrunning the 4948 output buffer, and to issue a warning if data needs to be 4949 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 4950 49512000-10-12 Frank Warmerdam <warmerda@cs46980-c> 4952 4953 * Modified tiff2bw to ensure portions add to 100%, and that 4954 white is properly recovered. 4955 4956 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 4957 Patch c/o Stanislav Brabec <[email protected]> 4958 49592000-09-30 Frank Warmerdam <warmerda@cs46980-c> 4960 4961 * Modified TIFFClientOpen() to emit an error on an attempt to 4962 open a comperessed file for update (O_RDWR/r+) access. This is 4963 because the compressor/decompressor code gets very confused when 4964 the mode is O_RDWR, assuming this means writing only. See 4965 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 4966 49672000-09-27 Frank Warmerdam <warmerda@cs46980-c> 4968 4969 * Added GNULDdso target an`d switched linux and freebsd to use it. 4970 49712000-09-26 Frank Warmerdam <warmerda@cs46980-c> 4972 4973 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 4974 of EXPAND1D() as per bug 11 (from Roman). 4975 49762000-09-25 Frank Warmerdam <warmerda@cs46980-c> 4977 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 4978 cygwin compatibility. 4979 4980 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 4981 be a proper fix to the buffer sizing problem. See 4982 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 4983 4984 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 4985 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 4986 Thanks to Nick Lamb <[email protected]> for reporting the 4987 bug and proving the patch. 4988 49892000-09-18 Frank Warmerdam <warmerda@cs46980-c> 4990 4991 * Fixed tif_jpeg.c so avoid destroying the decompressor before 4992 we are done access data thanks to bug report from: 4993 Michael Eckstein <[email protected]>. 4994 4995 * Reverted tif_flush change. 4996 49972000-09-14 Frank Warmerdam <warmerda@cs46980-c> 4998 4999 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 5000 error when TIFF_BEENWRITING is not set. This ensures that the 5001 directory contents can still be flushed by TIFFFlush(). 5002 50032000-08-14 Frank Warmerdam <[email protected]> 5004 5005 * tif_open.c: Don't set MMAP for O_RDWR files. 5006 5007 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 5008 so that files opened for update can be strip chopped too. 5009 5010 * tif_read.c: fixed up bug with files missing rowsperstrip and 5011 the strips per separation fix done a few weeks ago. 5012 50132000-07-17 Frank Warmerdam <warmerda@cs46980-c> 5014 5015 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 5016 SAMPLEFORMAT_COMPLEXINT. 5017 50182000-07-13 Mike Welles <[email protected]> 5019 5020 * index.html, bugs.html: added bugzilla info. 5021 50222000-07-12 Frank Warmerdam <[email protected]> 5023 5024 * tif_read.c: fix subtle bug with determining the number of 5025 rows for strips that are the last strip in a separation but 5026 not the last strip of all in TIFFReadEncodedStrip(). 5027 5028 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 5029 Peter Skarpetis <[email protected]> 5030 50312000-06-15 Frank Warmerdam <[email protected]> 5032 5033 * Modified tiffio.h logic with regard to including windows.h. It 5034 won't include it when building with __CYGWIN__. 5035 50362000-05-11 Frank Warmerdam <warmerda@cs46980-c> 5037 5038 * README: update to mention www.libtiff.org, don't list Sam's old 5039 email address. 5040 5041 * configure: Fixed DSO test for Linux as per patch from 5042 Jan Van Buggenhout <[email protected]>. 5043 50442000-04-21 Frank Warmerdam <[email protected]> 5045 5046 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 5047 one tile/strip images with an offset, and byte count of zero. These 5048 could be "unpopulated" images. 5049 50502000-04-18 Frank Warmerdam <[email protected]> 5051 5052 * contrib/addtiffo: Added "averaging" resampling option. 5053 5054 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 5055 5056Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 5057 5058 * tools/Makefile.in: Modified to install properly on SGI. 5059 50602000-04-12 Mike Welles <[email protected]> 5061 * configure: Fixed stupid mistake in libc6 test on Linux 5062 50632000-04-04 Mike Welles <[email protected]> 5064 * tif_win32.c: Applied patch to fix overreads and ovverwrites 5065 caught by BoundsChecker. From Arvan Pritchard 5066 <[email protected]> (untested). 5067 5068 * tif_getimage.c: Applied patch to silence VC6 warnings. From 5069 Arvan Pritchard <[email protected]> 5070 5071 * tif_lzw.c: Applied patch to silence VC6 warnings. From 5072 Arvan Pritchard <[email protected]> 5073 50742000-03-28 Frank Warmerdam <warmerda@cs46980-c> 5075 5076 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 5077 50782000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 5079 5080 * fax2ps: Fixed mixup of width and height in bounding box statement 5081 as per submission by Nalin Dahyabhai <[email protected]>. 5082 50832000-03-27 Mike Welles <[email protected]> 5084 5085 * fax2ps: Modified printruns to take uint32 instead of uint16. 5086 Patch courtesy of Bernt Herd <[email protected]> 5087 50882000-03-20 Mike Welles <[email protected]> 5089 5090 * configure: added test for libc6 for linux targets. Bug reported by 5091 Stanislav Brabec <[email protected]> 5092 5093 * Added 3.5 docs to html/Makefile.in. 5094 Thanks to Stanislav Brabec <[email protected]> 5095 5096 * configure: fixed bugs in sed scripts 5097 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 5098 fix submitted to Stanislav Brabec <[email protected]> 5099 5100 * tools/iptcutil was not in files list, and wasn't being 5101 added to tar archive. Updated Makefile.in. 5102 51032000-03-17 Frank Warmerdam <warmerda@cs46980-c> 5104 5105 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 5106 conversion for the run arrays. 5107 51082000-03-03 Frank Warmerdam <[email protected]> 5109 5110 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 5111 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 5112 51132000-03-02 Frank Warmerdam <[email protected]> 5114 5115 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 5116 5117 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 5118 to avoid overruns encountered with frle_bug.tif. 5119 5120Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 5121 5122 * Fixed tools/tiffcmp so that stopondiff testing works. 5123 Patch care of Joseph Orost <[email protected]>. 5124 51252000-01-28 <warmerda@CS46980-B> 5126 5127 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 5128 set to 1, and added default (off) setting in tiffconf.h. This 5129 should eventually be set by the configure script somehow. 5130 5131 The original work on all these 2-4GB changes was done by 5132 Peter Smith ([email protected]). 5133 5134 * Modified tif_win32.c to support 2-4GB seeks. 5135 5136 * tentatively changed toff_t to be unsigned instead of signed to 5137 facilitate support for 2-4GB files. 5138 5139 * Updated a variety of files to use toff_t. Fixed some mixups 5140 between toff_t and tsize_t. 5141 5142Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 5143 5144 * Largely reimplemented contrib/addtiffo to avoid temp files, 5145 updating the TIFF file in place. Fixed a few other bugs to. 5146 5147 * Set tif_rawdatasize to zero when freeing raw data buffer in 5148 TIFFWriteDirectory(). 5149 5150 * Enabled "REWRITE_HACK" in tif_write.c by default. 5151 5152 * Fix bug in tif_write.c when switching between reading one directory 5153 and writing to another. 5154 5155 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 5156 5157Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 5158 5159 * Added TIFFmemory(3t) functions to libtiff.def. 5160 5161Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 5162 5163 * Added libtiff/libtiff.def to TIFFILES distribution list. 5164 5165Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 5166 5167 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 5168 5169 * Altered descriptions in tools to reflect "by default" lzw not supported 5170 5171 * Updated index.html to note lzw compression kit. 5172 5173Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 5174 5175 * Added fax3sm_winnt.c to distribution list in Makefile.in. 5176 5177Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 5178 5179 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 5180 5181 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 5182 when LZW compression invoked. 5183 5184 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 5185 in tools to reflect removal of LZW compression 5186 5187Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 5188 5189 * Fixed bug that caused LZW (non) compression to segfault. Added 5190 warning about LZW compression removed being removed, and why. 5191 5192 * Added nostrip to install in tools/Makefile.in so that debugging 5193 symbols are kept. 5194 5195Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 5196 5197 * Added patch from Ivo Penzar <[email protected]>, 5198 supporting Adobe ZIP deflate. Untested. 5199 5200Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 5201 5202 * Made Packbits the default compression in tools/tiff2rgba.c instead 5203 of LZW. 5204 5205Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 5206 5207 * Added tif_luv to contrib/djgpp/Makefile.lib. 5208 5209Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 5210 5211 * Added zip creation to relase makefile target 5212 5213 * Added html for TIFFWriteTile.3t man page. 5214 5215Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 5216 5217 * Added some changes to tif_write.c to support rewriting existing 5218 fixed sized tiles and strips. Code mods disabled by default, only 5219 enabled if REWRITE_HACK is defined for now. 5220 5221Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 5222 5223 * Added TIFFWriteTile.3t man page. 5224 5225Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 5226 5227 * Added notes on use of makefile.vc in build.html, and fixed 5228 email subscription address. 5229 5230199-11-28 Mike Welles <[email protected]> 5231 5232 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 5233 5234 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 5235 from Bruce Carmeron <[email protected]> -- modifications of 5236 changes made by Frank (sun cc still complained on cast). 5237 5238 * Added tiffconf.h to install target per request from Bill 5239 Radcliffe <[email protected]>: "We need a way for ImageMagick to 5240 know features have been compiled into the TIFF library in order to 5241 handle things properly". 5242 5243Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 5244 5245 * fixed various VC++ warnings as suggested by Gilles Vollant 5246 <[email protected]>. 5247 5248Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 5249 5250 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 5251 not imply applications are responsible for image data swapping. 5252 52531999-11-22 Mike Welles <[email protected]> 5254 * HTML-ized the man pages, added to html/man 5255 5256 * Removed LZW Compression to comply with Unisys patent extortion. 5257 52581999-09-29 Mike Welles <[email protected]> 5259 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 5260 From Ivo Penzar <[email protected]. 5261 5262 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 5263 memory mapped files. <[email protected]> 5264 52651999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 5266 * Corrected alpha versioning. 5267 5268 * Removed distinction between alpha and release targets in Makefile.in. 5269 5270 * added release.stamp target, which tags cvs tree, and updates 5271 "RELEASE-DATE" 5272 5273 * added releasediff target, which diffs tree with source as of 5274 date in "RELEASE-DATE" 5275 5276 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 5277 away from alpha/non-alpha distinctions). 5278 5279 * updated html to reflect release 5280 52811999-09-23 <warmerda@CS46980-B> 5282 5283 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 5284 5285 * Added CYGWIN case in configure. 5286 5287Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 5288 5289 * Applied Francois Dagand's patch to handle fax decompression bug. 5290 (sizes >= 65536 were failing) 5291 5292Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 5293 5294 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 5295 by Christopher Lawton <[email protected]> 5296 5297Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 5298 5299 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 5300 Albert Chin-A-Young <[email protected]> 5301 5302 * Added TIFFReassignTagToIgnore() API on behalf of 5303 Bruce Cameron <[email protected]>. Man page still pending. 5304 5305Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 5306 5307 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 5308 files to provide for a rudimentary testsuite. 5309 5310 * Added contrib/tags back from old distribution ... fixed up a bit. 5311 53121999-08-16 <warmerda@CS46980-B> 5313 5314 * Added simple makefile.vc makefiles for building with MS VC++ 5315 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 5316 better solutions for some users. 5317 5318Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 5319 5320 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 5321 put it in tools since part of it is in C++. 5322 53231999-08-16 Michael L. Welles <[email protected]> 5324 5325 * Updated html/index.html with anon CVS instructions. 5326 5327Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 5328 5329 * pre-remove so link before softlink in LINUXdso action in 5330 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 5331 the first. 5332 5333 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 5334 colormaps owned by the TIFF handle itself when trying to fixup wrong 5335 (eight bit) colormaps. Corrected by maintaining a private copy of 5336 the colormap. 5337 5338 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 5339 tif_getimage.c. 5340 5341 * CVS Repository placed at remotesensing.org. ChangeLog added. 5342