From c83c038d357d61ea7e6b4ad6a6c4384ab6c457ee Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 9 Dec 2022 15:54:08 +0100 Subject: Prepare v4.5.0 release --- doc/Makefile.am | 2 + doc/index.rst | 2 +- doc/releases/index.rst | 1 + doc/releases/v4.5.0.rst | 128 ++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 132 insertions(+), 1 deletion(-) create mode 100644 doc/releases/v4.5.0.rst (limited to 'doc') diff --git a/doc/Makefile.am b/doc/Makefile.am index e4460c4f..1449cec8 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -192,6 +192,7 @@ rst_sources = \ releases/v3.5.3.rst \ releases/v4.0.4.rst \ releases/v3.7.2.rst \ + releases/v4.5.0.rst \ functions.rst \ tools.rst \ terms.rst \ @@ -220,6 +221,7 @@ rst_sources = \ functions/TIFFFieldReadCount.rst \ functions/TIFFError.rst \ functions/TIFFOpen.rst \ + functions/TIFFOpenOptions.rst \ functions/TIFFcodec.rst \ functions/TIFFFlush.rst \ functions/TIFFDataWidth.rst \ diff --git a/doc/index.rst b/doc/index.rst index ff844959..b33cdd1f 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -11,7 +11,7 @@ LibTIFF - TIFF Library and Utilities Home Page #1 http://www.simplesystems.org/libtiff/ Home Page #2 https://libtiff.gitlab.io/libtiff/ Home Page #3 http://libtiff.maptools.org/ - Latest Stable Release v4.4.0 + Latest Stable Release v4.5.0 Master Download Site `download.osgeo.org `_ Mailing List `tiff@lists.osgeo.org `_ List subscription http://lists.osgeo.org/mailman/listinfo/tiff/ diff --git a/doc/releases/index.rst b/doc/releases/index.rst index acd076f0..a1a34908 100644 --- a/doc/releases/index.rst +++ b/doc/releases/index.rst @@ -7,6 +7,7 @@ LibTIFF releases. :maxdepth: 1 :titlesonly: + v4.5.0 v4.4.0 v4.3.0 v4.2.0 diff --git a/doc/releases/v4.5.0.rst b/doc/releases/v4.5.0.rst new file mode 100644 index 00000000..74dc0487 --- /dev/null +++ b/doc/releases/v4.5.0.rst @@ -0,0 +1,128 @@ +Changes in TIFF v4.5.0 +====================== + +.. table:: References + :widths: auto + + ====================== ========================================== + Current Version v4.5.0 (:tag:`v4.5.0`) + Previous Version :doc:`v4.4.0 ` + Master Download Site ``_ + Master HTTP Site #1 ``_ + Master HTTP Site #2 ``_ + Master HTTP Site #3 ``_ + ====================== ========================================== + +This document provides a summary of significant changes made to the +software between the *previous* and *current* versions (see +above). A fully-detailed change summary is provided by the :file:`ChangeLog` file +included in the release package and by the Git commit history: + +Major changes +------------- + +* Whole code base reformatting of .c/.h files using new .clang-format format +* Documentation changed from static HTML and man pages to Restructured Text + (rst). HTML and man pages are now build artifacts. + +Software configuration changes +------------------------------ + +* SONAME version bumped to 6 due to changes in symbol versioning. +* autoconf/cmake: detect (not yet released) libjpeg-turbo 2.2 to take into + its capability of handling both 8-bit JPEG and 12-bit JPEG in a single build. +* autoconf/cmake: detect sphinx-build to build HTML and man pages +* CMakeLists.txt: fix warning with -Wdev +* CMake: correctly set default value of 'lzma' option when liblzma is detected + (:issue:`482`) +* CMake: Moved linking of CMath::CMath into CMath_LIBRARY check. +* Fix CMake build to be compatible with FetchContent. +* cmake: Correct duplicate definition of _CRT_SECURE_NO_WARNINGS (:issue:`443`) +* cmake: Fixes for Visual Studio 2022. +* Adds Requires.private generation so that pkg-config can correctly find + the dependencies of libtiff. +* Fix dependency on libm on Android +* cmake: libtiffxx is static on win32 +* Fix build in tif_lzw.c +* CMake: Add options for disabling tools, tests, contrib and docs. + +Library changes +--------------- + +New/improved functionalities: + +* Addition of an open option concept with the new functions + :c:func:`TIFFOpenExt`, :c:func:`TIFFOpenWExt`, :c:func:`TIFFFdOpenExt`, + :c:func:`TIFFClientOpenExt`, :c:func:`TIFFOpenOptionsAlloc`, + :c:func:`TIFFOpenOptionsFree` +* Leveraging above mentioned open option concept, addition of a new capability + to limit the size of a single dynamic memory allocation done + by the library with :c:func:`TIFFOpenOptionsSetMaxSingleMemAlloc` +* Leveraging above mentioned open option concept, addition of a new capability + to specify per-TIFF handle re-entrant error and warning callbacks + with :c:func:`TIFFOpenOptionsSetErrorHandlerExtR` and + :c:func:`TIFFOpenOptionsSetWarningHandlerExtR` + +Bug fixes: + +* TIFFWriteRawStrip(): restore capabilities to append data in the current strip + (:issue:`489`) +* _TIFFReadEncodedTileAndAllocBuffer(): avoid excessive memory allocation on + broken files (:issue:`479`) +* TIFFReadRGBATileExt(): fix (unsigned) integer overflow on strips/tiles > 2 GB + (oss-fuzz #53137) +* Replace sprintf calls with snprintf to fix warnings on macOS 13 SDK +* Added warning messages for FIELD_IGNORE tags for writing and for + TIFF_SETGET_UNDEFINED for reading added. (:issue:`438`) +* tif_dirinfo.c: fix TIFFTAG_CLIPPATH tag declaration (:issue:`439`) +* tif_dirinfo.c: fix TIFFTAG_COMPRESSION and _BITSPERSAMPLE tag declaration + (:issue:`364`) +* Revised handling of TIFFTAG_INKNAMES and related TIFFTAG_NUMBEROFINKS value + (:issue:`149`, :issue:`150`, :issue:`152`, :issue:`168`, :issue:`250`, + :issue:`269`,:issue:`398`, :issue:`456`) +* TIFFAdvanceDirectory(): fix unsigned-integer-overflow in mapped case + (oss-fuzz #52309) +* Improved/fixes IFD-Loop Handling (:issue:`455`) +* Update getimage to support large raster images. +* Presetting of default tag values extended (e.g. PlanarConfig). (:issue:`449`) +* Deal with RichTIFFIPTC tag written with LONG type (:issue:`225`) +* TIFFSetValue(): Writing IFD8 & LONG8 tags to ClassicTIFF corrected + (:issue:`442`) +* tif_jpeg.c: allow to pass -DEXPECTED_JPEG_LIB_VERSION=number to do optional + compile-time version check +* TIFFReadFromUserBuffer(): fix clearing of TIFF_CODERSETUP flag that could + cause issues with reading JPEG compressed files +* _TIFFCheckFieldIsValidForCodec(): return FALSE when passed a codec-specific + tag and the codec is not configured (:issue:`433`) +* Add basic 16 bit cielab support. +* WEBP codec: avoid temporary buffer and memcpy() on whole tile/strip decoding +* tif_predict.c: make horAcc8() work with icc (ICC) 2021.6.0 20220226 -O2 + +Tools changes +------------- + +New/improved functionality: + +* :program:`tiffinfo`: Updated to parse through SubIFDs and show their tags. + +Bug fixes: + +* :program:`tiffcrop`: add check if (bps != 1) in writeSingleSection() + (:issue:`169`) +* :program:`tiffcrop`: Fix too many 'mode' options on command line + (:issue:`470` and :issue:`450`) +* :program:`tiffcrop`: Fix memory allocation to require a larger buffer + (:issue:`271`, :issue:`381`, :issue:`386`, :issue:`388`, :issue:`389`, + :issue:`435`) +* :program:`tiffcrop`: disable incompatibility of -Z, -X, -Y, -z options with + any PAGE_MODE_x option (:issue:`411`, :issue:`413`) +* :program:`tiffcrop`: -S option mutually exclusive (:issue:`349`, + :issue:`414`, :issue:`422`, :issue:`423`, :issue:`424`) +* :program:`tiffcrop`: fix floating-point exception (:issue:`415`, + :issue:`427`, :issue:`428`) +* :program:`tiff2pdf`: Don't try to seek into stdout (:issue:`441`) + +Contributed software changes +---------------------------- + +None -- cgit v1.2.1