summaryrefslogtreecommitdiff
path: root/tiff
Commit message (Collapse)AuthorAgeFilesLines
* Improve libtiff compatibility with older Visual StudiosChris Liddell2022-05-124-38/+88
| | | | Related to the C99 features libtiff is starting to use.
* Update libtiff to 4.3.0Chris Liddell2022-05-11312-16333/+16698
| | | | | | | | | | | | | | | | | | | | | | | | | Changes to libtiff for gpdl. 1) Ensure that libtiff doesn't mess with 'boolean' in GS builds on Windows. Without this, the jpeg structures used by our JPEG lib build are different in size when called from gs and libtiff, resulting in runtime errors. 2) Update libtiff so that it can correctly call into the jpeg library so that memory operations happen from our pools, not malloc/free. Slightly horrid in that this is more complex with OJPEG than JPEG files. Fix some compiler warnings stemming from libtiff update Various tweaks for libtiff 4.3.0 to build on Windows Mainly "importing" tif_config.vc.h and tiffconf.vc.h - the tiff build now created those with cmake. Then typedef'ing several C99 ***_t style types. Finally defining matching C99 PRI* printf formatting macros
* libtiff build fail in old VS versionsChris Liddell2021-01-191-1/+0
|
* Tifflib fix: Thunder RLE can fail to decode last run.Robin Watts2021-01-151-4/+4
| | | | | | | | | | | | | | GPDL decode of tests_private/tiff/text.tif gives valgrind errors due to the "thunder decode" failing to extract the last run of bytes. The logic in the decoder, presumably intended to spot overruns of data is incorrect, in that runs that end at the end of a row (npixels == maxpixels) will not be decoded. Fix this by limiting 'n', the number of pixels to copy. Note that npixels is updated by the 'unlimited' value to ensure the error reporting at the end of the loop still works.
* Update libtiff to 4.2.0Chris Liddell2021-01-15192-1275/+7987
| | | | | | | | | | | | | | | | And then re-apply: ef66198ade77d5d551b3045cd36bed81c0b04f54 Changes to libtiff for gpdl. 1) Ensure that libtiff doesn't mess with 'boolean' in GS builds on Windows. Without this, the jpeg structures used by our JPEG lib build are different in size when called from gs and libtiff, resulting in runtime errors. 2) Update libtiff so that it can correctly call into the jpeg library so that memory operations happen from our pools, not malloc/free. Slightly horrid in that this is more complex with OJPEG than JPEG files.
* Bug 703339: Fix libtiff name clash on AIXRob Boehne2021-01-151-11/+11
| | | | | | | | | | Patch grabbed from upstream: https://gitlab.com/libtiff/libtiff/-/commit/31ca59cb047353d7edf66d04fe052861b180e42d Rename itrunc to fix name clash with a different itrunc in math.h on AIX. Fixes issue #189
* Changes to libtiff for gpdl.Robin Watts2019-12-125-23/+153
| | | | | | | | | | | | 1) Ensure that libtiff doesn't mess with 'boolean' in GS builds on Windows. Without this, the jpeg structures used by our JPEG lib build are different in size when called from gs and libtiff, resulting in runtime errors. 2) Update libtiff so that it can correctly call into the jpeg library so that memory operations happen from our pools, not malloc/free. Slightly horrid in that this is more complex with OJPEG than JPEG files.
* Update libtiff to 4.1.0Chris Liddell2019-11-26321-3762/+9867
| | | | | | | | Add in portability changes to tiffiop.h Portability tiffiop.h Remove globals from tif_pixarlog.c
* Add aarch64:Linux case to tiff config.guessRay Johnston2018-06-141-0/+3
| | | | | Needed for configure on 64-bit Linux on ARM (seen with SUSE 64-bit linux on the Raspberry Pi).
* Update libtiff to 4.0.9Chris Liddell2018-03-2982-1097/+3928
| | | | | | | | | | Add in portability changes to tiffiop.h Portability tiffiop.h Remove globals from tif_pixarlog.c Tweaks to support libtiff 4.0.9
* libtiff: update to 4.0.7Chris Liddell2016-11-22375-11426/+21925
| | | | | | | | Add in portability changes to tiffiop.h Portability tiffiop.h Remove globals from tif_pixarlog.c
* Fixes for Windows build with VS 2015.Ray Johnston2015-07-301-1/+6
| | | | | Apparently snprintf is now available (since VS2014), and we need to make sure and undef bool to avoid conflicts.
* Commit of build_consolidation branchChris Liddell2015-07-20514-0/+195706
Squashed into one commit (see branch for details of the evolution of the branch). This brings gpcl6 and gxps into the Ghostscript build system, and a shared set of graphics library object files for all the interpreters. Also, brings the same configuration options to the pcl and xps products as we have for Ghostscript.