Commit Graph

2350 Commits

Author SHA1 Message Date
Frank Warmerdam
b7b6095407 fix resource leaks on error (#2125) 2009-11-30 18:42:53 +00:00
Frank Warmerdam
199977b6af Return to handling TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF
directory instead  of as a custom(generic) field to avoid a potential
reentrancy problem (#2125)
2009-11-30 18:19:15 +00:00
Frank Warmerdam
917274b864 Make TIFFDisplay argument in TIFFCIELabToRGBInit const, and display_sRGB static and const. 2009-11-30 12:22:26 +00:00
Bob Friesenhahn
d4038e39c5 * libtiff 4.0.0alpha5 released. 2009-11-04 17:49:25 +00:00
Bob Friesenhahn
1dc4f337d9 3.9.2 is latest stable release. 2009-11-04 17:38:13 +00:00
Bob Friesenhahn
444e4b4866 * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This
version has undergone substantial testing with arbitrary sample
bit depths.  Also eliminates GCC compilation warnings.
2009-11-03 15:24:27 +00:00
Bob Friesenhahn
c9d00c6c3c Change tiffcrop parameters to -X 60 -Y 60 2009-11-02 18:30:21 +00:00
Bob Friesenhahn
2b14d5a792 * port/libport.h: Add extern declarations for getopt standard
globals.
2009-11-02 14:44:13 +00:00
Bob Friesenhahn
d35a21f9d2 * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings
noticed in 64-bit build of libtiff with Visual Studio 2005.
Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in
tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067
2009-11-01 00:16:49 +00:00
Bob Friesenhahn
ffd59cba70 * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important
warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 -
Visual Studio 2005 64-bit warning in tif_pixarlog.c",
http://bugzilla.maptools.org/show_bug.cgi?id=2068
2009-10-31 23:42:27 +00:00
Bob Friesenhahn
c667654d23 * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned
pointer" warnings.
2009-10-29 20:04:07 +00:00
Bob Friesenhahn
0640db6d8f Include a mailto link for Bob Friesenhahn 2009-10-28 22:28:46 +00:00
Bob Friesenhahn
e7ccb79ae3 Add a note that BigTIFF work is completed 2009-10-28 22:17:07 +00:00
Bob Friesenhahn
5d031f1fd9 * html/tools.html: Add manual page links, and a summary
description of tiffcrop.
2009-10-28 22:13:37 +00:00
Bob Friesenhahn
8743e53820 * configure.ac: x86_64 should use the same fill order as i386. 2009-10-07 20:15:26 +00:00
Bob Friesenhahn
eecc3405f3 * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard
Nolde.  Major updates to add significant functionality for reading
and writing tile based images with bit depths not a multiple of 8
which cannot be handled by tiffcp.
2009-09-24 21:57:11 +00:00
Bob Friesenhahn
05a3dfef44 * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs
do_fancy_upsampling=FALSE in order to read raw data.  Resolves
"Bug 2090 - OJPEG crash with libjpeg v7".
http://bugzilla.maptools.org/show_bug.cgi?id=2090
2009-09-03 20:45:22 +00:00
Frank Warmerdam
867070ff59 capture errors properly from readtile/strip (#2071) 2009-09-03 17:41:02 +00:00
Bob Friesenhahn
840cb0032f * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to
fix build with gcc when using the "-Wformat
-Werror=format-security" flags.
2009-08-30 17:38:51 +00:00
Bob Friesenhahn
61635e13d2 * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh,
ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional
utilities tests.
2009-08-29 20:45:09 +00:00
Bob Friesenhahn
d0a7c62064 Make static initialized strings const. 2009-08-29 20:05:06 +00:00
Bob Friesenhahn
e39271f390 Add tiffcrop-extractz14-logluv-3c-16b.sh to XFAIL_TESTS 2009-08-28 23:53:15 +00:00
Bob Friesenhahn
df3386927a * tools/tiffinfo.c: tiffinfo should return error status to the
caller.  Register a private error callback to accomplish that.
2009-08-28 23:46:56 +00:00
Bob Friesenhahn
dac32d97bd Add v3.9.1.html 2009-08-28 18:54:11 +00:00
Bob Friesenhahn
0f2332cec2 * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and
PNM formats so that we will be able to test more of the tools.
While adding these test images I notice that bmp2tiff and gif2tiff
only support ancient versions of their respective formats.
2009-08-28 17:46:01 +00:00
Bob Friesenhahn
f7ec1e9d4f Add a note about 64-bit tags. 2009-08-27 19:23:52 +00:00
Bob Friesenhahn
aeb4c8be72 * libtiff 4.0.0alpha4 released.
* HOWTO-RELEASE: Improved release instructions.
2009-08-27 17:40:49 +00:00
Bob Friesenhahn
cd06c91a13 * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied
fixes for "Bug 2023 - nroff errors in manual pages".
http://bugzilla.maptools.org/show_bug.cgi?id=2023
2009-08-24 19:13:40 +00:00
Bob Friesenhahn
614f95d8b1 * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 -
CVE-2009-2347 libtiff: integer overflows in various inter-color
space conversion tools".
http://bugzilla.maptools.org/show_bug.cgi?id=2079
2009-08-24 17:15:05 +00:00
Bob Friesenhahn
ed66fcdf7b * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay
Berkenbilt for "Bug 2024 - possible null pointer dereference with
one-line fix".
http://bugzilla.maptools.org/show_bug.cgi?id=2024
2009-08-24 16:51:14 +00:00
Bob Friesenhahn
4dd4bbeccb * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch
from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c:
segfault after setting tdir_tag = IGNORE".
http://bugzilla.maptools.org/show_bug.cgi?id=1895
2009-08-24 16:43:40 +00:00
Bob Friesenhahn
d699d4fb3c Utilities which write to stdout needed more attention. 2009-08-24 15:48:00 +00:00
Bob Friesenhahn
2d29eb6b24 Add MEMCHECK to log messages so we can see that it is being applied. 2009-08-24 14:28:27 +00:00
Bob Friesenhahn
7492898195 Fix typo. 2009-08-24 02:55:05 +00:00
Bob Friesenhahn
044efd739c Prefix test commands with MEMCHECK 2009-08-23 23:24:21 +00:00
Bob Friesenhahn
b772c5a5d6 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and
added 'memcheck' and 'ptrcheck' targets to make it easy to run the
tests under valgrind.
2009-08-23 23:23:19 +00:00
Bob Friesenhahn
63e03ebcec tiffcrop.sh into a collection of many specific tests. Re-wrote
all of the existing tests to be based on some simple shell
functions.  Make distcheck works again.
2009-08-23 22:58:25 +00:00
Bob Friesenhahn
3237e5e177 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing
tiffcrop.sh into a collection of many specific tests.
2009-08-23 20:19:40 +00:00
Bob Friesenhahn
b44da14dea Add start of XFAIL_TESTS 2009-08-22 01:45:32 +00:00
Bob Friesenhahn
9ebd845680 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH
build.
2009-08-21 18:00:07 +00:00
Bob Friesenhahn
38521145a6 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not
actually activated since it needed to be enabled in this
Makefile.am.  Also activated parallel-tests mode since it offers
useful features such as per-test .log files and a summary test
report .log file.
2009-08-21 16:52:14 +00:00
Bob Friesenhahn
8297307011 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11,
libtool 2.2.6.  Enabled support for silent build rules
(--enable-silent-rules or 'make V=0') and colorized tests.

* html/{index.html, v3.9.0.html}: Update for 3.9.0 release.
2009-08-20 22:57:38 +00:00
Frank Warmerdam
f4da7ed52e add -c sgilog to tiffcp, add minimal logluv testing 2009-06-30 17:25:26 +00:00
Frank Warmerdam
b6de229800 fix logluv encoderow return values (#2069) 2009-06-30 13:51:52 +00:00
Frank Warmerdam
54600ed574 back out patch from #2065 and apply patch from #1085 for a better underflow fix that errors properly. 2009-06-30 04:15:24 +00:00
Frank Warmerdam
1517c5cd8f Remove an inappropriate assertion that often fails on oddly sized 12bit
jpeg compressed ycbcr images.
2009-06-26 20:55:54 +00:00
Frank Warmerdam
38b61c3b62 fix MK1 compatability per Adam's suggestion 2009-06-23 18:56:46 +00:00
Frank Warmerdam
12d0b53f44 treat SOF1 like SOF0 when doing fixup subsamples 2009-06-23 18:46:48 +00:00
Frank Warmerdam
21816633ca Added tif_jpeg_12 2009-06-23 18:25:43 +00:00
Frank Warmerdam
73dee97814 fixed buffer underflow bug (#2065) 2009-06-22 04:47:12 +00:00