Commit Graph

2351 Commits

Author SHA1 Message Date
Joris Van Damme
8753fa323f changed some more incorrect %lud printf flags to %lu 2007-10-01 12:43:48 +00:00
Joris Van Damme
d8144e074c small correction to ChangeLog text entry 2007-09-29 10:37:40 +00:00
Joris Van Damme
00ddda303a tif_dirread.c: Fixed bad behaviour of strip chopping on uncompressed subsampled images. 2007-09-29 10:34:37 +00:00
Joris Van Damme
cce392c46f tif_dirread.c: Logical cast working around compiler warning; tif_read.c: Correction of some error flags and parameter lists 2007-09-28 14:49:14 +00:00
Joris Van Damme
4df2d8f4f7 tif_dirread.c: made calculation of td_maxsamplevalue more robust; tif_open.c: moved early exit in case of 'h' flag, solving some unwanted bugs later on 2007-09-27 17:38:57 +00:00
Joris Van Damme
fca5e791dd tif_dirinfo.c: fixed (MSVC) compiler reports about inconsistent use of const in tiffFields and exifFields definition 2007-09-24 06:40:14 +00:00
Andrey Kiselev
86a7057d06 Make all module name constants static. 2007-09-22 15:08:27 +00:00
Frank Warmerdam
37588b8480 Correct comment about tag counting in TIFFWriteDirectoryTagLongLong8Array. 2007-09-21 14:21:03 +00:00
Frank Warmerdam
86d1335d52 always write strip/tile offsets as long8 in bigtiff 2007-09-20 19:57:58 +00:00
Frank Warmerdam
08f2d19fab more improvements to error reporting in TIFFFetchDirectory 2007-09-20 19:20:54 +00:00
Frank Warmerdam
9f6ea3bef9 Fix name TIFFFetchDirectory uses in error message (was ...Classic). 2007-09-20 16:34: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
Frank Warmerdam
8b2b03ae11 Write the tif_nextdiroff value instead of a fixed zero when writing
directory contents to preserve the ability to rewrite directories in place,
even in the middle of a directory chain.
2007-08-24 20:49:38 +00:00
Frank Warmerdam
a6bea11162 _TIFFMergeFields() now only merges in field definitions that are missing.
Existing definitions are silently ignored.  This avoids warnings with
multi-directory files.
2007-08-24 20:47:49 +00:00
Frank Warmerdam
4baacb150b Add runtime check in TIFFFetchNormalTag() 2007-08-24 20:45:59 +00:00
Joris Van Damme
3c78b558ae tif_getimage.c: removed SubsamplingHor/Ver from TIFFRGBAImage structure to revert unwanted ABI change 2007-08-10 10:19:55 +00:00
Joris Van Damme
2085534654 tif_win32.c: use SetFilePointer instead of SetFilePointerEx 2007-08-10 10:04:47 +00:00
Andrey Kiselev
0907a08768 Always test that tif_fields is not NULL before accessing array elements. 2007-07-19 17:16:25 +00:00
Andrey Kiselev
d6b140da3b In TIFFCleanup() test that tif_fields is not NULL before iterating over
array.
2007-07-19 17:13:56 +00:00
Andrey Kiselev
54f0af17ca *** empty log message *** 2007-07-19 15:51:01 +00:00
Andrey Kiselev
7d5b41ee4f Use "%I64d" printf() formatter instead of "%lld" with MSVC compiler. 2007-07-19 15:50:28 +00:00
Andrey Kiselev
b95ab39ef3 Put all callback functions declarations inside extern "C" block. 2007-07-19 15:44:31 +00:00
Andrey Kiselev
224710a9af Use "%I64d" printf() formatter instead of "%lld" with MSVC compiler. 2007-07-19 15:31:20 +00:00
Andrey Kiselev
9b76d52ad3 Use "%I64d" printf() formatter instead of "%lld" with MSVC compiler. 2007-07-19 13:25:43 +00:00
Andrey Kiselev
7c7f07f5d4 Added _TIFFUInt64ToFloat() and _TIFFUInt64ToDouble() functions. 2007-07-19 13:11:59 +00:00
Andrey Kiselev
d27e1deccd *** empty log message *** 2007-07-18 16:06:50 +00:00
Andrey Kiselev
f6bde7d27b Handle the case of MSVC 6 when using 64-bit integer constants. 2007-07-18 16:06:05 +00:00
Andrey Kiselev
91659c4185 Use __WIN32__ instead of WIN32 in preprocessor switches. 2007-07-18 15:26:09 +00:00
Andrey Kiselev
01e27cc652 Remove tif_config.h/tiffconf.h during clean. 2007-07-18 14:18:08 +00:00
Andrey Kiselev
dfc01ae91e tif_config.wince.h/tiffconf.wince.h added to distribution. 2007-07-18 14:17:01 +00:00
Andrey Kiselev
cd9d0d5133 Do not distribute tiffconf.h. 2007-07-18 13:53:12 +00:00
Andrey Kiselev
0067eade90 Do not use O_LARGEFILE. 2007-07-18 13:46:41 +00:00
Joris Van Damme
2167fa6349 Fix for Bob's DumpModeDecode size bug 2007-07-16 18:05:12 +00:00
Andrey Kiselev
42bed3384e libtiff 4.0.0alpha released. 2007-07-13 14:57:37 +00:00
Andrey Kiselev
8c8326e977 New. 2007-07-13 14:05:16 +00:00
Andrey Kiselev
612fe33e9d Mapping routines definitions fixed. 2007-07-12 17:32:53 +00:00
Andrey Kiselev
4bce67280a *** empty log message *** 2007-07-12 17:28:20 +00:00
Andrey Kiselev
3716b22ae8 Added missed extern optind. 2007-07-12 17:25:12 +00:00
Andrey Kiselev
875d6d385d *** empty log message *** 2007-07-12 14:00:35 +00:00
Andrey Kiselev
2d54748c15 Transition to the new-style tag extending scheme completed. 2007-07-12 13:59:34 +00:00
Andrey Kiselev
6969957dd5 Properly handle ASCII tag type in backward compatibility section.
Geotiff tags work again now.
2007-07-12 11:19:28 +00:00
Bob Friesenhahn
f85a497165 Remove mis-placed comma. 2007-07-12 02:16:44 +00:00
Bob Friesenhahn
49a2425cbe Declare callback functions to use C linkage. 2007-07-11 21:27:14 +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
Joris Van Damme
c4bddab560 BigTIFF upgrade: restoration of mapping functions protocol 2007-07-11 15:52:48 +00:00
Joris Van Damme
d83d6100fd added maximum file size overflow check to avoid writing bad classictiff > 4 gig 2007-07-11 13:41:44 +00:00
Andrey Kiselev
3092c18cd3 Even more work to improve tag extending scheme. tif_fieldinfo member in TIFF
structure renamed into tif_fields to be consistent with the new function
names.
2007-07-10 11:52:02 +00:00
Joris Van Damme
70f82bf539 extended 'not enough data' error in tif_dumpmode.c for Bob's testing 2007-07-10 02:40:06 +00:00
Andrey Kiselev
80d98dc2b6 *** empty log message *** 2007-07-09 10:17:35 +00:00
Andrey Kiselev
cd22afeaf9 More work on new tag extending scheme. Use the new scheme everywhere. 2007-07-09 10:15:37 +00:00