Windows has the LDAP_OPT_SSL option to turn SSL on or off after calling
ldap_init but before connecting to the server. OpenLDAP doesn't have
that option and instead expects a fully SSL connection to be requested
by passing one or more "ldaps://" URIs to ldap_init. However, OpenLDAP
also has an LDAP_OPT_URI option, which Windows does not have, that can
be used to change the URIs before connecting. And OpenLDAP already takes
care of converting "ldap://" or "ldaps://" to lowercase, so all we have
to do is find and replace that exact string in each URI in the list.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54727
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2508
This fixes two wine_todo-marked tests. However, I'm not entirely sure this is correct. The behavior of Report Count == 0 isn't entirely clear to me, but it does pass the test now. Some more tests might be needed.
cc @rbernon
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2499
Needed to prevent VR games from crashing when the user attempts to capture the desktop.
The reference count seems to start at 0, which I've never encountered before. Not sure if my code is incorrect.
--
v2: graphicscapture: Partially implement IGraphicsCaptureSessionStatics::IsSupported().
graphicscapture/tests: Add IGraphicsCaptureSessionStatics::IsSupported() tests.
graphicscapture: Add IGraphicsCaptureSessionStatics stub interface.
graphicscapture: Add stub DLL.
include: Add windows.graphics.capture.idl file.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2490
include: Fix c++ compiler error with msxml2.idl
This moves ISAXXMLFilter declaration after its base class ISAXXMLReader.
Otherwise the following error is shown in C++ mode
$ wineg++ test-msxml2.cpp
In file included from test-msxml2.cpp:1:
/usr/include/wine/windows/msxml2.h:16199:24: error: invalid use of incomplete type ‘struct ISAXXMLReader’
16199 | ISAXXMLFilter : public ISAXXMLReader
| ^~~~~~~~~~~~~
/usr/include/wine/windows/msxml2.h:644:19: note: forward declaration of ‘struct ISAXXMLReader’
644 | typedef interface ISAXXMLReader ISAXXMLReader;
| ^~~~~~~~~~~~~
winegcc: /usr/bin/g++ failed
Signed-off-by: Biswapriyo Nath <nathbappai(a)gmail.com>
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2509
Word 2016 queries a lot of font glyph bounding boxes and bitmaps with translation matrices. The
result of these queries is not cached because the transform matrix is not the identity matrix.
However, the translation offsets don't affect FreeType font operations at all, which can be
verified in ft_matrix_from_dwrite_matrix() called by get_glyph_transform(). So these results with
translation matrices can be cached as well. With this patch, Word 2016 stuttering is reduced
significantly.
--
v2: dwrite: Use cache when font transform matrix contains only translation offsets.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2482
Passing `NULL` or `INVALID_HANDLE_VALUE` into `IcmpCloseHandle` currently causes a segfault on wine, whereas it returns `FALSE` on windows.
It seems FFXIV occasionally does this.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2505