Bob Friesenhahn
7ea1078bea
rewrite_tag test uses main() with no argument list.
2015-08-23 14:23:00 +00:00
Bob Friesenhahn
a0e1185771
Fix problem with 'boolean' definition from IJG JPEG 9.
2015-08-16 20:08:21 +00:00
Bob Friesenhahn
5b90af247e
* CMakeLists.txt: Add CMake patchset by Roger Leigh as posted to
...
libtiff mailing list on Mon, 22 Jun 2015 21:21:01 +0100. Several
corrections to ensure that the autotools build still works were
added by me. I have not yet tested the build using 'cmake' or
MSVC with 'nmake'.
2015-06-25 02:27:58 +00:00
Bob Friesenhahn
0319952da2
* test/Makefile.am: tiff2rgba-quad-tile.jpg.sh depends on the JPEG
...
library so only execute if JPEG is available.
2015-06-21 19:32:32 +00:00
Bob Friesenhahn
bdd91bbdf8
* configure.ac: Add a HAVE_FOO Automake conditional for each
...
add-on library.
* test/Makefile.am (JPEG_DEPENDENT_CHECK_PROG): raw_decode
requires JPEG support to compile. Use Automake conditional to
only include it when JPEG support is available.
2015-06-21 18:46:29 +00:00
Bob Friesenhahn
b72cc590ae
* test/raw_decode.c (XMD_H): Avoid conflicting typedefs for INT32
...
and boolean in MinGW build due to including jpeglib.h.
2015-06-20 16:52:25 +00:00
Bob Friesenhahn
64a6901448
* test/rewrite_tag.c (main): Fix problem with location of variable
...
declaration.
2015-06-20 16:33:40 +00:00
Bob Friesenhahn
1752529e75
* tools/tiffcrop.c (ROTATE_ANY): Fix Coverity 1294542 "Logical
...
vs. bitwise operator".
2015-05-28 01:50:20 +00:00
Even Rouault
a17a6e5ecd
* automake: updated to 1.15
...
* libtool: updated to 2.4.5
2015-01-26 10:29:40 +00:00
Bob Friesenhahn
429b3fdc90
* Update bundled libtool to 2.4.4 release.
2014-12-29 15:34:22 +00:00
Bob Friesenhahn
12f78c491f
Update the valgrind memcheck recipe for the test suite.
2014-12-06 20:36:14 +00:00
Bob Friesenhahn
3c92b0efc1
* tools/tiffdump.c: Fix double-free bug.
2014-12-06 15:58:40 +00:00
Even Rouault
d1be5cb7ad
* automake: updated to 1.14.1
...
* libtool: updated to 2.4.3
* HOWTO-RELEASE: small update about autotools building order
2014-11-20 14:28:16 +00:00
Bob Friesenhahn
65f22eacee
Check return status from TIFFWriteScanline() correctly in test programs.
2013-12-17 14:41:57 +00:00
Tom Lane
46618e9d97
Fix raw_decode test to pass with more versions of libjpeg
2012-12-20 18:08:07 +00:00
Bob Friesenhahn
281ba91d09
* automake: Update Automake to 1.12.5 release.
2012-11-18 18:08:31 +00:00
Bob Friesenhahn
f458c10308
* Makefile.am: Update to Automake 1.12.4
2012-09-20 13:50:27 +00:00
Bob Friesenhahn
ec5ce9c2b3
* Makefile.in: Update to Automake 1.12.3
2012-08-19 17:00:46 +00:00
Bob Friesenhahn
7d38024b8d
* libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add
...
some TIFF/FX support in libtiff. Add the tag definitions to
tiff.h. Add the related TIFF field definitions to tif_dirinfo.c,
and also fixes an error in a comment. Adds the photometric values
to tif_print.c, and fixes a bug. These changes are by Steve
Underwood.
* libtiff/tif_write.c: Fix bug rewriting image tiles in a
2012-08-19 16:56:32 +00:00
Bob Friesenhahn
a5681ca6f0
* test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+.
...
IJG JPEG 7+ uses a different upsampling algorithm which produces
different numeric results.
* libtiff/tif_jpeg.c (JPEGPreDecode): Patch from Even Rouault to
work with IJG JPEG 7+.
2012-07-06 17:05:16 +00:00
Bob Friesenhahn
22c4ecd4a8
test/raw_decode.c: Add changes so that test can run with build directory outside of source directory.
2012-07-04 19:45:32 +00:00
Tom Lane
8ed155dcc1
Fix raw_decode test so it works on big-endian machines.
...
The test case was ignoring the documented API for TIFFReadRGBATile,
namely that the output pixels are uint32's and the macros TIFFGetR etc
should be used to fetch the pixel components.
Original patch by Marcus Meissner, somewhat cleaned up by me.
2012-07-03 20:48:11 +00:00
Frank Warmerdam
fb4124be74
add new test scripts
2012-06-15 23:36:41 +00:00
Frank Warmerdam
00169dfd4f
restore based on standard automake tool versions
2012-06-15 23:09:38 +00:00
Frank Warmerdam
fc0de6d702
unlink temp file when successful.
2012-06-13 04:38:55 +00:00
Frank Warmerdam
c805f9176d
update
2012-06-13 03:12:53 +00:00
Frank Warmerdam
03cfd4f542
avoid memory leak
2012-06-06 05:26:37 +00:00
Frank Warmerdam
a14505cf0a
add custom directory read/write testing
2012-06-06 04:58:29 +00:00
Frank Warmerdam
7f67da5de1
add jpeg in tiff decode testing
2012-06-01 21:04:22 +00:00
Bob Friesenhahn
d766e7c5a0
* Update automake used to 1.11.3.
2012-02-18 21:58:02 +00:00
Bob Friesenhahn
b326998fc2
* configure.ac: Add support for using library symbol versioning on
...
ELF systems with the GNU linker. Support is enabled via
--enable-ld-version-script. Disabled by default for now until
there is a decision for how to deploy a libtiff with versioned
symbols after libtiff 4.0.0 was already released.
2012-01-22 19:50:36 +00:00
Bob Friesenhahn
d338f7fe22
* configure.ac: Add libtiff private dependency on -llzma for
...
pkg-config. Patch by Mark Brand.
Updated Automake to 1.11.2.
2011-12-22 17:03:48 +00:00
Bob Friesenhahn
b3d151d012
Fix test warnings from tiff2ps.
2011-04-09 16:52:17 +00:00
Bob Friesenhahn
c546a4ccf8
* configure.ac: Should use AC_CANONICAL_HOST since host specifies
...
the run-time target whereas target is used to specify the final
output target if the package is a build tool (like a compiler),
which libtiff is not. Resolves libtiff bug 2307 "Use
AC_CANONICAL_HOST macro".
2011-04-09 15:43:03 +00:00
Frank Warmerdam
94e26a9e89
ignore output files
2011-03-26 12:05:00 +00:00
Bob Friesenhahn
9f3e08cf94
Needed to add tif_lzma.c to the Makefile.
2010-12-18 16:30:15 +00:00
Andrey Kiselev
1e3630f9fd
Regenerate autotools stuff.
2010-12-14 12:54:53 +00:00
Lee Howard
f7aebc2647
tiffcrop-extractz14-logluv-3c-16b.sh now passes
2010-12-14 03:27:13 +00:00
Bob Friesenhahn
faf5f3ebae
* libtiff-4.pc.in: Added libtiff pkg-config .pc file support.
...
Patch by Vincent Torri.
2010-11-27 20:54:51 +00:00
Bob Friesenhahn
28d10ec5bd
* tools/tiffcrop.c: Patch from Richard Nolde to avoid a
...
potentially unterminated buffer due to using an exceptionally long
file name.
2010-07-13 15:51:37 +00:00
Bob Friesenhahn
3adc33842b
* Update libtool to version 2.2.8.
...
* libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of
buffer due to integer overflow in TIFFroundup() and several other
potential overflows. In conjunction with the fix to TIFFhowmany(),
fixes CVE-2010-1411.
* libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would
result in an integer overflow. This causes TIFFroundup() to also
return zero if there would be an integer overflow.
2010-06-08 23:32:22 +00:00
Bob Friesenhahn
c9d00c6c3c
Change tiffcrop parameters to -X 60 -Y 60
2009-11-02 18:30:21 +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
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
e39271f390
Add tiffcrop-extractz14-logluv-3c-16b.sh to XFAIL_TESTS
2009-08-28 23:53:15 +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
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
a042a8d460
added tiff2rgba tests
2009-02-13 21:26:03 +00:00
Frank Warmerdam
6b1e83821b
default srcdir to . in test scripts if not set
2009-01-23 05:37:18 +00:00
Frank Warmerdam
1c8edd0d0a
turn verbose on after common setup
2009-01-23 05:32:37 +00:00
Bob Friesenhahn
1ff9c1c489
* test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in
...
order to trace full execution detail while executing the test suite.
2009-01-21 17:48:18 +00:00
Bob Friesenhahn
d6c4560053
* test/Makefile.am (CLEANFILES): Make sure that test output files
...
are removed by 'make clean'
2009-01-21 02:06:55 +00:00
Bob Friesenhahn
506c21992e
* test/tiffcrop.sh: New test script for tiffcrop from Richard
...
Nolde.
* tools/tiff2ps.c: Remove spurious message to stderr.
2009-01-12 16:23:11 +00:00
Bob Friesenhahn
953d02c32d
* libtiff/tiffio.h: GCC will now validate format specifications
...
for TIFFError(), TIFFErrorExt(), TIFFWarning(), and
TIFFWarningExt() in order to reveal bugs.
* Many fixes throughout to work better as a 64-bit build.
2008-12-31 23:48:01 +00:00
Bob Friesenhahn
968401fdf3
* tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
...
tags now require 64-bit parameter rather than 32-bit.
* libtiff/tif_dirread.c: Fixed issues with unaligned access to
64-bit values.
2008-12-31 03:06:27 +00:00
Bob Friesenhahn
bb9ee50811
Don't throw away output to stderr. Collect and display it if there is an error.
2008-12-30 21:59:54 +00:00
Bob Friesenhahn
dbd1873ffa
* tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit
...
type now. Fixes crash when dumping files containing an EXIF IFD.
* m4/libtool.m4: Update to libtool 2.2.6.
2008-12-29 23:44:18 +00:00
Frank Warmerdam
9fa82bfb78
fix typo with status, and supress stderr output
2008-09-02 02:26:19 +00:00
Bob Friesenhahn
a4e657cc8a
* test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh
...
tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh
tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh
tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh
tiffdump.sh tiffinfo.sh}: Added more test scripts based on
suggestions from Lee Howard posted to the tiff list on 13 Sep
2007.
2008-05-24 22:24:25 +00:00
Frank Warmerdam
d4099b8eee
update for 4.0.0beta1 release
2008-05-18 16:25:47 +00:00
Bob Friesenhahn
9015352474
* Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like
...
"ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4".
2008-05-09 16:20:49 +00:00
Andrey Kiselev
73865f3af5
Added tests for short tags with pairs of values.
2008-04-15 14:20:30 +00:00
Andrey Kiselev
924a2d8827
Added CheckShortPairedField() function.
2008-04-15 14:19:37 +00:00
Andrey Kiselev
c87f985159
Added tifftest.h.
2008-04-15 14:19:08 +00:00
Andrey Kiselev
f52bf76e67
New.
2008-04-15 14:18:36 +00:00
Andrey Kiselev
a4317025a9
Remove test for "PixarTextureformat" tag because of its unclear status and
...
format of contents; test passes now.
2008-04-15 13:32:12 +00:00
Andrey Kiselev
481c2432f2
Use _TIFFRewriteField() instead of TIFFRewriteField().
2008-04-15 12:53:07 +00:00
Bob Friesenhahn
88d7b2ff9f
Reduce compilation warnings.
2008-03-28 01:42:06 +00:00
Frank Warmerdam
19fb2c9918
added rewrite_tag test
2008-01-01 13:57:21 +00:00
Frank Warmerdam
586a6869b7
New
2008-01-01 13:55:23 +00:00
Bob Friesenhahn
2737e0e77b
* test/images: Added a small collection of test images for use by
...
test programs and scripts.
* test/tiffinfo.sh: A trivial example test script.
* test/common.sh: Added small script for setting the environment
used by script-based tests.
2007-09-19 21:51:00 +00:00
Andrey Kiselev
42bed3384e
libtiff 4.0.0alpha released.
2007-07-13 14:57:37 +00:00
Bob Friesenhahn
b2328c5b5d
* libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to
...
use standard C++ library size types and attempt to detect overflow
cases.
2007-07-11 20:27:14 +00:00
Andrey Kiselev
f14d1a5636
All makefile templates regenerated.
2007-06-27 12:03:37 +00:00
Bob Friesenhahn
671e370838
Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic.
2007-06-26 20:05:33 +00:00
Bob Friesenhahn
71b780383f
Hopefully fixed botched upgrade of libtool.
2007-06-26 16:38:43 +00:00
Bob Friesenhahn
8c4398d0d6
* port/strtoull.c: New porting function in case strtoull() is not
...
available on the target system.
* configure.ac: Add configure support for determining sized types
in a portable way and performing necessary substitutions in
tif_config.h and tiffconf.h. Updated tiff.h to use the new
definitions.
2007-06-25 15:38:21 +00:00
Andrey Kiselev
514fb56f86
Regenerated.
2006-06-07 15:55:20 +00:00
Bob Friesenhahn
56f599add1
* libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
...
TIFFPrintDirectory(). Joris Van Damme authored the fix.
2006-06-03 15:28:29 +00:00
Andrey Kiselev
b90b47e6f7
libtiff 3.8.2 released.
2006-03-23 14:54:00 +00:00
Andrey Kiselev
0dcb9ef111
libtiff 3.8.1 released.
2006-03-13 15:06:17 +00:00
Andrey Kiselev
f714980a3d
libtool related stuff updated from the 2.1a branch.
2006-01-23 18:21:45 +00:00
Bob Friesenhahn
c1961f4111
* test/Makefile.am (LIBTIFF): Due to linking against libtiff
...
incorrectly, tests were not actually testing the uninstalled
libtiff. Now they are.
2006-01-08 18:57:33 +00:00
Andrey Kiselev
0776b32d29
3.8.0 released.
2005-12-29 22:01:44 +00:00
Bob Friesenhahn
a45bff3b5a
* libtiff/tif_jpeg.c: Improve compilation under MinGW.
2005-12-27 00:08:14 +00:00
Frank Warmerdam
d5b74c4d29
New
2005-11-21 00:55:38 +00:00
Andrey Kiselev
a63512c436
libtiff 3.7.4 released.
2005-09-12 14:04:01 +00:00
Andrey Kiselev
f41cf89f4c
*** empty log message ***
2005-07-12 16:07:43 +00:00
Andrey Kiselev
dcbfebbb38
*** empty log message ***
2005-06-23 13:38:13 +00:00