Commit Graph

17 Commits

Author SHA1 Message Date
Andrea
a6195d0ad4 Update tiffgt.c for build fix on Windows 2018-01-24 01:25:13 +00:00
Even Rouault
f0a54a4fa0 Remove all $Id and $Headers comments with CVS versions 2017-11-30 18:02:46 +01:00
Bob Friesenhahn
d1fabc4db1 * tools/tiffgt.c: Silence glut API deprecation warnings on MacOS
X.  Patch by Roger Leigh.
2015-09-06 20:42:20 +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
d21d2b3057 * libtiff/tif_config.vc.h: Make adjustments to match the new
definitions that configure produces, including for WIN64.  Still
needs to be tested.

'lld' is not assured by the run-time DLLs and so GCC warns.
Add TIFF_SIZE_T and TIFF_SIZE_FORMAT to provide a type definition
and printf format specifier to deal with printing values of
'size_t' type.  In particular, this was necessary for WIN64.
Added a configure test for if the system headers provide 'optarg'
(normal case) and block out the many explicit 'extern' statements
in the utilities.  This was found to be necessary under Windows
when getopt is in a DLL and the symbols are already imported with
dllimport via standard header files.
2015-06-21 01:09:09 +00:00
Lee Howard
76939f073f From Jay Berkenbilt on Bug 2401.
An Ubuntu user noticed that tiffgt was not appropriately calling glFlush(),
which was causing tiffgt to open blank windows in some cases.  I'm not sure
what the cases are, but my system happened to be one that saw blank windows,
and the one-line fix the user provided was sufficient to solve it in my case.
2015-06-14 21:44:17 +00:00
Bob Friesenhahn
3b48ce4c7b * tools/tiffgt.c: Fix warnings about unused parameters. 2014-12-26 16:06:41 +00:00
Andrey Kiselev
0cd06f1134 *** empty log message *** 2010-07-01 15:56:56 +00:00
Bob Friesenhahn
4e0d97f83c * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so
that it is clearly a memory allocation error message, and also
includes the size of the allocation request.
2010-03-10 18:56:48 +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
Andrey Kiselev
b90b47e6f7 libtiff 3.8.2 released. 2006-03-23 14:54:00 +00:00
Andrey Kiselev
be7063caea Avoid crashing in case of image unsupported by TIFFRGBAImage interface. 2006-02-09 16:00:34 +00:00
Andrey Kiselev
f7f87d0e1d Avoid warnings. 2005-12-27 12:20:53 +00:00
Andrey Kiselev
180a3afd4a Use MacOS X OpenGL framework when appropriate. As per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=844
2005-06-23 11:50:05 +00:00
Bob Friesenhahn
97367b465e * tools/tiffgt.c: Fix problem on big-endian CPUs so that images
display more correctly.  Images display brighter than they should
on a Sun workstation.
2005-02-03 19:46:49 +00:00
Bob Friesenhahn
d0318870ba Fix tiffgt compilation. 2004-09-12 16:40:39 +00:00
Andrey Kiselev
ef971e32c1 Few cleanups and small improvements. 2003-11-28 15:10:05 +00:00