PvAPI support on Windows with MinGW (PR #1038 applied to the branch 2.4)
Rename PVAPI_DECLARATIONS to PVAPI_DEFINITIONS
bugfix #3121: corrected calculation of blue channel index
API restricted on WinRT partially removed from core.

Additional CMAKE flag WITH_WINRT added.
TLS calls on WinRT replaced on variables with C++11 "thread" attribute.
WinRT API Certification fixes for core and contrib.
Warning and review notes fixes.

WITH_WINRT -> ENABLE_WINRT_MODE;
Some temporary char* replaced with Ptr<char>;
Build fix for regular WIN32;
Windows Platform SDK and MSVC search added to cmake;
Warinig fixes.
Added sample links in documentation for python2, ocl and gpu
Merge pull request #1205 from asmorkalov:winrt_api_cert_fix
Merge pull request #1214 from StevenPuttemans:feature_3169_others
Update OpenCVDetectPython.cmake

On my MacOS the output of the sphinx-build binary is the following:

Error: Insufficient arguments.

Sphinx v1.2b1
Usage: /usr/local/bin/sphinx-build [options] sourcedir outdir [filenames...]

...

I have installed sphinx, but without this change HAVE_SPHINX==0 for me, so I can't build docs.
NEON instruction set enabled for WIN32 on ARM by default.
Merge pull request #1219 from asmorkalov:winrt_neon
Difference in method definition and declaration fixed (Bug #3189).
Merge pull request #1222 from philippefoubert:branch_2.4_pvapi
Merge pull request #1220 from asmorkalov:msmf_sizet_fix
fixing compilation with `-Werror=format-security` enabled
fixing java test after fix in OpenCV library
Merge pull request #1226 from apavlenko:fix_java_test_ellipse2poly
Merge pull request #1196 from rdm12:bugfix_3121_cvtcolor