| 1 |
Changes in TIFF v4.0.5 |
| 2 |
====================== |
| 3 |
|
| 4 |
.. table:: References |
| 5 |
:widths: auto |
| 6 |
|
| 7 |
====================== ========================================== |
| 8 |
Current Version v4.0.5 (:tag:`Release-v4-0-5`) |
| 9 |
Previous Version :doc:`v4.0.4 <v4.0.4>` |
| 10 |
Master Download Site `<https://download.osgeo.org/libtiff/>`_ |
| 11 |
Master HTTP Site `<https://download.osgeo.org/libtiff/>`_ |
| 12 |
====================== ========================================== |
| 13 |
|
| 14 |
This document describes the changes made to the software between the |
| 15 |
*previous* and *current* versions (see above). If you don't |
| 16 |
find something listed here, then it was not done in this timeframe, or |
| 17 |
it was not considered important enough to be mentioned. The following |
| 18 |
information is located here: |
| 19 |
|
| 20 |
|
| 21 |
Major changes |
| 22 |
------------- |
| 23 |
|
| 24 |
* Support for configure/build using CMake. |
| 25 |
* Support for large (> 2GB) files under Microsoft Windows. |
| 26 |
|
| 27 |
|
| 28 |
Software configuration changes |
| 29 |
------------------------------ |
| 30 |
|
| 31 |
* :file:`CMakeLists.txt` / CMake |
| 32 |
|
| 33 |
* Configuration and building using CMake is now supported |
| 34 |
under Microsoft Windows and on Unix-type systems. |
| 35 |
|
| 36 |
* :file:`configure.ac` / :program:`configure` |
| 37 |
|
| 38 |
* Test for and use :c:func:`fseeko` if it is available. This allows |
| 39 |
supporting large files on Unix-type systems with a 32-bit :c:expr:`long` |
| 40 |
type and a 64-bit :c:type:`off_t` type. |
| 41 |
|
| 42 |
|
| 43 |
Library changes |
| 44 |
--------------- |
| 45 |
|
| 46 |
* :file:`tiffiop.h`: |
| 47 |
|
| 48 |
* Macros added to use 64-bit equivalents for all standard I/O |
| 49 |
and POSIX APIs used by libtiff and its tools which are limited |
| 50 |
to 2GB in Windows builds. Note that these 64-bit equivalents |
| 51 |
were introduced by the CRT provided with Visual Studio 2005 and |
| 52 |
if the necessary CRT is not installed on the target computer, |
| 53 |
the program will not run. The wrapper macros will not be |
| 54 |
activated unless the definition :c:macro:`_MSC_VER` is at least 1400 or |
| 55 |
:c:macro:``__MSVCRT_VERSION__`` is at least ``0x800``. |
| 56 |
|
| 57 |
* :file:`tif_unix.c`: |
| 58 |
|
| 59 |
* Updated to support large files under Microsoft Windows. |
| 60 |
This makes :file:`tif_unix.c` a completely viable candidate for use |
| 61 |
under Windows (in spite of its name) if the CRT is modern |
| 62 |
enough. Please note that :file:`tif_win32.c` already supported large |
| 63 |
files, but only :program:`tiffinfo` and :program:`tiffdump` made any provision to |
| 64 |
support large files under Windows. |
| 65 |
* :c:func:`_tiffReadProc` and :c:func:`_tiffWriteProc` are modified to chunk |
| 66 |
I/O to a maximum size of 2GB for extremely large I/O |
| 67 |
requests. This surmounts limitations in the Microsoft Windows |
| 68 |
:c:func:`read` and :c:func:`write` APIs (which are limited to the range of a |
| 69 |
32-bit :c:expr:`int`), and may avoid poor behavior with extremely large |
| 70 |
I/O requests on other systems. |
| 71 |
|
| 72 |
|
| 73 |
Tools changes |
| 74 |
------------- |
| 75 |
|
| 76 |
* All tools |
| 77 |
|
| 78 |
* Updated to use I/O wrapper macros from :file:`tiffiop.h` in order |
| 79 |
to support large files under Microsoft Windows. |
| 80 |
|
| 81 |
|
| 82 |
Contributed software changes |
| 83 |
---------------------------- |
| 84 |
|
| 85 |
None |