Debian Codegraph @

doc/releases/v3.5.6beta.rst

raw
1 Changes in TIFF v3.5.6beta
2 ==========================
3
4 .. table:: References
5 :widths: auto
6
7 ====================== ==========================================
8 Current Version v3.5.6beta (no release tag)
9 Previous Version :doc:`v3.5.5 <v3.5.5>`
10 Master Download Site `<ftp://ftp.onshore.com/pub/libtiff/>`_
11 Master HTTP Site `<http://www.simplesystems.org/libtiff/>`_
12 ====================== ==========================================
13
14 This document describes the changes made to the software between the
15 *previous* and *current* versions (see above).
16 If you don't find something listed here, then it was not done in this
17 timeframe, or it was not considered important enough to be mentioned.
18 The following information is located here:
19
20
21 Software configuration changes
22 ------------------------------
23
24 * Added ``GNULDdso`` target and switched linux and freebsd to use it.
25 * :file:`tools/Makefile.in`: Modified to install properly on SGI.
26 * :file:`configure`: Fixed DSO test for Linux as per patch from
27 `Jan Van Buggenhout <[email protected]>`_.
28
29
30 Library changes
31 ---------------
32
33 * :file:`tif_dir.c`: Clear :c:macro:`TIFF_ISTILED` flag in :c:macro:`TIFFDefaultDirectory`
34 as per :bugzilla-rs:`18`
35 from `<[email protected]>`_.
36
37 * Modified :file:`tif_packbits.c` decoding to avoid overrunning the
38 output buffer, and to issue a warning if data needs to be
39 discarded. See :bugzilla-rs:`18`
40
41 * Modified :c:func:`TIFFClientOpen` to emit an error on an attempt to
42 open a compressed file for update (``O_RDWR``/"``r+``") access. This is
43 because the compressor/decompressor code gets very confused when
44 the mode is ``O_RDWR``, assuming this means writing only. See
45 bug :bugzilla-rs:`13`
46
47 * Applied patch for 0x0000 sequences in :file:`tif_fax3.h` definition
48 of :c:macro:`EXPAND1D` as per bug :bugzilla-rs:`11` (from Roman).
49
50 * Fixed :file:`tiffcomp.h` to avoid win32 stuff if unix ``#defined``, to improve
51 cygwin compatibility.
52
53 * Applied patch from Roman Shpount to :file:`tif_fax3.c`. This seems to
54 be a proper fix to the buffer sizing problem. See
55 :bugzilla-rs:`11`
56
57 * Fixed :file:`tif_getimage.c` to fix overrun bug with YCbCr images without
58 downsampling. :bugzilla-rs:`10`
59 Thanks to `Nick Lamb <[email protected]>`_ for reporting the
60 bug and proving the patch.
61
62 * Fixed :file:`tif_jpeg.c` to avoid destroying the decompressor before
63 we are done access data thanks to bug report from:
64 `Michael Eckstein <[email protected]>`_.
65
66 * :file:`tif_open.c`: Don't set ``MMAP`` for ``O_RDWR`` files.
67
68 * :file:`tif_open.c`: Set :c:macro:`STRIPCHOP_DEFAULT` for ``O_RDWR`` as well as ``O_RDONLY``
69 so that files opened for update can be strip chopped too.
70
71 * :file:`tif_read.c`: fixed up bug with files missing rowsperstrip and
72 the strips per separation fix done a few weeks ago.
73
74 * Tentatively added support for :c:macro:`SAMPLEFORMAT_COMPLEXIEEEFP`, and
75 :c:macro:`SAMPLEFORMAT_COMPLEXINT`.
76
77 * :file:`index.html`, :file:`bugs.html`: added bugzilla info.
78
79 * :file:`tif_read.c`: fix subtle bug with determining the number of
80 rows for strips that are the last strip in a separation but
81 not the last strip of all in :c:func:`TIFFReadEncodedStrip`.
82
83 * Applied 16/32 bit fix to :file:`tif_fax3.c`. Fix supplied by
84 `Peter Skarpetis <[email protected]>`_.
85
86 * Modified :file:`tiffio.h` logic with regard to including :file:`windows.h`. It
87 won't include it when building with :c:macro:`__CYGWIN__`.
88
89 * :file:`README`: update to mention {REDACTED - defunct web site}, don't list Sam's old
90 email address.
91
92 * :file:`libtiff/tif_dirread.c`: Don't use estimate strip byte count for
93 one tile/strip images with an offset, and byte count of zero. These
94 could be "unpopulated" images.
95
96 * :file:`tif_win32.c`: Applied patch to fix overreads and ovverwrites
97 caught by BoundsChecker. From `Arvan Pritchard <[email protected]>`_ (untested).
98
99 * :file:`tif_getimage.c`: Applied patch to silence VC6 warnings. From
100 `Arvan Pritchard <[email protected]>`__.
101
102 * :file:`tif_lzw.c`: Applied patch to silence VC6 warnings. From
103 `Arvan Pritchard <[email protected]>`__.
104
105 * :file:`libtiff/tif_apple.c`: Applied "Carbon" support patches supplied by
106 `Leonard Rosenthol <[email protected]>`_. May interfere
107 with correct building on older systems. If so, please let me know.
108
109
110 Tools changes
111 -------------
112
113 * :file:`tools/rgb2ycbcr.c`: fixed output strip size to account for vertical
114 roundup if rows_per_strip not a multiple of vertical sample size.
115
116 * :file:`tools/tiffsplit.c`: Copy :c:macro:`TIFFTAG_SAMPLEFORMAT`.
117
118 * Modified :program:`tiff2bw` to ensure portions add to 100%, and that
119 white is properly recovered. See bug
120 :bugzilla-rs:`15` Patch
121 c/o `Stanislav Brabec <[email protected]>`_
122
123
124 Contributed software changes
125 ----------------------------
126
127 * :file:`contrib/addtiffo`: Added "averaging" resampling option.
128
129 * Added :file:`contrib/stream` (stream io) code submitted by Avi Bleiweiss.
130
131
132 LZW compression kit changes
133 ---------------------------
134
135 * updated :file:`tif_dir.c` to reflect changes to no-lzw :file:`tif_dir.c`.