src/3rdparty/libtiff/ChangeLog
changeset 30 5dc02b23752f
parent 0 1918ee327afb
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
       
     1 2009-11-04  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
     2 
       
     3 	* libtiff 3.9.2 released.
       
     4 
       
     5 2009-11-03  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
     6 
       
     7 	* tools/tiffcrop.c: Updated tiffcrop from Richard Nolde.  This
       
     8 	version has undergone substantial testing with arbitrary sample
       
     9 	bit depths.  Also eliminates GCC compilation warnings.
       
    10 
       
    11 2009-11-02  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
    12 
       
    13 	* port/libport.h: Added header file for porting prototypes and
       
    14 	extern declarations.
       
    15 
       
    16 2009-10-31  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
    17 
       
    18 	* libtiff/tif_dirwrite.c (TIFFWriteAnyArray): Add missing break
       
    19 	statement so writing an array of TIFF_DOUBLE works.
       
    20 
       
    21 2009-10-29  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
    22 
       
    23 	* libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned
       
    24 	pointer" warnings.
       
    25 
       
    26 2009-10-28  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
    27 
       
    28 	* html/tools.html: Add manual page links, and a summary
       
    29 	description of tiffcrop.
       
    30 
       
    31 2009-10-07  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
    32 
       
    33 	* configure.ac: x86_64 should use the same fill order as i386.
       
    34 
       
    35 2009-09-24  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
    36 
       
    37 	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard
       
    38 	Nolde.  Major updates to add significant functionality for reading
       
    39 	and writing tile based images with bit depths not a multiple of 8
       
    40 	which cannot be handled by tiffcp.
       
    41 
       
    42 2009-09-03  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
    43 
       
    44 	* libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs
       
    45 	do_fancy_upsampling=FALSE in order to read raw data.  Resolves
       
    46 	"Bug 2090 - OJPEG crash with libjpeg v7".
       
    47 	http://bugzilla.maptools.org/show_bug.cgi?id=2090
       
    48 
       
    49 2009-08-30  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
    50 
       
    51 	* contrib/iptcutil/iptcutil.c,
       
    52 	libtiff/tif_getimage.c,libtiff/tif_jpeg.c,libtiff/tif_ojpeg.c,tools/tiffcrop.c,tools/tiffgt.c:
       
    53 	Applied patch from Oden Eriksson to allow building with GCC using
       
    54 	the "-Wformat -Werror=format-security" flags.
       
    55 
       
    56 2009-08-28  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
    57 
       
    58 	* libtiff 3.9.1 released.
       
    59 
       
    60 2009-08-28  Frank Warmerdam  <warmerdam@pobox.com>
       
    61 
       
    62 	* libtiff/tif_dirwrite.c: Back out changes from 2007-11-22 that
       
    63 	resulted in the final strip not being written in some circumstances.
       
    64 	http://bugzilla.maptools.org/show_bug.cgi?id=2088
       
    65 
       
    66 2009-08-27  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
    67 
       
    68 	* libtiff/tif_write.c (TIFFAppendToStrip): Remove cast which
       
    69 	caused libtiff to output a wrong last strip with byte-count and
       
    70 	strip-offset of zero.  This cast was added on the day of the 3.9.0
       
    71 	release.
       
    72 
       
    73 	* libtiff/tif_config.vc.h: tiffiop.h needs the TIFF_INT64_T and
       
    74 	TIFF_UINT64_T defines in order to compile.  Copy existing
       
    75 	definitions from tiffconf.vc.h.
       
    76 
       
    77 2009-08-21  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
    78 
       
    79 	* test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not
       
    80 	actually activated since it needed to be enabled in this
       
    81 	Makefile.am.  Also activated parallel-tests mode since it offers
       
    82 	useful features such as per-test .log files and a summary test
       
    83 	report .log file.
       
    84 
       
    85 2009-08-20  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
    86 
       
    87 	* libtiff 3.9.0 released.
       
    88 
       
    89 	* libtiff/tif_print.c (TIFFPrintDirectory): Applied patch for "tag
       
    90 	error may cause segfault in tif_print.c."
       
    91 	http://bugzilla.maptools.org/show_bug.cgi?id=1896
       
    92 
       
    93 	* tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied patch for
       
    94 	CVE-2009-2347 libtiff: integer overflows in various inter-color
       
    95 	space conversion tools.
       
    96 	http://bugzilla.maptools.org/show_bug.cgi?id=2079
       
    97 
       
    98 	* configure.ac: Updated autotools.  Autoconf 2.64, Automake 1.11,
       
    99 	libtool 2.2.6.  Enabled support for silent build rules
       
   100 	(--enable-silent-rules or 'make V=0') and colorized tests.
       
   101 
       
   102 2009-06-30  Frank Warmerdam  <warmerdam@pobox.com>
       
   103 
       
   104 	* libtiff/tif_luv.c: correct return codes from encoderow to be
       
   105 	1 on success instead of zero.
       
   106 	http://bugzilla.maptools.org/show_bug.cgi?id=2069
       
   107 
       
   108 2009-06-22  Frank Warmerdam  <warmerdam@pobox.com>
       
   109 
       
   110 	* libtiff/tif_lzw.c: Fix buffer underflow bug. 
       
   111 	http://bugzilla.maptools.org/show_bug.cgi?id=2065
       
   112 
       
   113 2009-06-03  Frank Warmerdam  <warmerdam@pobox.com>
       
   114 
       
   115 	* libtiff/tif_write.c: do not override the planar configuration to be
       
   116 	contig for one sample files if planar configuration is already set.
       
   117 	http://bugzilla.maptools.org/show_bug.cgi?id=2057
       
   118 
       
   119 2009-02-12  Frank Warmerdam  <warmerdam@pobox.com>
       
   120 
       
   121 	* libtiff/tif_luv.c: Fix handling of tiled logluv images. 
       
   122 	http://bugzilla.maptools.org/show_bug.cgi?id=2005
       
   123 
       
   124 2009-01-23  Frank Warmerdam  <warmerdam@pobox.com>
       
   125 
       
   126 	* libtiff/tif_predict.c: Add support for 32bit integer horz. predictors.
       
   127 	http://bugzilla.maptools.org/show_bug.cgi?id=1911
       
   128 
       
   129 2009-01-20  Frank Warmerdam  <warmerdam@pobox.com>
       
   130 
       
   131 	* tools/tiffsplit.c: fix sampleformat to be shortv instead of longv.
       
   132 
       
   133 2009-01-12  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
   134 
       
   135 	* tools/tiff2ps.c: Remove spurious message printed to stderr. 
       
   136 
       
   137 2009-01-11  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
   138 
       
   139 	* tools/tiff2ps.c: Incorporated significant functionality update
       
   140 	from Richard Nolde.  In particular, support for rotating the image
       
   141 	by 90, 180, 270, and 'auto' has been added.
       
   142 
       
   143 	* tools/tiffcrop.c: Incorporated significant functionality update
       
   144 	from Richard Nolde.
       
   145 
       
   146 2009-01-06  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
   147 
       
   148 	* libtiff/tiffiop.h: Add private type declarations for int64, and
       
   149 	uint64 so that bundled utilities (like tiffcrop) can use it when
       
   150 	necessary.
       
   151 
       
   152 2009-01-01  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
   153 
       
   154 	* configure.ac: Updated to test for 64-bit types.  This version of
       
   155 	the library does not require a 64-bit type, but tiffcrop needs it.
       
   156 
       
   157 2008-12-31  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
   158 
       
   159 	* Update to use current FSF autotools versions.
       
   160 	* libtiff/tiffio.h: GCC will now validate format specifications
       
   161 	for TIFFError(), TIFFErrorExt(), TIFFWarning(), and
       
   162 	TIFFWarningExt() in order to reveal bugs.  Cleaned up resulting
       
   163 	warnings throughout for 32 bit build only.
       
   164 
       
   165 2008-12-31  Frank Warmerdam  <warmerdam@pobox.com>
       
   166 
       
   167 	* tools/tiffcrop.c, man/tiffcrop.1: A major update from Richard
       
   168 	Nolde.  
       
   169 
       
   170 2008-12-21  Frank Warmerdam  <warmerdam@pobox.com>
       
   171 
       
   172 	* libtiff/tif_jpeg.c: Avoid errors if the application writes a full
       
   173 	strip for the last partial strip in a jpeg compressed file.
       
   174 	http://bugzilla.maptools.org/show_bug.cgi?id=1981
       
   175 
       
   176 2008-12-21  Frank Warmerdam  <warmerdam@pobox.com>
       
   177 
       
   178 	* libtiff/tif_getimage.c, tiffio.h: More ABI corrections. 
       
   179 	Removed SubsamplingHor/Ver from TIFFRGBAImage structure.
       
   180 	  http://bugzilla.maptools.org/show_bug.cgi?id=1980
       
   181 
       
   182 2008-12-18  Frank Warmerdam  <warmerdam@pobox.com>
       
   183 
       
   184 	* libtiff/tif_getimage.c,tiffio.h: removed all use of UaToAa and
       
   185 	Bitmap16to8 arrays in TIFFRGBAImage structure to restore ABI
       
   186 	compatability.  These were just an attempt to speed up processing
       
   187 	with precalculated tables.
       
   188 	  http://bugzilla.maptools.org/show_bug.cgi?id=1979
       
   189 
       
   190 	* libtiff/tif_codec.c: Avoid printing c->name if it does not exist.
       
   191 
       
   192 2008-10-21  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   193 
       
   194 	* libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with
       
   195 	the older versions retained).
       
   196 
       
   197 2008-09-05  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   198 
       
   199 	* tools/tiffsplit.c: Use dynamically allocated array instead of static
       
   200 	when constructing output file names.
       
   201 
       
   202 2008-09-03  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   203 
       
   204 	* tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when
       
   205 	doing the filename/path construction.
       
   206 
       
   207 	* tools/tiff2pdf.c: More appropriate format string in
       
   208 	t2p_write_pdf_string(); avoid signed/unsigned mismatch.
       
   209 
       
   210 	* libtiff/tif_lzw.c: Properly zero out the codetable. As per bug
       
   211 
       
   212 	http://bugzilla.maptools.org/show_bug.cgi?id=1929
       
   213 
       
   214 	* libtiff/tif_lzw.c: Properly zero out the string table. Fixes
       
   215 	CVE-2008-2327 security issue.
       
   216 
       
   217 2008-05-24  Frank Warmerdam  <warmerdam@pobox.com>
       
   218 
       
   219 	* tif_codec.c: Avoid NULL pointer dereferencing for exotic 
       
   220 	compression codec codes.
       
   221 
       
   222 	* tif_dirread.c: zero tif->tif_dir after freeing the directory
       
   223 	in TIFFReadCustomDirectory().  I don't exactly remember why this
       
   224 	was important. 
       
   225 
       
   226 	* tif_dirwrite.c: Fix potential memory leak writing large double
       
   227 	tags. 
       
   228 
       
   229 	* tif_dirread.c: Fix unchecked malloc result.
       
   230 
       
   231 2008-01-30  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   232 
       
   233 	* tif_fax3.c: Make find0span() and find1span() non-inline to
       
   234 	make MSVC 6.0 compiler happy.
       
   235 
       
   236 2007-11-26  Frank Warmerdam  <warmerdam@pobox.com>
       
   237 
       
   238 	* tif_fax3.c: fix leak of FAXCS state (per bug 1603).
       
   239 
       
   240 2007-11-23  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   241 
       
   242 	* configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches
       
   243 	from Alexey Chupahin.
       
   244 
       
   245 2007-11-22  Frank Warmerdam  <warmerdam@pobox.com>
       
   246 
       
   247 	* tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 
       
   248 	establishing if an existing tile can be rewritten to the same location 
       
   249 	by comparing the current size to all the other blocks in the same 
       
   250 	directory.  This is dangerous in many situations and can easily 
       
   251 	corrupt a file.  (observed in esoteric GDAL situation that's hard to
       
   252 	document).  This change involves leaving the stripbytecount[] values 
       
   253 	unaltered till TIFFAppendToStrip().  Now we only write a block back
       
   254 	to the same location it used to be at if the new data is the same
       
   255 	size or smaller - otherwise we move it to the end of file.
       
   256 
       
   257 	* tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile
       
   258 	data when writing the directory just because we have BEENWRITING at
       
   259 	some point in the past.  This was causing odd junk to be written out
       
   260 	in a tile of data when a single tile had an interleaving of reading 
       
   261 	and writing with reading last.  (highlighted by gdal 
       
   262 	autotest/gcore/tif_write.py test 7. 
       
   263 
       
   264 	* tif_predict.c: use working buffer in PredictorEncodeTile to avoid
       
   265 	modifying callers buffer. 
       
   266 	http://trac.osgeo.org/gdal/ticket/1965
       
   267 
       
   268 	* tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 
       
   269 	predictor based encoding and decoding works in read-write update
       
   270 	mode properly. 
       
   271 	http://trac.osgeo.org/gdal/ticket/1948
       
   272 
       
   273 2007-10-05  Frank Warmerdam  <warmerdam@pobox.com>
       
   274 
       
   275 	* tools/tiff2pdf.c: Fixed setting of alpha value per report on list.
       
   276 
       
   277 2007-09-13  Frank Warmerdam  <warmerdam@pobox.com>
       
   278 
       
   279 	* tif_dirinfo.c:  _TIFFMergeFields() now only merges in field
       
   280 	definitions that are missing.  Existing definitions are silently
       
   281 	ignored.  (Bug #1585)
       
   282 
       
   283 2007-07-18  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   284 
       
   285 	* libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 
       
   286 	remove tif_config.h/tiffconf.h during cleaning. As per bug
       
   287 
       
   288 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1573
       
   289 
       
   290 2007-07-13  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   291 
       
   292 	* libtiff 3.9.0beta released.
       
   293 
       
   294 2007-07-12  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   295 
       
   296 	* tools/tiff2pdf.c: Added missed extern optind as per bug
       
   297 
       
   298 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1567
       
   299 
       
   300 2007-07-03  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   301 
       
   302 	* tools/tiff2ps.c:  Added support 16-bit images as per bug
       
   303 	
       
   304 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1566
       
   305 
       
   306 	Patch from William Bader.
       
   307 
       
   308 	* tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and
       
   309 	significant upgrade of the whole utility as per bug
       
   310 	
       
   311 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1560
       
   312 
       
   313 	Now we don't need tiffiop.h in tiff2pdf anymore and will open output
       
   314 	PDF file using TIFFClientOpen() machinery as it is implemented
       
   315 	by Leon Bottou.
       
   316 
       
   317 2007-06-29  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
   318 
       
   319 	* libtiff/tif_dirinfo.c (_TIFFFindFieldInfo): Don't attempt to
       
   320 	bsearch() on a NULL fieldinfo list.
       
   321 	(_TIFFFindFieldInfoByName): Don't attempt to
       
   322 	lfind() on a NULL fieldinfo list.
       
   323 
       
   324 2007-05-01  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   325 
       
   326 	* libtiff/tif_dirwrite.c: Fixed problem introduced with a fix for a
       
   327 	byte swapping issue
       
   328 	
       
   329 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1363
       
   330 
       
   331 	As per bug
       
   332 
       
   333 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1550
       
   334 
       
   335 2007-04-27  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   336 
       
   337 	* tools/tiff2pdf.c: Check the tmpfile() return status as per bug
       
   338 
       
   339 	http://bugzilla.remotesensing.org/show_bug.cgi?id=154
       
   340 
       
   341 2007-04-07  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   342 
       
   343 	* libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c,
       
   344 	tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c,
       
   345 	tif_predict.c, tif_zip.c}: Finally fix bug
       
   346 	
       
   347 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1274
       
   348 
       
   349 	by introducing _TIFFMergeFieldInfo() returning integer error status
       
   350 	instead of void in case of problems with field merging (e.g., if the
       
   351 	field with such a tag already registered). TIFFMergeFieldInfo() in
       
   352 	public API remains void. Use _TIFFMergeFieldInfo() everywhere and
       
   353 	check returned value.
       
   354 
       
   355 2007-04-07  Frank Warmerdam  <warmerdam@pobox.com>
       
   356 
       
   357 	* contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 
       
   358 	blocks in TIFF_DownSample_Subsampled() (bug 1542).
       
   359 
       
   360 2007-04-06  Frank Warmerdam  <warmerdam@pobox.com>
       
   361 
       
   362 	* libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it
       
   363 	will convert from decompressor to compressor or compress to decompress
       
   364 	if required by the force arguments.  This works around a problem in
       
   365 	where the JPEGFixupTestSubsampling() may cause a decompressor to 
       
   366 	be setup on a directory when later a compressor is required with the
       
   367 	force flag set.  Occurs with the addtiffo program for instance. 
       
   368 
       
   369 2007-04-06  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   370 
       
   371 	* libtiff/tif_dirwrite.c: Fixed swapping of byte arrays stored
       
   372 	in-place in tag offsets as per bug
       
   373 	
       
   374 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1363
       
   375 
       
   376 	* tools/tiffcrop.c, man/tiffcrop.1: Significant update in
       
   377 	functionality from Richard Nolde. As per bug
       
   378 	
       
   379 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1525
       
   380 
       
   381 2007-03-28  Frank Warmerdam  <warmerdam@pobox.com>
       
   382 
       
   383 	* libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC.
       
   384 
       
   385 2007-03-07  Joris Van Damme  <joris.at.lebbeke@skynet.be>
       
   386 	
       
   387 	* libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading
       
   388 	OJPEG images with rowsperstrip that is not a multiple of vertical subsampling
       
   389 	factor. This bug is mentioned in:
       
   390 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1390
       
   391 	http://www.asmail.be/msg0054766825.html 
       
   392 
       
   393 2007-03-07  Joris Van Damme  <joris.at.lebbeke@skynet.be>
       
   394 	
       
   395 	* libtiff/tif_win32.c: made inclusion of windows.h unconditional
       
   396 
       
   397 	* libtiff/tif_win32.c: replaced preprocessor indication for consiously
       
   398 	unused arguments by standard C indication for the same
       
   399 
       
   400 2007-02-27  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   401 
       
   402 	* libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte
       
   403 	counters in TIFFFetchData(). Should finally fix the issue
       
   404 
       
   405 	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
       
   406 
       
   407 2007-02-24  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   408 
       
   409 	* tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount.
       
   410 	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350
       
   411 
       
   412 	* libtiff/tif_dirread.c: Added special function to handle
       
   413 	SubjectDistance EXIF tag as per bug
       
   414 
       
   415 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1362
       
   416 
       
   417 	* tools/tiff2pdf.c: Do not assume inches when the resolution units
       
   418 	do not specified. As per bug
       
   419 
       
   420 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1366
       
   421 
       
   422 	* tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if
       
   423 	it was set as infinite. As per bug
       
   424 
       
   425 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1368
       
   426 
       
   427 	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed
       
   428 	by Richard Nolde. As per bug
       
   429 
       
   430 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1383
       
   431 
       
   432 2007-02-22  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   433 
       
   434 	* libtiff/tif_dir.c: Workaround for incorrect TIFFs with
       
   435 	ExtraSamples == 999 produced by Corel Draw. As per bug
       
   436 
       
   437 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1490
       
   438 
       
   439 	* libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters
       
   440 	changed from tsize_t to uint32 to be able to work with data arrays
       
   441 	larger than 2GB. Fixes bug
       
   442 
       
   443 	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
       
   444 	
       
   445 	Idea submitted by Matt Hancher.
       
   446 
       
   447 2007-01-31  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   448 
       
   449 	* tools/tif2rgba.c: This utility does not work properly on big-endian
       
   450 	architectures. It was fixed including the bug
       
   451 	
       
   452 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
       
   453 
       
   454 2007-01-15  Mateusz Loskot <mateusz@loskot.net>
       
   455 
       
   456 	* Submitted libtiff port for Windows CE platform
       
   457 	* libtiff/tif_config.wince.h: Added configuration header for WinCE.
       
   458 	* libtiff/tiffconf.wince.h: Ported old configuration header for WinCE.
       
   459 	* libtiff/tif_wince.c: Added WinCE-specific implementation of some
       
   460 	functons from tif_win32.c.
       
   461 	* libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c.
       
   462 	* libtiff/tiffiop.h, port/lfind.c: Added conditional include of some
       
   463 	standard header files for Windows CE build.
       
   464 	* tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE.
       
   465 
       
   466 2006-11-19  Frank Warmerdam  <warmerdam@pobox.com>
       
   467 
       
   468 	* libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 
       
   469 	we move a strip. 
       
   470 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1359	
       
   471 
       
   472 2006-10-13  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   473 
       
   474 	* libtiff/tif_dir.c: More fixes for vulnerabilities, reported
       
   475 	in Gentoo bug ():
       
   476 	
       
   477 	http://bugs.gentoo.org/show_bug.cgi?id=142383
       
   478 
       
   479 	* libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable.
       
   480 	Though it is still far from the state of being working and useful.
       
   481 
       
   482 2006-10-12  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   483 
       
   484 	* libtiff/tif_fax3.c: Save the state of printdir codec dependent
       
   485 	method.
       
   486 
       
   487 	* libtiff/tif_jpeg.c: Save the state of printdir codec dependent method
       
   488 	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273
       
   489 
       
   490 	* libtiff/tif_win32.c: Fixed problem with offset value manipulation
       
   491 	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322
       
   492 
       
   493 	* libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for
       
   494 	vulnerabilities, reported in Gentoo bug ():
       
   495 
       
   496 	http://bugs.gentoo.org/show_bug.cgi?id=142383
       
   497 
       
   498 2006-09-28  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   499 
       
   500 	* libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple
       
   501 	vulnerabilities, as per	Gentoo bug ():
       
   502 
       
   503 	http://bugs.gentoo.org/show_bug.cgi?id=142383
       
   504 
       
   505 2006-09-27  Frank Warmerdam  <warmerdam@pobox.com>
       
   506 
       
   507 	* libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing
       
   508 	encoding and decoding on the same read-write TIFF handle.  The LZW
       
   509 	code can now maintain encode and decode state at the same time. The
       
   510 	ZIP code will switch back and forth as needed.  
       
   511 	http://bugzilla.remotesensing.org/show_bug.cgi?id=757
       
   512 
       
   513 2006-09-20  Frank Warmerdam  <warmerdam@pobox.com>
       
   514 
       
   515 	* libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 
       
   516 	tif_config.vc.h for easier identification by folks using an IDE.
       
   517 
       
   518 2006-07-25  Frank Warmerdam  <warmerdam@pobox.com>
       
   519 
       
   520 	* tif_msdos.c: Avoid handle leak for failed opens.  c/o Thierry Pierron
       
   521 
       
   522 2006-07-19  Frank Warmerdam  <warmerdam@pobox.com>
       
   523 
       
   524 	* tif_dirwrite.c: take care not to flush out buffer of strip/tile
       
   525 	data in _TIFFWriteDirectory if TIFF_BEENWRITING not set.  Relates
       
   526 	to bug report by Peng Gao with black strip at bottom of images.
       
   527 
       
   528 2006-07-12  Frank Warmerdam  <warmerdam@pobox.com>
       
   529 
       
   530 	* tif_dirwrite.c: make sure to use uint32 for wordcount in 
       
   531 	TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
       
   532 	It already seems to have been done for other field types.  Needed
       
   533 	for "tiffset" on files with geotiff ascii text.
       
   534 
       
   535 2006-07-04  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
   536 
       
   537 	* {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c}
       
   538 	(JBIGDecode): jbg_newlen is not available in older JBIG-KIT and
       
   539 	its use does not appear to be required, so use it only when it is
       
   540 	available.
       
   541 
       
   542 2006-06-24  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   543 
       
   544 	* libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961).
       
   545 
       
   546 	* libtiff/tif_dirread.c: Move IFD fetching code in the separate
       
   547 	function TIFFFetchDirectory() avoiding code duplication in
       
   548 	TIFFReadDirectory() and TIFFReadCustomDirectory().
       
   549 
       
   550 2006-06-19  Frank Warmerdam  <warmerdam@pobox.com>
       
   551 
       
   552 	* tools/tiff2pdf.c: Fix handling of -q values.
       
   553 	http://bugzilla.remotesensing.org/show_bug.cgi?id=587
       
   554 
       
   555 2006-06-17  Frank Warmerdam  <warmerdam@pobox.com>
       
   556 
       
   557 	* tif_readdir.c: Added case in EstimateStripByteCounts() for tiled
       
   558 	files.  Modified TIFFReadDirectory() to not invoke 
       
   559 	EstimateStripByteCounts() for case where entry 0 and 1 are unequal
       
   560 	but one of them is zero. 
       
   561 	  http://bugzilla.remotesensing.org/show_bug.cgi?id=1204
       
   562 
       
   563 2006-06-08  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   564 
       
   565 	* libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping
       
   566 	checking code in the separate function TIFFCheckDirOffset().
       
   567 
       
   568 	* libtiff/tif_aux.c: Added _TIFFCheckRealloc() function.
       
   569 
       
   570 	* tools/tiffcmp.c: Fixed floating point comparison logic as per bug
       
   571 
       
   572 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
       
   573 
       
   574 	* libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug
       
   575 
       
   576 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1194
       
   577 
       
   578 	* tools/tiff2pdf.c: Fixed buffer overflow condition in
       
   579 	t2p_write_pdf_string() as per bug
       
   580 
       
   581 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1196
       
   582 
       
   583 2006-06-07  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   584 
       
   585 	* {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added
       
   586 	support for JBIG compression scheme (34661 code) contributed by Lee
       
   587 	Howard. As per bug
       
   588 	
       
   589 	http://bugzilla.remotesensing.org/show_bug.cgi?id=896
       
   590 
       
   591 	* configure, configure.ac: OJPEG support enabled by default.
       
   592 
       
   593 	* contrib/ojpeg/: Removed. New OJPEG support does not need this patch.
       
   594 
       
   595 2006-06-03  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
       
   596 
       
   597 	* libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
       
   598 	TIFFPrintDirectory().  Joris Van Damme authored the fix.
       
   599 
       
   600 2006-04-21  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   601 
       
   602 	* tools/tiff2pdf.c: Unified line ending characters (always use '\n')
       
   603 	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163
       
   604 
       
   605 	* README.vms, Makefile.am, configure.com, libtiff/{Makefile.am,
       
   606 	tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}:
       
   607 	Added support for OpenVMS by Alexey Chupahin, elvis_75@mail.ru.
       
   608 
       
   609 2006-04-20  Andrey Kiselev  <dron@ak4719.spb.edu>
       
   610 
       
   611 	* tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}:
       
   612 	Properly set the binary mode for stdin stream as per bug
       
   613 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1141
       
   614 
       
   615 	* man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1,
       
   616 	raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1,
       
   617 	tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1,	tiffdump.1, tiffgt.1,
       
   618 	tiffset.1}: Improvements in page formatting as per bug
       
   619 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1140
       
   620 
       
   621 	* html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed
       
   622 	typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139
       
   623 
       
   624 2006-04-18  Frank Warmerdam  <warmerdam@pobox.com>
       
   625 
       
   626 	* nmake.opt: use /EHsc for VS2005 compatibility.  Also define
       
   627 	_CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 
       
   628 
       
   629 2006-04-12  Joris Van Damme  <joris.at.lebbeke@skynet.be>
       
   630 
       
   631 	* libtiff/tif_getimage.c: Added support for planarconfig separate
       
   632 	non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1])
       
   633 
       
   634 2006-04-11  Joris Van Damme  <joris.at.lebbeke@skynet.be>
       
   635 	
       
   636 	* libtiff/tif_getimage.c: Revision of all RGB(A) put routines
       
   637 	- Conversion of unassociated alpha to associated alpha now done with
       
   638 	  more performant LUT, and calculation more correct
       
   639 	- Conversion of 16bit data to 8bit data now done with
       
   640 	  more performant LUT, and calculation more correct
       
   641 	- Bugfix of handling of 16bit RGB with unassociated alpha
       
   642 
       
   643 2006-04-11  Joris Van Damme  <joris.at.lebbeke@skynet.be>
       
   644 	
       
   645 	* libtiff/tif_getimage.c: 
       
   646 	- When there is no alpha, gtTileSeparate and gtStripSeparate allocated 
       
   647 	  buffer for alpha strile and filled it, only to never read it back. 
       
   648 	  Removed allocation and fill.
       
   649 	- Minor rename of vars in gtTileSeparate and gtStripSeparate 
       
   650 	  anticipating planned functionality extension
       
   651 
       
   652 2006-04-08  Joris Van Damme  <joris.at.lebbeke@skynet.be>
       
   653 
       
   654 	* libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 
       
   655 	and pickTileSeparateCase to PickSeparateCase as both work on strips as 
       
   656 	well
       
   657 
       
   658 	* libtiff/tif_getimage.c: moved img->get selection from 
       
   659 	TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create
       
   660 	logical hook for planned functionality extension
       
   661 
       
   662 2006-04-08  Joris Van Damme  <joris.at.lebbeke@skynet.be>
       
   663 
       
   664 	* libtiff/tif_ojpeg.c: resolved memory leak that was a consequence
       
   665 	of inappropriate use of jpeg_abort instead of jpeg_destroy
       
   666 
       
   667 2006-04-07  Joris Van Damme  <joris.at.lebbeke@skynet.be>
       
   668 
       
   669 	* libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 
       
   670 	gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour
       
   671 	on subsampled images - this ought to get sorted when we feel brave 
       
   672 	enough to replace TIFFScanlineSize alltogether
       
   673 
       
   674 	* libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip
       
   675 
       
   676 2006-04-04  Joris Van Damme  <joris.at.lebbeke@skynet.be>
       
   677 
       
   678 	* libtiff/tiffio.h: added new type tstrile_t
       
   679 
       
   680 	* libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 
       
   681 	to new tstrile_t, types of td_stripoffset and td_stripbytecount to 
       
   682 	toff_t*
       
   683 
       
   684 	* libtiff/tif_ojpeg.c: totally new implementation
       
   685 
       
   686 	* libtiff/tif_dirread.c: added several hacks to suit new support of 
       
   687 	OJPEG
       
   688 
       
   689 	* libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling
       
   690 	of OJPEG images in favor of tif_getimage.c native handling of
       
   691 	YCbCr and desubsampling
       
   692 
       
   693 2006-03-29  Frank Warmerdam  <warmerdam@pobox.com>
       
   694 
       
   695 	* libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric
       
   696 	interpretation causes the "upsampled" flag to be recomputed.  Fixes
       
   697 	peculiar bug where photometric flag had to be set before jpegcolormode
       
   698 	flag.
       
   699 
       
   700 2006-03-25  Joris Van Damme  <joris.at.lebbeke@skynet.be>
       
   701 
       
   702 	* libtiff/tif_jpeg.c: strip size related bugfix in encode raw
       
   703 
       
   704 	* libtiff/tif_strip.c: temporarilly added two new versions of
       
   705 	TIFFScanlineSize
       
   706 	  - TIFFNewScanlineSize: proposed new version, after all related
       
   707 	    issues and side-effects are sorted out
       
   708 	  - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change
       
   709 	This needs further sorting out.
       
   710 
       
   711 2006-03-25  Joris Van Damme  <joris.at.lebbeke@skynet.be>
       
   712 
       
   713 	* contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size
       
   714 	of last truncated strip data to TIFFWriteEncodedStrip
       
   715 
       
   716 2006-03-25  Joris Van Damme  <joris.at.lebbeke@skynet.be>
       
   717 
       
   718 	* libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw
       
   719 
       
   720 2006-03-25  Joris Van Damme  <joris.at.lebbeke@skynet.be>
       
   721 
       
   722 	* libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile
       
   723 
       
   724 	* libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile
       
   725 
       
   726 	* libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 
       
   727 	prepare	the path for new tif_ojpeg.c
       
   728 
     1 2006-03-23  Andrey Kiselev  <dron@ak4719.spb.edu>
   729 2006-03-23  Andrey Kiselev  <dron@ak4719.spb.edu>
     2 
   730 
     3 	* libtiff 3.8.2 released.
   731 	* libtiff 3.8.2 released.
     4 
   732 
     5 	* tools/Makefile.am: Use runtime paths linker flags when rpath
   733 	* tools/Makefile.am: Use runtime paths linker flags when rpath