opencv/modules
Stefan Dragnev 12b64b0e2a
Merge pull request #27927 from tailsu:tailsu/tiff-error-handler
tiff: use a per-TIFF error handler #27927

libtiff 4.5 introduced [per-TIFF error handlers](https://libtiff.gitlab.io/libtiff/functions/TIFFOpenOptions.html). This PR removes the global OpenCV error handlers and uses per-handle error handlers. This reduces any risks associated with modifying global state, e.g. if another library also tries to set the global error handlers and OpenCV clobbers them.

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
2025-10-23 13:38:10 +03:00
..
calib3d Merge pull request #27926 from MaximSmolskiy:add_comments_for_fisheye_undistortPoints 2025-10-21 08:16:38 +03:00
core [core][cuda] Move throw_no_cuda to it an independant stub so it is not included in the same file that requires cudart 2025-10-20 13:10:23 +03:00
dnn Merge pull request #27785 from pratham-mcw:dnn-lstm-neon 2025-10-03 10:50:50 +03:00
features2d Merge pull request #27642 from pratham-mcw:perf_arm64_fast_loop_unroll 2025-09-19 16:49:21 +03:00
flann Merge pull request #27730 from Kumataro:fix27729 2025-09-08 10:35:01 +03:00
gapi Merge pull request #27443 from ritamelo06:gapi-feature 2025-10-21 12:59:06 +03:00
highgui Fixed linking for HighGUI against Qt 6.9 and newer 2025-10-15 21:49:04 +05:30
imgcodecs Merge pull request #27927 from tailsu:tailsu/tiff-error-handler 2025-10-23 13:38:10 +03:00
imgproc Refactor minEnclosingCircle 2025-10-16 22:18:39 +03:00
java Add Java wrapper support for List<List<MatShape>> 2025-08-25 02:09:19 +09:00
js Added option to wrap opencv_contrib into JS too. 2025-09-25 17:25:04 +03:00
ml Fix ml::KDTree::findNearest 2025-10-16 22:58:55 +03:00
objc feat: add conditional inclusion support to header parser 2025-05-19 10:11:52 +03:00
objdetect Merge pull request #27877 from MaximSmolskiy:fix_QRCodeDetector_detectAndDecode_crash 2025-10-08 08:50:54 +03:00
photo [core][cuda] Move throw_no_cuda to it an independant stub so it is not included in the same file that requires cudart 2025-10-20 13:10:23 +03:00
python Restored PYTHON_DEBUG_LIBRARIES in python bindings. 2025-10-02 09:00:22 +03:00
stitching [core][cuda] Move throw_no_cuda to it an independant stub so it is not included in the same file that requires cudart 2025-10-20 13:10:23 +03:00
ts Merge pull request #27416 from Kumataro:fix27413 2025-06-12 15:32:28 +03:00
video Merge pull request #27810 from D00E:known-foreground-mask 2025-10-14 09:56:06 +03:00
videoio Merge pull request #27841 from dkurt:ffmpeg_camera 2025-10-17 10:23:24 +03:00
world cmake: use /INCREMENTAL:NO with MSVS 2015 2023-12-07 19:46:27 +00:00