Commit graph

163313 commits

Author SHA1 Message Date
Connor McAdams
45aca56e08 uiautomationcore/tests: Add NULL input argument tests for IUIAutomationTreeWalker navigation method.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-27 18:32:35 +02:00
Connor McAdams
5c41987709 uiautomationcore/tests: Skip IAccessible2 tests on Win10v1909.
Windows 10 1909 doesn't use IAccessible2 interfaces while comparing
IAccessible interfaces, so skip the interface comparison tests.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53269
2023-03-27 18:32:33 +02:00
Alex Henrie
31aa2245ef wldap32: Implement setting LDAP_OPT_SSL and add tests.
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
2023-03-27 18:32:17 +02:00
Francois Gouget
bb516ae1a6 schedsvc/tests: Deleting tasks & folders requires elevated privileges on Windows 7.
This means skipping any test that requires creating a folder as the
test would be unable to clean up after itself.

Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=53128
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54109
2023-03-27 17:44:44 +02:00
Francois Gouget
4385a3c29e schedsvc/tests: Document SchRpcGetTaskInfo() calls that crash on Windows.
Not just Windows 7 but all versions up to Windows 11.
2023-03-27 17:44:42 +02:00
Francois Gouget
ee2c7dc881 schedsvc/tests: Use a winetest context in the rpcapi loops. 2023-03-27 17:44:28 +02:00
Francois Gouget
3e975e9360 schedsvc/tests: Use wide character string literals in rpcapi.c. 2023-03-27 17:44:28 +02:00
Francois Gouget
5d2fe518ee schedsvc/tests: Use __HRESULT_FROM_WIN32() to initialize constants.
It is a macro and thus constant unlike HRESULT_FROM_WIN32().
2023-03-27 17:44:26 +02:00
Francois Gouget
a2d5644797 schtasks/tests: Verify that the task folders are correctly deleted. 2023-03-27 17:43:41 +02:00
Francois Gouget
739c5c547c schtasks/tests: Deleting folders requires elevated privileges on Windows 7 & 8.
This means skipping any test that requires creating a task as the test
would be unable to clean up after itself.

Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=52193
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54634
2023-03-27 17:43:37 +02:00
Huw Davies
d0246c3ea0 win32u: Fix printf format warnings. 2023-03-27 17:43:23 +02:00
Francois Gouget
99f77667bb widl: Error_loc() messages must have a trailing linefeed. 2023-03-27 17:43:18 +02:00
Francois Gouget
683ad8221b imm32/tests: Document the WINE_LANGID value. 2023-03-27 17:43:14 +02:00
Bernhard Kölbl
4f824a507a windows.media.speech/tests: Allow recognizer state to be idle during active recognition session.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54441
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2023-03-27 15:48:14 +02:00
Louis Lenders
e8b0c92395 wine.inf: Add EditionID to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54675
2023-03-27 15:48:14 +02:00
Marc-Aurel Zent
5de03757f7 iphlpapi: Return FALSE for bad handles in IcmpCloseHandle. 2023-03-27 11:05:34 +02:00
Rémi Bernon
78c5e3ab03 widl: Define PARSER_LTYPE instead of api.location.type.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54729
2023-03-27 11:05:34 +02:00
Vicki Pfau
6a88500af2 hidparse.sys: Include zero-count reports in cap count.
Signed-off-by: Vicki Pfau <vi@endrift.com>
2023-03-27 11:05:34 +02:00
Mohamad Al-Jaf
4e7cbb2d09 graphicscapture: Partially implement IGraphicsCaptureSessionStatics::IsSupported().
Needed to prevent VR games from crashing when the user attempts to capture the desktop.
2023-03-27 11:05:34 +02:00
Mohamad Al-Jaf
872fbcebdc graphicscapture/tests: Add IGraphicsCaptureSessionStatics::IsSupported() tests. 2023-03-27 11:05:34 +02:00
Mohamad Al-Jaf
a36f701514 graphicscapture: Add IGraphicsCaptureSessionStatics stub interface. 2023-03-27 11:05:34 +02:00
Mohamad Al-Jaf
14768c0eca graphicscapture: Add stub DLL. 2023-03-27 11:05:34 +02:00
Mohamad Al-Jaf
4eb5616e8d include: Add windows.graphics.capture.idl file. 2023-03-27 11:04:13 +02:00
Biswapriyo Nath
787c3f73f8 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@gmail.com>
2023-03-27 11:03:27 +02:00
Piotr Caban
2d48dbf1b3 wineps: Handle EMR_POLYPOLYGON16 record in spool files. 2023-03-27 11:02:56 +02:00
Piotr Caban
e214d60449 wineps: Handle EMR_POLYPOLYLINE16 record in spool files. 2023-03-27 11:02:56 +02:00
Piotr Caban
db076a5b35 wineps: Handle EMR_POLYLINETO16 record in spool files. 2023-03-27 11:02:56 +02:00
Piotr Caban
bbf0ef285c wineps: Handle EMR_POLYBEZIERTO16 record in spool files. 2023-03-27 11:02:56 +02:00
Piotr Caban
33c401f31a wineps: Handle EMR_POLYLINE16 record in spool files. 2023-03-27 11:02:56 +02:00
Piotr Caban
31d7e94342 wineps: Handle EMR_POLYGON16 record in spool files. 2023-03-27 11:02:56 +02:00
Piotr Caban
eeb8d8106c wineps: Handle EMR_POLYBEZIER16 record in spool files. 2023-03-27 11:02:56 +02:00
Piotr Caban
25c7330954 wineps: Handle EMR_ARCTO record in spool files. 2023-03-27 11:02:56 +02:00
Piotr Caban
751d93c55f wineps: Handle EMR_POLYLINETO record in spool files. 2023-03-27 11:02:56 +02:00
Piotr Caban
83a20ec967 wineps: Handle EMR_POLYBEZIERTO record in spool files. 2023-03-27 11:02:56 +02:00
Piotr Caban
9114a24fa1 wineps: Handle EMR_POLYLINE record in spool files. 2023-03-27 11:02:56 +02:00
Piotr Caban
0725b234cf wineps: Handle EMR_POLYGON record in spool files. 2023-03-27 11:02:56 +02:00
Piotr Caban
378fc7f0fd wineps: Introduce helper for PolyBezier drawing. 2023-03-27 11:02:56 +02:00
Piotr Caban
75669ea34a ucrtbase: Add __CxxFrameHandler4 implementation. 2023-03-27 11:02:50 +02:00
Alexandre Julliard
b8807b994f d3dcompiler/tests: Update todos for tests that succeed with vkd3d 1.7. 2023-03-25 10:51:51 +01:00
Rémi Bernon
bf9d15e3b1 widl: Use warning_at when reporting duplicate attributes. 2023-03-24 21:49:27 +01:00
Rémi Bernon
3d79c1f56d widl: Add source location information to attributes. 2023-03-24 21:49:27 +01:00
Rémi Bernon
a10740f319 widl: Remove custom attribute creation helper. 2023-03-24 21:49:27 +01:00
Rémi Bernon
7771a9ae79 widl: Simplify attribute creation with either int or ptr value. 2023-03-24 21:49:27 +01:00
Rémi Bernon
f36fbb3788 widl: Move attribute related functions to attribute.c. 2023-03-24 21:49:27 +01:00
Rémi Bernon
f79ae4a95c widl: Use spaces to indent attribute rules more consistently. 2023-03-24 21:49:26 +01:00
Alex Henrie
124e90d9e5 wldap32: Handle null DN or null message in ldap_delete* and add tests.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54702
2023-03-24 17:27:59 +01:00
Alex Henrie
4eff0667f8 wldap32/tests: Use the same context in test_ldap_(add|modify_compare). 2023-03-24 17:27:59 +01:00
Ziqing Hui
c91ab8c99a winegstreamer: Implement ProcessInput and ProcessOutput for WMV decoder DMO. 2023-03-24 16:55:55 +01:00
Ziqing Hui
e23f9e4dfd winegstreamer: Create wg_transform for WMV decoder. 2023-03-24 16:55:55 +01:00
Ziqing Hui
5bb46c052d winegstreamer: Ignore framerate of media type for WMV decoder DMO. 2023-03-24 16:55:55 +01:00