12009-08-20 Bob Friesenhahn <[email protected]> 2 3 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 4 libtool 2.2.6. Enabled support for silent build rules 5 (--enable-silent-rules or 'make V=0') and colorized tests. 6 7 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 8 92009-06-30 Frank Warmerdam <[email protected]> 10 11 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 12 13 * tools/tiffcp.c: add -c sgilog support. 14 15 * libtiff/tif_luv.c: correct return codes from encoderow to be 16 1 on success instead of zero. 17 http://bugzilla.maptools.org/show_bug.cgi?id=2069 18 19 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 20 #1085 for a better underflow fix that errors properly. 21 http://bugzilla.maptools.org/show_bug.cgi?id=2065 22 http://bugzilla.maptools.org/show_bug.cgi?id=1985 23 242009-06-26 Frank Warmerdam <[email protected]> 25 26 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 27 fails on oddly sized 12bit jpeg compressed ycbcr images. 28 292009-06-22 Frank Warmerdam <[email protected]> 30 31 * libtiff/tif_lzw.c: Fix buffer underflow bug. 32 http://bugzilla.maptools.org/show_bug.cgi?id=2065 33 342009-06-21 Frank Warmerdam <[email protected]> 35 36 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 37 for dual mode 8/12 bit jpeg support. 38 392009-06-03 Frank Warmerdam <[email protected]> 40 41 * libtiff/tif_write.c: do not override the planar configuration to be 42 contig for one sample files if planar configuration is already set. 43 http://bugzilla.maptools.org/show_bug.cgi?id=2057 44 452009-06-02 Frank Warmerdam <[email protected]> 46 47 * libtiff/libtiff.def: Add TIFFUnsetField. 48 492009-05-03 Frank Warmerdam <[email protected]> 50 51 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 52 error reports to use "%s" as format string. 53 http://trac.osgeo.org/gdal/ticket/2976 54 552009-03-12 Frank Warmerdam <[email protected]> 56 57 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 58 for some codecs (#2020). 59 602009-02-12 Frank Warmerdam <[email protected]> 61 62 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 63 http://bugzilla.maptools.org/show_bug.cgi?id=2005 64 652009-02-09 Frank Warmerdam <[email protected]> 66 67 * libtiff/tif_dirread.c: Improve allocation safety when allocated 68 buffer for large tags. (#1998) Related to (#1993) 69 702009-02-06 Frank Warmerdam <[email protected]> 71 72 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 73 test suite should pass. 74 752009-02-05 Frank Warmerdam <[email protected]> 76 77 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 78 but at the 2GB boundary to avoid overflow on 32bit systems. 79 http://bugzilla.maptools.org/show_bug.cgi?id=1993 80 81 * libtiff/tif_dirread.c: Remove some assertions that blow due to 82 corrupt files rather than in response to library internal 83 inconsistencies. 84 http://bugzilla.maptools.org/show_bug.cgi?id=1995 85 http://bugzilla.maptools.org/show_bug.cgi?id=1991 86 87 * libtiff/tif_dirread.c: Fixed testing for failed result from 88 TIFFReadDirectoryFindFieldInfo(). 89 http://bugzilla.maptools.org/show_bug.cgi?id=1992 90 912009-01-23 Frank Warmerdam <[email protected]> 92 93 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 94 http://bugzilla.maptools.org/show_bug.cgi?id=1911 95 96 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 97 98 http://bugzilla.maptools.org/show_bug.cgi?id=1924 99 100 * tools/tiffcrop.c: initialize xres/yres values. 101 102 * test/*.sh - default ${srcdir} to local directory. 103 104 * test/common.sh - start verbose mode after common settings. 105 106 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 107 avoid type mismatches on different platforms. 108 http://bugzilla.maptools.org/show_bug.cgi?id=1889 109 1102009-01-22 Frank Warmerdam <[email protected]> 111 112 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 113 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 114 115 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 116 defined, primarily to reduce prototype warnings on windows. 117 118 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 119 about unused parameters, and uninitialized variables. 120 1212009-01-21 Bob Friesenhahn <[email protected]> 122 123 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 124 order to trace full execution detail while executing the test suite. 125 1262009-01-20 Frank Warmerdam <[email protected]> 127 128 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 129 1302009-01-20 Bob Friesenhahn <[email protected]> 131 132 * test/Makefile.am (CLEANFILES): Make sure that test output files 133 are removed by 'make clean' 134 135 * Update autotools for 4.0.0 beta3 136 137 * 4.0.0 beta3 produced. 138 1392009-01-12 Bob Friesenhahn <[email protected]> 140 141 * test/tiffcrop.sh: New test script for tiffcrop from Richard 142 Nolde. 143 144 * tools/tiff2ps.c: Remove spurious message to stderr. 145 1462009-01-11 Bob Friesenhahn <[email protected]> 147 148 * tools/tiff2ps.c: Incorporated significant functionality update 149 from Richard Nolde. In particular, support for rotating the image 150 by 90, 180, 270, and 'auto' has been added. 151 152 * man/tiffcrop.1: Incorporated documentation updates from Richard 153 Nolde. 154 155 * tools/tiffcrop.c: Incorporated significant functionality update 156 from Richard Nolde. 157 1582008-12-31 Bob Friesenhahn <[email protected]> 159 160 * libtiff/tiffio.h: GCC will now validate format specifications 161 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 162 TIFFWarningExt() in order to reveal bugs. 163 164 * Many fixes throughout to work better as a 64-bit build. 165 1662008-12-30 Bob Friesenhahn <[email protected]> 167 168 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 169 tags now require 64-bit parameter rather than 32-bit. 170 171 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 172 64-bit values. 173 174 * tools/thumbnail.c: Eliminate crash noticed while running test 175 suite. 176 1772008-12-29 Bob Friesenhahn <[email protected]> 178 179 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 180 Initialize stack variables to avoid compiler warning. 181 182 * tools/tiffinfoce.c (main): Use toff_t for offset type when 183 retrieving offset of EXIF IFD. 184 185 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 186 TIFFClientOpen() callback and other external function definitions. 187 188 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 189 type now. Fixes crash when dumping files containing an EXIF IFD. 190 191 * m4/libtool.m4: Update to libtool 2.2.6. 192 1932008-12-21 Frank Warmerdam <[email protected]> 194 195 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 196 197 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 198 strip for the last partial strip in a jpeg compressed file. 199 http://bugzilla.maptools.org/show_bug.cgi?id=1981 200 2012008-10-29 Frank Warmerdam <[email protected]> 202 203 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 204 we take the shortcut to only update the strip/tile offsets in place. 205 http://trac.osgeo.org/gdal/ticket/2621 206 2072008-10-21 Andrey Kiselev <[email protected]> 208 209 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 210 the older versions retained). 211 2122008-10-09 Frank Warmerdam <[email protected]> 213 214 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 215 IPP enabled version of libjpeg from Intel. 216 http://bugzilla.maptools.org/show_bug.cgi?id=1951 217 2182008-09-05 Andrey Kiselev <[email protected]> 219 220 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 221 Required for libtiff 4.0. 222 223 * tools/tiffsplit.c: Use dynamically allocated array instead of static 224 when constructing output file names. 225 2262008-09-03 Andrey Kiselev <[email protected]> 227 228 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 229 doing the filename/path construction. 230 231 * tools/tiff2pdf.c: More appropriate format string in 232 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 233 234 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 235 236 http://bugzilla.maptools.org/show_bug.cgi?id=1929 237 238 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 239 CVE-2008-2327 security issue. 240 2412008-09-01 Frank Warmerdam <[email protected]> 242 243 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 244 245 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 246 depending on whether the file is bigtiff or classic tiff. 247 http://bugzilla.maptools.org/show_bug.cgi?id=1917 248 2492008-08-12 Edward Lam <[email protected]> 250 251 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 252 consistent (__int64) casting when testing if _lseeki64 has 253 successfully seeked as requested. This is necessary for large 254 file support to work since off_t is only 32-bit. 255 2562008-07-29 Frank Warmerdam <[email protected]> 257 258 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 259 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 260 with control logic to return runtime errors (c/o Even Rouault) (#1927). 261 2622008-06-17 Frank Warmerdam <[email protected]> 263 264 * tools/tiffcrop.c: Fix some portability problems. 265 266 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 267 used in tif_jpeg.c. 268 269 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 270 as TIFFOpen(). 271 2722008-06-01 Frank Warmerdam <[email protected]> 273 274 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 275 like Sparc/Solaris. 276 http://bugzilla.maptools.org/show_bug.cgi?id=1892 277 2782008-05-27 Frank Warmerdam <[email protected]> 279 280 * libtiff.def: Add TIFFFindField 281 http://bugzilla.maptools.org/show_bug.cgi?id=1891 282 2832008-05-26 Frank Warmerdam <[email protected]> 284 285 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 286 287 * li2008-04-15 Andrey Kiselev <[email protected]> 288 289btiff/tif_win32.c: Replace custom Win32 memory api with generic 290 POSIX one. No apparent value to use of GlobalAlloc() in the modern 291 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 292 293 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 294 in windows version (care of Edward Lam). 295 2962008-05-24 Frank Warmerdam <[email protected]> 297 298 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 299 compression codec codes. 300 301 * tif_dirwrite.c: fix potential memory leak. 302 303 * tif_dirread.c: Fix unchecked malloc result. 304 3052008-05-24 Bob Friesenhahn <[email protected]> 306 307 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 308 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 309 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 310 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 311 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 312 suggestions from Lee Howard posted to the tiff list on 13 Sep 313 2007. 314 3152008-05-23 Frank Warmerdam <[email protected]> 316 317 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 318 possible runtime problem reported by coverity. 319 320 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 321 322 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 323 http://bugzilla.maptools.org/show_bug.cgi?id=1888 324 325 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 326 327 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 328 329 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 330 Cleanup scanline allocation to avoid coverity warning. 331 332 * tools/thumbnail.c: Check for TIFFOpen() failure. 333 3342008-05-18 Frank Warmerdam <[email protected]> 335 336 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 337 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 338 why this is needed. 339 3402008-05-09 Bob Friesenhahn <[email protected]> 341 342 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 343 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 344 3452008-04-15 Andrey Kiselev <[email protected]> 346 347 * test/: Test suite updated. Everything is passed now. 348 349 * libtiff/tif_dirinfo.c: Fixed description of the 350 TIFFTAG_NUMBEROFINKS tag. 351 3522008-04-14 Andrey Kiselev <[email protected]> 353 354 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 355 Get rid of some of "dereferencing type-punned" warnings by converting 356 tdir_offset field of TIFFDirEntry structure into union. 357 3582008-04-10 Andrey Kiselev <[email protected]> 359 360 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 361 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 362 from the public interface. Type of its 'count' parameter changed 363 from uint32 to tmsize_t. 364 365 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 366 of the tiff structure have the size_t type instead of uint32. 367 3682008-04-09 Andrey Kiselev <[email protected]> 369 370 * tools/tiffdump.c: Added support for MSVS 6.0. 371 372 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 373 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 374 point values on MSVS 6.0 platform. 375 3762008-03-14 Frank Warmerdam <[email protected]> 377 378 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 379 TIFFReadDirEntryArray() since they are interfering with seemingly 380 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 381 3822008-02-09 Joris Van Damme <[email protected]> 383 384 * tif_dirread.c: Added handling for the case of number of values for 385 PageNumber tag different from 2 (previously resulted in an assert 386 indicating lack of handling and was forgotten about) 387 3882008-02-01 Frank Warmerdam <[email protected]> 389 390 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 391 the actual jpeg data stream if the first strip/tile has zero size. 392 This is the case when GDAL creates a new file with zero sizes, closes 393 and reopens it. 394 3952008-01-07 Frank Warmerdam <[email protected]> 396 397 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 398 3992008-01-01 Frank Warmerdam <[email protected]> 400 401 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 402 403 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 404 targets. 405 406 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 407 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 408 (x64). 409 410 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 411 and TIFFFieldWithName() now return TIFFField pointers instead of 412 TIFFFieldInfo pointers. 413 414 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 415 exist. This makes it compile again on Windows 416 417 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 418 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 419 420 * test/rewrite_tag.c: New test for TIFFRewriteField(). 421 4222007-12-31 Frank Warmerdam <[email protected]> 423 424 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 425 rewrites one field "on disk" updating an existing directory 426 entry. Lots of limitations still... 427 428 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 429 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 430 the strip offset/size values are dirty but nothing else about the 431 directory is dirty. In flush handle "just stripmaps dirty" as a 432 special case that just rewrites these values without otherwise 433 modifying the directory on disk using TIFFRewriteField(). 434 435 We also modify logic so that in update mode the directory is not 436 marked dirty on read, but only when something is changed. This 437 means we need to keep track of updates to the stripmap stuff in 438 TIFFAppendToStrip(). 439 4402007-12-10 Frank Warmerdam <[email protected]> 441 442 * tif_jpeg.c: Improve ability to switch between encoding and decoding 443 in the jpeg code (gdal bug #2033). 444 4452007-11-23 Frank Warmerdam <[email protected]> 446 447 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 448 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 449 rawcp/rawcc buffer are for writing and thus may require flushing. 450 Necessary to distinguish whether they need to be written to disk when 451 in mixed read/write mode and doing a mixture of writing followed by 452 reading. http://trac.osgeo.org/gdal/ticket/1758 453 4542007-11-23 Andrey Kiselev <[email protected]> 455 456 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 457 from Alexey Chupahin. 458 4592007-11-02 Frank Warmerdam <[email protected]> 460 461 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 462 establishing if an existing tile can be rewritten to the same location 463 by comparing the current size to all the other blocks in the same 464 directory. This is dangerous in many situations and can easily 465 corrupt a file. (observed in esoteric GDAL situation that's hard to 466 document). This change involves leaving the stripbytecount[] values 467 unaltered till TIFFAppendToStrip(). Now we only write a block back 468 to the same location it used to be at if the new data is the same 469 size or smaller - otherwise we move it to the end of file. 470 471 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 472 data when writing the directory just because we have BEENWRITING at 473 some point in the past. This was causing odd junk to be written out 474 in a tile of data when a single tile had an interleaving of reading 475 and writing with reading last. (highlighted by gdal 476 autotest/gcore/tif_write.py test 7. 477 478 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 479 modifying callers buffer. 480 http://trac.osgeo.org/gdal/ticket/1965 481 482 * tif_predict.c/h: more fixes related to last item, keeping a 483 distinct pfunc for encode and decode cases as these were getting 484 mixed up sometimes. 485 http://trac.osgeo.org/gdal/ticket/1948 486 4872007-11-01 Frank Warmerdam <[email protected]> 488 489 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 490 predictor based encoding and decoding works in read-write update 491 mode properly. 492 http://trac.osgeo.org/gdal/ticket/1948 493 4942007-10-24 Joris Van Damme <[email protected]> 495 496 * tif_dirread.c: Fixed problem with bogus file triggering 497 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 498 ChopUpSingleUncompressedStrip 499 5002007-10-22 Joris Van Damme <[email protected]> 501 502 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 503 at best, access violation at worst, when subsampled JPEG compressed imagery 504 is decoded without the JPEG_COLORMODE feature 505 5062007-10-11 Frank Warmerdam <[email protected]> 507 508 * html/index.html: Update "people responsible" section. 509 5102007-10-05 Frank Warmerdam <[email protected]> 511 512 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 513 as reported on the mailing list. 514 5152007-10-01 Joris Van Damme <[email protected]> 516 517 * changed some more incorrect %lud printf flags to %lu 518 5192007-09-29 Joris Van Damme <[email protected]> 520 521 * tif_dirread.c: Strip chopping interfered badly with uncompressed 522 subsampled images because it tried to divide subsampled rowblocks, 523 leading to all sorts of errors throughout the library for these 524 images. Fixed by making strip chopping divide in row counts that 525 are a multiple of vertical subsampling value. 526 5272007-09-28 Joris Van Damme <[email protected]> 528 529 * tif_dirread.c: Logical cast working around compiler warning 530 531 * tif_read.c: Correction of some error flags and parameter lists 532 5332007-09-27 Joris Van Damme <[email protected]> 534 535 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 536 when dealing with large bitspersample values, shutting up purification 537 tools that warn about truncation, though it remains incorrect and 538 indicates a conceptual problem there. 539 540 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 541 of first IFD) to proper place because it badly interfered with memory 542 mapping, resulting in mapping flag even with dummy mapping functions 543 that returned 0 whilst at the same time the mapping tif_size wasn't 544 set, thus resulting in continuous incorrect beyond-eof errors. 545 5462007-09-24 Joris Van Damme <[email protected]> 547 548 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 549 inconsistent use of const in tiffFields and exifFields definition 550 5512007-09-20 Frank Warmerdam <[email protected]> 552 553 * tif_dirwrite.c: Always write tile/strip offsets and sizes 554 using LONG8 type when output format is BigTIFF. The 555 TIFFWriteDirectoryTagLongLong8Array() function was restructured 556 accordingly. 557 558 * tif_dirread.c: Improvements to error reporting text in 559 TIFFFetchDirectory(). 560 5612007-09-19 Bob Friesenhahn <[email protected]> 562 563 * test/images: Added a small collection of test images for use by 564 test programs and scripts. 565 * test/tiffinfo.sh: A trivial example test script. 566 * test/common.sh: Added small script for setting the environment 567 used by script-based tests. 568 5692007-08-24 Frank Warmerdam <[email protected]> 570 571 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 572 zero when writing directory contents to preserve the ability to 573 rewrite directories in place, even in the middle of a directory 574 chain. 575 576 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 577 definitions that are missing. Existing definitions are silently 578 ignored. 579 580 * tif_dirread.c: Add runtime error for fields for which no definition 581 is found (in addition to an assert for developers) in 582 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 583 prudent. 584 5852007-08-10 Joris Van Damme <[email protected]> 586 587 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 588 from _TIFFRGBAImage structure to revert unwanted ABI change. 589 5902007-08-10 Joris Van Damme <[email protected]> 591 592 * libtiff/tif_win32.c: use SetFilePointer instead of 593 SetFilePointerEx, as per bug 594 595 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 596 5972007-07-19 Andrey Kiselev <[email protected]> 598 599 * libtiff/tif_stream.cxx: Put all callback functions declarations 600 inside extern "C" block. 601 602 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 603 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 604 formatter instead of "%lld" with MSVC compiler. 605 606 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 607 _TIFFUInt64ToDouble() functions. 608 6092007-07-18 Andrey Kiselev <[email protected]> 610 611 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 612 integer constants. 613 614 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 615 remove tif_config.h/tiffconf.h during cleaning. As per bug 616 617 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 618 619 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 620 621 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 622 6232007-07-13 Andrey Kiselev <[email protected]> 624 625 * libtiff 4.0.0alpha released. 626 6272007-07-12 Andrey Kiselev <[email protected]> 628 629 * tools/tiff2pdf.c: Added missed extern optind as per bug 630 631 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 632 633 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 634 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 635 extending scheme completed. 636 6372007-07-11 Bob Friesenhahn <[email protected]> 638 639 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 640 use standard C++ library size types and attempt to detect overflow 641 cases. 642 6432007-07-08 Andrey Kiselev <[email protected]> 644 645 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 646 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 647 tag extending scheme. Use the new scheme everywhere. 648 649 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 650 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 651 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 652 TIFFFIeldInfo structure replaced with TIFFField structure. 653 TIFFFieldInfo retained for the backward compatibility. 654 6552007-07-05 Bob Friesenhahn <[email protected]> 656 657 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 658 defined. 659 6602007-07-04 Andrey Kiselev <[email protected]> 661 662 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 663 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 664 removed. 665 666 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 667 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 668 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 669 These tags are not codec-specific and relate to image content, so 670 process them as other normal tags. 671 672 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 673 public tiffio.h to private tif_dir.h. 674 675 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 676 outdated. 677 6782007-07-03 Andrey Kiselev <[email protected]> 679 680 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 681 tif_win3.c}: Obsoleted portability stuff removed. 682 683 * tools/tiff2ps.c: Added support 16-bit images as per bug 684 685 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 686 687 Patch from William Bader. 688 689 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 690 significant upgrade of the whole utility as per bug 691 692 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 693 694 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 695 PDF file using TIFFClientOpen() machinery as it is implemented 696 by Leon Bottou. 697 6982007-06-26 Bob Friesenhahn <[email protected]> 699 700 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 701 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 702 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 703 allow returning -1 for errors. 704 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 705 7062007-06-25 Bob Friesenhahn <[email protected]> 707 708 * port/strtoull.c: New porting function in case strtoull() is not 709 available on the target system. 710 * configure.ac: Add configure support for determining sized types 711 in a portable way and performing necessary substitutions in 712 tif_config.h and tiffconf.h. Updated tiff.h to use the new 713 definitions. 714 7152007-04-27 Andrey Kiselev <[email protected]> 716 717 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 718 719 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 720 7212007-04-07 Andrey Kiselev <[email protected]> 722 723 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 724 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 725 tif_predict.c, tif_zip.c}: Finally fix bug 726 727 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 728 729 by introducing _TIFFMergeFieldInfo() returning integer error status 730 instead of void in case of problems with field merging (e.g., if the 731 field with such a tag already registered). TIFFMergeFieldInfo() in 732 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 733 check returned value. 734 7352007-04-07 Frank Warmerdam <[email protected]> 736 737 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 738 blocks in TIFF_DownSample_Subsampled() (bug 1542). 739 7402007-04-06 Frank Warmerdam <[email protected]> 741 742 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 743 will convert from decompressor to compressor or compress to decompress 744 if required by the force arguments. This works around a problem in 745 where the JPEGFixupTestSubsampling() may cause a decompressor to 746 be setup on a directory when later a compressor is required with the 747 force flag set. Occurs with the addtiffo program for instance. 748 7492007-04-06 Andrey Kiselev <[email protected]> 750 751 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 752 functionality from Richard Nolde. As per bug 753 754 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 755 7562007-03-28 Frank Warmerdam <[email protected]> 757 758 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 759 7602007-03-17 Joris Van Damme <[email protected]> 761 762 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 763 7642007-03-07 Joris Van Damme <[email protected]> 765 766 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 767 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 768 factor. This bug is mentioned in: 769 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 770 http://www.asmail.be/msg0054766825.html 771 7722007-03-07 Joris Van Damme <[email protected]> 773 774 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 775 776 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 777 unused arguments by standard C indication for the same 778 7792007-02-27 Andrey Kiselev <[email protected]> 780 781 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 782 counters in TIFFFetchData(). Should finally fix the issue 783 784 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 785 7862007-02-24 Andrey Kiselev <[email protected]> 787 788 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 789 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 790 791 * libtiff/tif_dirread.c: Added special function to handle 792 SubjectDistance EXIF tag as per bug 793 794 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 795 796 * tools/tiff2pdf.c: Do not assume inches when the resolution units 797 do not specified. As per bug 798 799 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 800 801 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 802 it was set as infinite. As per bug 803 804 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 805 806 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 807 by Richard Nolde. As per bug 808 809 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 810 8112007-02-22 Andrey Kiselev <[email protected]> 812 813 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 814 ExtraSamples == 999 produced by Corel Draw. As per bug 815 816 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 817 818 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 819 changed from tsize_t to uint32 to be able to work with data arrays 820 larger than 2GB. Fixes bug 821 822 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 823 824 Idea submitted by Matt Hancher. 825 8262007-01-31 Andrey Kiselev <[email protected]> 827 828 * tools/tif2rgba.c: This utility does not work properly on big-endian 829 architectures. It was fixed including the bug 830 831 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 832 8332007-01-15 Mateusz Loskot <[email protected]> 834 835 * Submitted libtiff port for Windows CE platform 836 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 837 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 838 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 839 functons from tif_win32.c. 840 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 841 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 842 standard header files for Windows CE build. 843 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 844 8452006-11-19 Frank Warmerdam <[email protected]> 846 847 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 848 we move a strip. 849 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 850 8512006-10-13 Andrey Kiselev <[email protected]> 852 853 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 854 in Gentoo bug (): 855 856 http://bugs.gentoo.org/show_bug.cgi?id=142383 857 858 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 859 Though it is still far from the state of being working and useful. 860 8612006-10-12 Andrey Kiselev <[email protected]> 862 863 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 864 method. 865 866 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 867 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 868 869 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 870 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 871 872 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 873 vulnerabilities, reported in Gentoo bug (): 874 875 http://bugs.gentoo.org/show_bug.cgi?id=142383 876 8772006-09-28 Andrey Kiselev <[email protected]> 878 879 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 880 vulnerabilities, as per Gentoo bug (): 881 882 http://bugs.gentoo.org/show_bug.cgi?id=142383 883 8842006-09-27 Frank Warmerdam <[email protected]> 885 886 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 887 encoding and decoding on the same read-write TIFF handle. The LZW 888 code can now maintain encode and decode state at the same time. The 889 ZIP code will switch back and forth as needed. 890 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 891 8922006-09-20 Frank Warmerdam <[email protected]> 893 894 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 895 tif_config.vc.h for easier identification by folks using an IDE. 896 8972006-07-25 Frank Warmerdam <[email protected]> 898 899 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 900 9012006-07-19 Frank Warmerdam <[email protected]> 902 903 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 904 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 905 to bug report by Peng Gao with black strip at bottom of images. 906 9072006-07-12 Frank Warmerdam <[email protected]> 908 909 * tif_dirwrite.c: make sure to use uint32 for wordcount in 910 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 911 It already seems to have been done for other field types. Needed 912 for "tiffset" on files with geotiff ascii text. 913 9142006-07-04 Bob Friesenhahn <[email protected]> 915 916 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 917 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 918 its use does not appear to be required, so use it only when it is 919 available. 920 9212006-06-24 Andrey Kiselev <[email protected]> 922 923 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 924 925 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 926 function TIFFFetchDirectory() avoiding code duplication in 927 TIFFReadDirectory() and TIFFReadCustomDirectory(). 928 9292006-06-19 Frank Warmerdam <[email protected]> 930 931 * tools/tiff2pdf.c: Fix handling of -q values. 932 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 933 9342006-06-17 Frank Warmerdam <[email protected]> 935 936 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 937 files. Modified TIFFReadDirectory() to not invoke 938 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 939 but one of them is zero. 940 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 941 9422006-06-08 Andrey Kiselev <[email protected]> 943 944 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 945 checking code in the separate function TIFFCheckDirOffset(). 946 947 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 948 949 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 950 951 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 952 953 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 954 955 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 956 957 * tools/tiff2pdf.c: Fixed buffer overflow condition in 958 t2p_write_pdf_string() as per bug 959 960 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 961 9622006-06-07 Andrey Kiselev <[email protected]> 963 964 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 965 support for JBIG compression scheme (34661 code) contributed by Lee 966 Howard. As per bug 967 968 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 969 970 * configure, configure.ac: OJPEG support enabled by default. 971 972 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 973 9742006-06-03 Bob Friesenhahn <[email protected]> 975 976 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 977 TIFFPrintDirectory(). Joris Van Damme authored the fix. 978 9792006-04-21 Andrey Kiselev <[email protected]> 980 981 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 982 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 983 984 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 985 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 986 Added support for OpenVMS by Alexey Chupahin, [email protected]. 987 9882006-04-20 Andrey Kiselev <[email protected]> 989 990 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 991 Properly set the binary mode for stdin stream as per bug 992 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 993 994 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 995 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 996 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 997 tiffset.1}: Improvements in page formatting as per bug 998 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 999 1000 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 1001 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 1002 10032006-04-18 Frank Warmerdam <[email protected]> 1004 1005 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 1006 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 1007 10082006-04-12 Joris Van Damme <[email protected]> 1009 1010 * libtiff/tif_getimage.c: Added support for planarconfig separate 1011 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 1012 10132006-04-11 Joris Van Damme <[email protected]> 1014 1015 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 1016 - Conversion of unassociated alpha to associated alpha now done with 1017 more performant LUT, and calculation more correct 1018 - Conversion of 16bit data to 8bit data now done with 1019 more performant LUT, and calculation more correct 1020 - Bugfix of handling of 16bit RGB with unassociated alpha 1021 10222006-04-11 Joris Van Damme <[email protected]> 1023 1024 * libtiff/tif_getimage.c: 1025 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 1026 buffer for alpha strile and filled it, only to never read it back. 1027 Removed allocation and fill. 1028 - Minor rename of vars in gtTileSeparate and gtStripSeparate 1029 anticipating planned functionality extension 1030 10312006-04-08 Joris Van Damme <[email protected]> 1032 1033 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 1034 and pickTileSeparateCase to PickSeparateCase as both work on strips as 1035 well 1036 1037 * libtiff/tif_getimage.c: moved img->get selection from 1038 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 1039 logical hook for planned functionality extension 1040 10412006-04-08 Joris Van Damme <[email protected]> 1042 1043 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 1044 of inappropriate use of jpeg_abort instead of jpeg_destroy 1045 10462006-04-07 Joris Van Damme <[email protected]> 1047 1048 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 1049 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 1050 on subsampled images - this ought to get sorted when we feel brave 1051 enough to replace TIFFScanlineSize alltogether 1052 1053 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 1054 10552006-04-04 Joris Van Damme <[email protected]> 1056 1057 * libtiff/tiffio.h: added new type tstrile_t 1058 1059 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 1060 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 1061 toff_t* 1062 1063 * libtiff/tif_ojpeg.c: totally new implementation 1064 1065 * libtiff/tif_dirread.c: added several hacks to suit new support of 1066 OJPEG 1067 1068 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 1069 of OJPEG images in favor of tif_getimage.c native handling of 1070 YCbCr and desubsampling 1071 10722006-03-29 Frank Warmerdam <[email protected]> 1073 1074 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 1075 interpretation causes the "upsampled" flag to be recomputed. Fixes 1076 peculiar bug where photometric flag had to be set before jpegcolormode 1077 flag. 1078 10792006-03-25 Joris Van Damme <[email protected]> 1080 1081 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 1082 1083 * libtiff/tif_strip.c: temporarilly added two new versions of 1084 TIFFScanlineSize 1085 - TIFFNewScanlineSize: proposed new version, after all related 1086 issues and side-effects are sorted out 1087 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 1088 This needs further sorting out. 1089 10902006-03-25 Joris Van Damme <[email protected]> 1091 1092 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 1093 of last truncated strip data to TIFFWriteEncodedStrip 1094 10952006-03-25 Joris Van Damme <[email protected]> 1096 1097 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 1098 10992006-03-25 Joris Van Damme <[email protected]> 1100 1101 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 1102 1103 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 1104 1105 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 1106 prepare the path for new tif_ojpeg.c 1107 11082006-03-23 Andrey Kiselev <[email protected]> 1109 1110 * libtiff 3.8.2 released. 1111 1112 * tools/Makefile.am: Use runtime paths linker flags when rpath 1113 option enabled. 1114 11152006-03-21 Andrey Kiselev <[email protected]> 1116 1117 * libtiff/libtiff.def: Added missed exports as per bug 1118 http://bugzilla.remotesensing.org/attachment.cgi?id=337 1119 1120 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 1121 tools/Makefile.vc: Makefiles improvements as per bug 1122 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 1123 1124 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 1125 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 1126 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 1127 1128 * libtiff/tif_strip.c: Take subsampling in account when calculating 1129 TIFFScanlineSize(). 1130 1131 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 1132 11332006-03-17 Andrey Kiselev <[email protected]> 1134 1135 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 1136 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 1137 1138 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 1139 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 1140 11412006-03-16 Andrey Kiselev <[email protected]> 1142 1143 * libtiff/tiffiop.h: Added decalration for 1144 _TIFFSetDefaultCompressionState(). 1145 1146 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 1147 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 1148 codec cleanup methods. As per bug 1149 1150 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 1151 11522006-03-15 Andrey Kiselev <[email protected]> 1153 1154 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 1155 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 1156 1157 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 1158 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 1159 1160 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 1161 removed; move here the STRIP_SIZE_DEFAULT macro definition. 1162 1163 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 1164 macro definition. 1165 1166 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 1167 11682006-03-14 Andrey Kiselev <[email protected]> 1169 1170 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 1171 in TIFFReadDirectory, because it is always set at the start of 1172 function and we allow TIFFs without that tag set. 1173 11742005-03-13 Andrey Kiselev <[email protected]> 1175 1176 * libtiff 3.8.1 released. 1177 11782006-03-07 Andrey Kiselev <[email protected]> 1179 1180 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 1181 function as per bug 1182 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1183 1184 * libtiff/tif_dirread.c: More wise check for integer overflow 1185 condition as per bug 1186 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1187 1188 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 1189 Properly restore setfield/getfield methods in cleanup functions. As 1190 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1191 11922006-03-03 Andrey Kiselev <[email protected]> 1193 1194 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 1195 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 1196 1197 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 1198 TIFFPredictorCleanup() in codec cleanup methods. As per bug 1199 1200 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1201 1202 * libtiff/tif_dirread.c: Fixed integer overflow condition in 1203 TIFFFetchData() function. As per bug 1204 1205 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1206 12072006-03-01 Andrey Kiselev <[email protected]> 1208 1209 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 1210 TIFFSetField() method, not directly. As per bug 1211 1212 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 1213 1214 * tools/ppm2tiff.c: Added support for PBM files as per bug 1215 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 1216 12172006-02-27 Andrey Kiselev <[email protected]> 1218 1219 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 1220 to avoid crash as per bug 1221 1222 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 1223 12242006-02-26 Andrey Kiselev <[email protected]> 1225 1226 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 1227 t2p_sample_rgba_to_rgb() was used in place of each other, that was 1228 resulted in problems with RGBA images with associated alpha. 1229 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 1230 12312006-02-23 Andrey Kiselev <[email protected]> 1232 1233 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 1234 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 1235 1236 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 1237 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 1238 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 1239 1240 * tools/tiff2ps.c: Properly scale all the pages when converting 1241 multipage TIFF with /width/height/center options set. As per bug 1242 1243 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 1244 12452006-02-15 Andrey Kiselev <[email protected]> 1246 1247 * tools/tiff2pdf.c: Do not create output file until all option checks 1248 will be done. As per bug 1249 1250 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 1251 1252 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 1253 list of input files as per bug: 1254 1255 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 1256 12572006-02-09 Andrey Kiselev <[email protected]> 1258 1259 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 1260 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 1261 1262 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 1263 TIFFRGBAImage interface. 1264 1265 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 1266 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 1267 12682006-02-07 Frank Warmerdam <[email protected]> 1269 1270 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 1271 compressed TIFF files, per submission from Dan Cobra. 1272 12732006-02-07 Andrey Kiselev <[email protected]> 1274 1275 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 1276 cast values to avoid warnings. As per bug 1277 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 1278 1279 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 1280 appropriate. As per bug 1281 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 1282 1283 * libtiff/tif_aux.c: Fixed type of temporary variable in 1284 _TIFFCheckMalloc() as per bug 1285 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 1286 12872006-02-06 Andrey Kiselev <[email protected]> 1288 1289 * libtiff/tif_aux.c: Return static array when fetching default 1290 YCbCrCoefficients (another problem, reported a the 1291 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 1292 12932006-02-03 Andrey Kiselev <[email protected]> 1294 1295 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 1296 YCbCrSubsampling and DotRange tags as per bugs 1297 1298 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 1299 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 1300 1301 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 1302 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 1303 1304 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 1305 13062006-01-23 Andrey Kiselev <[email protected]> 1307 1308 * libtool related stuff updated from the 2.1a branch. 1309 13102006-01-11 Frank Warmerdam <[email protected]> 1311 1312 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 1313 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 1314 properly as per bug: 1315 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 1316 13172006-01-09 Bob Friesenhahn <[email protected]> 1318 1319 * configure.ac: Fix with_default_strip_size comparison as reported 1320 by Norihiko Murase. 1321 13222006-01-08 Bob Friesenhahn <[email protected]> 1323 1324 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 1325 incorrectly, tests were not actually testing the uninstalled 1326 libtiff. Now they are. 1327 13282006-01-04 Andrey Kiselev <[email protected]> 1329 1330 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 1331 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 1332 should be uint32 value. 1333 13342006-01-02 Bob Friesenhahn <[email protected]> 1335 1336 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 1337 be used if build directory is not the same as source directory. 1338 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 1339 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 1340 and re-sorted tag names in alphabetical order. 1341 13422005-12-29 Andrey Kiselev <[email protected]> 1343 1344 * libtiff 3.8.0 released. 1345 13462005-12-28 Bob Friesenhahn <[email protected]> 1347 1348 * tools/bmp2tiff.c (main): Fixed warning regarding returning 1349 inconsistent types from a condition. 1350 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 1351 format. 1352 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 1353 13542005-12-28 Joris Van Damme <[email protected]> 1355 1356 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 1357 13582005-12-27 Andrey Kiselev <[email protected]> 1359 1360 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 1361 windows.h, to reduce the compile time. 1362 13632005-12-26 Bob Friesenhahn <[email protected]> 1364 1365 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 1366 13672005-12-26 Andrey Kiselev <[email protected]> 1368 1369 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 1370 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 1371 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 1372 private functions to retrieve FieldInfo arrays. 1373 13742005-12-24 Bob Friesenhahn <[email protected]> 1375 1376 * html/build.html: Added some additional instructions for when 1377 building using MSVC under Windows. Also fixed two HTML syntax 1378 errors and used HTML Tidy to tidy up the HTML syntax and 1379 formatting. 1380 13812005-12-24 Andrey Kiselev <[email protected]> 1382 1383 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 1384 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 1385 StoNits tags custom. 1386 13872005-12-23 Andrey Kiselev <[email protected]> 1388 1389 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 1390 WhitePoint tag custom. 1391 1392 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 1393 13942005-12-23 Joris Van Damme <[email protected]> 1395 1396 * libtiff/tiffio.h: fixed typo that potentially resulted in 1397 redefininition of USE_WIN32_FILEIO 1398 1399 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 1400 calls in core LibTiff. 1401 14022005-12-21 Andrey Kiselev <[email protected]> 1403 1404 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 1405 Photoshop and ICCProfile tags custom. 1406 14072005-12-21 Joris Van Damme <[email protected]> 1408 1409 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 1410 newer code to get context indicator in error handler and still 1411 remain compatible with older code: Done TIFFError calls everywhere 1412 except in tools 1413 14142005-12-20 Andrey Kiselev <[email protected]> 1415 1416 * tools/tiffcp.c: Added many error reporting messages; fixed integer 1417 overflow as per bug 1418 1419 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 1420 14212005-12-16 Frank Warmerdam <[email protected]> 1422 1423 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 1424 YCbCr images in jpeg compressed TIFF files. 1425 14262005-12-14 Andrey Kiselev <[email protected]> 1427 1428 * tools/tiffcp.c: Return non-zero status when reading fails (again). 1429 14302005-12-13 Andrey Kiselev <[email protected]> 1431 1432 * tools/tiffcp.c: Return non-zero status when reading fails. 1433 14342005-12-12 Andrey Kiselev <[email protected]> 1435 1436 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 1437 14382005-12-09 Andrey Kiselev <[email protected]> 1439 1440 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 1441 custom. 1442 1443 * tools/tiffinfo.c: Print EXIF directory contents if exist. 1444 1445 * libtiff/tiff.h: Few EXIF tag numbers added. 1446 1447 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 1448 tiffio.h}: Preliminary support to read custom directories. New 1449 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 1450 14512005-12-07 Andrey Kiselev <[email protected]> 1452 1453 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 1454 More work to implement custom directory read support. 1455 1456 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 1457 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 1458 tags custom. 1459 14602005-12-05 Andrey Kiselev <[email protected]> 1461 1462 * libtiff/tif_dirread.c: One more workaround for broken 1463 StripByteCounts tag. Handle the case when StripByteCounts array filled 1464 with completely wrong values. 1465 14662005-11-30 Andrey Kiselev <[email protected]> 1467 1468 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 1469 in the TIFFOpenW() function as per bug 1470 1471 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 1472 1473 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 1474 functions as per bug 1475 1476 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 1477 14782005-11-20 Frank Warmerdam <[email protected]> 1479 1480 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 1481 for MS MDI format. 1482 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 1483 1484 * .cvsignore: many files added, and a few update according 1485 to suggestion of Brad HArds on tiff mailing list. 1486 14872005-11-03 Frank Warmerdam <[email protected]> 1488 1489 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 1490 public. 1491 14922005-10-31 Andrey Kiselev <[email protected]> 1493 1494 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 1495 as per bug 1496 1497 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 1498 1499 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 1500 as per bug 1501 1502 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 1503 1504 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 1505 problem as per bug 1506 1507 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 1508 1509 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 1510 1511 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 1512 1513 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 1514 ResolutionUnit tags modifiable during write process. As per bug 1515 1516 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 1517 1518 * tools/tiffsplit.c: Copy fax related fields over splitted parts 1519 as per bug 1520 1521 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 1522 15232005-10-21 Frank Warmerdam <[email protected]> 1524 1525 * tif_dirread.c: Don't try and split single strips into "0" strips 1526 in ChopUpSingleUncompressedStrip. This happens in some degenerate 1527 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 1528 15292005-10-20 Joris Van Damme <[email protected]> 1530 1531 * tif_fax3.c: changed 'at scanline ...' style warning/errors 1532 with incorrect use of tif_row, to 'at line ... of 1533 strip/tile ...' style 1534 15352005-10-15 Frank Warmerdam <[email protected]> 1536 1537 * tif_write.c: fixed setting of planarconfig as per bug report 1538 on the mailing list from Joris. 1539 15402005-10-07 Andrey Kiselev <[email protected]> 1541 1542 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 1543 tif_dirread.c}: Make the default strip size configurable via the 1544 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 1545 15462005-09-30 Bob Friesenhahn <[email protected]> 1547 1548 * html/support.html: Fixed link to documentation on Greg Ward's 1549 LogLuv TIFF format. 1550 15512005-09-28 Andrey Kiselev <[email protected]> 1552 1553 * tools/tiffdump.c: Fixed crash when reading malformed tags. 1554 15552005-09-20 Andrey Kiselev <[email protected]> 1556 1557 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 1558 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 1559 15602005-09-12 Andrey Kiselev <[email protected]> 1561 1562 * libtiff 3.7.4 released. 1563 1564 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 1565 from Patrick Welche (all scripts moved in the 'config' and 'm4' 1566 directories). 1567 15682005-09-12 Frank Warmerdam <[email protected]> 1569 1570 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 1571 15722005-09-05 Frank Warmerdam <[email protected]> 1573 1574 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 1575 also set it to NULL to avoid double free when re-setting custom 1576 string fields as per: 1577 1578 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 1579 15802005-08-12 Frank Warmerdam <[email protected]> 1581 1582 * libtiff/tif_print.c: avoid signed/unsigned warning. 1583 1584 * libtiff/tif_dirread.c: removed unused variable. 1585 15862005-07-30 Frank Warmerdam <[email protected]> 1587 1588 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 1589 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 1590 pass on bigendian (macosx) system. 1591 15922005-07-28 Andrey Kiselev <[email protected]> 1593 1594 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 1595 CheckMalloc() function to _TIFFCheckMalloc() and make it available 1596 globally as an internal helper routine. 1597 15982005-07-27 Andrey Kiselev <[email protected]> 1599 1600 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 1601 the custom tags handling code. 1602 16032005-07-26 Andrey Kiselev <[email protected]> 1604 1605 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 1606 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 1607 function, use TIFFFetchNormalTag() instead as per bug 1608 1609 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 1610 1611 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 1612 instead. 1613 1614 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 1615 1616 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 1617 16182005-07-25 Andrey Kiselev <[email protected]> 1619 1620 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 1621 1622 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 1623 16242005-07-21 Andrey Kiselev <[email protected]> 1625 1626 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 1627 the TIFFWriteCheck() function in case of single band images (as per 1628 TIFF spec). 1629 16302005-07-12 Andrey Kiselev <[email protected]> 1631 1632 * SConstruct, libtiff/SConstruct: Added the first very preliminary 1633 support for SCons software building tool (http://www.scons.org/). 1634 This is experimental infrastructure and it will exist along with the 1635 autotools mechanics. 1636 16372005-07-07 Andrey Kiselev <[email protected]> 1638 1639 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 1640 the NetBSD source tree (the old 4-clause BSD license changed to 1641 the new 3-clause one). 1642 1643 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 1644 replacement module. 1645 1646 * port/dummy.c: Make the dummy function static. 1647 16482005-07-06 Andrey Kiselev <[email protected]> 1649 1650 * tools/tiffcp.c: Fixed WhitePoint tag copying. 1651 1652 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 1653 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 1654 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 1655 16562005-07-04 Andrey Kiselev <[email protected]> 1657 1658 * libtiff 3.7.3 released. 1659 1660 * configure, configure.ac: Do not use empty -R option when linking 1661 with --enable-rpath. 1662 16632005-07-01 Andrey Kiselev <[email protected]> 1664 1665 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 1666 reading the first IFD when needed. As per bug 1667 1668 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 1669 1670 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 1671 effects. 1672 16732005-06-23 Andrey Kiselev <[email protected]> 1674 1675 * tools/tiff2pdf.c: Print two characters per loop in the 1676 t2p_write_pdf_trailer(). As per bug 1677 1678 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 1679 1680 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 1681 per bug 1682 1683 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 1684 1685 * acinclude.m4: Updated to latest OpenGL test macros versions. 1686 1687 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 1688 platform. As per bug 1689 1690 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 1691 16922005-06-14 Andrey Kiselev <[email protected]> 1693 1694 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 1695 and YClipPathUnits tags. 1696 16972005-06-07 Andrey Kiselev <[email protected]> 1698 1699 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 1700 use pixel sized shift in contigous case. 1701 17022005-06-06 Andrey Kiselev <[email protected]> 1703 1704 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 1705 Make overviews working for contiguos images. 1706 17072005-06-03 Andrey Kiselev <[email protected]> 1708 1709 * libtiff/tif_open.c: Replace runtime endianess check with the compile 1710 time one. 1711 1712 * libtiff/tif_predict.c: Floating point predictor now works on 1713 big-endian hosts. 1714 17152005-06-01 Andrey Kiselev <[email protected]> 1716 1717 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 1718 ASCII values. 1719 1720 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 1721 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 1722 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 1723 TargetPrinter tags custom. 1724 1725 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 1726 TIFF_CODERSETUP flag (to fix memry leaks). 1727 1728 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 1729 allocating. 1730 17312005-05-26 Andrey Kiselev <[email protected]> 1732 1733 * configure.ac, libtiff/Makefile.am: Added workaround for 1734 OpenBSD/MirOS soname problem as per bug 1735 1736 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 1737 1738 * libtiff/tif_dirwrite.c: Use tdir_count when calling 1739 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 1740 per bug 1741 1742 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 1743 17442005-05-25 Andrey Kiselev <[email protected]> 1745 1746 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 1747 the fscanf() function. As per bug 1748 1749 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 1750 1751 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 1752 uint16 array when fetching the BYTE and SBYTE filds, so we should 1753 consider result as pointer to uint16 array and not as array of chars. 1754 As per bug 1755 1756 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 1757 1758 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 1759 1760 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 1761 1762 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 1763 mode in CreateFile() call as per bug 1764 1765 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 1766 1767 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 1768 libtiffxx libraries as per bug 1769 1770 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 1771 1772 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 1773 GDAL. 1774 17752005-05-23 Frank Warmerdam <[email protected]> 1776 1777 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 1778 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 1779 in directory. 1780 17812005-05-22 Frank Warmerdam <[email protected]> 1782 1783 * libtiff/tif_dirread.c: Changed the code that computes 1784 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 1785 zero. This is a common case with GDAL indicating a "null" tile/strip. 1786 17872005-05-17 Andrey Kiselev <[email protected]> 1788 1789 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 1790 17912005-05-06 Frank Warmerdam <[email protected]> 1792 1793 * libtiff/tif_dirread.c: Applied similar change to 1794 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 1795 1796 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 1797 1798 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 1799 18002005-05-06 Andrey Kiselev <[email protected]> 1801 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 1802 added new option '-b' to use interpolation in output PDF files (Bruno 1803 Ledoux). 1804 18052005-05-05 Frank Warmerdam <[email protected]> 1806 1807 * libtiff/tif_dirread.c: Ensure that broken files with too many 1808 values in PerSampleShorts work ok instead of crashing. 1809 1810 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 1811 18122005-04-27 Andrey Kiselev <[email protected]> 1813 1814 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 1815 input file. 1816 18172005-04-15 Andrey Kiselev <[email protected]> 1818 1819 * libtiff/tif_predict.c: Added ability to encode floating point 1820 predictor, as per TIFF Technical Note 3. 1821 18222005-04-14 Andrey Kiselev <[email protected]> 1823 1824 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 1825 floating point predictor, as per TIFF Technical Note 3. 1826 18272005-04-13 Andrey Kiselev <[email protected]> 1828 1829 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 1830 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 1831 swap 24-bit floating point values. 1832 1833 * libtiff/tiff.h: Added predictor constants. 1834 18352005-04-08 Andrey Kiselev <[email protected]> 1836 1837 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 1838 values in _TIFFVSetField() function. Inspired by the bug 1839 1840 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 1841 1842 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 1843 as per bug 1844 1845 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 1846 18472005-03-30 Andrey Kiselev <[email protected]> 1848 1849 * libtiff/tif_open.c: Do not read header in case the output file 1850 should be truncated (Ron). 1851 1852 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 1853 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 1854 1855 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 1856 18572005-03-22 Andrey Kiselev <[email protected]> 1858 1859 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 1860 rpath option. 1861 18622005-03-21 Andrey Kiselev <[email protected]> 1863 1864 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 1865 tags. 1866 18672005-03-18 Andrey Kiselev <[email protected]> 1868 1869 * libtiff/dirinfo.c: Added DNG tags. 1870 1871 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 1872 handling code. 1873 1874 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 1875 added DNG 1.1.0.0 tags. 1876 1877 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 1878 bug 1879 1880 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 1881 1882 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 1883 18842005-03-17 Andrey Kiselev <[email protected]> 1885 1886 * nmake.opt: Build with Win32 CRT library by default. 1887 1888 * tools/tiff2ps.c: Fixed typo in page size handling code. 1889 1890 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 1891 by value. 1892 1893 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 1894 18952005-03-15 Andrey Kiselev <[email protected]> 1896 1897 * libtiff 3.7.2 released. 1898 18992005-03-09 Andrey Kiselev <[email protected]> 1900 1901 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 1902 floating point data; complain on unsupported bit depths. 1903 19042005-03-05 Andrey Kiselev <[email protected]> 1905 1906 * tif_stream.cxx: Use ios namespace instead of ios_base to support 1907 GCC 2.95. 1908 1909 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 1910 Lee Howard for HylaFax DCS tag 1911 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 1912 19132005-03-04 Andrey Kiselev <[email protected]> 1914 1915 * configure, configure.ac: Use -rpath option instead of -R as per bug 1916 1917 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 1918 1919 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 1920 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 1921 software. As per bug 1922 1923 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 1924 1925 * nmake.opt, html/build.html: Add more comments, change the config 1926 file organization a bit as per bug 1927 1928 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 1929 1930 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 1931 as per bug 1932 1933 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 1934 19352005-03-03 Andrey Kiselev <[email protected]> 1936 1937 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 1938 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 1939 1940 * tools/fax2ps.c: Replace insecure mktemp() function with the 1941 tmpfile() as per bug 1942 1943 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 1944 19452005-02-04 Andrey Kiselev <[email protected]> 1946 1947 * libtiff/tiff.h: Changed the int8 definition to be always signed char 1948 as per bug 1949 1950 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 1951 1952 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 1953 block as per bug 1954 1955 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 1956 19572005-02-03 Bob Friesenhahn <[email protected]> 1958 1959 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 1960 display more correctly. Images display brighter than they should 1961 on a Sun workstation. 1962 19632005-02-03 Andrey Kiselev <[email protected]> 1964 1965 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 1966 suspicious values in the tags. As per bugs 1967 1968 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 1969 1970 and 1971 1972 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 1973 1974 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 1975 1976 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 1977 19782005-01-31 Bob Friesenhahn <[email protected]> 1979 1980 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 1981 (TIFFTAG_TILELENGTH): Corrected description. 1982 19832005-01-30 Andrey Kiselev <[email protected]> 1984 1985 * configure.ac: Fixes for --with-docdir option as per bug 1986 1987 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 1988 1989 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 1990 bug 1991 1992 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 1993 1994 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 1995 Michael Rinne and Edward Lam. 1996 19972005-01-15 Andrey Kiselev <[email protected]> 1998 1999 * configure.ac: Make the documentation directory location configurable 2000 via the --with-docdir option (as suggested by Jeremy C. Reed). 2001 2002 * libtiff/tif_color.c: Use double as the second argument of pow() 2003 function in TIFFCIELabToRGBInit(). As per bug 2004 2005 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 2006 2007 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 2008 integer as per bug 2009 2010 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 2011 2012 * libtiff/tif_getimage.c: Always fill the error message buffer in 2013 TIFFRGBAImageBegin() as per bug 2014 2015 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 2016 20172005-01-12 Andrey Kiselev <[email protected]> 2018 2019 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 2020 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 2021 tags as per bug 2022 2023 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 2024 2025 * libtiff/tif_win32.c: Fixed message formatting in functions 2026 Win32WarningHandler() and Win32ErrorHandler() as per bug 2027 2028 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 2029 2030 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 2031 per bug 2032 2033 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 2034 20352005-01-11 Andrey Kiselev <[email protected]> 2036 2037 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 2038 "C"' section as per bug 2039 2040 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2041 2042 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 2043 compiler to avoid double definition of BSD types as per bug 2044 2045 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2046 2047 * libtiff/Makefile.am: Place the C++ stream API in the separate 2048 library called libtiffxx to avoid unneeded dependencies. Probably 2049 there will be more C++ API in the future. As per bugs 2050 2051 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 2052 2053 and 2054 2055 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 2056 20572005-01-05 Andrey Kiselev <[email protected]> 2058 2059 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 2060 wrong tag counts (Dmitry V. Levin, Martin Pitt). 2061 2062 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 2063 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 2064 20652004-12-25 Andrey Kiselev <[email protected]> 2066 2067 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 2068 RGB-images as per bug 2069 2070 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 2071 2072 2073 * tools/tiffset.c: Convert character option to integer value as per 2074 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 2075 20762004-12-20 Andrey Kiselev <[email protected]> 2077 2078 * libtiff 3.7.1 released. 2079 2080 * html/tiffset.1.html: Add missed manual page as per bug 2081 2082 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 2083 2084 * libtiff/tiff.h: Revert back libtiff data type definitions as per 2085 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 2086 20872004-12-19 Andrey Kiselev <[email protected]> 2088 2089 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 2090 checking for tag count in TIFFReadDirectory() function. As per bug 2091 2092 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 2093 2094 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 2095 CheckMallock() function. 2096 2097 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 2098 RGB-images as per bug 2099 2100 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 2101 21022004-12-15 Frank Warmerdam <[email protected]> 2103 2104 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 2105 SunPro compiler. 2106 21072004-12-11 Bob Friesenhahn <[email protected]> 2108 2109 * autogen.sh: aclocal and autoheader should be executed after 2110 libtoolize. Also add '-I .' to aclocal invocation to check 2111 current directory for macros. 2112 21132004-12-10 Andrey Kiselev <[email protected]> 2114 2115 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 2116 as per bugs 2117 2118 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 2119 2120 and 2121 2122 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 2123 21242004-12-04 Andrey Kiselev <[email protected]> 2125 2126 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 2127 2128 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 2129 2130 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 2131 mode as per bug 2132 2133 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 2134 2135 * libtiff/tif_config.in.vc: Removed unneded definitions for 2136 read/open/close/lseek functions to fix the 2137 2138 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 2139 21402004-12-03 Andrey Kiselev <[email protected]> 2141 2142 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 2143 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 2144 must be removed in the future, as it was never used properly. As per 2145 bug 2146 2147 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 2148 21492004-11-30 Bob Friesenhahn <[email protected]> 2150 2151 * libtiff/tif_jpeg.c: Added a work-around in order to allow 2152 compilation with the heavily modified version of libjpeg delivered 2153 with Cygwin. 2154 21552004-11-29 Andrey Kiselev <[email protected]> 2156 2157 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 2158 counts. As per bug 2159 2160 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 2161 2162 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 2163 2164 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 2165 21662004-11-28 Andrey Kiselev <[email protected]> 2167 2168 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 2169 on Windows. 2170 2171 * nmake.opt: Add missed DLLNAME variable. 2172 21732004-11-26 Frank Warmerdam <[email protected]> 2174 2175 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 2176 21772004-11-24 Andrey Kiselev <[email protected]> 2178 2179 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 2180 per bug 2181 2182 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 2183 2184 * man/tiffset.1: Added manual page for tiffset tool written by Jay 2185 Berkenbilt. As per bug 2186 2187 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 2188 21892004-11-23 Frank Warmerdam <[email protected]> 2190 2191 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 2192 21932004-11-21 Frank Warmerdam <[email protected]> 2194 2195 * html/document.html: Updated Adobe web links as per email from Joris. 2196 21972004-11-21 Andrey Kiselev <[email protected]> 2198 2199 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 2200 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 2201 use C++ streams should #include <tiffio.hxx>. 2202 22032004-11-13 Andrey Kiselev <[email protected]> 2204 2205 * libtiff/tiff.h: Added Adobe DNG tags. 2206 2207 * libtiff/tif_win32.c: Typo fixed. 2208 2209 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 2210 be compliant with the latest standard. Appropriate additions in 2211 makefiles now completed. 2212 22132004-11-11 Andrey Kiselev <[email protected]> 2214 2215 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 2216 different tag types. As per bug 2217 2218 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 2219 22202004-11-10 Andrey Kiselev <[email protected]> 2221 2222 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 2223 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 2224 22252004-11-09 Andrey Kiselev <[email protected]> 2226 2227 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 2228 22292004-11-07 Andrey Kiselev <[email protected]> 2230 2231 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 2232 contributed by Edward Lam (see 2233 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 2234 Though no changes in any makefiles yet. 2235 22362004-11-05 Frank Warmerdam <[email protected]> 2237 2238 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 2239 is bad. This is the callers responsibility. 2240 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 2241 22422004-11-05 Andrey Kiselev <[email protected]> 2243 2244 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 2245 function to work with the double byte strings (used to represent 2246 filenames in some locales). As per bug 2247 2248 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 2249 2250 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 2251 Compression tags of type LONG from broken TIFFS as per bug 2252 2253 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 2254 2255 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 2256 the writecount should have uint32 type. As per bug 2257 2258 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 2259 2260 * libtiff/tif_write.c: Fixed wrong if() statement in 2261 TIFFAppendToStrip() function as per bug 2262 2263 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 2264 22652004-11-04 Andrey Kiselev <[email protected]> 2266 2267 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 2268 field. The caller should supply a count when setting this field. As 2269 per bug 2270 2271 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 2272 2273 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 2274 uint32 count. Use this type everywhere. 2275 22762004-11-03 Frank Warmerdam <[email protected]> 2277 2278 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 2279 22802004-11-02 Frank Warmerdam <[email protected]> 2281 2282 * tools/tiff2rgba.c: removed extra newlines in usage message. 2283 22842004-10-30 Andrey Kiselev <[email protected]> 2285 2286 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 2287 2288 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 2289 tags (Tristan Hill). 2290 22912004-10-30 Frank Warmerdam <[email protected]> 2292 2293 * libtiff/tiffiop.h: added fallback definition of assert() if we 2294 don't have assert.h. 2295 22962004-10-29 Andrey Kiselev <[email protected]> 2297 2298 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 2299 choosing when the incorrect Group4Options tag set. As per bug 2300 2301 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 2302 2303 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 2304 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 2305 TIFFWriteNormalTag(). 2306 23072004-10-28 Andrey Kiselev <[email protected]> 2308 2309 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 2310 tags (Peter Fales). 2311 2312 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 2313 23142004-10-28 Frank Warmerdam <[email protected]> 2315 2316 * tools/tiff2pdf.c: added casts to avoid warnings. 2317 2318 * libtiff/libtiff.def: Added several more entry points required 2319 to link fax2tiff.c against the DLL on windows. 2320 23212004-10-27 Andrey Kiselev <[email protected]> 2322 2323 * configure, configure.ac: Added --enable-rpath option to embed linker 2324 paths into library binary. 2325 23262004-10-26 Andrey Kiselev <[email protected]> 2327 2328 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 2329 2330 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 2331 (Vladimir Nadvornik, Dmitry V. Levin). 2332 23332004-10-16 Andrey Kiselev <[email protected]> 2334 2335 * libtiff 3.7.0 released. 2336 23372004-10-15 Bob Friesenhahn <[email protected]> 2338 2339 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 2340 in this file so its inclusion is removed. Including stdio.h 2341 sometimes incurs an INT32 typedef conflict between MinGW's 2342 basetsd.h and libjpeg's jmorecfg.h. 2343 23442004-10-15 Andrey Kiselev <[email protected]> 2345 2346 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 2347 23482004-10-13 Bob Friesenhahn <[email protected]> 2349 2350 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 2351 conflict noticed under MinGW. 2352 * ltmain.sh: Fix for MinGW compilation. 2353 23542004-10-13 Frank Warmerdam <[email protected]> 2355 2356 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 2357 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 2358 23592004-10-12 Andrey Kiselev <[email protected]> 2360 2361 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 2362 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 2363 properly (Dmitry V. Levin, Marcus Meissner). 2364 23652004-10-11 Andrey Kiselev <[email protected]> 2366 2367 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 2368 to TIFF_IFD. 2369 23702004-10-10 Andrey Kiselev <[email protected]> 2371 2372 * tools/bmp2tif.c: Check the space allocation results. 2373 23742004-10-09 Andrey Kiselev <[email protected]> 2375 2376 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 2377 of the TIFFDirectory structure with the 0 instead of -1 to avoid 2378 confusing integer overflows in TIFFTileRowSize() for striped images. 2379 2380 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 2381 by Ross A. Finlayson. 2382 2383 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 2384 2385 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 2386 23872004-10-08 Frank Warmerdam <[email protected]> 2388 2389 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 2390 of tif_fieldinfo. 2391 2392 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 2393 23942004-10-04 Bob Friesenhahn <[email protected]> 2395 2396 * contrib/iptcutil/README: Added the missing README which goes 2397 along with iptcutil. 2398 23992004-10-03 Andrey Kiselev <[email protected]> 2400 2401 * libtiff/tif_compress.c: Improved error reporting in 2402 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 2403 24042004-10-02 Andrey Kiselev <[email protected]> 2405 2406 * libtiff 3.7.0beta2 released. 2407 2408 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 2409 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 2410 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 2411 allocations and integer overflows (Dmitry V. Levin). 2412 2413 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 2414 24152004-10-01 Frank Warmerdam <[email protected]> 2416 2417 * libtiff/tif_open.c: added a more informative message if a BigTIFF 2418 file is opened. 2419 24202004-09-30 Frank Warmerdam <[email protected]> 2421 2422 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 2423 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 2424 in the Adobe XMP Specification. 2425 24262004-09-29 Andrey Kiselev <[email protected]> 2427 2428 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 2429 memset(). 2430 2431 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 2432 from Dmitry V. Levin to fix possible integer overflow problems. 2433 24342004-09-28 Andrey Kiselev <[email protected]> 2435 2436 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 2437 (Dmitry V. Levin). 2438 24392004-09-26 Andrey Kiselev <[email protected]> 2440 2441 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 2442 Optimize checking for the strip bounds. 2443 2444 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 2445 TIFFRasterScanlineSize() functions report zero in the case of integer 2446 overflow now. Properly handle this case in TIFFReadDirectory() 2447 (patches from Dmitry V. Levin). 2448 24492004-09-25 Andrey Kiselev <[email protected]> 2450 2451 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 2452 macro where appropriate. 2453 2454 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 2455 noted by Gennady Khokhorin. 2456 2457 * libtiff/tif_dirread.c: Always check the return values, returned 2458 by the _TIFFmalloc() (Dmitry V. Levin). 2459 2460 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 2461 functions (Dmitry V. Levin). 2462 2463 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 2464 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 2465 TIFFGrowStrips() (found by Dmitry V. Levin). 2466 24672004-09-24 Andrey Kiselev <[email protected]> 2468 2469 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 2470 to get the list of configured codecs. 2471 2472 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 2473 Dmitry V. Levin. 2474 24752004-09-23 Andrey Kiselev <[email protected]> 2476 2477 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 2478 possible integer overflow in CheckMalloc() function. 2479 24802004-09-22 Andrey Kiselev <[email protected]> 2481 2482 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 2483 of plain TIFFhowmany() where appropriate. 2484 24852004-09-21 Andrey Kiselev <[email protected]> 2486 2487 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 2488 24892004-09-19 Andrey Kiselev <[email protected]> 2490 2491 * libtiff 3.7.0beta released. 2492 2493 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 2494 overruns fixed, as noted by Chris Evans. 2495 24962004-09-14 Bob Friesenhahn <[email protected]> 2497 2498 * commit: Added a script to make it more convenient to commit 2499 updates. The CVS commit message is extracted from this ChangeLog 2500 file. 2501 25022004-09-14 Andrey Kiselev <[email protected]> 2503 2504 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 2505 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 2506 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 2507 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 2508 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 2509 tif_config.h.in, tiffiop.h}: 2510 Get rid of BSD data types (u_char, u_short, u_int, u_long). 2511 25122004-09-13 Bob Friesenhahn <[email protected]> 2513 2514 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 2515 specification. Reference libtiff bug tracking system to submit 2516 private tag additions. 2517 25182004-09-12 Bob Friesenhahn <[email protected]> 2519 2520 * tools/tiffgt.c: Include "tif_config.h". 2521 2522 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 2523 tiffgt. This results in the 'compile' script being added to the 2524 project. 2525 2526 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 2527 required to find OpenGL headers necessary to build tiffgt. Also 2528 ensure that the libtiff that we built is used rather than some other 2529 libtiff installed on the system. 2530 25312004-09-12 Andrey Kiselev <[email protected]> 2532 2533 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 2534 libraries. 2535 25362004-09-11 Bob Friesenhahn <[email protected]> 2537 2538 * configure.ac: Pass library configuration defines via 2539 tif_config.h rather than extending CPPFLAGS. Configure a 2540 libtiff/tiffconf.h in order to satisfy application requirements 2541 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 2542 this causes failure to build on systems which properly respect 2543 this request. 2544 2545 * libtiff/tiffconf.h.in: New file to act as the template for the 2546 configured tiffconf.h 2547 2548 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 2549 25502004-09-10 Frank Warmerdam <[email protected]> 2551 2552 * html/internals.html: Split off a discussion of adding new tags 2553 into addingtags.html. 2554 25552004-09-10 Andrey Kiselev <[email protected]> 2556 2557 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 2558 2559 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 2560 2561 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 2562 2563 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 2564 2565 * libtiff/tif_dirread.c: Don't reject to read tags of the 2566 SamplesPerPixel size when the tag count is greater than number of 2567 samples as per bug 2568 2569 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 2570 2571 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 2572 defining int8/uint8/... etc. types. As per bug 2573 2574 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 2575 25762004-09-09 Frank Warmerdam <[email protected]> 2577 2578 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 2579 to avoid compile warnings about getopt() and a few other things. 2580 25812004-09-02 Andrey Kiselev <[email protected]> 2582 2583 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 2584 assigning magic in TIFFFetchFloat(). 2585 25862004-09-01 Andrey Kiselev <[email protected]> 2587 2588 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 2589 to avoid requirement for tiffiop.h inclusion in some applications. See 2590 here 2591 2592 http://www.asmail.be/msg0054799560.html 2593 2594 for details. 2595 2596 * tools/fax2tiff.c: Use the new functions in the code. 2597 25982004-08-25 Andrey Kiselev <[email protected]> 2599 2600 * tools/tiff2pdf.c: Initialize arrays properly. 2601 2602 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 2603 properly initialize array in PSDataBW(). 2604 26052004-08-24 Andrey Kiselev <[email protected]> 2606 2607 * tools/tiff2pdf.c: More fixes for bug 2608 2609 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 2610 2611 from Ross Finlayson. 2612 26132004-08-23 Andrey Kiselev <[email protected]> 2614 2615 * tools/tiff2ps.c: Fixed problem with uninitialized values. 2616 2617 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 2618 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 2619 2620 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 2621 2622 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 2623 26242004-08-20 Andrey Kiselev <[email protected]> 2625 2626 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 2627 that the input file has compression, photometric interpretation, 2628 etcetra, tags or if not than a more descriptive error is returned. 2629 2630 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 2631 code, responsible for tag data type checking. 2632 26332004-08-19 Andrey Kiselev <[email protected]> 2634 2635 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 2636 variable as per bug 2637 2638 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 2639 26402004-08-16 Andrey Kiselev <[email protected]> 2641 2642 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 2643 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 2644 26452004-08-01 Andrey Kiselev <[email protected]> 2646 2647 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 2648 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 2649 26502004-07-24 Andrey Kiselev <[email protected]> 2651 2652 * libtiff/tif_lzw.c: LZW compression code is merged back from the 2653 separate package. All libtiff tools are updated to not advertise an 2654 abcence of LZW support. 2655 26562004-07-12 Andrey Kiselev <[email protected]> 2657 2658 * libtiff/tiffio.h: Revert thandle_t back to void* type. 2659 26602004-07-11 Andrey Kiselev <[email protected]> 2661 2662 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 2663 messages, as suggested by Bernd Herd. 2664 26652004-07-03 Andrey Kiselev <[email protected]> 2666 2667 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 2668 when setting custom tags by value. Reported by Eric Fieleke. 2669 26702004-06-14 Andrey Kiselev <[email protected]> 2671 2672 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 2673 26742004-06-08 Andrey Kiselev <[email protected]> 2675 2676 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 2677 into TIFFs. 2678 26792004-06-07 Andrey Kiselev <[email protected]> 2680 2681 * libtiff 3.7.0alpha released. 2682 26832004-06-06 Andrey Kiselev <[email protected]> 2684 2685 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 2686 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 2687 ones :-). 2688 2689 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 2690 problems in 64-bit environment). 2691 26922004-06-05 Andrey Kiselev <[email protected]> 2693 2694 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 2695 Tags can be supplied by the mnemonic name or number. 2696 2697 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 2698 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 2699 27002004-05-27 Andrey Kiselev <[email protected]> 2701 2702 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 2703 markers as per bug 2704 2705 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 2706 27072004-05-24 Andrey Kiselev <[email protected]> 2708 2709 * tools/tiffsplit.c: Don't forget to copy Photometric 2710 Interpretation tag. 2711 27122004-05-20 Andrey Kiselev <[email protected]> 2713 2714 * libtiff/{tif_open.c, tiffio.h}: New function added: 2715 TIFFIsBigEndian(). Function returns nonzero if given was file written 2716 in big-endian order. 2717 2718 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 2719 files. Now output files will be written using the same byte order 2720 flag as in the input image. See 2721 2722 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 2723 2724 for details. 2725 27262004-05-19 Frank Warmerdam <[email protected]> 2727 2728 * libtiff/tif_print.c: added (untested) support for printing 2729 SSHORT, SLONG and SRATIONAL fields. 2730 2731 * tools/tiffcp.c: close output file on normal exit. 2732 27332004-05-17 Andrey Kiselev <[email protected]> 2734 2735 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 2736 if compression type mismatches. See 2737 2738 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 2739 27402004-04-30 Andrey Kiselev <[email protected]> 2741 2742 * libtiff/tif_strip.c: Never return 0 from the 2743 TIFFNumberOfStrips(). 2744 27452004-04-29 Andrey Kiselev <[email protected]> 2746 2747 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 2748 store single SampleFormat value for multisampled images. See 2749 2750 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 2751 27522004-04-25 Andrey Kiselev <[email protected]> 2753 2754 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 2755 int16 and int32 types to avoid complains on some compilers. Details at 2756 2757 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2758 27592004-04-20 Andrey Kiselev <[email protected]> 2760 2761 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 2762 2763 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 2764 27652004-04-14 Andrey Kiselev <[email protected]> 2766 2767 * libtiff/tif_write.c: Allow in-place updating of the compressed 2768 images (don't work properly with all codecs). For details see GDAL bug 2769 2770 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 2771 27722004-04-06 Andrey Kiselev <[email protected]> 2773 2774 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 2775 in the Intergarph JPEG compressed TIFF images as per bug: 2776 2777 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 2778 27792004-04-04 Frank Warmerdam <[email protected]> 2780 2781 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 2782 via bad2. 2783 27842004-03-26 Andrey Kiselev <[email protected]> 2785 2786 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 2787 JPEG compression of grayscale images. 2788 2789 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 2790 present in the input image. 2791 27922004-03-19 Andrey Kiselev <[email protected]> 2793 2794 * {many}: The first attempt to switch to autotools. 2795 27962004-03-03 Andrey Kiselev <[email protected]> 2797 2798 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 2799 TIFFClientOpen() when the appropriate client functions was not 2800 supplied by user. 2801 28022004-03-02 Frank Warmerdam <[email protected]> 2803 2804 * tools/ycbcr.c: fixed main() declaration as per: 2805 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 2806 28072004-02-26 Andrey Kiselev <[email protected]> 2808 2809 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 2810 images. Reported by Artem Mirolubov. 2811 2812 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 2813 tag type in TIFFFetchNormalTag() as per bug 2814 2815 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 2816 28172004-02-17 Frank Warmerdam <[email protected]> 2818 2819 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 2820 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 2821 28222004-02-05 Andrey Kiselev <[email protected]> 2823 2824 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 2825 bug 2826 2827 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 2828 2829 But we need more work on fax codec to support update mode. 2830 28312004-01-30 Frank Warmerdam <[email protected]> 2832 2833 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 2834 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 2835 Scott Reynolds. 2836 28372004-01-29 Andrey Kiselev <[email protected]> 2838 2839 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 2840 and TIFFTAG_INDEXED as per bug 2841 2842 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 2843 2844 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 2845 NULL before proceeding further as per bug 2846 2847 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 2848 2849 Check results, returned by the TIFFFdOpen() before returning and close 2850 file if TIFFFdOpen() failed as per bug 2851 2852 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 2853 2854 * libtiff/tif_open.c: More fixes for 2855 2856 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 2857 28582004-01-28 Andrey Kiselev <[email protected]> 2859 2860 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 2861 TIFFCleanup() from the TIFFClose() in order to fix the bug 2862 2863 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 2864 2865 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 2866 InkNames tag as per bug 2867 2868 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 2869 2870 Memory leak fixed. 2871 28722004-01-21 Frank Warmerdam <[email protected]> 2873 2874 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 2875 are field_passcount=TRUE properly. Arguably anonymous custom tags 2876 should be declared as passcount=FALSE, but I don't want to change 2877 that without a careful review. 2878 28792004-01-20 Andrey Kiselev <[email protected]> 2880 2881 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 2882 stripped image in TIFFWriteBufferSetup(). As per bug 2883 2884 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 2885 28862004-01-11 Andrey Kiselev <[email protected]> 2887 2888 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 2889 patch from Gerben Koopmans. 2890 2891 * libtiff/tif_dirread.c: Check field_passcount value before setting 2892 the value of undefined type, patch from Gerben Koopmans. 2893 28942004-01-02 Andrey Kiselev <[email protected]> 2895 2896 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 2897 non-RGB images. 2898 28992003-12-31 Andrey Kiselev <[email protected]> 2900 2901 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 2902 pointer passed. Patch supplied by Larry Grill. 2903 2904 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 2905 suggested by Jeremy C. Reed. 2906 29072003-12-26 Andrey Kiselev <[email protected]> 2908 2909 * libtiff 3.6.1 released. 2910 29112003-12-24 Andrey Kiselev <[email protected]> 2912 2913 * config.guess, config.sub: Updated from the recent upstream. 2914 29152003-12-22 Andrey Kiselev <[email protected]> 2916 2917 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 2918 More cleanups in color conversion interface, added appropriate manual 2919 page. 2920 29212003-12-19 Andrey Kiselev <[email protected]> 2922 2923 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 2924 per bug 2925 2926 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 2927 2928 * tools/tiff2ps.c: Added support for alpha channel. Fixes 2929 2930 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 2931 2932 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 2933 Interface for Lab->RGB color conversion is finally cleaned up. 2934 Added support for ReferenceBlackWhite tag handling when converted from 2935 YCbCr color space. The latter closes 2936 2937 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 2938 29392003-12-07 Andrey Kiselev <[email protected]> 2940 2941 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 2942 2943 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 2944 library. 2945 29462003-12-06 Andrey Kiselev <[email protected]> 2947 2948 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 2949 file and properly use it for CIE Lab->RGB transform. 2950 29512003-12-04 Andrey Kiselev <[email protected]> 2952 2953 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 2954 conversion routines now in the tif_color.c module. New function 2955 TIFFYCbCrtoRGB() available in TIFF API. 2956 2957 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 2958 29592003-12-03 Andrey Kiselev <[email protected]> 2960 2961 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 2962 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 2963 module. 2964 2965 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 2966 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 2967 Finally resolved problems with orientation handling. TIFFRGBAImage 2968 interface now properly supports all possible orientations, i.e. images 2969 will be flipped both in horizontal and vertical directions if 2970 required. 'Known bugs' section now removed from the appropriate manual 2971 pages. Closed bug entry: 2972 2973 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 2974 29752003-12-02 Andrey Kiselev <[email protected]> 2976 2977 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 2978 function calls as per bug 2979 2980 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 2981 29822003-11-28 Ross Finlayson <[email protected]> 2983 2984 * tools/tiff2pdf.c: Some bugs fixed. 2985 29862003-11-27 Andrey Kiselev <[email protected]> 2987 2988 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 2989 reported by Antonio Scuri. 2990 2991 * man/tiff2pdf.1: Few improvements in page layout. 2992 2993 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 2994 Added support fpr tiff2pdf manual page. 2995 29962003-11-26 Ross Finlayson <[email protected]> 2997 2998 * /man/tiff2pdf.1: File added to repository. 2999 30002003-11-26 Andrey Kiselev <[email protected]> 3001 3002 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 3003 Added support fpr tiff2pdf utility. 3004 30052003-11-25 Ross Finlayson <[email protected]> 3006 3007 * /tools/tiff2pdf.c: File added to repository. 3008 30092003-11-22 Andrey Kiselev <[email protected]> 3010 3011 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 3012 30132003-11-21 Andrey Kiselev <[email protected]> 3014 3015 * /tools/raw2tiff.c: #include <getopt.h> removed. 3016 3017 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 3018 sgigt utility removed and replaced with the completely rewritten 3019 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 3020 there is a lot of things to improve. 3021 3022 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 3023 extract the fields from the OJPEG files. Patch supplied by Ross 3024 Finlayson. 3025 3026 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 3027 Added new function TIFFIsCODECConfigured(), suggested by Ross 3028 Finlayson. 3029 30302003-11-18 Andrey Kiselev <[email protected]> 3031 3032 * libtiff/tif_dirinfo.c: Implemented binary search in 3033 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 3034 3035 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 3036 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 3037 30382003-11-17 Frank Warmerdam <[email protected]> 3039 3040 * tif_dirread.c: do not mark all anonymously defined tags to be 3041 IGNOREd. 3042 30432003-11-17 Andrey Kiselev <[email protected]> 3044 3045 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 3046 TIFFDataWidth() function insted of tiffDataWidth array. 3047 30482003-11-16 Andrey Kiselev <[email protected]> 3049 3050 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 3051 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 3052 30532003-11-15 Frank Warmerdam <[email protected]> 3054 3055 * Makefile.in: fixed missing backslash for tif_color.c in list. 3056 30572003-11-13 Andrey Kiselev <[email protected]> 3058 3059 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 3060 New color space conversion code: CIE L*a*b* 1976 images now supported 3061 by the TIFFRGBAImage interface. All introduced routines go to new 3062 module tif_color.c. Eventually all color conversion functions should 3063 be moved there. 3064 30652003-11-12 Andrey Kiselev <[email protected]> 3066 3067 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 3068 with the reverse byte order (it is reported by the magic header 3069 field). Problem reported by Andreas Wiesmann. 3070 3071 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 3072 calculation function. Guessing mechanics now documented in manual page. 3073 30742003-11-11 Andrey Kiselev <[email protected]> 3075 3076 * tools/raw2tiff.c: Implemented image size guessing using 3077 correlation coefficient calculation between two neighbour lines. 3078 30792003-11-09 Frank Warmerdam <[email protected]> 3080 3081 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 3082 planarconfig_contig case in TIFFComputeTile(). 3083 3084 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 3085 30862003-11-09 Andrey Kiselev <[email protected]> 3087 3088 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 3089 30902003-11-07 Andrey Kiselev <[email protected]> 3091 3092 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 3093 Added TIFFRawStripSize() function as suggested by Chris Hanson. 3094 30952003-11-03 Andrey Kiselev <[email protected]> 3096 3097 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 3098 per bug 3099 3100 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 3101 31022003-10-29 Andrey Kiselev <[email protected]> 3103 3104 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 3105 3106 * html/build.html: Added note about GNU make requirement. 3107 31082003-10-25 Andrey Kiselev <[email protected]> 3109 3110 * Makefile.in: Fixes in using MAKEFLAGS as per bug 3111 3112 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 3113 3114 * port/install.sh.in: Option -p added to the mkdir command to create 3115 all directory tree structure before installing. 3116 31172003-10-18 Andrey Kiselev <[email protected]> 3118 3119 * /tools/tiff2ps.c: #include <strings.h> replaced with the 3120 #include <string.h>. 3121 31222003-10-16 Andrey Kiselev <[email protected]> 3123 3124 * Makefile.in: Add an absolute path to the test_pics.sh call. 3125 31262003-10-12 Andrey Kiselev <[email protected]> 3127 3128 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 3129 typedefs. 3130 31312003-10-09 Andrey Kiselev <[email protected]> 3132 3133 * configure, libtiff/{Makefile.in, mkversion.c}: 3134 Relative buildings fixed. 3135 3136 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 3137 rule. 3138 31392003-10-07 Andrey Kiselev <[email protected]> 3140 3141 * Makefile.in: Added missed v3.6.0.html. 3142 3143 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 3144 ORIENTATION_BOTLEFT. 3145 31462003-10-04 Andrey Kiselev <[email protected]> 3147 3148 * 3.6.0 final release. 3149 31502003-10-03 Andrey Kiselev <[email protected]> 3151 3152 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 3153 function TIFFReadRGBAImageOriented() implemented to retrieve raster 3154 array with user-specified origin position as suggested by Jason Frank. 3155 See 3156 3157 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 3158 3159 for details. 3160 3161 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 3162 instead of TIFFReadRGBAImage(). 3163 3164 * tools/tiff2ps.c: Fixed possible endless loop as per bug 3165 3166 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 3167 31682003-09-30 Andrey Kiselev <[email protected]> 3169 3170 * libtiff/tif_dirread.c: Check field counter against number of fields 3171 in order to fix 3172 3173 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 3174 3175 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 3176 3177 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 3178 31792003-09-25 Andrey Kiselev <[email protected]> 3180 3181 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 3182 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 3183 3184 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 3185 31862003-09-23 Andrey Kiselev <[email protected]> 3187 3188 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 3189 3190 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 3191 31922003-08-21 Andrey Kiselev <[email protected]> 3193 3194 * tools/tiffmedian.c: int declaration replaced with the uint32 to 3195 support large images as per bug 3196 3197 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 3198 31992003-08-12 Andrey Kiselev <[email protected]> 3200 3201 * libtiff/Makefile.in: Fixed problem with building in different 3202 directory. 3203 3204 * tools/tiff2ps.c: Added missing #include <strings.h>. 3205 3206 * libtiff/tif_dirwrite.c: More fixes for custom tags code 3207 from Ashley Dreier. 3208 32092003-08-07 Andrey Kiselev <[email protected]> 3210 3211 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 3212 Patch submitted by Balatoni Denes (with corrections from Tom 3213 Kacvinsky). 3214 3215 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 3216 being used. Reported by Tom Kacvinsky. 3217 3218 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 3219 reported by Ashley Dreier. 3220 3221 * libtiff/tif_print.c: Fixed problem with float tags reading, support 3222 for printing RATIONAL and BYTE tags added. 3223 32242003-08-05 Andrey Kiselev <[email protected]> 3225 3226 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 3227 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 3228 problems with predictor initialization. Remove O_RDONLY check during 3229 state block allocation to be able open LZW compressed files in update 3230 mode. 3231 3232 Problem exist for libtiff version of the tif_lzw.c module. One from 3233 lzw-compression-kit hasn't such troubles. 3234 32352003-08-04 Frank Warmerdam <[email protected]> 3236 3237 * libtiff/tif_write.c: modified tif_write.c so that the various 3238 encoded write functions use tif_postdecode() to apply byte order 3239 swapping (swab) to the application passed data buffer if the same 3240 would be done when reading. This allows us to write pixel data with 3241 more than 8 bits per sample to existing files of a non-native byte 3242 order. One side effect of this change is the applications buffer 3243 itself is altered in this case by the act of writing. 3244 3245 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 3246 32472003-07-25 Frank Warmerdam <[email protected]> 3248 3249 * libtiff/tif_open.c: avoid signed/unsigned casting warning 3250 initializing typemask as per patch from J.A. Strother. 3251 3252 * tools/tiffcp.c: fixed signed/unsigned casting warning. 3253 3254 * libtiff/tif_print.c: dos2unix conversion. 3255 3256 * tools/tiffsplit.c: increased the maximum number of pages that 3257 can be split. Patch provided by Andrew J. Montalenti. 3258 32592003-07-11 Andrey Kiselev <[email protected]> 3260 3261 * tools/raw2tiff.c: Added option `-p' to explicitly select color 3262 space of input image data. Closes 3263 3264 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 3265 32662003-07-08 Frank Warmerdam <[email protected]> 3267 3268 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 3269 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 3270 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 3271 avoid casting warning at /W4. 3272 32732003-07-03 Andrey Kiselev <[email protected]> 3274 3275 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 3276 32772003-06-30 Andrey Kiselev <[email protected]> 3278 3279 * libtiff/tif_pixarlog.c: Unused variables removed. 3280 3281 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 3282 EstimateStripByteCounts() as per bug 3283 3284 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 3285 3286 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 3287 64-bit architectures as per bug 3288 3289 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 3290 3291 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 3292 unknown data type. 3293 32942003-06-19 Frank Warmerdam <[email protected]> 3295 3296 * libtiff/tif_print.c: fixed some serious bugs when printing 3297 custom tags ... almost certain to crash. 3298 3299 * libtiff/tif_dirread.c: Don't ignore custom fields that are 3300 autodefined. Not sure how this got to be like this. 3301 33022003-06-18 Andrey Kiselev <[email protected]> 3303 3304 * 3.6.0 Beta2 released. 3305 3306 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 3307 comparing as per bug 3308 3309 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 3310 3311 `-z' option now can be used to set the number of reported different 3312 bytes. 3313 33142003-06-09 Andrey Kiselev <[email protected]> 3315 3316 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 3317 to -r option to get the entire image as one strip. See 3318 3319 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 3320 3321 for details. 3322 33232003-06-04 Andrey Kiselev <[email protected]> 3324 3325 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 3326 values as per bug 3327 3328 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 3329 33302003-05-27 Frank Warmerdam <[email protected]> 3331 3332 * libtiff/tif_jpeg.c: modified segment_height calculation to always 3333 be a full height tile for tiled images. Also changed error to just 3334 be a warning. 3335 33362003-05-25 Andrey Kiselev <[email protected]> 3337 3338 * tools/fax2tiff.c: Page numbering fixed, as per bug 3339 3340 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 3341 33422003-05-20 Andrey Kiselev <[email protected]> 3343 3344 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 3345 configure, Makefile.in: Switched back to the old behaviour. Likely 3346 better solution should be found for OJPEG support. 3347 33482003-05-11 Andrey Kiselev <[email protected]> 3349 3350 * libtiff/mkversion.c: Fixed problem with wrong string size when 3351 reading RELEASE-DATE file. 3352 33532003-05-07 Andrey Kiselev <[email protected]> 3354 3355 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 3356 index was out of range. 3357 33582003-05-06 Andrey Kiselev <[email protected]> 3359 3360 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 3361 configure, Makefile.in: Improved libtiff compilation with OJPEG 3362 support. Now no need for patching IJG JPEG library, hack requred by 3363 libtiff will be compiled and used in-place. Implemented with 3364 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 3365 3366 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 3367 TIFFVGetFieldDefaulted() function. 3368 33692003-05-05 Andrey Kiselev <[email protected]> 3370 3371 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 3372 comments. 3373 3374 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 3375 was not copied from source image. 3376 3377 * libtiff/getimage.c: Workaround for some images without correct 3378 info about alpha channel as per bug 3379 3380 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 3381 33822003-04-29 Andrey Kiselev <[email protected]> 3383 3384 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 3385 It basically allows one to use the /flateDecode filter for ZIP 3386 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 3387 3388 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 3389 3390 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 3391 as per bug 3392 3393 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 3394 33952003-04-17 Andrey Kiselev <[email protected]> 3396 3397 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 3398 due to problems with multidirectory images. Quality of error messages 3399 improved. 3400 34012003-04-16 Andrey Kiselev <[email protected]> 3402 3403 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 3404 encoded images. See bug entries 3405 3406 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 3407 3408 and 3409 3410 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 3411 3412 * libtiff/tif_dirread.c: Additional check for StripByteCounts 3413 correctness. Fixes 3414 3415 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 3416 34172003-03-12 Andrey Kiselev <[email protected]> 3418 3419 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 3420 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 3421 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 3422 tiffmedian.c}: Added library version reporting facility to all tools. 3423 34242003-03-06 Frank Warmerdam <[email protected]> 3425 3426 * port/install.sh.in: Fixed problems with install producing paths 3427 like ///usr/local/lib on cygwin. 3428 34292003-02-27 Andrey Kiselev <[email protected]> 3430 3431 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 3432 raw input page. Patch supplied by Julien Gaulmin. See 3433 3434 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 3435 3436 for details. 3437 34382003-02-26 Frank Warmerdam <[email protected]> 3439 3440 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 3441 responsible for byte swapping complex image data. 3442 3443 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 3444 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 3445 34462003-02-07 Andrey Kiselev <[email protected]> 3447 3448 * tools/ppm2tiff.c: Fixed problem with too many arguments. 3449 34502003-02-04 Andrey Kiselev <[email protected]> 3451 3452 * tools/raw2tiff.c: Memory leak fixed. 3453 34542003-02-03 Andrey Kiselev <[email protected]> 3455 3456 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 3457 (thanks, Julien!). More switches for fax2tiff tool for better control 3458 of input and output. Details at 3459 3460 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 3461 34622003-02-03 Frank Warmerdam <[email protected]> 3463 3464 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 3465 library so that we can check if there is already any tile/strip data 3466 before deciding between creating a compressor or a decompressor. 3467 34682003-01-31 Frank Warmerdam <[email protected]> 3469 3470 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 3471 a pre-existing compressed image. That is, image writing to 3472 pre-existing compressed images is not allowed. 3473 3474 * libtiff/tif_open.c: Removed error if opening a compressed file 3475 in update mode. 3476 3477 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 3478 34792003-01-31 Andrey Kiselev <[email protected]> 3480 3481 * config.guess, config.sub: Updated to recent upstream versions. 3482 34832003-01-15 Frank Warmerdam <[email protected]> 3484 3485 * cut 3.6.0 Beta release. 3486 34872002-12-20 Andrey Kiselev <[email protected]> 3488 3489 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 3490 in wrong way as per bug 3491 3492 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 3493 34942002-12-17 Frank Warmerdam <[email protected]> 3495 3496 * libtiff/tif_dirread.c: Allow wrong sized arrays in 3497 TIFFFetchStripThing(). 3498 3499 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 3500 35012002-12-02 Frank Warmerdam <[email protected]> 3502 3503 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 3504 Was using realloc even first time. Fix by Igor Venevtsev. 3505 35062002-11-30 Frank Warmerdam <[email protected]> 3507 3508 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 3509 field value. 3510 3511 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 3512 tags in TIFFVGetField() ... added missing break. 3513 35142002-10-14 Frank Warmerdam <[email protected]> 3515 3516 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 3517 the scanline buffer long enough when writing rgb triplets. 3518 The scanline needs to be 3 X the number of dots or else it will 3519 contain an incomplete triplet and programs that try to separate 3520 the eps by redefining the colorimage operator will get messed up. 3521 Patch supplied by William Bader. 3522 3523 * Makefile.in: added tif_extension.c to file list as per 3524 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 3525 35262002-10-11 Andrey Kiselev <[email protected]> 3527 3528 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 3529 large files (>2GiB) supporting. New option in the config.site: 3530 LARGEFILE="yes". Should be enough for I/O of the large files. 3531 35322002-10-10 Frank Warmerdam <[email protected]> 3533 3534 * libtiff/html/v3.6.0.html: new release notes. 3535 3536 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 3537 link for Andrey. Pointer to v3.6.0.html. 3538 3539 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 3540 35412002-10-07 Andrey Kiselev <[email protected]> 3542 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 3543 (thanks, Sebastian!). New switches: 3544 -b # for a bottom margin of # inches 3545 -c center image 3546 -l # for a left margin of # inches 3547 -r rotate the image by 180 degrees 3548 New features merged with code for shrinking/overlapping. 3549 Previously added -c and -n switches (for overriding PS units) renamed 3550 in -x and -y respectively. 3551 3552 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 3553 3554 * html/man/*.html: Updated from actual manual pages. 3555 35562002-10-06 Frank Warmerdam <[email protected]> 3557 3558 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 3559 size on windows. Use #define boolean hack. 3560 3561 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 3562 3563 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 3564 USING_VISUALAGE is defined. 3565 3566 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3567 35682002-10-03 Frank Warmerdam <[email protected]> 3569 3570 * libtiff/tiff.h: added COMPRESSION_JP2000. 3571 35722002-10-02 Andrey Kiselev <[email protected]> 3573 3574 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 3575 by the TIFFFetchByteArray() function. Should finally resolve 3576 3577 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 3578 3579 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 3580 3581 * html/Makefile.in: New targets added: html and groffhtml for 3582 producing HTML representations of the manual pages automatically. 3583 html target uses man2html tool, groffhtml uses groff tool. 3584 35852002-09-29 Frank Warmerdam <[email protected]> 3586 3587 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 3588 from John H. DuBois III. 3589 35902002-09-15 Andrey Kiselev <[email protected]> 3591 3592 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 3593 manual page for raw2tiff(1) tool. 3594 35952002-09-12 Andrey Kiselev <[email protected]> 3596 3597 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 3598 the tiffio.h header file. 3599 3600 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 3601 manual page for TIFFDataWidth() function 3602 36032002-09-08 Frank Warmerdam <[email protected]> 3604 3605 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 3606 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 3607 3608 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 3609 since we are unable to properly include the amount to skip. 3610 3611 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 3612 36132002-09-02 Andrey Kiselev <[email protected]> 3614 3615 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 3616 in TIFFFetchByteArray(). Problem described at 3617 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 3618 36192002-08-22 Andrey Kiselev <[email protected]> 3620 3621 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 3622 in _TIFFSetupFieldInfo() function. 3623 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 3624 3625 * /libtiff/tif_lzw.c: Additional consistency checking added in 3626 LZWDecode() and LZWDecodeCompat(). 3627 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 3628 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 3629 3630 * /libtiff/tif_lzw.c: 3631 Added check for valid code lengths in LZWDecode() and 3632 LZWDecodeCompat(). Fixes 3633 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 3634 36352002-08-16 Andrey Kiselev <[email protected]> 3636 3637 * /libtiff/{Makefile.vc, libtiff.def}: 3638 Missed declarations added. 3639 36402002-08-15 Frank Warmerdam <[email protected]> 3641 3642 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 3643 return code from the underlying pick function. 3644 3645 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 3646 3647 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 3648 with FIELD_CUSTOM as mentioned in bug 169. 3649 3650 * tif_close.c: added logic to free dynamically created anonymous 3651 field definitions to correct a small memory leak. 3652 3653 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 3654 36552002-08-10 Andrey Kiselev <[email protected]> 3656 3657 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 3658 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 3659 36602002-07-31 Frank Warmerdam <[email protected]> 3661 3662 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 3663 JPEGDecode() as per bugzilla bug (issue 1): 3664 3665 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 3666 3667 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 3668 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 3669 present in the tiff tags. 3670 3671 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 3672 3673 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 3674 TIFFWriteScanline() now set tif_row explicitly in case the codec has 3675 fooled with the value. 3676 3677 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 3678 36792002-06-22 Andrey Kiselev <[email protected]> 3680 3681 * /tools/tiff2ps.c: Added workaround for some software that may crash 3682 when last strip of image contains fewer number of scanlines than 3683 specified by the `/Height' variable. See 3684 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 3685 for explanation. 3686 36872002-06-21 Andrey Kiselev <[email protected]> 3688 3689 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 3690 splitting long images in several pages. See 3691 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 3692 Patch granted by John Williams <[email protected]>. 3693 36942002-06-11 Frank Warmerdam <[email protected]> 3695 3696 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 3697 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 3698 This one is described in: 3699 3700 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 3701 3702 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 3703 3704 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 3705 37062002-05-10 Andrey Kiselev <[email protected]> 3707 3708 * tools/tiff2ps: New commandline switches to override resolution 3709 units obtained from the input file. Closes 3710 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 3711 37122002-04-26 Andrey Kiselev <[email protected]> 3713 3714 * libtiff/libtiff.def: Added missed declaration. 3715 37162002-04-22 Andrey Kiselev <[email protected]> 3717 3718 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 3719 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 3720 37212002-04-20 Andrey Kiselev <[email protected]> 3722 3723 * libtiff/tif_open.c: Pointers to custom procedures 3724 in TIFFClientOpen() are checked to be not NULL-pointers. 3725 37262002-04-18 Andrey Kiselev <[email protected]> 3727 3728 * libtiff/libtiff.def: Added missed declarations. 3729 3730 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 3731 37322002-04-16 Andrey Kiselev <[email protected]> 3733 3734 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 3735 Should finally close 3736 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 3737 37382002-04-10 Andrey Kiselev <[email protected]> 3739 3740 * tools/tiff2ps: Division by zero fixed. 3741 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 3742 37432002-04-09 Andrey Kiselev <[email protected]> 3744 3745 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 3746 TIFFCheckpointDirectory() routine added. 3747 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 3748 3749 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 3750 for the new function. 3751 37522002-04-08 Andrey Kiselev <[email protected]> 3753 3754 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 3755 additional members tif->tif_decodestatus and tif->tif_encodestatus 3756 for correct handling of unconfigured codecs (we should not try to read 3757 data or to define data size without correct codecs). 3758 3759 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 3760 changed. Now it has used tif->tif_decodestatus and 3761 tif->tif_encodestatus. 3762 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 3763 case of __cvs_8.tif test image). 3764 3765 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 3766 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 3767 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 3768 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 3769 37702002-04-04 Andrey Kiselev <[email protected]> 3771 3772 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 3773 replaced by warnings. Now libtiff should read corrupted LZW-compressed 3774 files by skipping bad strips. 3775 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 3776 37772002-04-03 Frank Warmerdam <[email protected]> 3778 3779 * libtiff/tif_dirwrite.c: Removed some dead code. 3780 3781 * libtiff/*: Cleanup some warnings. 3782 3783 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 3784 for variable length FIELD_CUSTOM values. Was int * but should be 3785 u_short *. 3786 37872002-04-01 Andrey Kiselev <[email protected]> 3788 3789 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 3790 utility (at cpStripToTile routine). 3791 37922002-03-27 Frank Warmerdam <[email protected]> 3793 3794 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 3795 3796 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 3797 3798 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 3799 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 3800 3801 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 3802 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 3803 38042002-03-26 Dwight Kelly <[email protected]> 3805 3806 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 3807 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 3808 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 3809 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 3810 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 3811 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 3812 38132002-03-26 Andrey Kiselev <[email protected]> 3814 3815 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 3816 now also uses TIFFRGBAImageOK before reading. This is additional fix 3817 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 3818 38192002-03-25 Andrey Kiselev <[email protected]> 3820 3821 * libtiff/: tif_getimage.c: Additional check for supported 3822 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 3823 TIFFRGBAImageOK before reading. 3824 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 3825 38262002-03-15 Andrey Kiselev <[email protected]> 3827 3828 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 3829 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 3830 TIFFDataType sizes instead of working with tiffDataWidth array 3831 directly. Should prevent out-of-borders bugs in case of unknown or 3832 broken data types. EstimateStripByteCounts routine modified, so it 3833 won't work when tags with uknown sizes founded. 3834 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 3835 38362002-03-13 Andrey Kiselev <[email protected]> 3837 3838 * libtiff/tif_getimage.c: Added support for correct handling 3839 `Orientation' tag in gtTileContig. Should be added in other gt* 3840 functions as well, but I have not images for testing yet. Partially 3841 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 3842 38432002-03-10 Andrey Kiselev <[email protected]> 3844 3845 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 3846 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 3847 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 3848 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 3849 38502002-03-08 Andrey Kiselev <[email protected]> 3851 3852 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 3853 be stripped when installing, utility binaries will do. Closes 3854 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 3855 38562002-02-28 Frank Warmerdam <[email protected]> 3857 3858 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 3859 3860 * man/libtiff.3t: added copyright tag info. 3861 38622002-02-11 Frank Warmerdam <[email protected]> 3863 3864 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 3865 3866 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 3867 3868 * man/Makefile.in: Patch DESTDIR handling 3869 3870 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 3871 3872 * configure: OpenBSD changes for Sparc64 and DSO version. 3873 3874 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 3875 38762002-02-05 Frank Warmerdam <[email protected]> 3877 3878 * config.site/configure: added support for OJPEG=yes option to enable 3879 OJPEG support from config.site. 3880 38812002-01-27 Frank Warmerdam <[email protected]> 3882 3883 * html/document.html: fixed links for TIFf 6 docs. 3884 38852002-01-18 Frank Warmerdam <[email protected]> 3886 3887 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 3888 3889 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 3890 decodestrip function returns anything not greater than zero as per 3891 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 3892 3893 * configure: Modify CheckForBigEndian so it can work in a cross 3894 compiled situation. 3895 38962002-01-16 Frank Warmerdam <[email protected]> 3897 3898 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 3899 3900 * tools/tiffset.c: fix bug in error reporting. 3901 3902 * tools/tiffcp.c: fix several warnings that show up with -Wall. 3903 39042002-01-04 Frank Warmerdam <[email protected]> 3905 3906 * libtiff/tif_jpeg.c: fixed computation of segment_width for 3907 tiles files to avoid error about it not matching the 3908 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 3909 size.") for ITIFF files. Apparently the problem was incorporated since 3910 3.5.5, presumably during the OJPEG/JPEG work recently. 3911 39122001-12-15 Frank Warmerdam <[email protected]> 3913 3914 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 3915 3916 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 3917 3918 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 3919 (defined in tiffconf.h - 1 by default) then the RGBA interface 3920 will assume that a fourth extra sample is ASSOCALPHA if the 3921 EXTRASAMPLE value isn't set for it. This changes the behaviour of 3922 the library, but makes it work better with RGBA files produced by 3923 lots of applications that don't mark the alpha values properly. 3924 3925 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 3926 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 3927 39282001-12-12 Frank Warmerdam <[email protected]> 3929 3930 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 3931 override those from tiff directory. This makes this work with 3932 ImageGear generated files. 3933 39342001-12-07 Frank Warmerdam <[email protected]> 3935 3936 * html/Makefile.in: added missing images per bug 92. 3937 3938 * port/Makefile.in: fixed clean target per bug 92. 3939 39402001-11-28 Frank Warmerdam <[email protected]> 3941 3942 * Reissue 3.5.7 release. 3943 3944 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 3945 YYYYMMDD so that it is increasing over time. 3946 3947 * Makefile.in: Ensure that tiffvers.h is regenerated in the 3948 make release target. 3949 3950 * Makefile.in: added libtiff/tiffvers.h to the release file list. 3951 39522001-11-23 Frank Warmerdam <[email protected]> 3953 3954 * added html/v3.5.7.html, updated html/index.html. 3955 3956 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 3957 39582001-11-15 Frank Warmerdam <[email protected]> 3959 3960 * configure: fixed test for -lm. 3961 39622001-11-02 Frank Warmerdam <[email protected]> 3963 3964 * Added PHOTOMETRIC_ITULAB as per bug 90. 3965 3966 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 3967 39682001-10-10 Frank Warmerdam <[email protected]> 3969 3970 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 3971 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 3972 in keeping with TIFF 6.0 standard in tiff.h 3973 3974 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 3975 39762001-09-26 Frank Warmerdam <[email protected]> 3977 3978 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 3979 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 3980 39812001-09-24 Frank Warmerdam <[email protected]> 3982 3983 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 3984 3985 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 3986 3987 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 3988 error about LZW not being available. 3989 3990 * libtiff/tif_dir.c: propagate failure to initialize compression 3991 back from TIFFSetField() as an error status, so applications can 3992 detect failure. 3993 3994 * libtiff/tif_dir.c: removed the auto replacement of 3995 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 3996 3997 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 3998 from CVS as they are all supposed to be auto-generated by configure. 3999 40002001-09-22 Frank Warmerdam <[email protected]> 4001 4002 * libtiff/tif_ojpeg.c: new update from Scott. 4003 40042001-09-09 Frank Warmerdam <[email protected]> 4005 4006 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 4007 always use the "safe" version, even if there is a very slight 4008 cost in performance. 4009 4010 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 4011 4012 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 4013 in two places. 4014 4015 * libtiff/tif_getimage.c: Fixed problem with reading strips or 4016 tiles that don't start on a tile boundary. Fix contributed by 4017 Josep Vallverdu (from HP), and further described in bug 47. 4018 4019 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 4020 4021 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 4022 4023 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 4024 40252001-09-06 Frank Warmerdam <[email protected]> 4026 4027 * libtiff/tif_packbits.c: fixed memory overrun error. 4028 4029 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 4030 40312001-08-31 Frank Warmerdam <[email protected]> 4032 4033 * libtiff/tif_getimage.c: relax handling of contig case where 4034 there are extra samples that are supposed to be ignored. This 4035 should now work for 8bit greyscale or palletted images. 4036 4037 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 4038 40392001-08-28 Frank Warmerdam <[email protected]> 4040 4041 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 4042 images with more than four samples per pixel. See: 4043 4044 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 4045 40462001-08-10 Frank Warmerdam <[email protected]> 4047 4048 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 4049 in TIFFReadRGBATile() to avoid issues in cases of overlapping 4050 buffers. See Bug 69 in Bugzilla. 4051 4052 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 4053 4054 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 4055 40562001-08-09 Frank Warmerdam <[email protected]> 4057 4058 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 4059 when checking for 64 bit architectures as per bugzilla bug 67. 4060 40612001-07-27 Frank Warmerdam <[email protected]> 4062 4063 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 4064 bug 66. 4065 40662001-07-20 Frank Warmerdam <[email protected]> 4067 4068 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 4069 has been included. 4070 40712001-07-19 Frank Warmerdam <[email protected]> 4072 4073 * libtiff/tif_open.c: Seek back to zero after failed read, 4074 before writing header. 4075 40762001-07-18 Frank Warmerdam <[email protected]> 4077 4078 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 4079 much better. Now depends on having patched libjpeg as per 4080 patch in contrib/ojpeg/*. 4081 40822001-07-17 Frank Warmerdam <[email protected]> 4083 4084 * */Makefile.in: added DESTDIR support. 4085 4086 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 4087 40882001-07-16 Frank Warmerdam <[email protected]> 4089 4090 * configure, libtiff/Makefile.in: applied OpenBSD patches 4091 as per: 4092 4093 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 4094 40952001-06-28 Frank Warmerdam <[email protected]> 4096 4097 * libtiff/tif_getimage.c: Fixed so that failure is properly 4098 reported by gtTileContig, gtStripContig, gtTileSeparate and 4099 gtStripSeparate. 4100 4101 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 4102 4103 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 4104 Updated bug section of tiffcmp.1 to note tiled file issues. 4105 4106 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 4107 41082001-06-22 Frank Warmerdam <[email protected]> 4109 4110 * configure: Changes for DSO generation on AIX provided by 4111 John Marquart <[email protected]>. 4112 4113 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 4114 on Darwin thanks to Robert Krajewski ([email protected]) and 4115 Keisuke Fujii ([email protected]). 4116 41172001-06-13 Frank Warmerdam <[email protected]> 4118 4119 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 4120 4121 * man/tiff2rgba.1: new 4122 41232001-05-22 Frank Warmerdam <[email protected]> 4124 4125 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 4126 41272001-05-13 Frank Warmerdam <[email protected]> 4128 4129 * libtiff/tools/thumbnail.c: changed default output compression 4130 to packbits from LZW since LZW isn't generally available. 4131 41322001-05-12 Frank Warmerdam <[email protected]> 4133 4134 * libtiff/tif_ojpeg.c: New. 4135 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 4136 to OJPEG support. 4137 4138 Scott Marovich <[email protected]> supplied OJPEG support. 4139 41402001-05-11 Frank Warmerdam <[email protected]> 4141 4142 * tiff.h: removed, it duplicates libtiff/tiff.h. 4143 41442001-05-08 Frank Warmerdam <[email protected]> 4145 4146 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 4147 ensure everything is in order. 4148 4149 * libtiff/libtiff.def: added TIFFCreateDirectory and 4150 TIFFDefaultStripSize as per: 4151 4152 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 4153 41542001-05-02 Frank Warmerdam <[email protected]> 4155 4156 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 4157 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 4158 force use of uint32 counts instead of short counts. 4159 4160 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 4161 case of writing TIFF_BYTE/TIFF_SBYTE fields. 4162 4163 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 4164 41652001-05-01 Frank Warmerdam <[email protected]> 4166 4167 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 4168 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 4169 41702001-04-05 Frank Warmerdam <[email protected]> 4171 4172 * tiffio.h: removed C++ style comment. 4173 4174 * configure: fixed up SCRIPT_SH/SHELL handling. 4175 4176 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 4177 4178 * config.guess: documented more variables as per bug 40. 4179 41802001-04-03 Frank Warmerdam <[email protected]> 4181 4182 * configure, *Makefile.in: Various changes to improve configuration 4183 for HP/UX specifically, and also in general. They include: 4184 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 4185 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 4186 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 4187 - Use -${MAKEFLAGS} in sub makes from makefiles. 4188 4189 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 4190 41912001-04-02 Frank Warmerdam <[email protected]> 4192 4193 * libtiff/tiff.h: Applied hac to try and resolve the problem 4194 with the inttypes.h include file on AIX. 4195 4196 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4197 4198 * VERSION: update to 3.5.7 beta in preparation for release. 4199 4200 * configure/config.site: modified to check if -lm is needed for 4201 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 4202 4203 * config.guess: updated wholesale to an FSF version apparently 4204 from 1998 (as opposed to 1994). This is mainly inspired by 4205 providing for MacOS X support. 4206 42072001-03-29 Frank Warmerdam <[email protected]> 4208 4209 * configure, Makefile.in, etc: added support for OPTIMIZER being 4210 set from config.site. 4211 42122001-03-28 Frank Warmerdam <[email protected]> 4213 4214 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 4215 4216 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 4217 sizes. It fixes two problems: 4218 4219 Without scaling (-S) the fax is now centered on the page size specified 4220 with -H and/or -W. Before, fax2ps was using an obscure and practially 4221 useless algorithm to allocate the image relative to Letter sized paper 4222 which sometime sled to useless whitespace on the paper, while at the 4223 same time cutting of the faxes printable area at the opposite border. 4224 4225 Second, scaling now preserves aspect ratio, which makes unusual faxes 4226 (in particular short ones) print properly. 4227 4228 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 4229 4230 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 4231 Bruce A. Mallett. See check message for detailed information 4232 on all the changes, including a faster encoder, fixes for level 4233 2 PostScript, and support for the imagemask operator. 4234 42352001-03-27 Frank Warmerdam <[email protected]> 4236 4237 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 4238 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 4239 4240 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4241 42422001-03-16 Frank Warmerdam <[email protected]> 4243 4244 * tif_dirinfo.c: moved definition of copyright tag in field list. 4245 Apparently they have to be in sorted order by tag id. 4246 42472001-03-13 Frank Warmerdam <[email protected]> 4248 4249 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 4250 images in RGBA interface. 4251 42522001-03-02 Frank Warmerdam <[email protected]> 4253 4254 * Added TIFFTAG_COPYRIGHT support. 4255 42562001-02-19 Frank Warmerdam <[email protected]> 4257 4258 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 4259 with support for extracting subimages with the ,n syntax, and also 4260 adding the -b bias removal flag. 4261 42622001-02-16 Frank Warmerdam <[email protected]> 4263 4264 * libtiff/libtiff.def: Brent Roman submitted new version adding 4265 serveral missing entry points. 4266 4267 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 4268 Some sort of weird VMS thing. 4269 4270 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 4271 4272 * tif_luv.c/tiff.h/tiffio.h: 4273 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 4274 ([email protected]). He writes: 4275 4276 1) I improved the gamut-mapping function in tif_luv.c for imaginary 4277 colors, because some images were being super-saturated on the input 4278 side and this resulted in some strange color shifts in the output. 4279 4280 2) I added a psuedotag in tiff.h to control random dithering during 4281 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 4282 on for 24-bit LogLuv output. Dithering improves the average color 4283 accuracy over the image. 4284 4285 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 4286 tiffio.h, to expose internal routines for converting between LogLuv and 4287 XYZ coordinates. This is helpful for writing more efficient, 4288 specialized conversion routines, especially for reading LogLuv files. 4289 4290 Changes applied with minor edits. 4291 42922001-01-23 Frank Warmerdam <[email protected]> 4293 4294 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 4295 whether we are encoding or decoding. This is to ensure graceful 4296 recovery if TIFFClientOpen() discovers an attempt to open a compressed 4297 file for "r+" access, and subsequently close it, as it resets the 4298 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 4299 compressor's concept of whether it is in encode or decode mode. 4300 43012001-01-08 Mike Welles <[email protected]> 4302 4303 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 4304 43052001-01-07 Frank Warmerdam <[email protected]> 4306 4307 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 4308 as per bug report by Patrick Connor. 4309 43102000-12-28 Frank Warmerdam <[email protected]> 4311 4312 * Added RELEASE-DATE file to release file list. 4313 4314 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 4315 43162000-12-22 Mike Welles <[email protected]> 4317 * added link to CVS mirror from index.html 4318 4319 * updated html/internals.html to note that LZW compression is 4320 not supported by default. 4321 43222000-12-22 Frank Warmerdam <[email protected]> 4323 4324 * updated html/libtiff.html to not point at Niles' old JPL web site 4325 for the man pages, point at www.libtiff.org. 4326 43272000-12-21 Frank Warmerdam <[email protected]> 4328 4329 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 4330 Leonard Rosenthol <[email protected]>. May interfere 4331 with correct building on older systems. If so, please let me know. 4332 43332000-12-19 Mike Welles <[email protected]> 4334 4335 * Took out LZW Encoding from tif_lzw.c 4336 4337 * Created HOWTO-RELEASE 4338 4339 * Created html/v3.5.6.html 4340 4341 * updated index.html 4342 43432000-12-01 Frank Warmerdam <[email protected]> 4344 4345 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 4346 Patches supplied by Frank Cringle <[email protected]> 4347 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 4348 43492000-11-24 Frank Warmerdam <[email protected]> 4350 4351 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 4352 target so that the private headers required by libgeotiff can be 4353 installed with the others. They are not installed by default. 4354 4355 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 4356 targets so libtiff.so will be built with an explicit dependency 4357 on libm.so. 4358 4359 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 4360 libtiff.so.3.5.5. 4361 4362 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 4363 file, or ALPHA version logic. Added stuff about DIST_POINT in 4364 place of DIST_TYPE and the alpha release number stuff. 4365 43662000-11-22 Frank Warmerdam <[email protected]> 4367 4368 * I have applied a patch from Steffen Moeller <[email protected]> to 4369 the configure script so that it now accepts the --prefix, and 4370 --exec-prefix directives. 4371 43722000-11-13 Frank Warmerdam <warmerda@cs46980-c> 4373 4374 * I have made a variety of modifications in an effort to ensure the 4375 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 4376 file which seems to be updated regularly. 4377 4378 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 4379 version include file. 4380 o renamed version.h to tiffvers.h because we now have to install it 4381 with the public libtiff include files. 4382 o include tiffvers.h in tiffio.h. 4383 o updated tif_version.c to use tiffvers.h. 4384 o Updated Makefile.in accordingly. 4385 4386 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 4387 I have updated the win32 detection rules in tiffcomp.h. 4388 43892000-10-20 Frank Warmerdam <warmerda@cs46980-c> 4390 4391 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 4392 the strip/tile width and height aren't multiples of the sampling size. 4393 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 4394 Some patches from Rick LaMont of Dot C Software. 4395 4396 * Modified tif_packbits.c encoder to avoid compressing more 4397 data than provided if rowsize doesn't factor into provided data 4398 (such as occurs for YCbCr). 4399 44002000-10-19 Frank Warmerdam <warmerda@cs46980-c> 4401 4402 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 4403 roundup if rows_per_strip not a multiple of vertical sample size. 4404 44052000-10-16 Frank Warmerdam <warmerda@cs46980-c> 4406 4407 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 4408 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 4409 from [email protected]. 4410 4411 * Modified tif_packbits.c decoding to avoid overrunning the 4412 output buffer, and to issue a warning if data needs to be 4413 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 4414 44152000-10-12 Frank Warmerdam <warmerda@cs46980-c> 4416 4417 * Modified tiff2bw to ensure portions add to 100%, and that 4418 white is properly recovered. 4419 4420 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 4421 Patch c/o Stanislav Brabec <[email protected]> 4422 44232000-09-30 Frank Warmerdam <warmerda@cs46980-c> 4424 4425 * Modified TIFFClientOpen() to emit an error on an attempt to 4426 open a comperessed file for update (O_RDWR/r+) access. This is 4427 because the compressor/decompressor code gets very confused when 4428 the mode is O_RDWR, assuming this means writing only. See 4429 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 4430 44312000-09-27 Frank Warmerdam <warmerda@cs46980-c> 4432 4433 * Added GNULDdso target an`d switched linux and freebsd to use it. 4434 44352000-09-26 Frank Warmerdam <warmerda@cs46980-c> 4436 4437 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 4438 of EXPAND1D() as per bug 11 (from Roman). 4439 44402000-09-25 Frank Warmerdam <warmerda@cs46980-c> 4441 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 4442 cygwin compatibility. 4443 4444 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 4445 be a proper fix to the buffer sizing problem. See 4446 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 4447 4448 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 4449 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 4450 Thanks to Nick Lamb <[email protected]> for reporting the 4451 bug and proving the patch. 4452 44532000-09-18 Frank Warmerdam <warmerda@cs46980-c> 4454 4455 * Fixed tif_jpeg.c so avoid destroying the decompressor before 4456 we are done access data thanks to bug report from: 4457 Michael Eckstein <[email protected]>. 4458 4459 * Reverted tif_flush change. 4460 44612000-09-14 Frank Warmerdam <warmerda@cs46980-c> 4462 4463 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 4464 error when TIFF_BEENWRITING is not set. This ensures that the 4465 directory contents can still be flushed by TIFFFlush(). 4466 44672000-08-14 Frank Warmerdam <[email protected]> 4468 4469 * tif_open.c: Don't set MMAP for O_RDWR files. 4470 4471 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 4472 so that files opened for update can be strip chopped too. 4473 4474 * tif_read.c: fixed up bug with files missing rowsperstrip and 4475 the strips per separation fix done a few weeks ago. 4476 44772000-07-17 Frank Warmerdam <warmerda@cs46980-c> 4478 4479 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 4480 SAMPLEFORMAT_COMPLEXINT. 4481 44822000-07-13 Mike Welles <[email protected]> 4483 4484 * index.html, bugs.html: added bugzilla info. 4485 44862000-07-12 Frank Warmerdam <[email protected]> 4487 4488 * tif_read.c: fix subtle bug with determining the number of 4489 rows for strips that are the last strip in a separation but 4490 not the last strip of all in TIFFReadEncodedStrip(). 4491 4492 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 4493 Peter Skarpetis <[email protected]> 4494 44952000-06-15 Frank Warmerdam <[email protected]> 4496 4497 * Modified tiffio.h logic with regard to including windows.h. It 4498 won't include it when building with __CYGWIN__. 4499 45002000-05-11 Frank Warmerdam <warmerda@cs46980-c> 4501 4502 * README: update to mention www.libtiff.org, don't list Sam's old 4503 email address. 4504 4505 * configure: Fixed DSO test for Linux as per patch from 4506 Jan Van Buggenhout <[email protected]>. 4507 45082000-04-21 Frank Warmerdam <[email protected]> 4509 4510 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 4511 one tile/strip images with an offset, and byte count of zero. These 4512 could be "unpopulated" images. 4513 45142000-04-18 Frank Warmerdam <[email protected]> 4515 4516 * contrib/addtiffo: Added "averaging" resampling option. 4517 4518 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 4519 4520Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 4521 4522 * tools/Makefile.in: Modified to install properly on SGI. 4523 45242000-04-12 Mike Welles <[email protected]> 4525 * configure: Fixed stupid mistake in libc6 test on Linux 4526 45272000-04-04 Mike Welles <[email protected]> 4528 * tif_win32.c: Applied patch to fix overreads and ovverwrites 4529 caught by BoundsChecker. From Arvan Pritchard 4530 <[email protected]> (untested). 4531 4532 * tif_getimage.c: Applied patch to silence VC6 warnings. From 4533 Arvan Pritchard <[email protected]> 4534 4535 * tif_lzw.c: Applied patch to silence VC6 warnings. From 4536 Arvan Pritchard <[email protected]> 4537 45382000-03-28 Frank Warmerdam <warmerda@cs46980-c> 4539 4540 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 4541 45422000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 4543 4544 * fax2ps: Fixed mixup of width and height in bounding box statement 4545 as per submission by Nalin Dahyabhai <[email protected]>. 4546 45472000-03-27 Mike Welles <[email protected]> 4548 4549 * fax2ps: Modified printruns to take uint32 instead of uint16. 4550 Patch courtesy of Bernt Herd <[email protected]> 4551 45522000-03-20 Mike Welles <[email protected]> 4553 4554 * configure: added test for libc6 for linux targets. Bug reported by 4555 Stanislav Brabec <[email protected]> 4556 4557 * Added 3.5 docs to html/Makefile.in. 4558 Thanks to Stanislav Brabec <[email protected]> 4559 4560 * configure: fixed bugs in sed scripts 4561 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 4562 fix submitted to Stanislav Brabec <[email protected]> 4563 4564 * tools/iptcutil was not in files list, and wasn't being 4565 added to tar archive. Updated Makefile.in. 4566 45672000-03-17 Frank Warmerdam <warmerda@cs46980-c> 4568 4569 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 4570 conversion for the run arrays. 4571 45722000-03-03 Frank Warmerdam <[email protected]> 4573 4574 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 4575 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 4576 45772000-03-02 Frank Warmerdam <[email protected]> 4578 4579 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 4580 4581 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 4582 to avoid overruns encountered with frle_bug.tif. 4583 4584Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 4585 4586 * Fixed tools/tiffcmp so that stopondiff testing works. 4587 Patch care of Joseph Orost <[email protected]>. 4588 45892000-01-28 <warmerda@CS46980-B> 4590 4591 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 4592 set to 1, and added default (off) setting in tiffconf.h. This 4593 should eventually be set by the configure script somehow. 4594 4595 The original work on all these 2-4GB changes was done by 4596 Peter Smith ([email protected]). 4597 4598 * Modified tif_win32.c to support 2-4GB seeks. 4599 4600 * tentatively changed toff_t to be unsigned instead of signed to 4601 facilitate support for 2-4GB files. 4602 4603 * Updated a variety of files to use toff_t. Fixed some mixups 4604 between toff_t and tsize_t. 4605 4606Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 4607 4608 * Largely reimplemented contrib/addtiffo to avoid temp files, 4609 updating the TIFF file in place. Fixed a few other bugs to. 4610 4611 * Set tif_rawdatasize to zero when freeing raw data buffer in 4612 TIFFWriteDirectory(). 4613 4614 * Enabled "REWRITE_HACK" in tif_write.c by default. 4615 4616 * Fix bug in tif_write.c when switching between reading one directory 4617 and writing to another. 4618 4619 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 4620 4621Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 4622 4623 * Added TIFFmemory(3t) functions to libtiff.def. 4624 4625Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 4626 4627 * Added libtiff/libtiff.def to TIFFILES distribution list. 4628 4629Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 4630 4631 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 4632 4633 * Altered descriptions in tools to reflect "by default" lzw not supported 4634 4635 * Updated index.html to note lzw compression kit. 4636 4637Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 4638 4639 * Added fax3sm_winnt.c to distribution list in Makefile.in. 4640 4641Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 4642 4643 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 4644 4645 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 4646 when LZW compression invoked. 4647 4648 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 4649 in tools to reflect removal of LZW compression 4650 4651Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 4652 4653 * Fixed bug that caused LZW (non) compression to segfault. Added 4654 warning about LZW compression removed being removed, and why. 4655 4656 * Added nostrip to install in tools/Makefile.in so that debugging 4657 symbols are kept. 4658 4659Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 4660 4661 * Added patch from Ivo Penzar <[email protected]>, 4662 supporting Adobe ZIP deflate. Untested. 4663 4664Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 4665 4666 * Made Packbits the default compression in tools/tiff2rgba.c instead 4667 of LZW. 4668 4669Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 4670 4671 * Added tif_luv to contrib/djgpp/Makefile.lib. 4672 4673Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 4674 4675 * Added zip creation to relase makefile target 4676 4677 * Added html for TIFFWriteTile.3t man page. 4678 4679Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 4680 4681 * Added some changes to tif_write.c to support rewriting existing 4682 fixed sized tiles and strips. Code mods disabled by default, only 4683 enabled if REWRITE_HACK is defined for now. 4684 4685Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 4686 4687 * Added TIFFWriteTile.3t man page. 4688 4689Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 4690 4691 * Added notes on use of makefile.vc in build.html, and fixed 4692 email subscription address. 4693 4694199-11-28 Mike Welles <[email protected]> 4695 4696 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 4697 4698 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 4699 from Bruce Carmeron <[email protected]> -- modifications of 4700 changes made by Frank (sun cc still complained on cast). 4701 4702 * Added tiffconf.h to install target per request from Bill 4703 Radcliffe <[email protected]>: "We need a way for ImageMagick to 4704 know features have been compiled into the TIFF library in order to 4705 handle things properly". 4706 4707Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 4708 4709 * fixed various VC++ warnings as suggested by Gilles Vollant 4710 <[email protected]>. 4711 4712Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 4713 4714 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 4715 not imply applications are responsible for image data swapping. 4716 47171999-11-22 Mike Welles <[email protected]> 4718 * HTML-ized the man pages, added to html/man 4719 4720 * Removed LZW Compression to comply with Unisys patent extortion. 4721 47221999-09-29 Mike Welles <[email protected]> 4723 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 4724 From Ivo Penzar <[email protected]. 4725 4726 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 4727 memory mapped files. <[email protected]> 4728 47291999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 4730 * Corrected alpha versioning. 4731 4732 * Removed distinction between alpha and release targets in Makefile.in. 4733 4734 * added release.stamp target, which tags cvs tree, and updates 4735 "RELEASE-DATE" 4736 4737 * added releasediff target, which diffs tree with source as of 4738 date in "RELEASE-DATE" 4739 4740 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 4741 away from alpha/non-alpha distinctions). 4742 4743 * updated html to reflect release 4744 47451999-09-23 <warmerda@CS46980-B> 4746 4747 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 4748 4749 * Added CYGWIN case in configure. 4750 4751Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 4752 4753 * Applied Francois Dagand's patch to handle fax decompression bug. 4754 (sizes >= 65536 were failing) 4755 4756Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 4757 4758 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 4759 by Christopher Lawton <[email protected]> 4760 4761Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 4762 4763 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 4764 Albert Chin-A-Young <[email protected]> 4765 4766 * Added TIFFReassignTagToIgnore() API on behalf of 4767 Bruce Cameron <[email protected]>. Man page still pending. 4768 4769Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 4770 4771 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 4772 files to provide for a rudimentary testsuite. 4773 4774 * Added contrib/tags back from old distribution ... fixed up a bit. 4775 47761999-08-16 <warmerda@CS46980-B> 4777 4778 * Added simple makefile.vc makefiles for building with MS VC++ 4779 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 4780 better solutions for some users. 4781 4782Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 4783 4784 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 4785 put it in tools since part of it is in C++. 4786 47871999-08-16 Michael L. Welles <[email protected]> 4788 4789 * Updated html/index.html with anon CVS instructions. 4790 4791Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 4792 4793 * pre-remove so link before softlink in LINUXdso action in 4794 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 4795 the first. 4796 4797 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 4798 colormaps owned by the TIFF handle itself when trying to fixup wrong 4799 (eight bit) colormaps. Corrected by maintaining a private copy of 4800 the colormap. 4801 4802 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 4803 tif_getimage.c. 4804 4805 * CVS Repository placed at remotesensing.org. ChangeLog added. 4806