Commit graph

163232 commits

Author SHA1 Message Date
Alex Henrie
d8e6a29d98 wldap32: Stub out setting LDAP_OPT_REFERRAL_HOP_LIMIT.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54727
2023-03-28 11:53:22 +02:00
Francois Gouget
490e36c807 taskschd/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.
Add a test to show that there is the same issue with tasks by creating
one in the root folder.

Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54106
2023-03-28 11:44:02 +02:00
Francois Gouget
b7afd8ba26 taskschd/tests: Elevated privileges are needed to connect using a hostname.
Being in the administrator group is not sufficient.
2023-03-28 11:44:01 +02:00
Francois Gouget
27f378f071 taskschd/tests: Use a winetest context in the scheduler loops. 2023-03-28 11:44:01 +02:00
Francois Gouget
afd9820f56 taskschd/tests: Use wide character string literals in scheduler.c. 2023-03-28 11:44:01 +02:00
Francois Gouget
58e0677d33 taskschd/tests: Store the xml definitions as wide string literals in scheduler.c. 2023-03-28 11:44:01 +02:00
Francois Gouget
38fb5396d4 taskschd/tests: Use __HRESULT_FROM_WIN32() to initialize constants.
It is a macro and thus constant unlike HRESULT_FROM_WIN32().
2023-03-28 11:43:59 +02:00
Stefan Dösinger
2212e663f9 ddraw/tests: Show that SYSMEM | 3DDEVICE surfaces don't consume vidmem. 2023-03-28 11:43:42 +02:00
Stefan Dösinger
23cfa8a210 ddraw/tests: Native 64 bit ddraw has a video memory leak. 2023-03-28 11:43:42 +02:00
Stefan Dösinger
723cd0a4ae wined3d: Make video memory accounting a per-resource flag.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54701
2023-03-28 11:43:38 +02:00
Rémi Bernon
d62e2268d7 dinput: Rewrite IDirectInput8_EnumDevicesBySemantics.
Simplifying and fixing it.
2023-03-27 21:23:09 +02:00
Rémi Bernon
cb987646a4 dinput: Implement DIDBAM_PRESERVE BuildActionMap flag. 2023-03-27 21:23:09 +02:00
Rémi Bernon
782ad8f70c dinput: Check device type in BuildActionMap for specific semantics. 2023-03-27 21:23:08 +02:00
Rémi Bernon
18b5f7956f dinput: Load action map from registry before resetting guid. 2023-03-27 21:23:08 +02:00
Rémi Bernon
2da8f5d2ac dinput: Trace formats in (Build|Set)ActionMap and EnumDevicesBySemantics. 2023-03-27 21:23:08 +02:00
Rémi Bernon
8e63f68fb3 dinput/tests: Add more IDirectInput8_EnumDevicesBySemantics tests. 2023-03-27 21:23:08 +02:00
Rémi Bernon
83881f579f dinput/tests: Test BuildActionMap cases with multiple devices. 2023-03-27 21:23:08 +02:00
Connor McAdams
55c1acd926 uiautomationcore: Add support for UIA_ProviderDescriptionPropertyId.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-27 18:32:35 +02:00
Connor McAdams
2d85254355 uiautomationcore: Add a helper function for retrieving a property value from an individual node provider.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-27 18:32:35 +02:00
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