12009-08-28 Bob Friesenhahn <[email protected]> 2 3 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and 4 PNM formats so that we will be able to test more of the tools. 5 While adding these test images I notice that bmp2tiff and gif2tiff 6 only support ancient versions of their respective formats. 7 82009-08-27 Bob Friesenhahn <[email protected]> 9 10 * libtiff 4.0.0alpha4 released. 11 12 * HOWTO-RELEASE: Improved release instructions. 13 142009-08-24 Bob Friesenhahn <[email protected]> 15 16 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied 17 fixes for "Bug 2023 - nroff errors in manual pages". 18 http://bugzilla.maptools.org/show_bug.cgi?id=2023 19 20 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 - 21 CVE-2009-2347 libtiff: integer overflows in various inter-color 22 space conversion tools". 23 http://bugzilla.maptools.org/show_bug.cgi?id=2079 24 25 * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay 26 Berkenbilt for "Bug 2024 - possible null pointer dereference with 27 one-line fix". 28 http://bugzilla.maptools.org/show_bug.cgi?id=2024 29 30 * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch 31 from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c: 32 segfault after setting tdir_tag = IGNORE". 33 http://bugzilla.maptools.org/show_bug.cgi?id=1895 34 352009-08-23 Bob Friesenhahn <[email protected]> 36 37 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing 38 tiffcrop.sh into a collection of many specific tests. Re-wrote 39 all of the existing tests to be based on some simple shell 40 functions. Make distcheck works again. 41 42 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and 43 added 'memcheck' and 'ptrcheck' targets to make it easy to run the 44 tests under valgrind. 45 462009-08-21 Bob Friesenhahn <[email protected]> 47 48 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH 49 build. 50 51 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not 52 actually activated since it needed to be enabled in this 53 Makefile.am. Also activated parallel-tests mode since it offers 54 useful features such as per-test .log files and a summary test 55 report .log file. 56 572009-08-20 Bob Friesenhahn <[email protected]> 58 59 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11, 60 libtool 2.2.6. Enabled support for silent build rules 61 (--enable-silent-rules or 'make V=0') and colorized tests. 62 63 * html/{index.html, v3.9.0.html}: Update for 3.9.0 release. 64 652009-06-30 Frank Warmerdam <[email protected]> 66 67 * tests/tiffcp-logluv.sh: minimal testing of sgilog compression. 68 69 * tools/tiffcp.c: add -c sgilog support. 70 71 * libtiff/tif_luv.c: correct return codes from encoderow to be 72 1 on success instead of zero. 73 http://bugzilla.maptools.org/show_bug.cgi?id=2069 74 75 * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 76 #1085 for a better underflow fix that errors properly. 77 http://bugzilla.maptools.org/show_bug.cgi?id=2065 78 http://bugzilla.maptools.org/show_bug.cgi?id=1985 79 802009-06-26 Frank Warmerdam <[email protected]> 81 82 * libtiff/tif_strip.c: Remove an inappropriate assertion that often 83 fails on oddly sized 12bit jpeg compressed ycbcr images. 84 852009-06-22 Frank Warmerdam <[email protected]> 86 87 * libtiff/tif_lzw.c: Fix buffer underflow bug. 88 http://bugzilla.maptools.org/show_bug.cgi?id=2065 89 902009-06-21 Frank Warmerdam <[email protected]> 91 92 * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support 93 for dual mode 8/12 bit jpeg support. 94 952009-06-03 Frank Warmerdam <[email protected]> 96 97 * libtiff/tif_write.c: do not override the planar configuration to be 98 contig for one sample files if planar configuration is already set. 99 http://bugzilla.maptools.org/show_bug.cgi?id=2057 100 1012009-06-02 Frank Warmerdam <[email protected]> 102 103 * libtiff/libtiff.def: Add TIFFUnsetField. 104 1052009-05-03 Frank Warmerdam <[email protected]> 106 107 * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various 108 error reports to use "%s" as format string. 109 http://trac.osgeo.org/gdal/ticket/2976 110 1112009-03-12 Frank Warmerdam <[email protected]> 112 113 * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining 114 for some codecs (#2020). 115 1162009-02-12 Frank Warmerdam <[email protected]> 117 118 * libtiff/tif_luv.c: Fix handling of tiled logluv images. 119 http://bugzilla.maptools.org/show_bug.cgi?id=2005 120 1212009-02-09 Frank Warmerdam <[email protected]> 122 123 * libtiff/tif_dirread.c: Improve allocation safety when allocated 124 buffer for large tags. (#1998) Related to (#1993) 125 1262009-02-06 Frank Warmerdam <[email protected]> 127 128 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the 129 test suite should pass. 130 1312009-02-05 Frank Warmerdam <[email protected]> 132 133 * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size, 134 but at the 2GB boundary to avoid overflow on 32bit systems. 135 http://bugzilla.maptools.org/show_bug.cgi?id=1993 136 137 * libtiff/tif_dirread.c: Remove some assertions that blow due to 138 corrupt files rather than in response to library internal 139 inconsistencies. 140 http://bugzilla.maptools.org/show_bug.cgi?id=1995 141 http://bugzilla.maptools.org/show_bug.cgi?id=1991 142 143 * libtiff/tif_dirread.c: Fixed testing for failed result from 144 TIFFReadDirectoryFindFieldInfo(). 145 http://bugzilla.maptools.org/show_bug.cgi?id=1992 146 1472009-01-23 Frank Warmerdam <[email protected]> 148 149 * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors. 150 http://bugzilla.maptools.org/show_bug.cgi?id=1911 151 152 * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset. 153 154 http://bugzilla.maptools.org/show_bug.cgi?id=1924 155 156 * tools/tiffcrop.c: initialize xres/yres values. 157 158 * test/*.sh - default ${srcdir} to local directory. 159 160 * test/common.sh - start verbose mode after common settings. 161 162 * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 163 avoid type mismatches on different platforms. 164 http://bugzilla.maptools.org/show_bug.cgi?id=1889 165 1662009-01-22 Frank Warmerdam <[email protected]> 167 168 * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c, 169 tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues. 170 171 * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT 172 defined, primarily to reduce prototype warnings on windows. 173 174 * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings 175 about unused parameters, and uninitialized variables. 176 1772009-01-21 Bob Friesenhahn <[email protected]> 178 179 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in 180 order to trace full execution detail while executing the test suite. 181 1822009-01-20 Frank Warmerdam <[email protected]> 183 184 * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv. 185 1862009-01-20 Bob Friesenhahn <[email protected]> 187 188 * test/Makefile.am (CLEANFILES): Make sure that test output files 189 are removed by 'make clean' 190 191 * Update autotools for 4.0.0 beta3 192 193 * 4.0.0 beta3 produced. 194 1952009-01-12 Bob Friesenhahn <[email protected]> 196 197 * test/tiffcrop.sh: New test script for tiffcrop from Richard 198 Nolde. 199 200 * tools/tiff2ps.c: Remove spurious message to stderr. 201 2022009-01-11 Bob Friesenhahn <[email protected]> 203 204 * tools/tiff2ps.c: Incorporated significant functionality update 205 from Richard Nolde. In particular, support for rotating the image 206 by 90, 180, 270, and 'auto' has been added. 207 208 * man/tiffcrop.1: Incorporated documentation updates from Richard 209 Nolde. 210 211 * tools/tiffcrop.c: Incorporated significant functionality update 212 from Richard Nolde. 213 2142008-12-31 Bob Friesenhahn <[email protected]> 215 216 * libtiff/tiffio.h: GCC will now validate format specifications 217 for TIFFError(), TIFFErrorExt(), TIFFWarning(), and 218 TIFFWarningExt() in order to reveal bugs. 219 220 * Many fixes throughout to work better as a 64-bit build. 221 2222008-12-30 Bob Friesenhahn <[email protected]> 223 224 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length 225 tags now require 64-bit parameter rather than 32-bit. 226 227 * libtiff/tif_dirread.c: Fixed issues with unaligned access to 228 64-bit values. 229 230 * tools/thumbnail.c: Eliminate crash noticed while running test 231 suite. 232 2332008-12-29 Bob Friesenhahn <[email protected]> 234 235 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer): 236 Initialize stack variables to avoid compiler warning. 237 238 * tools/tiffinfoce.c (main): Use toff_t for offset type when 239 retrieving offset of EXIF IFD. 240 241 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the 242 TIFFClientOpen() callback and other external function definitions. 243 244 * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit 245 type now. Fixes crash when dumping files containing an EXIF IFD. 246 247 * m4/libtool.m4: Update to libtool 2.2.6. 248 2492008-12-21 Frank Warmerdam <[email protected]> 250 251 * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function. 252 253 * libtiff/tif_jpeg.c: Avoid errors if the application writes a full 254 strip for the last partial strip in a jpeg compressed file. 255 http://bugzilla.maptools.org/show_bug.cgi?id=1981 256 2572008-10-29 Frank Warmerdam <[email protected]> 258 259 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when 260 we take the shortcut to only update the strip/tile offsets in place. 261 http://trac.osgeo.org/gdal/ticket/2621 262 2632008-10-21 Andrey Kiselev <[email protected]> 264 265 * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with 266 the older versions retained). 267 2682008-10-09 Frank Warmerdam <[email protected]> 269 270 * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using 271 IPP enabled version of libjpeg from Intel. 272 http://bugzilla.maptools.org/show_bug.cgi?id=1951 273 2742008-09-05 Andrey Kiselev <[email protected]> 275 276 * tools/tiffsplit.c: Use byte counts of proper size (uint64). 277 Required for libtiff 4.0. 278 279 * tools/tiffsplit.c: Use dynamically allocated array instead of static 280 when constructing output file names. 281 2822008-09-03 Andrey Kiselev <[email protected]> 283 284 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when 285 doing the filename/path construction. 286 287 * tools/tiff2pdf.c: More appropriate format string in 288 t2p_write_pdf_string(); avoid signed/unsigned mismatch. 289 290 * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug 291 292 http://bugzilla.maptools.org/show_bug.cgi?id=1929 293 294 * libtiff/tif_lzw.c: Properly zero out the string table. Fixes 295 CVE-2008-2327 security issue. 296 2972008-09-01 Frank Warmerdam <[email protected]> 298 299 * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function. 300 301 * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD 302 depending on whether the file is bigtiff or classic tiff. 303 http://bugzilla.maptools.org/show_bug.cgi?id=1917 304 3052008-08-12 Edward Lam <[email protected]> 306 307 * tools/tiffdump.c: When compiling for Microsoft Windows, apply 308 consistent (__int64) casting when testing if _lseeki64 has 309 successfully seeked as requested. This is necessary for large 310 file support to work since off_t is only 32-bit. 311 3122008-07-29 Frank Warmerdam <[email protected]> 313 314 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or 315 the subsampling values not being 1, 2 or 4 (for jpeg compressed images) 316 with control logic to return runtime errors (c/o Even Rouault) (#1927). 317 3182008-06-17 Frank Warmerdam <[email protected]> 319 320 * tools/tiffcrop.c: Fix some portability problems. 321 322 * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are 323 used in tif_jpeg.c. 324 325 * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags 326 as TIFFOpen(). 327 3282008-06-01 Frank Warmerdam <[email protected]> 329 330 * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures 331 like Sparc/Solaris. 332 http://bugzilla.maptools.org/show_bug.cgi?id=1892 333 3342008-05-27 Frank Warmerdam <[email protected]> 335 336 * libtiff.def: Add TIFFFindField 337 http://bugzilla.maptools.org/show_bug.cgi?id=1891 338 3392008-05-26 Frank Warmerdam <[email protected]> 340 341 * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. 342 343 * li2008-04-15 Andrey Kiselev <[email protected]> 344 345btiff/tif_win32.c: Replace custom Win32 memory api with generic 346 POSIX one. No apparent value to use of GlobalAlloc() in the modern 347 age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 348 349 * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items 350 in windows version (care of Edward Lam). 351 3522008-05-24 Frank Warmerdam <[email protected]> 353 354 * tif_codec.c: Avoid NULL pointer dereferencing for exotic 355 compression codec codes. 356 357 * tif_dirwrite.c: fix potential memory leak. 358 359 * tif_dirread.c: Fix unchecked malloc result. 360 3612008-05-24 Bob Friesenhahn <[email protected]> 362 363 * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh 364 tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh 365 tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh 366 tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh 367 tiffdump.sh tiffinfo.sh}: Added more test scripts based on 368 suggestions from Lee Howard posted to the tiff list on 13 Sep 369 2007. 370 3712008-05-23 Frank Warmerdam <[email protected]> 372 373 * libtiff/tif_fax3.c: Add an assert in an effort to detect a 374 possible runtime problem reported by coverity. 375 376 * contrib/iptcutil/iptcutil.c: Fixed memory leak of str. 377 378 * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde. 379 http://bugzilla.maptools.org/show_bug.cgi?id=1888 380 381 * tools/tiffdither.c: remove dead onestrip code. avoid memory leak. 382 383 * tools/rgb2ycbcr.c: fix memory leak of raster buffer. 384 385 * tools/tiffcp.c: Simplify inknames code to avoid pointless test. 386 Cleanup scanline allocation to avoid coverity warning. 387 388 * tools/thumbnail.c: Check for TIFFOpen() failure. 389 3902008-05-18 Frank Warmerdam <[email protected]> 391 392 * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT 393 and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear 394 why this is needed. 395 3962008-05-09 Bob Friesenhahn <[email protected]> 397 398 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like 399 "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4". 400 4012008-04-15 Andrey Kiselev <[email protected]> 402 403 * test/: Test suite updated. Everything is passed now. 404 405 * libtiff/tif_dirinfo.c: Fixed description of the 406 TIFFTAG_NUMBEROFINKS tag. 407 4082008-04-14 Andrey Kiselev <[email protected]> 409 410 * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}: 411 Get rid of some of "dereferencing type-punned" warnings by converting 412 tdir_offset field of TIFFDirEntry structure into union. 413 4142008-04-10 Andrey Kiselev <[email protected]> 415 416 * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}: 417 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out 418 from the public interface. Type of its 'count' parameter changed 419 from uint32 to tmsize_t. 420 421 * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields 422 of the tiff structure have the size_t type instead of uint32. 423 4242008-04-09 Andrey Kiselev <[email protected]> 425 426 * tools/tiffdump.c: Added support for MSVS 6.0. 427 428 * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat() 429 and _TIFFUInt64ToDouble() to convert 64-bit integers into floating 430 point values on MSVS 6.0 platform. 431 4322008-03-14 Frank Warmerdam <[email protected]> 433 434 * tif_dirread.c: Removed sanity checks on tags larger than 4MB in 435 TIFFReadDirEntryArray() since they are interfering with seemingly 436 legitimate files. http://trac.osgeo.org/gdal/ticket/2005 437 4382008-02-09 Joris Van Damme <[email protected]> 439 440 * tif_dirread.c: Added handling for the case of number of values for 441 PageNumber tag different from 2 (previously resulted in an assert 442 indicating lack of handling and was forgotten about) 443 4442008-02-01 Frank Warmerdam <[email protected]> 445 446 * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 447 the actual jpeg data stream if the first strip/tile has zero size. 448 This is the case when GDAL creates a new file with zero sizes, closes 449 and reopens it. 450 4512008-01-07 Frank Warmerdam <[email protected]> 452 453 * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 454 4552008-01-01 Frank Warmerdam <[email protected]> 456 457 * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions. 458 459 * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean 460 targets. 461 462 * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c 463 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 464 (x64). 465 466 * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 467 and TIFFFieldWithName() now return TIFFField pointers instead of 468 TIFFFieldInfo pointers. 469 470 * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 471 exist. This makes it compile again on Windows 472 473 * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c, 474 tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64. 475 476 * test/rewrite_tag.c: New test for TIFFRewriteField(). 477 4782007-12-31 Frank Warmerdam <[email protected]> 479 480 * tif_dirwrite.c: Added TIFFRewriteField(). This new function 481 rewrites one field "on disk" updating an existing directory 482 entry. Lots of limitations still... 483 484 * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 485 TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 486 the strip offset/size values are dirty but nothing else about the 487 directory is dirty. In flush handle "just stripmaps dirty" as a 488 special case that just rewrites these values without otherwise 489 modifying the directory on disk using TIFFRewriteField(). 490 491 We also modify logic so that in update mode the directory is not 492 marked dirty on read, but only when something is changed. This 493 means we need to keep track of updates to the stripmap stuff in 494 TIFFAppendToStrip(). 495 4962007-12-10 Frank Warmerdam <[email protected]> 497 498 * tif_jpeg.c: Improve ability to switch between encoding and decoding 499 in the jpeg code (gdal bug #2033). 500 5012007-11-23 Frank Warmerdam <[email protected]> 502 503 * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c, 504 tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 505 rawcp/rawcc buffer are for writing and thus may require flushing. 506 Necessary to distinguish whether they need to be written to disk when 507 in mixed read/write mode and doing a mixture of writing followed by 508 reading. http://trac.osgeo.org/gdal/ticket/1758 509 5102007-11-23 Andrey Kiselev <[email protected]> 511 512 * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches 513 from Alexey Chupahin. 514 5152007-11-02 Frank Warmerdam <[email protected]> 516 517 * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 518 establishing if an existing tile can be rewritten to the same location 519 by comparing the current size to all the other blocks in the same 520 directory. This is dangerous in many situations and can easily 521 corrupt a file. (observed in esoteric GDAL situation that's hard to 522 document). This change involves leaving the stripbytecount[] values 523 unaltered till TIFFAppendToStrip(). Now we only write a block back 524 to the same location it used to be at if the new data is the same 525 size or smaller - otherwise we move it to the end of file. 526 527 * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile 528 data when writing the directory just because we have BEENWRITING at 529 some point in the past. This was causing odd junk to be written out 530 in a tile of data when a single tile had an interleaving of reading 531 and writing with reading last. (highlighted by gdal 532 autotest/gcore/tif_write.py test 7. 533 534 * tif_predict.c: use working buffer in PredictorEncodeTile to avoid 535 modifying callers buffer. 536 http://trac.osgeo.org/gdal/ticket/1965 537 538 * tif_predict.c/h: more fixes related to last item, keeping a 539 distinct pfunc for encode and decode cases as these were getting 540 mixed up sometimes. 541 http://trac.osgeo.org/gdal/ticket/1948 542 5432007-11-01 Frank Warmerdam <[email protected]> 544 545 * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 546 predictor based encoding and decoding works in read-write update 547 mode properly. 548 http://trac.osgeo.org/gdal/ticket/1948 549 5502007-10-24 Joris Van Damme <[email protected]> 551 552 * tif_dirread.c: Fixed problem with bogus file triggering 553 assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 554 ChopUpSingleUncompressedStrip 555 5562007-10-22 Joris Van Damme <[email protected]> 557 558 * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images 559 at best, access violation at worst, when subsampled JPEG compressed imagery 560 is decoded without the JPEG_COLORMODE feature 561 5622007-10-11 Frank Warmerdam <[email protected]> 563 564 * html/index.html: Update "people responsible" section. 565 5662007-10-05 Frank Warmerdam <[email protected]> 567 568 * tools/tiff2pdf.c: Fix problem with alpha setting in some cases 569 as reported on the mailing list. 570 5712007-10-01 Joris Van Damme <[email protected]> 572 573 * changed some more incorrect %lud printf flags to %lu 574 5752007-09-29 Joris Van Damme <[email protected]> 576 577 * tif_dirread.c: Strip chopping interfered badly with uncompressed 578 subsampled images because it tried to divide subsampled rowblocks, 579 leading to all sorts of errors throughout the library for these 580 images. Fixed by making strip chopping divide in row counts that 581 are a multiple of vertical subsampling value. 582 5832007-09-28 Joris Van Damme <[email protected]> 584 585 * tif_dirread.c: Logical cast working around compiler warning 586 587 * tif_read.c: Correction of some error flags and parameter lists 588 5892007-09-27 Joris Van Damme <[email protected]> 590 591 * tif_dirread.c: Made calculation of td_maxsamplevalue more robust 592 when dealing with large bitspersample values, shutting up purification 593 tools that warn about truncation, though it remains incorrect and 594 indicates a conceptual problem there. 595 596 * tif_open.c: Moved early exit in case of 'h' flag (to disable reading 597 of first IFD) to proper place because it badly interfered with memory 598 mapping, resulting in mapping flag even with dummy mapping functions 599 that returned 0 whilst at the same time the mapping tif_size wasn't 600 set, thus resulting in continuous incorrect beyond-eof errors. 601 6022007-09-24 Joris Van Damme <[email protected]> 603 604 * tif_dirinfo.c: Fixed (MSVC) compiler reports about 605 inconsistent use of const in tiffFields and exifFields definition 606 6072007-09-20 Frank Warmerdam <[email protected]> 608 609 * tif_dirwrite.c: Always write tile/strip offsets and sizes 610 using LONG8 type when output format is BigTIFF. The 611 TIFFWriteDirectoryTagLongLong8Array() function was restructured 612 accordingly. 613 614 * tif_dirread.c: Improvements to error reporting text in 615 TIFFFetchDirectory(). 616 6172007-09-19 Bob Friesenhahn <[email protected]> 618 619 * test/images: Added a small collection of test images for use by 620 test programs and scripts. 621 * test/tiffinfo.sh: A trivial example test script. 622 * test/common.sh: Added small script for setting the environment 623 used by script-based tests. 624 6252007-08-24 Frank Warmerdam <[email protected]> 626 627 * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed 628 zero when writing directory contents to preserve the ability to 629 rewrite directories in place, even in the middle of a directory 630 chain. 631 632 * tif_dirinfo.c: _TIFFMergeFields() now only merges in field 633 definitions that are missing. Existing definitions are silently 634 ignored. 635 636 * tif_dirread.c: Add runtime error for fields for which no definition 637 is found (in addition to an assert for developers) in 638 TIFFFetchNormalTag(). Not sure if this is needed, but it seems 639 prudent. 640 6412007-08-10 Joris Van Damme <[email protected]> 642 643 * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 644 from _TIFFRGBAImage structure to revert unwanted ABI change. 645 6462007-08-10 Joris Van Damme <[email protected]> 647 648 * libtiff/tif_win32.c: use SetFilePointer instead of 649 SetFilePointerEx, as per bug 650 651 http://bugzilla.remotesensing.org/show_bug.cgi?id=1580 652 6532007-07-19 Andrey Kiselev <[email protected]> 654 655 * libtiff/tif_stream.cxx: Put all callback functions declarations 656 inside extern "C" block. 657 658 * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c, 659 tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf() 660 formatter instead of "%lld" with MSVC compiler. 661 662 * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and 663 _TIFFUInt64ToDouble() functions. 664 6652007-07-18 Andrey Kiselev <[email protected]> 666 667 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit 668 integer constants. 669 670 * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 671 remove tif_config.h/tiffconf.h during cleaning. As per bug 672 673 http://bugzilla.remotesensing.org/show_bug.cgi?id=1573 674 675 * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug 676 677 http://bugzilla.remotesensing.org/show_bug.cgi?id=1577 678 6792007-07-13 Andrey Kiselev <[email protected]> 680 681 * libtiff 4.0.0alpha released. 682 6832007-07-12 Andrey Kiselev <[email protected]> 684 685 * tools/tiff2pdf.c: Added missed extern optind as per bug 686 687 http://bugzilla.remotesensing.org/show_bug.cgi?id=1567 688 689 * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c, 690 tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag 691 extending scheme completed. 692 6932007-07-11 Bob Friesenhahn <[email protected]> 694 695 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to 696 use standard C++ library size types and attempt to detect overflow 697 cases. 698 6992007-07-08 Andrey Kiselev <[email protected]> 700 701 * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h, 702 tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new 703 tag extending scheme. Use the new scheme everywhere. 704 705 * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c, 706 tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c, 707 tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}: 708 TIFFFIeldInfo structure replaced with TIFFField structure. 709 TIFFFieldInfo retained for the backward compatibility. 710 7112007-07-05 Bob Friesenhahn <[email protected]> 712 713 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not 714 defined. 715 7162007-07-04 Andrey Kiselev <[email protected]> 717 718 * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused 719 TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration 720 removed. 721 722 * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move 723 tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS, 724 TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory. 725 These tags are not codec-specific and relate to image content, so 726 process them as other normal tags. 727 728 * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the 729 public tiffio.h to private tif_dir.h. 730 731 * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and 732 outdated. 733 7342007-07-03 Andrey Kiselev <[email protected]> 735 736 * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c, 737 tif_win3.c}: Obsoleted portability stuff removed. 738 739 * tools/tiff2ps.c: Added support 16-bit images as per bug 740 741 http://bugzilla.remotesensing.org/show_bug.cgi?id=1566 742 743 Patch from William Bader. 744 745 * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and 746 significant upgrade of the whole utility as per bug 747 748 http://bugzilla.remotesensing.org/show_bug.cgi?id=1560 749 750 Now we don't need tiffiop.h in tiff2pdf anymore and will open output 751 PDF file using TIFFClientOpen() machinery as it is implemented 752 by Leon Bottou. 753 7542007-06-26 Bob Friesenhahn <[email protected]> 755 756 * configure.ac: Fix typo when substituting value for unsigned 8 bit type. 757 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 758 Added support for a TIFF_SSIZE_T in order to return memory sizes but still 759 allow returning -1 for errors. 760 * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32. 761 7622007-06-25 Bob Friesenhahn <[email protected]> 763 764 * port/strtoull.c: New porting function in case strtoull() is not 765 available on the target system. 766 * configure.ac: Add configure support for determining sized types 767 in a portable way and performing necessary substitutions in 768 tif_config.h and tiffconf.h. Updated tiff.h to use the new 769 definitions. 770 7712007-04-27 Andrey Kiselev <[email protected]> 772 773 * tools/tiff2pdf.c: Check the tmpfile() return status as per bug 774 775 http://bugzilla.remotesensing.org/show_bug.cgi?id=154 776 7772007-04-07 Andrey Kiselev <[email protected]> 778 779 * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c, 780 tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c, 781 tif_predict.c, tif_zip.c}: Finally fix bug 782 783 http://bugzilla.remotesensing.org/show_bug.cgi?id=1274 784 785 by introducing _TIFFMergeFieldInfo() returning integer error status 786 instead of void in case of problems with field merging (e.g., if the 787 field with such a tag already registered). TIFFMergeFieldInfo() in 788 public API remains void. Use _TIFFMergeFieldInfo() everywhere and 789 check returned value. 790 7912007-04-07 Frank Warmerdam <[email protected]> 792 793 * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 794 blocks in TIFF_DownSample_Subsampled() (bug 1542). 795 7962007-04-06 Frank Warmerdam <[email protected]> 797 798 * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it 799 will convert from decompressor to compressor or compress to decompress 800 if required by the force arguments. This works around a problem in 801 where the JPEGFixupTestSubsampling() may cause a decompressor to 802 be setup on a directory when later a compressor is required with the 803 force flag set. Occurs with the addtiffo program for instance. 804 8052007-04-06 Andrey Kiselev <[email protected]> 806 807 * tools/tiffcrop.c, man/tiffcrop.1: Significant update in 808 functionality from Richard Nolde. As per bug 809 810 http://bugzilla.remotesensing.org/show_bug.cgi?id=1525 811 8122007-03-28 Frank Warmerdam <[email protected]> 813 814 * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC. 815 8162007-03-17 Joris Van Damme <[email protected]> 817 818 * start of BigTIFF upgrade - CVS HEAD unstable until further notice 819 8202007-03-07 Joris Van Damme <[email protected]> 821 822 * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading 823 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 824 factor. This bug is mentioned in: 825 http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 826 http://www.asmail.be/msg0054766825.html 827 8282007-03-07 Joris Van Damme <[email protected]> 829 830 * libtiff/tif_win32.c: made inclusion of windows.h unconditional 831 832 * libtiff/tif_win32.c: replaced preprocessor indication for consiously 833 unused arguments by standard C indication for the same 834 8352007-02-27 Andrey Kiselev <[email protected]> 836 837 * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte 838 counters in TIFFFetchData(). Should finally fix the issue 839 840 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 841 8422007-02-24 Andrey Kiselev <[email protected]> 843 844 * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount. 845 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350 846 847 * libtiff/tif_dirread.c: Added special function to handle 848 SubjectDistance EXIF tag as per bug 849 850 http://bugzilla.remotesensing.org/show_bug.cgi?id=1362 851 852 * tools/tiff2pdf.c: Do not assume inches when the resolution units 853 do not specified. As per bug 854 855 http://bugzilla.remotesensing.org/show_bug.cgi?id=1366 856 857 * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if 858 it was set as infinite. As per bug 859 860 http://bugzilla.remotesensing.org/show_bug.cgi?id=1368 861 862 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed 863 by Richard Nolde. As per bug 864 865 http://bugzilla.remotesensing.org/show_bug.cgi?id=1383 866 8672007-02-22 Andrey Kiselev <[email protected]> 868 869 * libtiff/tif_dir.c: Workaround for incorrect TIFFs with 870 ExtraSamples == 999 produced by Corel Draw. As per bug 871 872 http://bugzilla.remotesensing.org/show_bug.cgi?id=1490 873 874 * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters 875 changed from tsize_t to uint32 to be able to work with data arrays 876 larger than 2GB. Fixes bug 877 878 http://bugzilla.remotesensing.org/show_bug.cgi?id=890 879 880 Idea submitted by Matt Hancher. 881 8822007-01-31 Andrey Kiselev <[email protected]> 883 884 * tools/tif2rgba.c: This utility does not work properly on big-endian 885 architectures. It was fixed including the bug 886 887 http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 888 8892007-01-15 Mateusz Loskot <[email protected]> 890 891 * Submitted libtiff port for Windows CE platform 892 * libtiff/tif_config.wince.h: Added configuration header for WinCE. 893 * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE. 894 * libtiff/tif_wince.c: Added WinCE-specific implementation of some 895 functons from tif_win32.c. 896 * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c. 897 * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some 898 standard header files for Windows CE build. 899 * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE. 900 9012006-11-19 Frank Warmerdam <[email protected]> 902 903 * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 904 we move a strip. 905 http://bugzilla.remotesensing.org/show_bug.cgi?id=1359 906 9072006-10-13 Andrey Kiselev <[email protected]> 908 909 * libtiff/tif_dir.c: More fixes for vulnerabilities, reported 910 in Gentoo bug (): 911 912 http://bugs.gentoo.org/show_bug.cgi?id=142383 913 914 * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable. 915 Though it is still far from the state of being working and useful. 916 9172006-10-12 Andrey Kiselev <[email protected]> 918 919 * libtiff/tif_fax3.c: Save the state of printdir codec dependent 920 method. 921 922 * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method 923 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273 924 925 * libtiff/tif_win32.c: Fixed problem with offset value manipulation 926 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322 927 928 * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for 929 vulnerabilities, reported in Gentoo bug (): 930 931 http://bugs.gentoo.org/show_bug.cgi?id=142383 932 9332006-09-28 Andrey Kiselev <[email protected]> 934 935 * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple 936 vulnerabilities, as per Gentoo bug (): 937 938 http://bugs.gentoo.org/show_bug.cgi?id=142383 939 9402006-09-27 Frank Warmerdam <[email protected]> 941 942 * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing 943 encoding and decoding on the same read-write TIFF handle. The LZW 944 code can now maintain encode and decode state at the same time. The 945 ZIP code will switch back and forth as needed. 946 http://bugzilla.remotesensing.org/show_bug.cgi?id=757 947 9482006-09-20 Frank Warmerdam <[email protected]> 949 950 * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 951 tif_config.vc.h for easier identification by folks using an IDE. 952 9532006-07-25 Frank Warmerdam <[email protected]> 954 955 * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron 956 9572006-07-19 Frank Warmerdam <[email protected]> 958 959 * tif_dirwrite.c: take care not to flush out buffer of strip/tile 960 data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates 961 to bug report by Peng Gao with black strip at bottom of images. 962 9632006-07-12 Frank Warmerdam <[email protected]> 964 965 * tif_dirwrite.c: make sure to use uint32 for wordcount in 966 TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields. 967 It already seems to have been done for other field types. Needed 968 for "tiffset" on files with geotiff ascii text. 969 9702006-07-04 Bob Friesenhahn <[email protected]> 971 972 * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c} 973 (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and 974 its use does not appear to be required, so use it only when it is 975 available. 976 9772006-06-24 Andrey Kiselev <[email protected]> 978 979 * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961). 980 981 * libtiff/tif_dirread.c: Move IFD fetching code in the separate 982 function TIFFFetchDirectory() avoiding code duplication in 983 TIFFReadDirectory() and TIFFReadCustomDirectory(). 984 9852006-06-19 Frank Warmerdam <[email protected]> 986 987 * tools/tiff2pdf.c: Fix handling of -q values. 988 http://bugzilla.remotesensing.org/show_bug.cgi?id=587 989 9902006-06-17 Frank Warmerdam <[email protected]> 991 992 * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled 993 files. Modified TIFFReadDirectory() to not invoke 994 EstimateStripByteCounts() for case where entry 0 and 1 are unequal 995 but one of them is zero. 996 http://bugzilla.remotesensing.org/show_bug.cgi?id=1204 997 9982006-06-08 Andrey Kiselev <[email protected]> 999 1000 * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping 1001 checking code in the separate function TIFFCheckDirOffset(). 1002 1003 * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function. 1004 1005 * tools/tiffcmp.c: Fixed floating point comparison logic as per bug 1006 1007 http://bugzilla.remotesensing.org/show_bug.cgi?id=1191 1008 1009 * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug 1010 1011 http://bugzilla.remotesensing.org/show_bug.cgi?id=1194 1012 1013 * tools/tiff2pdf.c: Fixed buffer overflow condition in 1014 t2p_write_pdf_string() as per bug 1015 1016 http://bugzilla.remotesensing.org/show_bug.cgi?id=1196 1017 10182006-06-07 Andrey Kiselev <[email protected]> 1019 1020 * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added 1021 support for JBIG compression scheme (34661 code) contributed by Lee 1022 Howard. As per bug 1023 1024 http://bugzilla.remotesensing.org/show_bug.cgi?id=896 1025 1026 * configure, configure.ac: OJPEG support enabled by default. 1027 1028 * contrib/ojpeg/: Removed. New OJPEG support does not need this patch. 1029 10302006-06-03 Bob Friesenhahn <[email protected]> 1031 1032 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in 1033 TIFFPrintDirectory(). Joris Van Damme authored the fix. 1034 10352006-04-21 Andrey Kiselev <[email protected]> 1036 1037 * tools/tiff2pdf.c: Unified line ending characters (always use '\n') 1038 as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163 1039 1040 * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am, 1041 tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}: 1042 Added support for OpenVMS by Alexey Chupahin, [email protected]. 1043 10442006-04-20 Andrey Kiselev <[email protected]> 1045 1046 * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}: 1047 Properly set the binary mode for stdin stream as per bug 1048 http://bugzilla.remotesensing.org/show_bug.cgi?id=1141 1049 1050 * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1, 1051 raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1, 1052 tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1, 1053 tiffset.1}: Improvements in page formatting as per bug 1054 http://bugzilla.remotesensing.org/show_bug.cgi?id=1140 1055 1056 * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed 1057 typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 1058 10592006-04-18 Frank Warmerdam <[email protected]> 1060 1061 * nmake.opt: use /EHsc for VS2005 compatibility. Also define 1062 _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 1063 10642006-04-12 Joris Van Damme <[email protected]> 1065 1066 * libtiff/tif_getimage.c: Added support for planarconfig separate 1067 non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]) 1068 10692006-04-11 Joris Van Damme <[email protected]> 1070 1071 * libtiff/tif_getimage.c: Revision of all RGB(A) put routines 1072 - Conversion of unassociated alpha to associated alpha now done with 1073 more performant LUT, and calculation more correct 1074 - Conversion of 16bit data to 8bit data now done with 1075 more performant LUT, and calculation more correct 1076 - Bugfix of handling of 16bit RGB with unassociated alpha 1077 10782006-04-11 Joris Van Damme <[email protected]> 1079 1080 * libtiff/tif_getimage.c: 1081 - When there is no alpha, gtTileSeparate and gtStripSeparate allocated 1082 buffer for alpha strile and filled it, only to never read it back. 1083 Removed allocation and fill. 1084 - Minor rename of vars in gtTileSeparate and gtStripSeparate 1085 anticipating planned functionality extension 1086 10872006-04-08 Joris Van Damme <[email protected]> 1088 1089 * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 1090 and pickTileSeparateCase to PickSeparateCase as both work on strips as 1091 well 1092 1093 * libtiff/tif_getimage.c: moved img->get selection from 1094 TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create 1095 logical hook for planned functionality extension 1096 10972006-04-08 Joris Van Damme <[email protected]> 1098 1099 * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence 1100 of inappropriate use of jpeg_abort instead of jpeg_destroy 1101 11022006-04-07 Joris Van Damme <[email protected]> 1103 1104 * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 1105 gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour 1106 on subsampled images - this ought to get sorted when we feel brave 1107 enough to replace TIFFScanlineSize alltogether 1108 1109 * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip 1110 11112006-04-04 Joris Van Damme <[email protected]> 1112 1113 * libtiff/tiffio.h: added new type tstrile_t 1114 1115 * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 1116 to new tstrile_t, types of td_stripoffset and td_stripbytecount to 1117 toff_t* 1118 1119 * libtiff/tif_ojpeg.c: totally new implementation 1120 1121 * libtiff/tif_dirread.c: added several hacks to suit new support of 1122 OJPEG 1123 1124 * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling 1125 of OJPEG images in favor of tif_getimage.c native handling of 1126 YCbCr and desubsampling 1127 11282006-03-29 Frank Warmerdam <[email protected]> 1129 1130 * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric 1131 interpretation causes the "upsampled" flag to be recomputed. Fixes 1132 peculiar bug where photometric flag had to be set before jpegcolormode 1133 flag. 1134 11352006-03-25 Joris Van Damme <[email protected]> 1136 1137 * libtiff/tif_jpeg.c: strip size related bugfix in encode raw 1138 1139 * libtiff/tif_strip.c: temporarilly added two new versions of 1140 TIFFScanlineSize 1141 - TIFFNewScanlineSize: proposed new version, after all related 1142 issues and side-effects are sorted out 1143 - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change 1144 This needs further sorting out. 1145 11462006-03-25 Joris Van Damme <[email protected]> 1147 1148 * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size 1149 of last truncated strip data to TIFFWriteEncodedStrip 1150 11512006-03-25 Joris Van Damme <[email protected]> 1152 1153 * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw 1154 11552006-03-25 Joris Van Damme <[email protected]> 1156 1157 * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile 1158 1159 * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile 1160 1161 * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 1162 prepare the path for new tif_ojpeg.c 1163 11642006-03-23 Andrey Kiselev <[email protected]> 1165 1166 * libtiff 3.8.2 released. 1167 1168 * tools/Makefile.am: Use runtime paths linker flags when rpath 1169 option enabled. 1170 11712006-03-21 Andrey Kiselev <[email protected]> 1172 1173 * libtiff/libtiff.def: Added missed exports as per bug 1174 http://bugzilla.remotesensing.org/attachment.cgi?id=337 1175 1176 * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc, 1177 tools/Makefile.vc: Makefiles improvements as per bug 1178 http://bugzilla.remotesensing.org/show_bug.cgi?id=1128 1179 1180 * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h}, 1181 tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions 1182 usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127 1183 1184 * libtiff/tif_strip.c: Take subsampling in account when calculating 1185 TIFFScanlineSize(). 1186 1187 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length. 1188 11892006-03-17 Andrey Kiselev <[email protected]> 1190 1191 * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug 1192 http://bugzilla.remotesensing.org/show_bug.cgi?id=1125 1193 1194 * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug 1195 http://bugzilla.remotesensing.org/show_bug.cgi?id=1124 1196 11972006-03-16 Andrey Kiselev <[email protected]> 1198 1199 * libtiff/tiffiop.h: Added decalration for 1200 _TIFFSetDefaultCompressionState(). 1201 1202 * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c, 1203 tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all 1204 codec cleanup methods. As per bug 1205 1206 http://bugzilla.remotesensing.org/show_bug.cgi?id=1120 1207 12082006-03-15 Andrey Kiselev <[email protected]> 1209 1210 * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As 1211 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119 1212 1213 * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength. 1214 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110 1215 1216 * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro 1217 removed; move here the STRIP_SIZE_DEFAULT macro definition. 1218 1219 * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT 1220 macro definition. 1221 1222 * libtiff/tif_dir.c: Use double type instead of dblparam_t. 1223 12242006-03-14 Andrey Kiselev <[email protected]> 1225 1226 * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence 1227 in TIFFReadDirectory, because it is always set at the start of 1228 function and we allow TIFFs without that tag set. 1229 12302005-03-13 Andrey Kiselev <[email protected]> 1231 1232 * libtiff 3.8.1 released. 1233 12342006-03-07 Andrey Kiselev <[email protected]> 1235 1236 * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() 1237 function as per bug 1238 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1239 1240 * libtiff/tif_dirread.c: More wise check for integer overflow 1241 condition as per bug 1242 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1243 1244 * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}: 1245 Properly restore setfield/getfield methods in cleanup functions. As 1246 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1247 12482006-03-03 Andrey Kiselev <[email protected]> 1249 1250 * libtiff/{tif_predict.c, tif_predict.h}: Added new function 1251 TIFFPredictorCleanup() to restore parent decode/encode/field methods. 1252 1253 * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use 1254 TIFFPredictorCleanup() in codec cleanup methods. As per bug 1255 1256 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1257 1258 * libtiff/tif_dirread.c: Fixed integer overflow condition in 1259 TIFFFetchData() function. As per bug 1260 1261 http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 1262 12632006-03-01 Andrey Kiselev <[email protected]> 1264 1265 * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the 1266 TIFFSetField() method, not directly. As per bug 1267 1268 http://bugzilla.remotesensing.org/show_bug.cgi?id=1043 1269 1270 * tools/ppm2tiff.c: Added support for PBM files as per bug 1271 http://bugzilla.remotesensing.org/show_bug.cgi?id=1044 1272 12732006-02-27 Andrey Kiselev <[email protected]> 1274 1275 * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline() 1276 to avoid crash as per bug 1277 1278 http://bugzilla.remotesensing.org/show_bug.cgi?id=1081. 1279 12802006-02-26 Andrey Kiselev <[email protected]> 1281 1282 * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and 1283 t2p_sample_rgba_to_rgb() was used in place of each other, that was 1284 resulted in problems with RGBA images with associated alpha. 1285 As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097 1286 12872006-02-23 Andrey Kiselev <[email protected]> 1288 1289 * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per 1290 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 1291 1292 * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER, 1293 TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE 1294 tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088. 1295 1296 * tools/tiff2ps.c: Properly scale all the pages when converting 1297 multipage TIFF with /width/height/center options set. As per bug 1298 1299 http://bugzilla.remotesensing.org/show_bug.cgi?id=1080 1300 13012006-02-15 Andrey Kiselev <[email protected]> 1302 1303 * tools/tiff2pdf.c: Do not create output file until all option checks 1304 will be done. As per bug 1305 1306 http://bugzilla.remotesensing.org/show_bug.cgi?id=1072 1307 1308 * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the 1309 list of input files as per bug: 1310 1311 http://bugzilla.remotesensing.org/show_bug.cgi?id=1077 1312 13132006-02-09 Andrey Kiselev <[email protected]> 1314 1315 * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per 1316 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063. 1317 1318 * tools/tiffgt.c: Avoid crashing in case of image unsupported by 1319 TIFFRGBAImage interface. 1320 1321 * libtiff/tif_color.c: Avoid overflow in case of wrong input as per 1322 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065. 1323 13242006-02-07 Frank Warmerdam <[email protected]> 1325 1326 * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG 1327 compressed TIFF files, per submission from Dan Cobra. 1328 13292006-02-07 Andrey Kiselev <[email protected]> 1330 1331 * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly 1332 cast values to avoid warnings. As per bug 1333 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 1334 1335 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when 1336 appropriate. As per bug 1337 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 1338 1339 * libtiff/tif_aux.c: Fixed type of temporary variable in 1340 _TIFFCheckMalloc() as per bug 1341 http://bugzilla.remotesensing.org/show_bug.cgi?id=1033. 1342 13432006-02-06 Andrey Kiselev <[email protected]> 1344 1345 * libtiff/tif_aux.c: Return static array when fetching default 1346 YCbCrCoefficients (another problem, reported a the 1347 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry). 1348 13492006-02-03 Andrey Kiselev <[email protected]> 1350 1351 * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints, 1352 YCbCrSubsampling and DotRange tags as per bugs 1353 1354 http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 1355 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034 1356 1357 * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of 1358 _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug 1359 1360 http://bugzilla.remotesensing.org/show_bug.cgi?id=1026. 1361 13622006-01-23 Andrey Kiselev <[email protected]> 1363 1364 * libtool related stuff updated from the 2.1a branch. 1365 13662006-01-11 Frank Warmerdam <[email protected]> 1367 1368 * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff, 1369 tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works 1370 properly as per bug: 1371 http://bugzilla.remotesensing.org/show_bug.cgi?id=1025 1372 13732006-01-09 Bob Friesenhahn <[email protected]> 1374 1375 * configure.ac: Fix with_default_strip_size comparison as reported 1376 by Norihiko Murase. 1377 13782006-01-08 Bob Friesenhahn <[email protected]> 1379 1380 * test/Makefile.am (LIBTIFF): Due to linking against libtiff 1381 incorrectly, tests were not actually testing the uninstalled 1382 libtiff. Now they are. 1383 13842006-01-04 Andrey Kiselev <[email protected]> 1385 1386 * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, 1387 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount 1388 should be uint32 value. 1389 13902006-01-02 Bob Friesenhahn <[email protected]> 1391 1392 * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can 1393 be used if build directory is not the same as source directory. 1394 * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented 1395 TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET, 1396 and re-sorted tag names in alphabetical order. 1397 13982005-12-29 Andrey Kiselev <[email protected]> 1399 1400 * libtiff 3.8.0 released. 1401 14022005-12-28 Bob Friesenhahn <[email protected]> 1403 1404 * tools/bmp2tiff.c (main): Fixed warning regarding returning 1405 inconsistent types from a condition. 1406 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf 1407 format. 1408 * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs. 1409 14102005-12-28 Joris Van Damme <[email protected]> 1411 1412 * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML 1413 14142005-12-27 Andrey Kiselev <[email protected]> 1415 1416 * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including 1417 windows.h, to reduce the compile time. 1418 14192005-12-26 Bob Friesenhahn <[email protected]> 1420 1421 * libtiff/tif_jpeg.c: Improve compilation under MinGW. 1422 14232005-12-26 Andrey Kiselev <[email protected]> 1424 1425 * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 1426 tiffFieldInfo and exifFieldInfo arrays definitions moved back to 1427 tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo() 1428 private functions to retrieve FieldInfo arrays. 1429 14302005-12-24 Bob Friesenhahn <[email protected]> 1431 1432 * html/build.html: Added some additional instructions for when 1433 building using MSVC under Windows. Also fixed two HTML syntax 1434 errors and used HTML Tidy to tidy up the HTML syntax and 1435 formatting. 1436 14372005-12-24 Andrey Kiselev <[email protected]> 1438 1439 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 1440 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 1441 StoNits tags custom. 1442 14432005-12-23 Andrey Kiselev <[email protected]> 1444 1445 * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 1446 WhitePoint tag custom. 1447 1448 * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added. 1449 14502005-12-23 Joris Van Damme <[email protected]> 1451 1452 * libtiff/tiffio.h: fixed typo that potentially resulted in 1453 redefininition of USE_WIN32_FILEIO 1454 1455 * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 1456 calls in core LibTiff. 1457 14582005-12-21 Andrey Kiselev <[email protected]> 1459 1460 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 1461 Photoshop and ICCProfile tags custom. 1462 14632005-12-21 Joris Van Damme <[email protected]> 1464 1465 * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 1466 newer code to get context indicator in error handler and still 1467 remain compatible with older code: Done TIFFError calls everywhere 1468 except in tools 1469 14702005-12-20 Andrey Kiselev <[email protected]> 1471 1472 * tools/tiffcp.c: Added many error reporting messages; fixed integer 1473 overflow as per bug 1474 1475 http://bugzilla.remotesensing.org/show_bug.cgi?id=789 1476 14772005-12-16 Frank Warmerdam <[email protected]> 1478 1479 * contrib/addtiffo/*: Major upgrade by Joris to support subsampled 1480 YCbCr images in jpeg compressed TIFF files. 1481 14822005-12-14 Andrey Kiselev <[email protected]> 1483 1484 * tools/tiffcp.c: Return non-zero status when reading fails (again). 1485 14862005-12-13 Andrey Kiselev <[email protected]> 1487 1488 * tools/tiffcp.c: Return non-zero status when reading fails. 1489 14902005-12-12 Andrey Kiselev <[email protected]> 1491 1492 * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags. 1493 14942005-12-09 Andrey Kiselev <[email protected]> 1495 1496 * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag 1497 custom. 1498 1499 * tools/tiffinfo.c: Print EXIF directory contents if exist. 1500 1501 * libtiff/tiff.h: Few EXIF tag numbers added. 1502 1503 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, 1504 tiffio.h}: Preliminary support to read custom directories. New 1505 functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory(). 1506 15072005-12-07 Andrey Kiselev <[email protected]> 1508 1509 * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 1510 More work to implement custom directory read support. 1511 1512 * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 1513 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 1514 tags custom. 1515 15162005-12-05 Andrey Kiselev <[email protected]> 1517 1518 * libtiff/tif_dirread.c: One more workaround for broken 1519 StripByteCounts tag. Handle the case when StripByteCounts array filled 1520 with completely wrong values. 1521 15222005-11-30 Andrey Kiselev <[email protected]> 1523 1524 * libtiff/tif_dirinfo.c: Release file descriptor in case of failure 1525 in the TIFFOpenW() function as per bug 1526 1527 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 1528 1529 * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind() 1530 functions as per bug 1531 1532 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 1533 15342005-11-20 Frank Warmerdam <[email protected]> 1535 1536 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 1537 for MS MDI format. 1538 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 1539 1540 * .cvsignore: many files added, and a few update according 1541 to suggestion of Brad HArds on tiff mailing list. 1542 15432005-11-03 Frank Warmerdam <[email protected]> 1544 1545 * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 1546 public. 1547 15482005-10-31 Andrey Kiselev <[email protected]> 1549 1550 * tools/fax2tiff.c: Properly calculate sizes of temporary arrays 1551 as per bug 1552 1553 http://bugzilla.remotesensing.org/show_bug.cgi?id=943 1554 1555 * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 1556 as per bug 1557 1558 http://bugzilla.remotesensing.org/show_bug.cgi?id=944 1559 1560 * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization 1561 problem as per bug 1562 1563 http://bugzilla.remotesensing.org/show_bug.cgi?id=946 1564 1565 * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug 1566 1567 http://bugzilla.remotesensing.org/show_bug.cgi?id=965 1568 1569 * libtiff/tif_dirinfo.c: Make XResolution, YResolution and 1570 ResolutionUnit tags modifiable during write process. As per bug 1571 1572 http://bugzilla.remotesensing.org/show_bug.cgi?id=977 1573 1574 * tools/tiffsplit.c: Copy fax related fields over splitted parts 1575 as per bug 1576 1577 http://bugzilla.remotesensing.org/show_bug.cgi?id=983 1578 15792005-10-21 Frank Warmerdam <[email protected]> 1580 1581 * tif_dirread.c: Don't try and split single strips into "0" strips 1582 in ChopUpSingleUncompressedStrip. This happens in some degenerate 1583 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 1584 15852005-10-20 Joris Van Damme <[email protected]> 1586 1587 * tif_fax3.c: changed 'at scanline ...' style warning/errors 1588 with incorrect use of tif_row, to 'at line ... of 1589 strip/tile ...' style 1590 15912005-10-15 Frank Warmerdam <[email protected]> 1592 1593 * tif_write.c: fixed setting of planarconfig as per bug report 1594 on the mailing list from Joris. 1595 15962005-10-07 Andrey Kiselev <[email protected]> 1597 1598 * configure.ac, configure, nmake.opt, libtiff/{tif_config.h, 1599 tif_dirread.c}: Make the default strip size configurable via the 1600 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 1601 16022005-09-30 Bob Friesenhahn <[email protected]> 1603 1604 * html/support.html: Fixed link to documentation on Greg Ward's 1605 LogLuv TIFF format. 1606 16072005-09-28 Andrey Kiselev <[email protected]> 1608 1609 * tools/tiffdump.c: Fixed crash when reading malformed tags. 1610 16112005-09-20 Andrey Kiselev <[email protected]> 1612 1613 * tools/tiff2pdf.c: Added missed 'break' statement as per bug 1614 http://bugzilla.remotesensing.org/show_bug.cgi?id=932 1615 16162005-09-12 Andrey Kiselev <[email protected]> 1617 1618 * libtiff 3.7.4 released. 1619 1620 * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch 1621 from Patrick Welche (all scripts moved in the 'config' and 'm4' 1622 directories). 1623 16242005-09-12 Frank Warmerdam <[email protected]> 1625 1626 * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris. 1627 16282005-09-05 Frank Warmerdam <[email protected]> 1629 1630 * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV 1631 also set it to NULL to avoid double free when re-setting custom 1632 string fields as per: 1633 1634 http://bugzilla.remotesensing.org/show_bug.cgi?id=922 1635 16362005-08-12 Frank Warmerdam <[email protected]> 1637 1638 * libtiff/tif_print.c: avoid signed/unsigned warning. 1639 1640 * libtiff/tif_dirread.c: removed unused variable. 1641 16422005-07-30 Frank Warmerdam <[email protected]> 1643 1644 * libtiff/tif_dir.c: Fixed up support for swapping "double complex" 1645 values (128 bits as 2 64 bits doubles). GDAL gcore tests now 1646 pass on bigendian (macosx) system. 1647 16482005-07-28 Andrey Kiselev <[email protected]> 1649 1650 * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename 1651 CheckMalloc() function to _TIFFCheckMalloc() and make it available 1652 globally as an internal helper routine. 1653 16542005-07-27 Andrey Kiselev <[email protected]> 1655 1656 * libtiff/tif_dir.c: More improvements in the "pass by value" part of 1657 the custom tags handling code. 1658 16592005-07-26 Andrey Kiselev <[email protected]> 1660 1661 * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to 1662 SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() 1663 function, use TIFFFetchNormalTag() instead as per bug 1664 1665 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 1666 1667 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() 1668 instead. 1669 1670 * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug 1671 1672 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 1673 16742005-07-25 Andrey Kiselev <[email protected]> 1675 1676 * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays. 1677 1678 * tools/tiffdump.c: Added support for TIFF_IFD datatype. 1679 16802005-07-21 Andrey Kiselev <[email protected]> 1681 1682 * libtiff/tif_write.c: Do not check the PlanarConfiguration field in 1683 the TIFFWriteCheck() function in case of single band images (as per 1684 TIFF spec). 1685 16862005-07-12 Andrey Kiselev <[email protected]> 1687 1688 * SConstruct, libtiff/SConstruct: Added the first very preliminary 1689 support for SCons software building tool (http://www.scons.org/). 1690 This is experimental infrastructure and it will exist along with the 1691 autotools mechanics. 1692 16932005-07-07 Andrey Kiselev <[email protected]> 1694 1695 * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from 1696 the NetBSD source tree (the old 4-clause BSD license changed to 1697 the new 3-clause one). 1698 1699 * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind() 1700 replacement module. 1701 1702 * port/dummy.c: Make the dummy function static. 1703 17042005-07-06 Andrey Kiselev <[email protected]> 1705 1706 * tools/tiffcp.c: Fixed WhitePoint tag copying. 1707 1708 * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: 1709 Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, 1710 ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. 1711 17122005-07-04 Andrey Kiselev <[email protected]> 1713 1714 * libtiff 3.7.3 released. 1715 1716 * configure, configure.ac: Do not use empty -R option when linking 1717 with --enable-rpath. 1718 17192005-07-01 Andrey Kiselev <[email protected]> 1720 1721 * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid 1722 reading the first IFD when needed. As per bug 1723 1724 http://bugzilla.remotesensing.org/show_bug.cgi?id=875 1725 1726 * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side 1727 effects. 1728 17292005-06-23 Andrey Kiselev <[email protected]> 1730 1731 * tools/tiff2pdf.c: Print two characters per loop in the 1732 t2p_write_pdf_trailer(). As per bug 1733 1734 http://bugzilla.remotesensing.org/show_bug.cgi?id=594 1735 1736 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 1737 per bug 1738 1739 http://bugzilla.remotesensing.org/show_bug.cgi?id=844 1740 1741 * acinclude.m4: Updated to latest OpenGL test macros versions. 1742 1743 * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler 1744 platform. As per bug 1745 1746 http://bugzilla.remotesensing.org/show_bug.cgi?id=855 1747 17482005-06-14 Andrey Kiselev <[email protected]> 1749 1750 * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 1751 and YClipPathUnits tags. 1752 17532005-06-07 Andrey Kiselev <[email protected]> 1754 1755 * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size; 1756 use pixel sized shift in contigous case. 1757 17582005-06-06 Andrey Kiselev <[email protected]> 1759 1760 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 1761 Make overviews working for contiguos images. 1762 17632005-06-03 Andrey Kiselev <[email protected]> 1764 1765 * libtiff/tif_open.c: Replace runtime endianess check with the compile 1766 time one. 1767 1768 * libtiff/tif_predict.c: Floating point predictor now works on 1769 big-endian hosts. 1770 17712005-06-01 Andrey Kiselev <[email protected]> 1772 1773 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom 1774 ASCII values. 1775 1776 * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make 1777 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 1778 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 1779 TargetPrinter tags custom. 1780 1781 * libtiff/tif_jpeg.c: Cleanup the codec state depending on 1782 TIFF_CODERSETUP flag (to fix memry leaks). 1783 1784 * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after 1785 allocating. 1786 17872005-05-26 Andrey Kiselev <[email protected]> 1788 1789 * configure.ac, libtiff/Makefile.am: Added workaround for 1790 OpenBSD/MirOS soname problem as per bug 1791 1792 http://bugzilla.remotesensing.org/show_bug.cgi?id=838 1793 1794 * libtiff/tif_dirwrite.c: Use tdir_count when calling 1795 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 1796 per bug 1797 1798 http://bugzilla.remotesensing.org/show_bug.cgi?id=845 1799 18002005-05-25 Andrey Kiselev <[email protected]> 1801 1802 * tools/ppm2tiff.c: Fixed format string when read PPM file header with 1803 the fscanf() function. As per bug 1804 1805 http://bugzilla.remotesensing.org/show_bug.cgi?id=861 1806 1807 * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns 1808 uint16 array when fetching the BYTE and SBYTE filds, so we should 1809 consider result as pointer to uint16 array and not as array of chars. 1810 As per bug 1811 1812 http://bugzilla.remotesensing.org/show_bug.cgi?id=831 1813 1814 * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug 1815 1816 http://bugzilla.remotesensing.org/show_bug.cgi?id=830 1817 1818 * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 1819 mode in CreateFile() call as per bug 1820 1821 http://bugzilla.remotesensing.org/show_bug.cgi?id=829 1822 1823 * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and 1824 libtiffxx libraries as per bug 1825 1826 http://bugzilla.remotesensing.org/show_bug.cgi?id=826 1827 1828 * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with 1829 GDAL. 1830 18312005-05-23 Frank Warmerdam <[email protected]> 1832 1833 * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with 1834 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 1835 in directory. 1836 18372005-05-22 Frank Warmerdam <[email protected]> 1838 1839 * libtiff/tif_dirread.c: Changed the code that computes 1840 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 1841 zero. This is a common case with GDAL indicating a "null" tile/strip. 1842 18432005-05-17 Andrey Kiselev <[email protected]> 1844 1845 * tools/tiffsplit.c: Check for JPEGTables tag presence before copying. 1846 18472005-05-06 Frank Warmerdam <[email protected]> 1848 1849 * libtiff/tif_dirread.c: Applied similar change to 1850 TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 1851 1852 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 1853 1854 * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 1855 18562005-05-06 Andrey Kiselev <[email protected]> 1857 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 1858 added new option '-b' to use interpolation in output PDF files (Bruno 1859 Ledoux). 1860 18612005-05-05 Frank Warmerdam <[email protected]> 1862 1863 * libtiff/tif_dirread.c: Ensure that broken files with too many 1864 values in PerSampleShorts work ok instead of crashing. 1865 1866 http://bugzilla.remotesensing.org/show_bug.cgi?id=843 1867 18682005-04-27 Andrey Kiselev <[email protected]> 1869 1870 * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the 1871 input file. 1872 18732005-04-15 Andrey Kiselev <[email protected]> 1874 1875 * libtiff/tif_predict.c: Added ability to encode floating point 1876 predictor, as per TIFF Technical Note 3. 1877 18782005-04-14 Andrey Kiselev <[email protected]> 1879 1880 * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode 1881 floating point predictor, as per TIFF Technical Note 3. 1882 18832005-04-13 Andrey Kiselev <[email protected]> 1884 1885 * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}: 1886 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 1887 swap 24-bit floating point values. 1888 1889 * libtiff/tiff.h: Added predictor constants. 1890 18912005-04-08 Andrey Kiselev <[email protected]> 1892 1893 * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate 1894 values in _TIFFVSetField() function. Inspired by the bug 1895 1896 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 1897 1898 * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag 1899 as per bug 1900 1901 http://bugzilla.remotesensing.org/show_bug.cgi?id=816 1902 19032005-03-30 Andrey Kiselev <[email protected]> 1904 1905 * libtiff/tif_open.c: Do not read header in case the output file 1906 should be truncated (Ron). 1907 1908 * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead 1909 of bsearch() in _TIFFFindFieldInfoByName() function (Ron). 1910 1911 * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron). 1912 19132005-03-22 Andrey Kiselev <[email protected]> 1914 1915 * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 1916 rpath option. 1917 19182005-03-21 Andrey Kiselev <[email protected]> 1919 1920 * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom 1921 tags. 1922 19232005-03-18 Andrey Kiselev <[email protected]> 1924 1925 * libtiff/dirinfo.c: Added DNG tags. 1926 1927 * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag 1928 handling code. 1929 1930 * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo); 1931 added DNG 1.1.0.0 tags. 1932 1933 * tools/tif2pdf.c: Fixed problem with alpha channel handling as per 1934 bug 1935 1936 http://bugzilla.remotesensing.org/show_bug.cgi?id=794 1937 1938 * man/TIFFGetField.3tiff: Add a note about autoregistered tags. 1939 19402005-03-17 Andrey Kiselev <[email protected]> 1941 1942 * nmake.opt: Build with Win32 CRT library by default. 1943 1944 * tools/tiff2ps.c: Fixed typo in page size handling code. 1945 1946 * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed 1947 by value. 1948 1949 * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags. 1950 19512005-03-15 Andrey Kiselev <[email protected]> 1952 1953 * libtiff 3.7.2 released. 1954 19552005-03-09 Andrey Kiselev <[email protected]> 1956 1957 * tools/tiffcmp.c: Added ability to compare the 32-bit integer and 1958 floating point data; complain on unsupported bit depths. 1959 19602005-03-05 Andrey Kiselev <[email protected]> 1961 1962 * tif_stream.cxx: Use ios namespace instead of ios_base to support 1963 GCC 2.95. 1964 1965 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from 1966 Lee Howard for HylaFax DCS tag 1967 (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771) 1968 19692005-03-04 Andrey Kiselev <[email protected]> 1970 1971 * configure, configure.ac: Use -rpath option instead of -R as per bug 1972 1973 http://bugzilla.remotesensing.org/show_bug.cgi?id=732 1974 1975 * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee 1976 Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax 1977 software. As per bug 1978 1979 http://bugzilla.remotesensing.org/show_bug.cgi?id=771 1980 1981 * nmake.opt, html/build.html: Add more comments, change the config 1982 file organization a bit as per bug 1983 1984 http://bugzilla.remotesensing.org/show_bug.cgi?id=764 1985 1986 * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison 1987 as per bug 1988 1989 http://bugzilla.remotesensing.org/show_bug.cgi?id=785 1990 19912005-03-03 Andrey Kiselev <[email protected]> 1992 1993 * libtiff/tif_dirread.c: More logic to guess missed strip size as per 1994 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705 1995 1996 * tools/fax2ps.c: Replace insecure mktemp() function with the 1997 tmpfile() as per bug 1998 1999 http://bugzilla.remotesensing.org/show_bug.cgi?id=786 2000 20012005-02-04 Andrey Kiselev <[email protected]> 2002 2003 * libtiff/tiff.h: Changed the int8 definition to be always signed char 2004 as per bug 2005 2006 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2007 2008 * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{} 2009 block as per bug 2010 2011 http://bugzilla.remotesensing.org/show_bug.cgi?id=763 2012 20132005-02-03 Bob Friesenhahn <[email protected]> 2014 2015 * tools/tiffgt.c: Fix problem on big-endian CPUs so that images 2016 display more correctly. Images display brighter than they should 2017 on a Sun workstation. 2018 20192005-02-03 Andrey Kiselev <[email protected]> 2020 2021 * libtiff/tif_dirread.c: Estimate strip size in case of wrong or 2022 suspicious values in the tags. As per bugs 2023 2024 http://bugzilla.remotesensing.org/show_bug.cgi?id=705 2025 2026 and 2027 2028 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 2029 2030 * tools/tiff2ps.c: Fixed problem with page sizes as per bug 2031 2032 http://bugzilla.remotesensing.org/show_bug.cgi?id=742 2033 20342005-01-31 Bob Friesenhahn <[email protected]> 2035 2036 * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description. 2037 (TIFFTAG_TILELENGTH): Corrected description. 2038 20392005-01-30 Andrey Kiselev <[email protected]> 2040 2041 * configure.ac: Fixes for --with-docdir option as per bug 2042 2043 http://bugzilla.remotesensing.org/show_bug.cgi?id=759 2044 2045 * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per 2046 bug 2047 2048 http://bugzilla.remotesensing.org/show_bug.cgi?id=756 2049 2050 * libtiff/tif_stream.cxx: Fixes for C++ stream interface from 2051 Michael Rinne and Edward Lam. 2052 20532005-01-15 Andrey Kiselev <[email protected]> 2054 2055 * configure.ac: Make the documentation directory location configurable 2056 via the --with-docdir option (as suggested by Jeremy C. Reed). 2057 2058 * libtiff/tif_color.c: Use double as the second argument of pow() 2059 function in TIFFCIELabToRGBInit(). As per bug 2060 2061 http://bugzilla.remotesensing.org/show_bug.cgi?id=741 2062 2063 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to 2064 integer as per bug 2065 2066 http://bugzilla.remotesensing.org/show_bug.cgi?id=740 2067 2068 * libtiff/tif_getimage.c: Always fill the error message buffer in 2069 TIFFRGBAImageBegin() as per bug 2070 2071 http://bugzilla.remotesensing.org/show_bug.cgi?id=739 2072 20732005-01-12 Andrey Kiselev <[email protected]> 2074 2075 * libtiff/tif_jpeg.c: Added ability to read/write the fax specific 2076 TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME 2077 tags as per bug 2078 2079 http://bugzilla.remotesensing.org/show_bug.cgi?id=736 2080 2081 * libtiff/tif_win32.c: Fixed message formatting in functions 2082 Win32WarningHandler() and Win32ErrorHandler() as per bug 2083 2084 http://bugzilla.remotesensing.org/show_bug.cgi?id=735 2085 2086 * tools/tiff2ps.c: Interpret the -w and -h options independently. As 2087 per bug 2088 2089 http://bugzilla.remotesensing.org/show_bug.cgi?id=689 2090 20912005-01-11 Andrey Kiselev <[email protected]> 2092 2093 * libtiff/tiffio.h: Move the color conversion routines in the 'extern 2094 "C"' section as per bug 2095 2096 http://bugzilla.remotesensing.org/show_bug.cgi?id=727 2097 2098 * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C 2099 compiler to avoid double definition of BSD types as per bug 2100 2101 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2102 2103 * libtiff/Makefile.am: Place the C++ stream API in the separate 2104 library called libtiffxx to avoid unneeded dependencies. Probably 2105 there will be more C++ API in the future. As per bugs 2106 2107 http://bugzilla.remotesensing.org/show_bug.cgi?id=733 2108 2109 and 2110 2111 http://bugzilla.remotesensing.org/show_bug.cgi?id=730 2112 21132005-01-05 Andrey Kiselev <[email protected]> 2114 2115 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the 2116 wrong tag counts (Dmitry V. Levin, Martin Pitt). 2117 2118 * configure.ac: Replace --disable-c++ with the --disable-cxx option as 2119 per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 2120 21212004-12-25 Andrey Kiselev <[email protected]> 2122 2123 * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled 2124 RGB-images as per bug 2125 2126 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 2127 2128 2129 * tools/tiffset.c: Convert character option to integer value as per 2130 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725 2131 21322004-12-20 Andrey Kiselev <[email protected]> 2133 2134 * libtiff 3.7.1 released. 2135 2136 * html/tiffset.1.html: Add missed manual page as per bug 2137 2138 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 2139 2140 * libtiff/tiff.h: Revert back libtiff data type definitions as per 2141 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687 2142 21432004-12-19 Andrey Kiselev <[email protected]> 2144 2145 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 2146 checking for tag count in TIFFReadDirectory() function. As per bug 2147 2148 http://bugzilla.remotesensing.org/show_bug.cgi?id=713 2149 2150 * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in 2151 CheckMallock() function. 2152 2153 * libtiff/tif_getimage.c: Support for multiple-alpha-channelled 2154 RGB-images as per bug 2155 2156 http://bugzilla.remotesensing.org/show_bug.cgi?id=718 2157 21582004-12-15 Frank Warmerdam <[email protected]> 2159 2160 * libtiff/tif_getimage.c: #define A1 bracketing for clean build on 2161 SunPro compiler. 2162 21632004-12-11 Bob Friesenhahn <[email protected]> 2164 2165 * autogen.sh: aclocal and autoheader should be executed after 2166 libtoolize. Also add '-I .' to aclocal invocation to check 2167 current directory for macros. 2168 21692004-12-10 Andrey Kiselev <[email protected]> 2170 2171 * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 2172 as per bugs 2173 2174 http://bugzilla.remotesensing.org/show_bug.cgi?id=703 2175 2176 and 2177 2178 http://bugzilla.remotesensing.org/show_bug.cgi?id=704 2179 21802004-12-04 Andrey Kiselev <[email protected]> 2181 2182 * nmake.opt: Link with the user32.lib in windowed mode. As per bug 2183 2184 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 2185 2186 * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed 2187 mode as per bug 2188 2189 http://bugzilla.remotesensing.org/show_bug.cgi?id=697 2190 2191 * libtiff/tif_config.in.vc: Removed unneded definitions for 2192 read/open/close/lseek functions to fix the 2193 2194 http://bugzilla.remotesensing.org/show_bug.cgi?id=680 2195 21962004-12-03 Andrey Kiselev <[email protected]> 2197 2198 * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore() 2199 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 2200 must be removed in the future, as it was never used properly. As per 2201 bug 2202 2203 http://bugzilla.remotesensing.org/show_bug.cgi?id=692 2204 22052004-11-30 Bob Friesenhahn <[email protected]> 2206 2207 * libtiff/tif_jpeg.c: Added a work-around in order to allow 2208 compilation with the heavily modified version of libjpeg delivered 2209 with Cygwin. 2210 22112004-11-29 Andrey Kiselev <[email protected]> 2212 2213 * libtiff/tif_dir.c: Properly handle tags, which have the uint32 2214 counts. As per bug 2215 2216 http://bugzilla.remotesensing.org/show_bug.cgi?id=693 2217 2218 * tools/fax2ps.c: Be able to extract the first page (#0). As per bug 2219 2220 http://bugzilla.remotesensing.org/show_bug.cgi?id=690 2221 22222004-11-28 Andrey Kiselev <[email protected]> 2223 2224 * libtiff/tif_unix.c: Make UNIX module compilable (and usable) 2225 on Windows. 2226 2227 * nmake.opt: Add missed DLLNAME variable. 2228 22292004-11-26 Frank Warmerdam <[email protected]> 2230 2231 * libtiff/makefile.vc: make it easier to rename the libtiff DLL. 2232 22332004-11-24 Andrey Kiselev <[email protected]> 2234 2235 * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as 2236 per bug 2237 2238 http://bugzilla.remotesensing.org/show_bug.cgi?id=545 2239 2240 * man/tiffset.1: Added manual page for tiffset tool written by Jay 2241 Berkenbilt. As per bug 2242 2243 http://bugzilla.remotesensing.org/show_bug.cgi?id=678 2244 22452004-11-23 Frank Warmerdam <[email protected]> 2246 2247 * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError. 2248 22492004-11-21 Frank Warmerdam <[email protected]> 2250 2251 * html/document.html: Updated Adobe web links as per email from Joris. 2252 22532004-11-21 Andrey Kiselev <[email protected]> 2254 2255 * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new 2256 file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to 2257 use C++ streams should #include <tiffio.hxx>. 2258 22592004-11-13 Andrey Kiselev <[email protected]> 2260 2261 * libtiff/tiff.h: Added Adobe DNG tags. 2262 2263 * libtiff/tif_win32.c: Typo fixed. 2264 2265 * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to 2266 be compliant with the latest standard. Appropriate additions in 2267 makefiles now completed. 2268 22692004-11-11 Andrey Kiselev <[email protected]> 2270 2271 * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the 2272 different tag types. As per bug 2273 2274 http://bugzilla.remotesensing.org/show_bug.cgi?id=600 2275 22762004-11-10 Andrey Kiselev <[email protected]> 2277 2278 * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for 2279 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 2280 22812004-11-09 Andrey Kiselev <[email protected]> 2282 2283 * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky). 2284 22852004-11-07 Andrey Kiselev <[email protected]> 2286 2287 * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface 2288 contributed by Edward Lam (see 2289 http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details). 2290 Though no changes in any makefiles yet. 2291 22922004-11-05 Frank Warmerdam <[email protected]> 2293 2294 * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file 2295 is bad. This is the callers responsibility. 2296 http://bugzilla.remotesensing.org/show_bug.cgi?id=651 2297 22982004-11-05 Andrey Kiselev <[email protected]> 2299 2300 * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 2301 function to work with the double byte strings (used to represent 2302 filenames in some locales). As per bug 2303 2304 http://bugzilla.remotesensing.org/show_bug.cgi?id=625 2305 2306 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and 2307 Compression tags of type LONG from broken TIFFS as per bug 2308 2309 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 2310 2311 * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 2312 the writecount should have uint32 type. As per bug 2313 2314 http://bugzilla.remotesensing.org/show_bug.cgi?id=662 2315 2316 * libtiff/tif_write.c: Fixed wrong if() statement in 2317 TIFFAppendToStrip() function as per bug 2318 2319 http://bugzilla.remotesensing.org/show_bug.cgi?id=660 2320 23212004-11-04 Andrey Kiselev <[email protected]> 2322 2323 * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 2324 field. The caller should supply a count when setting this field. As 2325 per bug 2326 2327 http://bugzilla.remotesensing.org/show_bug.cgi?id=648 2328 2329 * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have 2330 uint32 count. Use this type everywhere. 2331 23322004-11-03 Frank Warmerdam <[email protected]> 2333 2334 * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653. 2335 23362004-11-02 Frank Warmerdam <[email protected]> 2337 2338 * tools/tiff2rgba.c: removed extra newlines in usage message. 2339 23402004-10-30 Andrey Kiselev <[email protected]> 2341 2342 * libtiff/tif_dirwrite.c: Improvements in tag writing code. 2343 2344 * tools/tiff2ps.c: Fixed wrong variable data type when read Position 2345 tags (Tristan Hill). 2346 23472004-10-30 Frank Warmerdam <[email protected]> 2348 2349 * libtiff/tiffiop.h: added fallback definition of assert() if we 2350 don't have assert.h. 2351 23522004-10-29 Andrey Kiselev <[email protected]> 2353 2354 * libtiff/tif_fax3.c: Fixed case with the wrong decode routines 2355 choosing when the incorrect Group4Options tag set. As per bug 2356 2357 http://bugzilla.remotesensing.org/show_bug.cgi?id=323 2358 2359 * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of 2360 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 2361 TIFFWriteNormalTag(). 2362 23632004-10-28 Andrey Kiselev <[email protected]> 2364 2365 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution 2366 tags (Peter Fales). 2367 2368 * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions. 2369 23702004-10-28 Frank Warmerdam <[email protected]> 2371 2372 * tools/tiff2pdf.c: added casts to avoid warnings. 2373 2374 * libtiff/libtiff.def: Added several more entry points required 2375 to link fax2tiff.c against the DLL on windows. 2376 23772004-10-27 Andrey Kiselev <[email protected]> 2378 2379 * configure, configure.ac: Added --enable-rpath option to embed linker 2380 paths into library binary. 2381 23822004-10-26 Andrey Kiselev <[email protected]> 2383 2384 * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin). 2385 2386 * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed 2387 (Vladimir Nadvornik, Dmitry V. Levin). 2388 23892004-10-16 Andrey Kiselev <[email protected]> 2390 2391 * libtiff 3.7.0 released. 2392 23932004-10-15 Bob Friesenhahn <[email protected]> 2394 2395 * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h 2396 in this file so its inclusion is removed. Including stdio.h 2397 sometimes incurs an INT32 typedef conflict between MinGW's 2398 basetsd.h and libjpeg's jmorecfg.h. 2399 24002004-10-15 Andrey Kiselev <[email protected]> 2401 2402 * man/bmp2tiff.1: Added manual page for bmp2tiff utility. 2403 24042004-10-13 Bob Friesenhahn <[email protected]> 2405 2406 * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid 2407 conflict noticed under MinGW. 2408 * ltmain.sh: Fix for MinGW compilation. 2409 24102004-10-13 Frank Warmerdam <[email protected]> 2411 2412 * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz. 2413 http://bugzilla.remotesensing.org/show_bug.cgi?id=635 2414 24152004-10-12 Andrey Kiselev <[email protected]> 2416 2417 * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c, 2418 tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes 2419 properly (Dmitry V. Levin, Marcus Meissner). 2420 24212004-10-11 Andrey Kiselev <[email protected]> 2422 2423 * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed 2424 to TIFF_IFD. 2425 24262004-10-10 Andrey Kiselev <[email protected]> 2427 2428 * tools/bmp2tif.c: Check the space allocation results. 2429 24302004-10-09 Andrey Kiselev <[email protected]> 2431 2432 * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields 2433 of the TIFFDirectory structure with the 0 instead of -1 to avoid 2434 confusing integer overflows in TIFFTileRowSize() for striped images. 2435 2436 * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported 2437 by Ross A. Finlayson. 2438 2439 * libtiff/tif_dir.c: Fixed custom tags handling as per bug 2440 2441 http://bugzilla.remotesensing.org/show_bug.cgi?id=629 2442 24432004-10-08 Frank Warmerdam <[email protected]> 2444 2445 * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation 2446 of tif_fieldinfo. 2447 2448 http://bugzilla.remotesensing.org/show_bug.cgi?id=630 2449 24502004-10-04 Bob Friesenhahn <[email protected]> 2451 2452 * contrib/iptcutil/README: Added the missing README which goes 2453 along with iptcutil. 2454 24552004-10-03 Andrey Kiselev <[email protected]> 2456 2457 * libtiff/tif_compress.c: Improved error reporting in 2458 TIFFGetConfiguredCODECs() (Dmitry V. Levin). 2459 24602004-10-02 Andrey Kiselev <[email protected]> 2461 2462 * libtiff 3.7.0beta2 released. 2463 2464 * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c, 2465 tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c, 2466 tif_pixarlog.c, tif_write.c}: Added checks for failed memory 2467 allocations and integer overflows (Dmitry V. Levin). 2468 2469 * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added. 2470 24712004-10-01 Frank Warmerdam <[email protected]> 2472 2473 * libtiff/tif_open.c: added a more informative message if a BigTIFF 2474 file is opened. 2475 24762004-09-30 Frank Warmerdam <[email protected]> 2477 2478 * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 2479 TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info 2480 in the Adobe XMP Specification. 2481 24822004-09-29 Andrey Kiselev <[email protected]> 2483 2484 * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of 2485 memset(). 2486 2487 * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches 2488 from Dmitry V. Levin to fix possible integer overflow problems. 2489 24902004-09-28 Andrey Kiselev <[email protected]> 2491 2492 * libtiff/tif_getimage.c: Check for allocated buffers before clearing 2493 (Dmitry V. Levin). 2494 24952004-09-26 Andrey Kiselev <[email protected]> 2496 2497 * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}: 2498 Optimize checking for the strip bounds. 2499 2500 * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and 2501 TIFFRasterScanlineSize() functions report zero in the case of integer 2502 overflow now. Properly handle this case in TIFFReadDirectory() 2503 (patches from Dmitry V. Levin). 2504 25052004-09-25 Andrey Kiselev <[email protected]> 2506 2507 * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8() 2508 macro where appropriate. 2509 2510 * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as 2511 noted by Gennady Khokhorin. 2512 2513 * libtiff/tif_dirread.c: Always check the return values, returned 2514 by the _TIFFmalloc() (Dmitry V. Levin). 2515 2516 * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array() 2517 functions (Dmitry V. Levin). 2518 2519 * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}: 2520 Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(), 2521 TIFFGrowStrips() (found by Dmitry V. Levin). 2522 25232004-09-24 Andrey Kiselev <[email protected]> 2524 2525 * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs() 2526 to get the list of configured codecs. 2527 2528 * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from 2529 Dmitry V. Levin. 2530 25312004-09-23 Andrey Kiselev <[email protected]> 2532 2533 * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix 2534 possible integer overflow in CheckMalloc() function. 2535 25362004-09-22 Andrey Kiselev <[email protected]> 2537 2538 * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead 2539 of plain TIFFhowmany() where appropriate. 2540 25412004-09-21 Andrey Kiselev <[email protected]> 2542 2543 * libtiff/tif_getimage.c: Initialize arrays after space allocation. 2544 25452004-09-19 Andrey Kiselev <[email protected]> 2546 2547 * libtiff 3.7.0beta released. 2548 2549 * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer 2550 overruns fixed, as noted by Chris Evans. 2551 25522004-09-14 Bob Friesenhahn <[email protected]> 2553 2554 * commit: Added a script to make it more convenient to commit 2555 updates. The CVS commit message is extracted from this ChangeLog 2556 file. 2557 25582004-09-14 Andrey Kiselev <[email protected]> 2559 2560 * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c, 2561 tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c, 2562 tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c, 2563 tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c, 2564 tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h, 2565 tif_config.h.in, tiffiop.h}: 2566 Get rid of BSD data types (u_char, u_short, u_int, u_long). 2567 25682004-09-13 Bob Friesenhahn <[email protected]> 2569 2570 * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP 2571 specification. Reference libtiff bug tracking system to submit 2572 private tag additions. 2573 25742004-09-12 Bob Friesenhahn <[email protected]> 2575 2576 * tools/tiffgt.c: Include "tif_config.h". 2577 2578 * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build 2579 tiffgt. This results in the 'compile' script being added to the 2580 project. 2581 2582 * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options 2583 required to find OpenGL headers necessary to build tiffgt. Also 2584 ensure that the libtiff that we built is used rather than some other 2585 libtiff installed on the system. 2586 25872004-09-12 Andrey Kiselev <[email protected]> 2588 2589 * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT 2590 libraries. 2591 25922004-09-11 Bob Friesenhahn <[email protected]> 2593 2594 * configure.ac: Pass library configuration defines via 2595 tif_config.h rather than extending CPPFLAGS. Configure a 2596 libtiff/tiffconf.h in order to satisfy application requirements 2597 (not used by library build). Do not define _POSIX_C_SOURCE=2 since 2598 this causes failure to build on systems which properly respect 2599 this request. 2600 2601 * libtiff/tiffconf.h.in: New file to act as the template for the 2602 configured tiffconf.h 2603 2604 * libtiff/files.lst (HDRS): Install the configured tiffconf.h. 2605 26062004-09-10 Frank Warmerdam <[email protected]> 2607 2608 * html/internals.html: Split off a discussion of adding new tags 2609 into addingtags.html. 2610 26112004-09-10 Andrey Kiselev <[email protected]> 2612 2613 * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added. 2614 2615 * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug 2616 2617 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 2618 2619 * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting. 2620 2621 * libtiff/tif_dirread.c: Don't reject to read tags of the 2622 SamplesPerPixel size when the tag count is greater than number of 2623 samples as per bug 2624 2625 http://bugzilla.remotesensing.org/show_bug.cgi?id=576 2626 2627 * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off 2628 defining int8/uint8/... etc. types. As per bug 2629 2630 http://bugzilla.remotesensing.org/show_bug.cgi?id=607 2631 26322004-09-09 Frank Warmerdam <[email protected]> 2633 2634 * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files 2635 to avoid compile warnings about getopt() and a few other things. 2636 26372004-09-02 Andrey Kiselev <[email protected]> 2638 2639 * libtiff/tif_dirread.c: Use memcpy() function instead of pointer 2640 assigning magic in TIFFFetchFloat(). 2641 26422004-09-01 Andrey Kiselev <[email protected]> 2643 2644 * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme 2645 to avoid requirement for tiffiop.h inclusion in some applications. See 2646 here 2647 2648 http://www.asmail.be/msg0054799560.html 2649 2650 for details. 2651 2652 * tools/fax2tiff.c: Use the new functions in the code. 2653 26542004-08-25 Andrey Kiselev <[email protected]> 2655 2656 * tools/tiff2pdf.c: Initialize arrays properly. 2657 2658 * tools/tiff2ps.c: Avoid zero division in setupPageState() function; 2659 properly initialize array in PSDataBW(). 2660 26612004-08-24 Andrey Kiselev <[email protected]> 2662 2663 * tools/tiff2pdf.c: More fixes for bug 2664 2665 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 2666 2667 from Ross Finlayson. 2668 26692004-08-23 Andrey Kiselev <[email protected]> 2670 2671 * tools/tiff2ps.c: Fixed problem with uninitialized values. 2672 2673 * libtiff/tif_dir.c: Initialize tif_foundfield data member in the 2674 TIFFDefaultDirectory() (in addition to 2004-08-19 fix). 2675 2676 * tools/tiff2pdf.c: Fixed a bunch of problems as per bug 2677 2678 http://bugzilla.remotesensing.org/show_bug.cgi?id=590 2679 26802004-08-20 Andrey Kiselev <[email protected]> 2681 2682 * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks 2683 that the input file has compression, photometric interpretation, 2684 etcetra, tags or if not than a more descriptive error is returned. 2685 2686 * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the 2687 code, responsible for tag data type checking. 2688 26892004-08-19 Andrey Kiselev <[email protected]> 2690 2691 * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static 2692 variable as per bug 2693 2694 http://bugzilla.remotesensing.org/show_bug.cgi?id=593 2695 26962004-08-16 Andrey Kiselev <[email protected]> 2697 2698 * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per 2699 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586 2700 27012004-08-01 Andrey Kiselev <[email protected]> 2702 2703 * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and 2704 config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc. 2705 27062004-07-24 Andrey Kiselev <[email protected]> 2707 2708 * libtiff/tif_lzw.c: LZW compression code is merged back from the 2709 separate package. All libtiff tools are updated to not advertise an 2710 abcence of LZW support. 2711 27122004-07-12 Andrey Kiselev <[email protected]> 2713 2714 * libtiff/tiffio.h: Revert thandle_t back to void* type. 2715 27162004-07-11 Andrey Kiselev <[email protected]> 2717 2718 * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error 2719 messages, as suggested by Bernd Herd. 2720 27212004-07-03 Andrey Kiselev <[email protected]> 2722 2723 * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings 2724 when setting custom tags by value. Reported by Eric Fieleke. 2725 27262004-06-14 Andrey Kiselev <[email protected]> 2727 2728 * tools/bmp2tiff.c: Add missed RawsPerStrip setting. 2729 27302004-06-08 Andrey Kiselev <[email protected]> 2731 2732 * tools/bmp2tiff.c: Added new utility to convert Windows BMP files 2733 into TIFFs. 2734 27352004-06-07 Andrey Kiselev <[email protected]> 2736 2737 * libtiff 3.7.0alpha released. 2738 27392004-06-06 Andrey Kiselev <[email protected]> 2740 2741 * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid 2742 of ugly 64-bit hacks, replace them with the clever (autoconf based ) 2743 ones :-). 2744 2745 * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause 2746 problems in 64-bit environment). 2747 27482004-06-05 Andrey Kiselev <[email protected]> 2749 2750 * tools/tiffset.c: tiffset now can set any libtiff supported tags. 2751 Tags can be supplied by the mnemonic name or number. 2752 2753 * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new 2754 functions TIFFFindFieldInfoByName() and TIFFFieldWithName(). 2755 27562004-05-27 Andrey Kiselev <[email protected]> 2757 2758 * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 2759 markers as per bug 2760 2761 http://bugzilla.remotesensing.org/show_bug.cgi?id=581 2762 27632004-05-24 Andrey Kiselev <[email protected]> 2764 2765 * tools/tiffsplit.c: Don't forget to copy Photometric 2766 Interpretation tag. 2767 27682004-05-20 Andrey Kiselev <[email protected]> 2769 2770 * libtiff/{tif_open.c, tiffio.h}: New function added: 2771 TIFFIsBigEndian(). Function returns nonzero if given was file written 2772 in big-endian order. 2773 2774 * tools/tiffsplit.c: Fixed problem with unproperly written multibyte 2775 files. Now output files will be written using the same byte order 2776 flag as in the input image. See 2777 2778 http://bugzilla.remotesensing.org/show_bug.cgi?id=574 2779 2780 for details. 2781 27822004-05-19 Frank Warmerdam <[email protected]> 2783 2784 * libtiff/tif_print.c: added (untested) support for printing 2785 SSHORT, SLONG and SRATIONAL fields. 2786 2787 * tools/tiffcp.c: close output file on normal exit. 2788 27892004-05-17 Andrey Kiselev <[email protected]> 2790 2791 * libtiff/tif_fax3.c: Avoid reading CCITT compression options 2792 if compression type mismatches. See 2793 2794 http://bugzilla.remotesensing.org/show_bug.cgi?id=565 2795 27962004-04-30 Andrey Kiselev <[email protected]> 2797 2798 * libtiff/tif_strip.c: Never return 0 from the 2799 TIFFNumberOfStrips(). 2800 28012004-04-29 Andrey Kiselev <[email protected]> 2802 2803 * libtiff/tif_dirread.c: Workaround for broken TIFF writers which 2804 store single SampleFormat value for multisampled images. See 2805 2806 http://bugzilla.remotesensing.org/show_bug.cgi?id=562 2807 28082004-04-25 Andrey Kiselev <[email protected]> 2809 2810 * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8, 2811 int16 and int32 types to avoid complains on some compilers. Details at 2812 2813 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 2814 28152004-04-20 Andrey Kiselev <[email protected]> 2816 2817 * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug 2818 2819 http://bugzilla.remotesensing.org/show_bug.cgi?id=555 2820 28212004-04-14 Andrey Kiselev <[email protected]> 2822 2823 * libtiff/tif_write.c: Allow in-place updating of the compressed 2824 images (don't work properly with all codecs). For details see GDAL bug 2825 2826 http://bugzilla.remotesensing.org/show_bug.cgi?id=534 2827 28282004-04-06 Andrey Kiselev <[email protected]> 2829 2830 * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 2831 in the Intergarph JPEG compressed TIFF images as per bug: 2832 2833 http://bugzilla.remotesensing.org/show_bug.cgi?id=532 2834 28352004-04-04 Frank Warmerdam <[email protected]> 2836 2837 * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails 2838 via bad2. 2839 28402004-03-26 Andrey Kiselev <[email protected]> 2841 2842 * tools/tiffcp.c: Properly set Photometric Interpretation in case of 2843 JPEG compression of grayscale images. 2844 2845 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not 2846 present in the input image. 2847 28482004-03-19 Andrey Kiselev <[email protected]> 2849 2850 * {many}: The first attempt to switch to autotools. 2851 28522004-03-03 Andrey Kiselev <[email protected]> 2853 2854 * libtiff/tif_open.c: Use dummy mmap/munmap functions in 2855 TIFFClientOpen() when the appropriate client functions was not 2856 supplied by user. 2857 28582004-03-02 Frank Warmerdam <[email protected]> 2859 2860 * tools/ycbcr.c: fixed main() declaration as per: 2861 http://bugzilla.remotesensing.org/show_bug.cgi?id=513 2862 28632004-02-26 Andrey Kiselev <[email protected]> 2864 2865 * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 2866 images. Reported by Artem Mirolubov. 2867 2868 * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 2869 tag type in TIFFFetchNormalTag() as per bug 2870 2871 http://bugzilla.remotesensing.org/show_bug.cgi?id=508 2872 28732004-02-17 Frank Warmerdam <[email protected]> 2874 2875 * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 2876 http://bugzilla.remotesensing.org/show_bug.cgi?id=494 2877 28782004-02-05 Andrey Kiselev <[email protected]> 2879 2880 * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per 2881 bug 2882 2883 http://bugzilla.remotesensing.org/show_bug.cgi?id=483 2884 2885 But we need more work on fax codec to support update mode. 2886 28872004-01-30 Frank Warmerdam <[email protected]> 2888 2889 * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck, 2890 TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 2891 Scott Reynolds. 2892 28932004-01-29 Andrey Kiselev <[email protected]> 2894 2895 * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 2896 and TIFFTAG_INDEXED as per bug 2897 2898 http://bugzilla.remotesensing.org/show_bug.cgi?id=475 2899 2900 * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 2901 NULL before proceeding further as per bug 2902 2903 http://bugzilla.remotesensing.org/show_bug.cgi?id=474 2904 2905 Check results, returned by the TIFFFdOpen() before returning and close 2906 file if TIFFFdOpen() failed as per bug 2907 2908 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 2909 2910 * libtiff/tif_open.c: More fixes for 2911 2912 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 2913 29142004-01-28 Andrey Kiselev <[email protected]> 2915 2916 * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate 2917 TIFFCleanup() from the TIFFClose() in order to fix the bug 2918 2919 http://bugzilla.remotesensing.org/show_bug.cgi?id=468 2920 2921 * tools/tiffcp.c: Fixed problem with wrong interpretation of the 2922 InkNames tag as per bug 2923 2924 http://bugzilla.remotesensing.org/show_bug.cgi?id=466 2925 2926 Memory leak fixed. 2927 29282004-01-21 Frank Warmerdam <[email protected]> 2929 2930 * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that 2931 are field_passcount=TRUE properly. Arguably anonymous custom tags 2932 should be declared as passcount=FALSE, but I don't want to change 2933 that without a careful review. 2934 29352004-01-20 Andrey Kiselev <[email protected]> 2936 2937 * libtiff/tif_write.c: Fixed reporting size of the buffer in case of 2938 stripped image in TIFFWriteBufferSetup(). As per bug 2939 2940 http://bugzilla.remotesensing.org/show_bug.cgi?id=460 2941 29422004-01-11 Andrey Kiselev <[email protected]> 2943 2944 * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 2945 patch from Gerben Koopmans. 2946 2947 * libtiff/tif_dirread.c: Check field_passcount value before setting 2948 the value of undefined type, patch from Gerben Koopmans. 2949 29502004-01-02 Andrey Kiselev <[email protected]> 2951 2952 * tools/tiffcp.c: Fixed problem with wrong Photometric setting for 2953 non-RGB images. 2954 29552003-12-31 Andrey Kiselev <[email protected]> 2956 2957 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL 2958 pointer passed. Patch supplied by Larry Grill. 2959 2960 * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 2961 suggested by Jeremy C. Reed. 2962 29632003-12-26 Andrey Kiselev <[email protected]> 2964 2965 * libtiff 3.6.1 released. 2966 29672003-12-24 Andrey Kiselev <[email protected]> 2968 2969 * config.guess, config.sub: Updated from the recent upstream. 2970 29712003-12-22 Andrey Kiselev <[email protected]> 2972 2973 * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t: 2974 More cleanups in color conversion interface, added appropriate manual 2975 page. 2976 29772003-12-19 Andrey Kiselev <[email protected]> 2978 2979 * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as 2980 per bug 2981 2982 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 2983 2984 * tools/tiff2ps.c: Added support for alpha channel. Fixes 2985 2986 http://bugzilla.remotesensing.org/show_bug.cgi?id=428 2987 2988 * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}: 2989 Interface for Lab->RGB color conversion is finally cleaned up. 2990 Added support for ReferenceBlackWhite tag handling when converted from 2991 YCbCr color space. The latter closes 2992 2993 http://bugzilla.remotesensing.org/show_bug.cgi?id=120 2994 29952003-12-07 Andrey Kiselev <[email protected]> 2996 2997 * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings. 2998 2999 * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG 3000 library. 3001 30022003-12-06 Andrey Kiselev <[email protected]> 3003 3004 * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the 3005 file and properly use it for CIE Lab->RGB transform. 3006 30072003-12-04 Andrey Kiselev <[email protected]> 3008 3009 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB 3010 conversion routines now in the tif_color.c module. New function 3011 TIFFYCbCrtoRGB() available in TIFF API. 3012 3013 * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly. 3014 30152003-12-03 Andrey Kiselev <[email protected]> 3016 3017 * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in 3018 CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c 3019 module. 3020 3021 * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t, 3022 TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}: 3023 Finally resolved problems with orientation handling. TIFFRGBAImage 3024 interface now properly supports all possible orientations, i.e. images 3025 will be flipped both in horizontal and vertical directions if 3026 required. 'Known bugs' section now removed from the appropriate manual 3027 pages. Closed bug entry: 3028 3029 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 3030 30312003-12-02 Andrey Kiselev <[email protected]> 3032 3033 * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError() 3034 function calls as per bug 3035 3036 http://bugzilla.remotesensing.org/show_bug.cgi?id=440 3037 30382003-11-28 Ross Finlayson <[email protected]> 3039 3040 * tools/tiff2pdf.c: Some bugs fixed. 3041 30422003-11-27 Andrey Kiselev <[email protected]> 3043 3044 * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine, 3045 reported by Antonio Scuri. 3046 3047 * man/tiff2pdf.1: Few improvements in page layout. 3048 3049 * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html: 3050 Added support fpr tiff2pdf manual page. 3051 30522003-11-26 Ross Finlayson <[email protected]> 3053 3054 * /man/tiff2pdf.1: File added to repository. 3055 30562003-11-26 Andrey Kiselev <[email protected]> 3057 3058 * Makefile.in, /tools/{Makefile.in, makefile.vc}: 3059 Added support fpr tiff2pdf utility. 3060 30612003-11-25 Ross Finlayson <[email protected]> 3062 3063 * /tools/tiff2pdf.c: File added to repository. 3064 30652003-11-22 Andrey Kiselev <[email protected]> 3066 3067 * /tools/raw2tiff.c: sqrtf() replaced with sqrt(). 3068 30692003-11-21 Andrey Kiselev <[email protected]> 3070 3071 * /tools/raw2tiff.c: #include <getopt.h> removed. 3072 3073 * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent 3074 sgigt utility removed and replaced with the completely rewritten 3075 portable tiffgt tool (depend on OpenGL and GLUT). Initial revision, 3076 there is a lot of things to improve. 3077 3078 * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly 3079 extract the fields from the OJPEG files. Patch supplied by Ross 3080 Finlayson. 3081 3082 * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}: 3083 Added new function TIFFIsCODECConfigured(), suggested by Ross 3084 Finlayson. 3085 30862003-11-18 Andrey Kiselev <[email protected]> 3087 3088 * libtiff/tif_dirinfo.c: Implemented binary search in 3089 _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson. 3090 3091 * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced 3092 with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson. 3093 30942003-11-17 Frank Warmerdam <[email protected]> 3095 3096 * tif_dirread.c: do not mark all anonymously defined tags to be 3097 IGNOREd. 3098 30992003-11-17 Andrey Kiselev <[email protected]> 3100 3101 * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use 3102 TIFFDataWidth() function insted of tiffDataWidth array. 3103 31042003-11-16 Andrey Kiselev <[email protected]> 3105 3106 * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) 3107 datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes". 3108 31092003-11-15 Frank Warmerdam <[email protected]> 3110 3111 * Makefile.in: fixed missing backslash for tif_color.c in list. 3112 31132003-11-13 Andrey Kiselev <[email protected]> 3114 3115 * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}: 3116 New color space conversion code: CIE L*a*b* 1976 images now supported 3117 by the TIFFRGBAImage interface. All introduced routines go to new 3118 module tif_color.c. Eventually all color conversion functions should 3119 be moved there. 3120 31212003-11-12 Andrey Kiselev <[email protected]> 3122 3123 * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles 3124 with the reverse byte order (it is reported by the magic header 3125 field). Problem reported by Andreas Wiesmann. 3126 3127 * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation 3128 calculation function. Guessing mechanics now documented in manual page. 3129 31302003-11-11 Andrey Kiselev <[email protected]> 3131 3132 * tools/raw2tiff.c: Implemented image size guessing using 3133 correlation coefficient calculation between two neighbour lines. 3134 31352003-11-09 Frank Warmerdam <[email protected]> 3136 3137 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 3138 planarconfig_contig case in TIFFComputeTile(). 3139 3140 http://bugzilla.remotesensing.org/show_bug.cgi?id=387 3141 31422003-11-09 Andrey Kiselev <[email protected]> 3143 3144 * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint. 3145 31462003-11-07 Andrey Kiselev <[email protected]> 3147 3148 * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}: 3149 Added TIFFRawStripSize() function as suggested by Chris Hanson. 3150 31512003-11-03 Andrey Kiselev <[email protected]> 3152 3153 * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as 3154 per bug 3155 3156 http://bugzilla.remotesensing.org/show_bug.cgi?id=424 3157 31582003-10-29 Andrey Kiselev <[email protected]> 3159 3160 * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented. 3161 3162 * html/build.html: Added note about GNU make requirement. 3163 31642003-10-25 Andrey Kiselev <[email protected]> 3165 3166 * Makefile.in: Fixes in using MAKEFLAGS as per bug 3167 3168 http://bugzilla.remotesensing.org/show_bug.cgi?id=418 3169 3170 * port/install.sh.in: Option -p added to the mkdir command to create 3171 all directory tree structure before installing. 3172 31732003-10-18 Andrey Kiselev <[email protected]> 3174 3175 * /tools/tiff2ps.c: #include <strings.h> replaced with the 3176 #include <string.h>. 3177 31782003-10-16 Andrey Kiselev <[email protected]> 3179 3180 * Makefile.in: Add an absolute path to the test_pics.sh call. 3181 31822003-10-12 Andrey Kiselev <[email protected]> 3183 3184 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD 3185 typedefs. 3186 31872003-10-09 Andrey Kiselev <[email protected]> 3188 3189 * configure, libtiff/{Makefile.in, mkversion.c}: 3190 Relative buildings fixed. 3191 3192 * tools/Makefile.in: Added "-I../libtiff" to the tiffset building 3193 rule. 3194 31952003-10-07 Andrey Kiselev <[email protected]> 3196 3197 * Makefile.in: Added missed v3.6.0.html. 3198 3199 * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with 3200 ORIENTATION_BOTLEFT. 3201 32022003-10-04 Andrey Kiselev <[email protected]> 3203 3204 * 3.6.0 final release. 3205 32062003-10-03 Andrey Kiselev <[email protected]> 3207 3208 * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New 3209 function TIFFReadRGBAImageOriented() implemented to retrieve raster 3210 array with user-specified origin position as suggested by Jason Frank. 3211 See 3212 3213 http://bugzilla.remotesensing.org/show_bug.cgi?id=322 3214 3215 for details. 3216 3217 * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented() 3218 instead of TIFFReadRGBAImage(). 3219 3220 * tools/tiff2ps.c: Fixed possible endless loop as per bug 3221 3222 http://bugzilla.remotesensing.org/show_bug.cgi?id=404 3223 32242003-09-30 Andrey Kiselev <[email protected]> 3225 3226 * libtiff/tif_dirread.c: Check field counter against number of fields 3227 in order to fix 3228 3229 http://bugzilla.remotesensing.org/show_bug.cgi?id=366 3230 3231 * libtiff/tif_fax3.c: Fix wrong line numbering as per bug 3232 3233 http://bugzilla.remotesensing.org/show_bug.cgi?id=342 3234 32352003-09-25 Andrey Kiselev <[email protected]> 3236 3237 * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c, 3238 tif_close.c}: Store a list of opened IFD to prevent looping as per bug 3239 3240 http://bugzilla.remotesensing.org/show_bug.cgi?id=383 3241 32422003-09-23 Andrey Kiselev <[email protected]> 3243 3244 * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See 3245 3246 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 3247 32482003-08-21 Andrey Kiselev <[email protected]> 3249 3250 * tools/tiffmedian.c: int declaration replaced with the uint32 to 3251 support large images as per bug 3252 3253 http://bugzilla.remotesensing.org/show_bug.cgi?id=382 3254 32552003-08-12 Andrey Kiselev <[email protected]> 3256 3257 * libtiff/Makefile.in: Fixed problem with building in different 3258 directory. 3259 3260 * tools/tiff2ps.c: Added missing #include <strings.h>. 3261 3262 * libtiff/tif_dirwrite.c: More fixes for custom tags code 3263 from Ashley Dreier. 3264 32652003-08-07 Andrey Kiselev <[email protected]> 3266 3267 * tools/tiff2ps.c: Added page size setting when creating PS Level 2. 3268 Patch submitted by Balatoni Denes (with corrections from Tom 3269 Kacvinsky). 3270 3271 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is 3272 being used. Reported by Tom Kacvinsky. 3273 3274 * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing, 3275 reported by Ashley Dreier. 3276 3277 * libtiff/tif_print.c: Fixed problem with float tags reading, support 3278 for printing RATIONAL and BYTE tags added. 3279 32802003-08-05 Andrey Kiselev <[email protected]> 3281 3282 * libtiff/tif_lzw.c: Move LZW codec state block allocation back to 3283 TIFFInitLZW(), because its initialization in LZWSetupDecode() cause 3284 problems with predictor initialization. Remove O_RDONLY check during 3285 state block allocation to be able open LZW compressed files in update 3286 mode. 3287 3288 Problem exist for libtiff version of the tif_lzw.c module. One from 3289 lzw-compression-kit hasn't such troubles. 3290 32912003-08-04 Frank Warmerdam <[email protected]> 3292 3293 * libtiff/tif_write.c: modified tif_write.c so that the various 3294 encoded write functions use tif_postdecode() to apply byte order 3295 swapping (swab) to the application passed data buffer if the same 3296 would be done when reading. This allows us to write pixel data with 3297 more than 8 bits per sample to existing files of a non-native byte 3298 order. One side effect of this change is the applications buffer 3299 itself is altered in this case by the act of writing. 3300 3301 http://bugzilla.remotesensing.org/show_bug.cgi?id=171 3302 33032003-07-25 Frank Warmerdam <[email protected]> 3304 3305 * libtiff/tif_open.c: avoid signed/unsigned casting warning 3306 initializing typemask as per patch from J.A. Strother. 3307 3308 * tools/tiffcp.c: fixed signed/unsigned casting warning. 3309 3310 * libtiff/tif_print.c: dos2unix conversion. 3311 3312 * tools/tiffsplit.c: increased the maximum number of pages that 3313 can be split. Patch provided by Andrew J. Montalenti. 3314 33152003-07-11 Andrey Kiselev <[email protected]> 3316 3317 * tools/raw2tiff.c: Added option `-p' to explicitly select color 3318 space of input image data. Closes 3319 3320 http://bugzilla.remotesensing.org/show_bug.cgi?id=364 3321 33222003-07-08 Frank Warmerdam <[email protected]> 3323 3324 * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c, 3325 tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 3326 tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c: 3327 avoid casting warning at /W4. 3328 33292003-07-03 Andrey Kiselev <[email protected]> 3330 3331 * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel. 3332 33332003-06-30 Andrey Kiselev <[email protected]> 3334 3335 * libtiff/tif_pixarlog.c: Unused variables removed. 3336 3337 * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with 3338 EstimateStripByteCounts() as per bug 3339 3340 http://bugzilla.remotesensing.org/show_bug.cgi?id=358 3341 3342 * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on 3343 64-bit architectures as per bug 3344 3345 http://bugzilla.remotesensing.org/show_bug.cgi?id=357 3346 3347 * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of 3348 unknown data type. 3349 33502003-06-19 Frank Warmerdam <[email protected]> 3351 3352 * libtiff/tif_print.c: fixed some serious bugs when printing 3353 custom tags ... almost certain to crash. 3354 3355 * libtiff/tif_dirread.c: Don't ignore custom fields that are 3356 autodefined. Not sure how this got to be like this. 3357 33582003-06-18 Andrey Kiselev <[email protected]> 3359 3360 * 3.6.0 Beta2 released. 3361 3362 * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data 3363 comparing as per bug 3364 3365 http://bugzilla.remotesensing.org/show_bug.cgi?id=349 3366 3367 `-z' option now can be used to set the number of reported different 3368 bytes. 3369 33702003-06-09 Andrey Kiselev <[email protected]> 3371 3372 * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1 3373 to -r option to get the entire image as one strip. See 3374 3375 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 3376 3377 for details. 3378 33792003-06-04 Andrey Kiselev <[email protected]> 3380 3381 * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber 3382 values as per bug 3383 3384 http://bugzilla.remotesensing.org/show_bug.cgi?id=343 3385 33862003-05-27 Frank Warmerdam <[email protected]> 3387 3388 * libtiff/tif_jpeg.c: modified segment_height calculation to always 3389 be a full height tile for tiled images. Also changed error to just 3390 be a warning. 3391 33922003-05-25 Andrey Kiselev <[email protected]> 3393 3394 * tools/fax2tiff.c: Page numbering fixed, as per bug 3395 3396 http://bugzilla.remotesensing.org/show_bug.cgi?id=341 3397 33982003-05-20 Andrey Kiselev <[email protected]> 3399 3400 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 3401 configure, Makefile.in: Switched back to the old behaviour. Likely 3402 better solution should be found for OJPEG support. 3403 34042003-05-11 Andrey Kiselev <[email protected]> 3405 3406 * libtiff/mkversion.c: Fixed problem with wrong string size when 3407 reading RELEASE-DATE file. 3408 34092003-05-07 Andrey Kiselev <[email protected]> 3410 3411 * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array 3412 index was out of range. 3413 34142003-05-06 Andrey Kiselev <[email protected]> 3415 3416 * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README}, 3417 configure, Makefile.in: Improved libtiff compilation with OJPEG 3418 support. Now no need for patching IJG JPEG library, hack requred by 3419 libtiff will be compiled and used in-place. Implemented with 3420 suggestion and help from Bill Allombert, Debian's libjpeg maintainer. 3421 3422 * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in 3423 TIFFVGetFieldDefaulted() function. 3424 34252003-05-05 Andrey Kiselev <[email protected]> 3426 3427 * tools/ppm2tiff.c: PPM header parser improved: now able to skip 3428 comments. 3429 3430 * tools/tiffdither.c: Fixed problem with bit fill order tag setting: 3431 was not copied from source image. 3432 3433 * libtiff/getimage.c: Workaround for some images without correct 3434 info about alpha channel as per bug 3435 3436 http://bugzilla.remotesensing.org/show_bug.cgi?id=331 3437 34382003-04-29 Andrey Kiselev <[email protected]> 3439 3440 * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3. 3441 It basically allows one to use the /flateDecode filter for ZIP 3442 compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes 3443 3444 http://bugzilla.remotesensing.org/show_bug.cgi?id=328 3445 3446 * tools/tiff2ps.c: Force deadzone printing when EPS output specified 3447 as per bug 3448 3449 http://bugzilla.remotesensing.org/show_bug.cgi?id=325 3450 34512003-04-17 Andrey Kiselev <[email protected]> 3452 3453 * libtiff/tif_dirread.c: Removed additional check for StripByteCounts 3454 due to problems with multidirectory images. Quality of error messages 3455 improved. 3456 34572003-04-16 Andrey Kiselev <[email protected]> 3458 3459 * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG 3460 encoded images. See bug entries 3461 3462 http://bugzilla.remotesensing.org/show_bug.cgi?id=275 3463 3464 and 3465 3466 http://bugzilla.remotesensing.org/show_bug.cgi?id=23 3467 3468 * libtiff/tif_dirread.c: Additional check for StripByteCounts 3469 correctness. Fixes 3470 3471 http://bugzilla.remotesensing.org/show_bug.cgi?id=320 3472 34732003-03-12 Andrey Kiselev <[email protected]> 3474 3475 * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c, 3476 ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c, 3477 tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c, 3478 tiffmedian.c}: Added library version reporting facility to all tools. 3479 34802003-03-06 Frank Warmerdam <[email protected]> 3481 3482 * port/install.sh.in: Fixed problems with install producing paths 3483 like ///usr/local/lib on cygwin. 3484 34852003-02-27 Andrey Kiselev <[email protected]> 3486 3487 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 3488 raw input page. Patch supplied by Julien Gaulmin. See 3489 3490 http://bugzilla.remotesensing.org/show_bug.cgi?id=293 3491 3492 for details. 3493 34942003-02-26 Frank Warmerdam <[email protected]> 3495 3496 * libtiff/tif_dir.c: fixed up the tif_postdecode settings 3497 responsible for byte swapping complex image data. 3498 3499 * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till 3500 LZWSetupDecode(). Needed to read LZW files in "r+" mode. 3501 35022003-02-07 Andrey Kiselev <[email protected]> 3503 3504 * tools/ppm2tiff.c: Fixed problem with too many arguments. 3505 35062003-02-04 Andrey Kiselev <[email protected]> 3507 3508 * tools/raw2tiff.c: Memory leak fixed. 3509 35102003-02-03 Andrey Kiselev <[email protected]> 3511 3512 * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin 3513 (thanks, Julien!). More switches for fax2tiff tool for better control 3514 of input and output. Details at 3515 3516 http://bugzilla.remotesensing.org/show_bug.cgi?id=272 3517 35182003-02-03 Frank Warmerdam <[email protected]> 3519 3520 * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg 3521 library so that we can check if there is already any tile/strip data 3522 before deciding between creating a compressor or a decompressor. 3523 35242003-01-31 Frank Warmerdam <[email protected]> 3525 3526 * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is 3527 a pre-existing compressed image. That is, image writing to 3528 pre-existing compressed images is not allowed. 3529 3530 * libtiff/tif_open.c: Removed error if opening a compressed file 3531 in update mode. 3532 3533 http://bugzilla.remotesensing.org/show_bug.cgi?id=198 3534 35352003-01-31 Andrey Kiselev <[email protected]> 3536 3537 * config.guess, config.sub: Updated to recent upstream versions. 3538 35392003-01-15 Frank Warmerdam <[email protected]> 3540 3541 * cut 3.6.0 Beta release. 3542 35432002-12-20 Andrey Kiselev <[email protected]> 3544 3545 * tools/fax2ps.c, man/fax2ps.1: Page size was determined 3546 in wrong way as per bug 3547 3548 http://bugzilla.remotesensing.org/show_bug.cgi?id=239 3549 35502002-12-17 Frank Warmerdam <[email protected]> 3551 3552 * libtiff/tif_dirread.c: Allow wrong sized arrays in 3553 TIFFFetchStripThing(). 3554 3555 http://bugzilla.remotesensing.org/show_bug.cgi?id=49 3556 35572002-12-02 Frank Warmerdam <[email protected]> 3558 3559 * libtiff/tif_dir.c: fix problem with test on td_customValueCount. 3560 Was using realloc even first time. Fix by Igor Venevtsev. 3561 35622002-11-30 Frank Warmerdam <[email protected]> 3563 3564 * libtiff/tif_dir.c: fixed bug with resetting an existing custom 3565 field value. 3566 3567 * libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 3568 tags in TIFFVGetField() ... added missing break. 3569 35702002-10-14 Frank Warmerdam <[email protected]> 3571 3572 * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make 3573 the scanline buffer long enough when writing rgb triplets. 3574 The scanline needs to be 3 X the number of dots or else it will 3575 contain an incomplete triplet and programs that try to separate 3576 the eps by redefining the colorimage operator will get messed up. 3577 Patch supplied by William Bader. 3578 3579 * Makefile.in: added tif_extension.c to file list as per 3580 http://bugzilla.remotesensing.org/show_bug.cgi?id=218. 3581 35822002-10-11 Andrey Kiselev <[email protected]> 3583 3584 * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for 3585 large files (>2GiB) supporting. New option in the config.site: 3586 LARGEFILE="yes". Should be enough for I/O of the large files. 3587 35882002-10-10 Frank Warmerdam <[email protected]> 3589 3590 * libtiff/html/v3.6.0.html: new release notes. 3591 3592 * libtiff/index.html: removed faq, cvs snapshot cruft. Added email 3593 link for Andrey. Pointer to v3.6.0.html. 3594 3595 * libtiff/Makefile.in: added direct rule for tiffvers.h for release. 3596 35972002-10-07 Andrey Kiselev <[email protected]> 3598 * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken 3599 (thanks, Sebastian!). New switches: 3600 -b # for a bottom margin of # inches 3601 -c center image 3602 -l # for a left margin of # inches 3603 -r rotate the image by 180 degrees 3604 New features merged with code for shrinking/overlapping. 3605 Previously added -c and -n switches (for overriding PS units) renamed 3606 in -x and -y respectively. 3607 3608 http://bugzilla.remotesensing.org/show_bug.cgi?id=200 3609 3610 * html/man/*.html: Updated from actual manual pages. 3611 36122002-10-06 Frank Warmerdam <[email protected]> 3613 3614 * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong 3615 size on windows. Use #define boolean hack. 3616 3617 http://bugzilla.remotesensing.org/show_bug.cgi?id=188 3618 3619 * libtiff/tiff.h: Don't do special type handling in tiff.h unless 3620 USING_VISUALAGE is defined. 3621 3622 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 3623 36242002-10-03 Frank Warmerdam <[email protected]> 3625 3626 * libtiff/tiff.h: added COMPRESSION_JP2000. 3627 36282002-10-02 Andrey Kiselev <[email protected]> 3629 3630 * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays 3631 by the TIFFFetchByteArray() function. Should finally resolve 3632 3633 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 3634 3635 * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT 3636 3637 * html/Makefile.in: New targets added: html and groffhtml for 3638 producing HTML representations of the manual pages automatically. 3639 html target uses man2html tool, groffhtml uses groff tool. 3640 36412002-09-29 Frank Warmerdam <[email protected]> 3642 3643 * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support 3644 from John H. DuBois III. 3645 36462002-09-15 Andrey Kiselev <[email protected]> 3647 3648 * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added 3649 manual page for raw2tiff(1) tool. 3650 36512002-09-12 Andrey Kiselev <[email protected]> 3652 3653 * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to 3654 the tiffio.h header file. 3655 3656 * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added 3657 manual page for TIFFDataWidth() function 3658 36592002-09-08 Frank Warmerdam <[email protected]> 3660 3661 * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair() 3662 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196. 3663 3664 * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments 3665 since we are unable to properly include the amount to skip. 3666 3667 http://bugzilla.remotesensing.org/show_bug.cgi?id=80 3668 36692002-09-02 Andrey Kiselev <[email protected]> 3670 3671 * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching 3672 in TIFFFetchByteArray(). Problem described at 3673 http://bugzilla.remotesensing.org/show_bug.cgi?id=52 3674 36752002-08-22 Andrey Kiselev <[email protected]> 3676 3677 * /libtiff/tif_dirinfo.c: Further additions to free custom fields 3678 in _TIFFSetupFieldInfo() function. 3679 See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details. 3680 3681 * /libtiff/tif_lzw.c: Additional consistency checking added in 3682 LZWDecode() and LZWDecodeCompat(). 3683 Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190 3684 and http://bugzilla.remotesensing.org/show_bug.cgi?id=100 3685 3686 * /libtiff/tif_lzw.c: 3687 Added check for valid code lengths in LZWDecode() and 3688 LZWDecodeCompat(). Fixes 3689 http://bugzilla.remotesensing.org/show_bug.cgi?id=115 3690 36912002-08-16 Andrey Kiselev <[email protected]> 3692 3693 * /libtiff/{Makefile.vc, libtiff.def}: 3694 Missed declarations added. 3695 36962002-08-15 Frank Warmerdam <[email protected]> 3697 3698 * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the 3699 return code from the underlying pick function. 3700 3701 http://bugzilla.remotesensing.org/show_bug.cgi?id=177 3702 3703 * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 3704 with FIELD_CUSTOM as mentioned in bug 169. 3705 3706 * tif_close.c: added logic to free dynamically created anonymous 3707 field definitions to correct a small memory leak. 3708 3709 http://bugzilla.remotesensing.org/show_bug.cgi?id=169 3710 37112002-08-10 Andrey Kiselev <[email protected]> 3712 3713 * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}: 3714 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 3715 37162002-07-31 Frank Warmerdam <[email protected]> 3717 3718 * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 3719 JPEGDecode() as per bugzilla bug (issue 1): 3720 3721 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 3722 3723 * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to 3724 fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't 3725 present in the tiff tags. 3726 3727 http://bugzilla.remotesensing.org/show_bug.cgi?id=168 3728 3729 * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and 3730 TIFFWriteScanline() now set tif_row explicitly in case the codec has 3731 fooled with the value. 3732 3733 http://bugzilla.remotesensing.org/show_bug.cgi?id=129 3734 37352002-06-22 Andrey Kiselev <[email protected]> 3736 3737 * /tools/tiff2ps.c: Added workaround for some software that may crash 3738 when last strip of image contains fewer number of scanlines than 3739 specified by the `/Height' variable. See 3740 http://bugzilla.remotesensing.org/show_bug.cgi?id=164 3741 for explanation. 3742 37432002-06-21 Andrey Kiselev <[email protected]> 3744 3745 * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility: 3746 splitting long images in several pages. See 3747 http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation. 3748 Patch granted by John Williams <[email protected]>. 3749 37502002-06-11 Frank Warmerdam <[email protected]> 3751 3752 * libtiff/contrib/win95: renamed to contrib/win_dib. Added new 3753 Tiffile.cpp example of converting TIFF files into a DIB on Win32. 3754 This one is described in: 3755 3756 http://bugzilla.remotesensing.org/show_bug.cgi?id=143 3757 3758 * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at: 3759 3760 http://bugzilla.remotesensing.org/show_bug.cgi?id=156 3761 37622002-05-10 Andrey Kiselev <[email protected]> 3763 3764 * tools/tiff2ps: New commandline switches to override resolution 3765 units obtained from the input file. Closes 3766 http://bugzilla.remotesensing.org/show_bug.cgi?id=131 3767 37682002-04-26 Andrey Kiselev <[email protected]> 3769 3770 * libtiff/libtiff.def: Added missed declaration. 3771 37722002-04-22 Andrey Kiselev <[email protected]> 3773 3774 * tools/fax2tiff.c: Updated to reflect latest changes in libtiff. 3775 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125 3776 37772002-04-20 Andrey Kiselev <[email protected]> 3778 3779 * libtiff/tif_open.c: Pointers to custom procedures 3780 in TIFFClientOpen() are checked to be not NULL-pointers. 3781 37822002-04-18 Andrey Kiselev <[email protected]> 3783 3784 * libtiff/libtiff.def: Added missed declarations. 3785 3786 * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure. 3787 37882002-04-16 Andrey Kiselev <[email protected]> 3789 3790 * libtiff/tif_lzw.c: Additional checks for data integrity introduced. 3791 Should finally close 3792 http://bugzilla.remotesensing.org/show_bug.cgi?id=100 3793 37942002-04-10 Andrey Kiselev <[email protected]> 3795 3796 * tools/tiff2ps: Division by zero fixed. 3797 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88 3798 37992002-04-09 Andrey Kiselev <[email protected]> 3800 3801 * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h: 3802 TIFFCheckpointDirectory() routine added. 3803 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124 3804 3805 * man/: TIFFWriteDirectory.3t, Makefile.in: Added description 3806 for the new function. 3807 38082002-04-08 Andrey Kiselev <[email protected]> 3809 3810 * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced 3811 additional members tif->tif_decodestatus and tif->tif_encodestatus 3812 for correct handling of unconfigured codecs (we should not try to read 3813 data or to define data size without correct codecs). 3814 3815 * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK 3816 changed. Now it has used tif->tif_decodestatus and 3817 tif->tif_encodestatus. 3818 Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in 3819 case of __cvs_8.tif test image). 3820 3821 * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in 3822 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced. 3823 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case 3824 of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif. 3825 38262002-04-04 Andrey Kiselev <[email protected]> 3827 3828 * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat 3829 replaced by warnings. Now libtiff should read corrupted LZW-compressed 3830 files by skipping bad strips. 3831 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100 3832 38332002-04-03 Frank Warmerdam <[email protected]> 3834 3835 * libtiff/tif_dirwrite.c: Removed some dead code. 3836 3837 * libtiff/*: Cleanup some warnings. 3838 3839 * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField() 3840 for variable length FIELD_CUSTOM values. Was int * but should be 3841 u_short *. 3842 38432002-04-01 Andrey Kiselev <[email protected]> 3844 3845 * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp 3846 utility (at cpStripToTile routine). 3847 38482002-03-27 Frank Warmerdam <[email protected]> 3849 3850 * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func. 3851 3852 http://bugzilla.remotesensing.org/show_bug.cgi?id=111 3853 3854 * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 3855 passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE). 3856 3857 * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 3858 that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example. 3859 38602002-03-26 Dwight Kelly <[email protected]> 3861 3862 * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 3863 tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined 3864 in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 3865 INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 3866 CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and 3867 INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9). 3868 38692002-03-26 Andrey Kiselev <[email protected]> 3870 3871 * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile 3872 now also uses TIFFRGBAImageOK before reading. This is additional fix 3873 for http://bugzilla.remotesensing.org/show_bug.cgi?id=110 3874 38752002-03-25 Andrey Kiselev <[email protected]> 3876 3877 * libtiff/: tif_getimage.c: Additional check for supported 3878 codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses 3879 TIFFRGBAImageOK before reading. 3880 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110 3881 38822002-03-15 Andrey Kiselev <[email protected]> 3883 3884 * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c, 3885 tif_dirwrite.c: Added routine TIFFDataWidth for detrmining 3886 TIFFDataType sizes instead of working with tiffDataWidth array 3887 directly. Should prevent out-of-borders bugs in case of unknown or 3888 broken data types. EstimateStripByteCounts routine modified, so it 3889 won't work when tags with uknown sizes founded. 3890 Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109 3891 38922002-03-13 Andrey Kiselev <[email protected]> 3893 3894 * libtiff/tif_getimage.c: Added support for correct handling 3895 `Orientation' tag in gtTileContig. Should be added in other gt* 3896 functions as well, but I have not images for testing yet. Partially 3897 resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23 3898 38992002-03-10 Andrey Kiselev <[email protected]> 3900 3901 * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to 3902 read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION, 3903 TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes 3904 http://bugzilla.remotesensing.org/show_bug.cgi?id=99 3905 39062002-03-08 Andrey Kiselev <[email protected]> 3907 3908 * libtiff/Makefile.in, tools/Makefile.in: Shared library will not 3909 be stripped when installing, utility binaries will do. Closes 3910 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 3911 39122002-02-28 Frank Warmerdam <[email protected]> 3913 3914 * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT. 3915 3916 * man/libtiff.3t: added copyright tag info. 3917 39182002-02-11 Frank Warmerdam <[email protected]> 3919 3920 * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__. 3921 3922 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 3923 3924 * man/Makefile.in: Patch DESTDIR handling 3925 3926 http://bugzilla.remotesensing.org/show_bug.cgi?id=95 3927 3928 * configure: OpenBSD changes for Sparc64 and DSO version. 3929 3930 http://bugzilla.remotesensing.org/show_bug.cgi?id=96 3931 39322002-02-05 Frank Warmerdam <[email protected]> 3933 3934 * config.site/configure: added support for OJPEG=yes option to enable 3935 OJPEG support from config.site. 3936 39372002-01-27 Frank Warmerdam <[email protected]> 3938 3939 * html/document.html: fixed links for TIFf 6 docs. 3940 39412002-01-18 Frank Warmerdam <[email protected]> 3942 3943 * config.guess, config.sub: Updated from ftp.gnu.org/pub/config. 3944 3945 * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the 3946 decodestrip function returns anything not greater than zero as per 3947 http://bugzilla.remotesensing.org/show_bug.cgi?id=97 3948 3949 * configure: Modify CheckForBigEndian so it can work in a cross 3950 compiled situation. 3951 39522002-01-16 Frank Warmerdam <[email protected]> 3953 3954 * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list. 3955 3956 * tools/tiffset.c: fix bug in error reporting. 3957 3958 * tools/tiffcp.c: fix several warnings that show up with -Wall. 3959 39602002-01-04 Frank Warmerdam <[email protected]> 3961 3962 * libtiff/tif_jpeg.c: fixed computation of segment_width for 3963 tiles files to avoid error about it not matching the 3964 cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 3965 size.") for ITIFF files. Apparently the problem was incorporated since 3966 3.5.5, presumably during the OJPEG/JPEG work recently. 3967 39682001-12-15 Frank Warmerdam <[email protected]> 3969 3970 * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1. 3971 3972 http://bugzilla.remotesensing.org/show_bug.cgi?id=94 3973 3974 * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 3975 (defined in tiffconf.h - 1 by default) then the RGBA interface 3976 will assume that a fourth extra sample is ASSOCALPHA if the 3977 EXTRASAMPLE value isn't set for it. This changes the behaviour of 3978 the library, but makes it work better with RGBA files produced by 3979 lots of applications that don't mark the alpha values properly. 3980 3981 http://bugzilla.remotesensing.org/show_bug.cgi?id=93 3982 http://bugzilla.remotesensing.org/show_bug.cgi?id=65 3983 39842001-12-12 Frank Warmerdam <[email protected]> 3985 3986 * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 3987 override those from tiff directory. This makes this work with 3988 ImageGear generated files. 3989 39902001-12-07 Frank Warmerdam <[email protected]> 3991 3992 * html/Makefile.in: added missing images per bug 92. 3993 3994 * port/Makefile.in: fixed clean target per bug 92. 3995 39962001-11-28 Frank Warmerdam <[email protected]> 3997 3998 * Reissue 3.5.7 release. 3999 4000 * libtiff/mkversion.c: Fix output of TIFF_VERSION to be 4001 YYYYMMDD so that it is increasing over time. 4002 4003 * Makefile.in: Ensure that tiffvers.h is regenerated in the 4004 make release target. 4005 4006 * Makefile.in: added libtiff/tiffvers.h to the release file list. 4007 40082001-11-23 Frank Warmerdam <[email protected]> 4009 4010 * added html/v3.5.7.html, updated html/index.html. 4011 4012 * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}. 4013 40142001-11-15 Frank Warmerdam <[email protected]> 4015 4016 * configure: fixed test for -lm. 4017 40182001-11-02 Frank Warmerdam <[email protected]> 4019 4020 * Added PHOTOMETRIC_ITULAB as per bug 90. 4021 4022 http://bugzilla.remotesensing.org/show_bug.cgi?id=90 4023 40242001-10-10 Frank Warmerdam <[email protected]> 4025 4026 * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 4027 COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 4028 in keeping with TIFF 6.0 standard in tiff.h 4029 4030 http://bugzilla.remotesensing.org/show_bug.cgi?id=83 4031 40322001-09-26 Frank Warmerdam <[email protected]> 4033 4034 * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function. 4035 Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory. 4036 40372001-09-24 Frank Warmerdam <[email protected]> 4038 4039 * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug. 4040 4041 http://bugzilla.remotesensing.org/show_bug.cgi?id=78 4042 4043 * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an 4044 error about LZW not being available. 4045 4046 * libtiff/tif_dir.c: propagate failure to initialize compression 4047 back from TIFFSetField() as an error status, so applications can 4048 detect failure. 4049 4050 * libtiff/tif_dir.c: removed the auto replacement of 4051 COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField(). 4052 4053 * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile 4054 from CVS as they are all supposed to be auto-generated by configure. 4055 40562001-09-22 Frank Warmerdam <[email protected]> 4057 4058 * libtiff/tif_ojpeg.c: new update from Scott. 4059 40602001-09-09 Frank Warmerdam <[email protected]> 4061 4062 * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to 4063 always use the "safe" version, even if there is a very slight 4064 cost in performance. 4065 4066 http://bugzilla.remotesensing.org/show_bug.cgi?id=54 4067 4068 * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@ 4069 in two places. 4070 4071 * libtiff/tif_getimage.c: Fixed problem with reading strips or 4072 tiles that don't start on a tile boundary. Fix contributed by 4073 Josep Vallverdu (from HP), and further described in bug 47. 4074 4075 http://bugzilla.remotesensing.org/show_bug.cgi?id=47 4076 4077 * tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 4078 4079 * libtiff/tif_ojpeg.c: Applied substantial patch from Scott. 4080 40812001-09-06 Frank Warmerdam <[email protected]> 4082 4083 * libtiff/tif_packbits.c: fixed memory overrun error. 4084 4085 http://bugzilla.remotesensing.org/show_bug.cgi?id=77 4086 40872001-08-31 Frank Warmerdam <[email protected]> 4088 4089 * libtiff/tif_getimage.c: relax handling of contig case where 4090 there are extra samples that are supposed to be ignored. This 4091 should now work for 8bit greyscale or palletted images. 4092 4093 http://bugzilla.remotesensing.org/show_bug.cgi?id=75 4094 40952001-08-28 Frank Warmerdam <[email protected]> 4096 4097 * libtiff/tif_getimage.c: Don't complain for CMYK (separated) 4098 images with more than four samples per pixel. See: 4099 4100 http://bugzilla.remotesensing.org/show_bug.cgi?id=73 4101 41022001-08-10 Frank Warmerdam <[email protected]> 4103 4104 * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy() 4105 in TIFFReadRGBATile() to avoid issues in cases of overlapping 4106 buffers. See Bug 69 in Bugzilla. 4107 4108 http://bugzilla.remotesensing.org/show_bug.cgi?id=69 4109 4110 * tools/tiff2rgba.c: fixed getopt() call so that -b works again. 4111 41122001-08-09 Frank Warmerdam <[email protected]> 4113 4114 * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 4115 when checking for 64 bit architectures as per bugzilla bug 67. 4116 41172001-07-27 Frank Warmerdam <[email protected]> 4118 4119 * man/Makefile.in: add TIFFClientOpen link as per debian submitted 4120 bug 66. 4121 41222001-07-20 Frank Warmerdam <[email protected]> 4123 4124 * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 4125 has been included. 4126 41272001-07-19 Frank Warmerdam <[email protected]> 4128 4129 * libtiff/tif_open.c: Seek back to zero after failed read, 4130 before writing header. 4131 41322001-07-18 Frank Warmerdam <[email protected]> 4133 4134 * libtiff/tif_ojpeg.c: updates from Scott. Handles colors 4135 much better. Now depends on having patched libjpeg as per 4136 patch in contrib/ojpeg/*. 4137 41382001-07-17 Frank Warmerdam <[email protected]> 4139 4140 * */Makefile.in: added DESTDIR support. 4141 4142 http://bugzilla.remotesensing.org/show_bug.cgi?id=60 4143 41442001-07-16 Frank Warmerdam <[email protected]> 4145 4146 * configure, libtiff/Makefile.in: applied OpenBSD patches 4147 as per: 4148 4149 http://bugzilla.remotesensing.org/show_bug.cgi?id=61 4150 41512001-06-28 Frank Warmerdam <[email protected]> 4152 4153 * libtiff/tif_getimage.c: Fixed so that failure is properly 4154 reported by gtTileContig, gtStripContig, gtTileSeparate and 4155 gtStripSeparate. 4156 4157 See http://bugzilla.remotesensing.org/show_bug.cgi?id=51 4158 4159 * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare. 4160 Updated bug section of tiffcmp.1 to note tiled file issues. 4161 4162 See http://bugzilla.remotesensing.org/show_bug.cgi?id=53 4163 41642001-06-22 Frank Warmerdam <[email protected]> 4165 4166 * configure: Changes for DSO generation on AIX provided by 4167 John Marquart <[email protected]>. 4168 4169 * configure, libtiff/Makeifle.in: Modified to build DSOs properly 4170 on Darwin thanks to Robert Krajewski ([email protected]) and 4171 Keisuke Fujii ([email protected]). 4172 41732001-06-13 Frank Warmerdam <[email protected]> 4174 4175 * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component. 4176 4177 * man/tiff2rgba.1: new 4178 41792001-05-22 Frank Warmerdam <[email protected]> 4180 4181 * Added tiffset and tif_ojpeg to the dist lists in Makefile.in. 4182 41832001-05-13 Frank Warmerdam <[email protected]> 4184 4185 * libtiff/tools/thumbnail.c: changed default output compression 4186 to packbits from LZW since LZW isn't generally available. 4187 41882001-05-12 Frank Warmerdam <[email protected]> 4189 4190 * libtiff/tif_ojpeg.c: New. 4191 libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related 4192 to OJPEG support. 4193 4194 Scott Marovich <[email protected]> supplied OJPEG support. 4195 41962001-05-11 Frank Warmerdam <[email protected]> 4197 4198 * tiff.h: removed, it duplicates libtiff/tiff.h. 4199 42002001-05-08 Frank Warmerdam <[email protected]> 4201 4202 * libtiff/tif_dirinfo.c: moved pixar and copyright flags to 4203 ensure everything is in order. 4204 4205 * libtiff/libtiff.def: added TIFFCreateDirectory and 4206 TIFFDefaultStripSize as per: 4207 4208 http://bugzilla.remotesensing.org/show_bug.cgi?id=46 4209 42102001-05-02 Frank Warmerdam <[email protected]> 4211 4212 * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for 4213 TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to 4214 force use of uint32 counts instead of short counts. 4215 4216 * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the 4217 case of writing TIFF_BYTE/TIFF_SBYTE fields. 4218 4219 http://bugzilla.remotesensing.org/show_bug.cgi?id=43 4220 42212001-05-01 Frank Warmerdam <[email protected]> 4222 4223 * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per 4224 bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44 4225 42262001-04-05 Frank Warmerdam <[email protected]> 4227 4228 * tiffio.h: removed C++ style comment. 4229 4230 * configure: fixed up SCRIPT_SH/SHELL handling. 4231 4232 * Makefile.in: Fixed SCRIPT_SH/SHELL handling. 4233 4234 * config.guess: documented more variables as per bug 40. 4235 42362001-04-03 Frank Warmerdam <[email protected]> 4237 4238 * configure, *Makefile.in: Various changes to improve configuration 4239 for HP/UX specifically, and also in general. They include: 4240 - Try to handle /usr/bin/sh instead of /bin/sh where necessary. 4241 - Upgrade to HP/UX 10.x+ compiler, linker and dso options. 4242 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP 4243 - Use -${MAKEFLAGS} in sub makes from makefiles. 4244 4245 http://bugzilla.remotesensing.org/show_bug.cgi?id=40 4246 42472001-04-02 Frank Warmerdam <[email protected]> 4248 4249 * libtiff/tiff.h: Applied hac to try and resolve the problem 4250 with the inttypes.h include file on AIX. 4251 4252 See http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4253 4254 * VERSION: update to 3.5.7 beta in preparation for release. 4255 4256 * configure/config.site: modified to check if -lm is needed for 4257 MACHDEPLIBS if not supplied by config.site. Needed for Darwin. 4258 4259 * config.guess: updated wholesale to an FSF version apparently 4260 from 1998 (as opposed to 1994). This is mainly inspired by 4261 providing for MacOS X support. 4262 42632001-03-29 Frank Warmerdam <[email protected]> 4264 4265 * configure, Makefile.in, etc: added support for OPTIMIZER being 4266 set from config.site. 4267 42682001-03-28 Frank Warmerdam <[email protected]> 4269 4270 * fax2ps.c: Helge (libtiff at oldach.net) submitted fix: 4271 4272 Here's a fix for fax2ps that corrects behaviour for non-Letter paper 4273 sizes. It fixes two problems: 4274 4275 Without scaling (-S) the fax is now centered on the page size specified 4276 with -H and/or -W. Before, fax2ps was using an obscure and practially 4277 useless algorithm to allocate the image relative to Letter sized paper 4278 which sometime sled to useless whitespace on the paper, while at the 4279 same time cutting of the faxes printable area at the opposite border. 4280 4281 Second, scaling now preserves aspect ratio, which makes unusual faxes 4282 (in particular short ones) print properly. 4283 4284 See http://bugzilla.remotesensing.org/show_bug.cgi?id=35 4285 4286 * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by 4287 Bruce A. Mallett. See check message for detailed information 4288 on all the changes, including a faster encoder, fixes for level 4289 2 PostScript, and support for the imagemask operator. 4290 42912001-03-27 Frank Warmerdam <[email protected]> 4292 4293 * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 4294 "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX. 4295 4296 http://bugzilla.remotesensing.org/show_bug.cgi?id=39 4297 42982001-03-16 Frank Warmerdam <[email protected]> 4299 4300 * tif_dirinfo.c: moved definition of copyright tag in field list. 4301 Apparently they have to be in sorted order by tag id. 4302 43032001-03-13 Frank Warmerdam <[email protected]> 4304 4305 * tif_getimage.c: Added support for 16bit minisblack/miniswhite 4306 images in RGBA interface. 4307 43082001-03-02 Frank Warmerdam <[email protected]> 4309 4310 * Added TIFFTAG_COPYRIGHT support. 4311 43122001-02-19 Frank Warmerdam <[email protected]> 4313 4314 * Brent Roman contributed updated tiffcp utility (and tiffcp.1) 4315 with support for extracting subimages with the ,n syntax, and also 4316 adding the -b bias removal flag. 4317 43182001-02-16 Frank Warmerdam <[email protected]> 4319 4320 * libtiff/libtiff.def: Brent Roman submitted new version adding 4321 serveral missing entry points. 4322 4323 * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS. 4324 Some sort of weird VMS thing. 4325 4326 http://bugzilla.remotesensing.org/show_bug.cgi?id=31 4327 4328 * tif_luv.c/tiff.h/tiffio.h: 4329 New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 4330 ([email protected]). He writes: 4331 4332 1) I improved the gamut-mapping function in tif_luv.c for imaginary 4333 colors, because some images were being super-saturated on the input 4334 side and this resulted in some strange color shifts in the output. 4335 4336 2) I added a psuedotag in tiff.h to control random dithering during 4337 LogLuv encoding. This is turned off by default for 32-bit LogLuv and 4338 on for 24-bit LogLuv output. Dithering improves the average color 4339 accuracy over the image. 4340 4341 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in 4342 tiffio.h, to expose internal routines for converting between LogLuv and 4343 XYZ coordinates. This is helpful for writing more efficient, 4344 specialized conversion routines, especially for reading LogLuv files. 4345 4346 Changes applied with minor edits. 4347 43482001-01-23 Frank Warmerdam <[email protected]> 4349 4350 * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember 4351 whether we are encoding or decoding. This is to ensure graceful 4352 recovery if TIFFClientOpen() discovers an attempt to open a compressed 4353 file for "r+" access, and subsequently close it, as it resets the 4354 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the 4355 compressor's concept of whether it is in encode or decode mode. 4356 43572001-01-08 Mike Welles <[email protected]> 4358 4359 * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip 4360 43612001-01-07 Frank Warmerdam <[email protected]> 4362 4363 * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet() 4364 as per bug report by Patrick Connor. 4365 43662000-12-28 Frank Warmerdam <[email protected]> 4367 4368 * Added RELEASE-DATE file to release file list. 4369 4370 * Fixed libtiff/makefile.vc to make tiffvers.h not version.h. 4371 43722000-12-22 Mike Welles <[email protected]> 4373 * added link to CVS mirror from index.html 4374 4375 * updated html/internals.html to note that LZW compression is 4376 not supported by default. 4377 43782000-12-22 Frank Warmerdam <[email protected]> 4379 4380 * updated html/libtiff.html to not point at Niles' old JPL web site 4381 for the man pages, point at www.libtiff.org. 4382 43832000-12-21 Frank Warmerdam <[email protected]> 4384 4385 * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by 4386 Leonard Rosenthol <[email protected]>. May interfere 4387 with correct building on older systems. If so, please let me know. 4388 43892000-12-19 Mike Welles <[email protected]> 4390 4391 * Took out LZW Encoding from tif_lzw.c 4392 4393 * Created HOWTO-RELEASE 4394 4395 * Created html/v3.5.6.html 4396 4397 * updated index.html 4398 43992000-12-01 Frank Warmerdam <[email protected]> 4400 4401 * Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 4402 Patches supplied by Frank Cringle <[email protected]> 4403 Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif 4404 44052000-11-24 Frank Warmerdam <[email protected]> 4406 4407 * libtiff/Makefile.in: Added an installPrivateHdrs and install-private 4408 target so that the private headers required by libgeotiff can be 4409 installed with the others. They are not installed by default. 4410 4411 * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso 4412 targets so libtiff.so will be built with an explicit dependency 4413 on libm.so. 4414 4415 * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 4416 libtiff.so.3.5.5. 4417 4418 * libtiff/Makefile.in & configure: Remove all references to the ALPHA 4419 file, or ALPHA version logic. Added stuff about DIST_POINT in 4420 place of DIST_TYPE and the alpha release number stuff. 4421 44222000-11-22 Frank Warmerdam <[email protected]> 4423 4424 * I have applied a patch from Steffen Moeller <[email protected]> to 4425 the configure script so that it now accepts the --prefix, and 4426 --exec-prefix directives. 4427 44282000-11-13 Frank Warmerdam <warmerda@cs46980-c> 4429 4430 * I have made a variety of modifications in an effort to ensure the 4431 TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE 4432 file which seems to be updated regularly. 4433 4434 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 4435 version include file. 4436 o renamed version.h to tiffvers.h because we now have to install it 4437 with the public libtiff include files. 4438 o include tiffvers.h in tiffio.h. 4439 o updated tif_version.c to use tiffvers.h. 4440 o Updated Makefile.in accordingly. 4441 4442 * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25 4443 I have updated the win32 detection rules in tiffcomp.h. 4444 44452000-10-20 Frank Warmerdam <warmerda@cs46980-c> 4446 4447 * tif_getimage.c: Fixed RGBA translation for YCbCr images for which 4448 the strip/tile width and height aren't multiples of the sampling size. 4449 See http://bugzilla.remotesensing.org/show_bug.cgi?id=20 4450 Some patches from Rick LaMont of Dot C Software. 4451 4452 * Modified tif_packbits.c encoder to avoid compressing more 4453 data than provided if rowsize doesn't factor into provided data 4454 (such as occurs for YCbCr). 4455 44562000-10-19 Frank Warmerdam <warmerda@cs46980-c> 4457 4458 * tools/rgb2ycbcr.c: fixed output strip size to account for vertical 4459 roundup if rows_per_strip not a multiple of vertical sample size. 4460 44612000-10-16 Frank Warmerdam <warmerda@cs46980-c> 4462 4463 * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory 4464 as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18 4465 from [email protected]. 4466 4467 * Modified tif_packbits.c decoding to avoid overrunning the 4468 output buffer, and to issue a warning if data needs to be 4469 discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18 4470 44712000-10-12 Frank Warmerdam <warmerda@cs46980-c> 4472 4473 * Modified tiff2bw to ensure portions add to 100%, and that 4474 white is properly recovered. 4475 4476 See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15 4477 Patch c/o Stanislav Brabec <[email protected]> 4478 44792000-09-30 Frank Warmerdam <warmerda@cs46980-c> 4480 4481 * Modified TIFFClientOpen() to emit an error on an attempt to 4482 open a comperessed file for update (O_RDWR/r+) access. This is 4483 because the compressor/decompressor code gets very confused when 4484 the mode is O_RDWR, assuming this means writing only. See 4485 bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13 4486 44872000-09-27 Frank Warmerdam <warmerda@cs46980-c> 4488 4489 * Added GNULDdso target an`d switched linux and freebsd to use it. 4490 44912000-09-26 Frank Warmerdam <warmerda@cs46980-c> 4492 4493 * Applied patch for 0x0000 sequences in tif_fax3.h's definition 4494 of EXPAND1D() as per bug 11 (from Roman). 4495 44962000-09-25 Frank Warmerdam <warmerda@cs46980-c> 4497 * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve 4498 cygwin compatibility. 4499 4500 * Applied patch from Roman Shpount to tif_fax3.c. This seems to 4501 be a proper fix to the buffer sizing problem. See 4502 http://bugzilla.remotesensing.org/show_bug.cgi?id=11 4503 4504 * Fixed tif_getimage.c to fix overrun bug with YCbCr images without 4505 downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10 4506 Thanks to Nick Lamb <[email protected]> for reporting the 4507 bug and proving the patch. 4508 45092000-09-18 Frank Warmerdam <warmerda@cs46980-c> 4510 4511 * Fixed tif_jpeg.c so avoid destroying the decompressor before 4512 we are done access data thanks to bug report from: 4513 Michael Eckstein <[email protected]>. 4514 4515 * Reverted tif_flush change. 4516 45172000-09-14 Frank Warmerdam <warmerda@cs46980-c> 4518 4519 * tif_flush.c: Changed so that TIFFFlushData() doesn't return an 4520 error when TIFF_BEENWRITING is not set. This ensures that the 4521 directory contents can still be flushed by TIFFFlush(). 4522 45232000-08-14 Frank Warmerdam <[email protected]> 4524 4525 * tif_open.c: Don't set MMAP for O_RDWR files. 4526 4527 * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY 4528 so that files opened for update can be strip chopped too. 4529 4530 * tif_read.c: fixed up bug with files missing rowsperstrip and 4531 the strips per separation fix done a few weeks ago. 4532 45332000-07-17 Frank Warmerdam <warmerda@cs46980-c> 4534 4535 * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and 4536 SAMPLEFORMAT_COMPLEXINT. 4537 45382000-07-13 Mike Welles <[email protected]> 4539 4540 * index.html, bugs.html: added bugzilla info. 4541 45422000-07-12 Frank Warmerdam <[email protected]> 4543 4544 * tif_read.c: fix subtle bug with determining the number of 4545 rows for strips that are the last strip in a separation but 4546 not the last strip of all in TIFFReadEncodedStrip(). 4547 4548 * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by 4549 Peter Skarpetis <[email protected]> 4550 45512000-06-15 Frank Warmerdam <[email protected]> 4552 4553 * Modified tiffio.h logic with regard to including windows.h. It 4554 won't include it when building with __CYGWIN__. 4555 45562000-05-11 Frank Warmerdam <warmerda@cs46980-c> 4557 4558 * README: update to mention www.libtiff.org, don't list Sam's old 4559 email address. 4560 4561 * configure: Fixed DSO test for Linux as per patch from 4562 Jan Van Buggenhout <[email protected]>. 4563 45642000-04-21 Frank Warmerdam <[email protected]> 4565 4566 * libtiff/tif_dirread.c: Don't use estimate strip byte count for 4567 one tile/strip images with an offset, and byte count of zero. These 4568 could be "unpopulated" images. 4569 45702000-04-18 Frank Warmerdam <[email protected]> 4571 4572 * contrib/addtiffo: Added "averaging" resampling option. 4573 4574 * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT. 4575 4576Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]> 4577 4578 * tools/Makefile.in: Modified to install properly on SGI. 4579 45802000-04-12 Mike Welles <[email protected]> 4581 * configure: Fixed stupid mistake in libc6 test on Linux 4582 45832000-04-04 Mike Welles <[email protected]> 4584 * tif_win32.c: Applied patch to fix overreads and ovverwrites 4585 caught by BoundsChecker. From Arvan Pritchard 4586 <[email protected]> (untested). 4587 4588 * tif_getimage.c: Applied patch to silence VC6 warnings. From 4589 Arvan Pritchard <[email protected]> 4590 4591 * tif_lzw.c: Applied patch to silence VC6 warnings. From 4592 Arvan Pritchard <[email protected]> 4593 45942000-03-28 Frank Warmerdam <warmerda@cs46980-c> 4595 4596 * Added contrib/stream (stream io) code submitted by Avi Bleiweiss. 4597 45982000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release *** 4599 4600 * fax2ps: Fixed mixup of width and height in bounding box statement 4601 as per submission by Nalin Dahyabhai <[email protected]>. 4602 46032000-03-27 Mike Welles <[email protected]> 4604 4605 * fax2ps: Modified printruns to take uint32 instead of uint16. 4606 Patch courtesy of Bernt Herd <[email protected]> 4607 46082000-03-20 Mike Welles <[email protected]> 4609 4610 * configure: added test for libc6 for linux targets. Bug reported by 4611 Stanislav Brabec <[email protected]> 4612 4613 * Added 3.5 docs to html/Makefile.in. 4614 Thanks to Stanislav Brabec <[email protected]> 4615 4616 * configure: fixed bugs in sed scripts 4617 (applied sed script s:/@:s;@:;s:/s;;:;: to configure). 4618 fix submitted to Stanislav Brabec <[email protected]> 4619 4620 * tools/iptcutil was not in files list, and wasn't being 4621 added to tar archive. Updated Makefile.in. 4622 46232000-03-17 Frank Warmerdam <warmerda@cs46980-c> 4624 4625 * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32 4626 conversion for the run arrays. 4627 46282000-03-03 Frank Warmerdam <[email protected]> 4629 4630 * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 4631 SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c. 4632 46332000-03-02 Frank Warmerdam <[email protected]> 4634 4635 * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c. 4636 4637 * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger 4638 to avoid overruns encountered with frle_bug.tif. 4639 4640Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]> 4641 4642 * Fixed tools/tiffcmp so that stopondiff testing works. 4643 Patch care of Joseph Orost <[email protected]>. 4644 46452000-01-28 <warmerda@CS46980-B> 4646 4647 * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is 4648 set to 1, and added default (off) setting in tiffconf.h. This 4649 should eventually be set by the configure script somehow. 4650 4651 The original work on all these 2-4GB changes was done by 4652 Peter Smith ([email protected]). 4653 4654 * Modified tif_win32.c to support 2-4GB seeks. 4655 4656 * tentatively changed toff_t to be unsigned instead of signed to 4657 facilitate support for 2-4GB files. 4658 4659 * Updated a variety of files to use toff_t. Fixed some mixups 4660 between toff_t and tsize_t. 4661 4662Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]> 4663 4664 * Largely reimplemented contrib/addtiffo to avoid temp files, 4665 updating the TIFF file in place. Fixed a few other bugs to. 4666 4667 * Set tif_rawdatasize to zero when freeing raw data buffer in 4668 TIFFWriteDirectory(). 4669 4670 * Enabled "REWRITE_HACK" in tif_write.c by default. 4671 4672 * Fix bug in tif_write.c when switching between reading one directory 4673 and writing to another. 4674 4675 * Made TIFFWriteCheck() public, and added TIFFCreateDirectory() 4676 4677Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]> 4678 4679 * Added TIFFmemory(3t) functions to libtiff.def. 4680 4681Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]> 4682 4683 * Added libtiff/libtiff.def to TIFFILES distribution list. 4684 4685Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]> 4686 4687 * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 4688 4689 * Altered descriptions in tools to reflect "by default" lzw not supported 4690 4691 * Updated index.html to note lzw compression kit. 4692 4693Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]> 4694 4695 * Added fax3sm_winnt.c to distribution list in Makefile.in. 4696 4697Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release *** 4698 4699 * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]> 4700 4701 * Made one more change to tif_dir.c for removal of LZW compression. Also added notice 4702 when LZW compression invoked. 4703 4704 * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions 4705 in tools to reflect removal of LZW compression 4706 4707Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]> 4708 4709 * Fixed bug that caused LZW (non) compression to segfault. Added 4710 warning about LZW compression removed being removed, and why. 4711 4712 * Added nostrip to install in tools/Makefile.in so that debugging 4713 symbols are kept. 4714 4715Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]> 4716 4717 * Added patch from Ivo Penzar <[email protected]>, 4718 supporting Adobe ZIP deflate. Untested. 4719 4720Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]> 4721 4722 * Made Packbits the default compression in tools/tiff2rgba.c instead 4723 of LZW. 4724 4725Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release *** 4726 4727 * Added tif_luv to contrib/djgpp/Makefile.lib. 4728 4729Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]> 4730 4731 * Added zip creation to relase makefile target 4732 4733 * Added html for TIFFWriteTile.3t man page. 4734 4735Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]> 4736 4737 * Added some changes to tif_write.c to support rewriting existing 4738 fixed sized tiles and strips. Code mods disabled by default, only 4739 enabled if REWRITE_HACK is defined for now. 4740 4741Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]> 4742 4743 * Added TIFFWriteTile.3t man page. 4744 4745Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]> 4746 4747 * Added notes on use of makefile.vc in build.html, and fixed 4748 email subscription address. 4749 4750199-11-28 Mike Welles <[email protected]> 4751 4752 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 4753 4754 * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c, 4755 from Bruce Carmeron <[email protected]> -- modifications of 4756 changes made by Frank (sun cc still complained on cast). 4757 4758 * Added tiffconf.h to install target per request from Bill 4759 Radcliffe <[email protected]>: "We need a way for ImageMagick to 4760 know features have been compiled into the TIFF library in order to 4761 handle things properly". 4762 4763Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]> 4764 4765 * fixed various VC++ warnings as suggested by Gilles Vollant 4766 <[email protected]>. 4767 4768Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]> 4769 4770 * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to 4771 not imply applications are responsible for image data swapping. 4772 47731999-11-22 Mike Welles <[email protected]> 4774 * HTML-ized the man pages, added to html/man 4775 4776 * Removed LZW Compression to comply with Unisys patent extortion. 4777 47781999-09-29 Mike Welles <[email protected]> 4779 * Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 4780 From Ivo Penzar <[email protected]. 4781 4782 * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle 4783 memory mapped files. <[email protected]> 4784 47851999-09-26 Mike Welles <[email protected]> *** 3.5.2 release *** 4786 * Corrected alpha versioning. 4787 4788 * Removed distinction between alpha and release targets in Makefile.in. 4789 4790 * added release.stamp target, which tags cvs tree, and updates 4791 "RELEASE-DATE" 4792 4793 * added releasediff target, which diffs tree with source as of 4794 date in "RELEASE-DATE" 4795 4796 * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 4797 away from alpha/non-alpha distinctions). 4798 4799 * updated html to reflect release 4800 48011999-09-23 <warmerda@CS46980-B> 4802 4803 * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance. 4804 4805 * Added CYGWIN case in configure. 4806 4807Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]> 4808 4809 * Applied Francois Dagand's patch to handle fax decompression bug. 4810 (sizes >= 65536 were failing) 4811 4812Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]> 4813 4814 * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 4815 by Christopher Lawton <[email protected]> 4816 4817Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]> 4818 4819 * Added IRIX/gcc, and OSF/1 4.x support on behalf of 4820 Albert Chin-A-Young <[email protected]> 4821 4822 * Added TIFFReassignTagToIgnore() API on behalf of 4823 Bruce Cameron <[email protected]>. Man page still pending. 4824 4825Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]> 4826 4827 * Added test target in Makefile, test_pics.sh script and pics/*.rpt 4828 files to provide for a rudimentary testsuite. 4829 4830 * Added contrib/tags back from old distribution ... fixed up a bit. 4831 48321999-08-16 <warmerda@CS46980-B> 4833 4834 * Added simple makefile.vc makefiles for building with MS VC++ 4835 on Windows NT/98/95 in console mode. Stuff in contrib/win* make give 4836 better solutions for some users. 4837 4838Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]> 4839 4840 * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't 4841 put it in tools since part of it is in C++. 4842 48431999-08-16 Michael L. Welles <[email protected]> 4844 4845 * Updated html/index.html with anon CVS instructions. 4846 4847Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]> 4848 4849 * pre-remove so link before softlink in LINUXdso action in 4850 libtiff/Makefile.in to avoid failure on LINUXdso builds other than 4851 the first. 4852 4853 * Fixed problem with cvtcmap() in tif_getimage.c modifying the 4854 colormaps owned by the TIFF handle itself when trying to fixup wrong 4855 (eight bit) colormaps. Corrected by maintaining a private copy of 4856 the colormap. 4857 4858 * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 4859 tif_getimage.c. 4860 4861 * CVS Repository placed at remotesensing.org. ChangeLog added. 4862