Commit graph

162912 commits

Author SHA1 Message Date
Zebediah Figura
0ff2f3a856 ddraw: Move the rest of the surface desc population to ddraw_surface_create() from device_parent_texture_sub_resource_created().
Cf. 191db92fd5.

Put all this code in the same place, and possibly move towards getting rid of
the texture_sub_resource_created() callback entirely.
2023-03-16 17:38:05 +01:00
Max Figura
21079819e8 wined3d: Move the WINED3D_RS_INDEXEDVERTEXBLENDENABLE stub to wined3d_device_apply_stateblock. 2023-03-16 17:38:00 +01:00
Max Figura
79ea470d4d wined3d: Move the WINED3D_RS_DEBUGMONITORTOKEN stub to wined3d_device_apply_stateblock. 2023-03-16 17:38:00 +01:00
Max Figura
5c61a9c3e6 wined3d: Move the WINED3D_RS_PATCHSEGMENTS stub to wined3d_device_apply_stateblock. 2023-03-16 17:38:00 +01:00
Max Figura
0076908b4a wined3d: Move the WINED3D_RS_PATCHEDGESTYLE stub to wined3d_device_apply_stateblock. 2023-03-16 17:38:00 +01:00
Max Figura
dfa5f0082f wined3d: Move the WINED3D_RS_SOFTWAREVERTEXPROCESSING stub to wined3d_device_apply_stateblock. 2023-03-16 17:38:00 +01:00
Rémi Bernon
659525268b dinput/tests: Increase timeouts for waits not supposed to fail.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54594
2023-03-16 17:36:59 +01:00
Rémi Bernon
07753da93c dinput/tests: Remove BuildActionMap / SaveActionMap mouse and keyboard tests. 2023-03-16 17:36:59 +01:00
Rémi Bernon
ed3f06b11a dinput/tests: Test SaveActionMap effect on HID joystick input. 2023-03-16 17:36:59 +01:00
Rémi Bernon
e7b3e3514c dinput/tests: Test SaveActionMap effect on DIPROP_RANGE property. 2023-03-16 17:36:59 +01:00
Rémi Bernon
4edea8a93a dinput/tests: Test SaveActionMap effect on DIPROP_BUFFERSIZE property. 2023-03-16 17:36:59 +01:00
Rémi Bernon
2750d924db dinput/tests: Test SaveActionMap effect on DIPROP_APPDATA property. 2023-03-16 17:36:59 +01:00
Rémi Bernon
2656e418e2 dinput/tests: Test SaveActionMap effect on DIPROP_USERNAME property. 2023-03-16 17:36:58 +01:00
Rémi Bernon
88e2b447a2 dinput/tests: Test BuildActionMap / SaveActionMap with the HID joystick. 2023-03-16 17:36:58 +01:00
Rémi Bernon
cefe42dfeb include: Add some dinput.h action semantics definitions. 2023-03-16 17:36:58 +01:00
Francois Gouget
8f6ab16839 dinput/tests: Skip the tests if acquiring the device fails.
All the tests that follow would fail anyway, making it hard to filter
them out to avoid false positives.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54558
2023-03-16 17:36:56 +01:00
Francois Gouget
0007925e8f wofutil: Add a trailing linefeed to a FIXME(). 2023-03-16 17:01:00 +01:00
Rémi Bernon
196295db88 imm32/tests: Test basic ImmEnumInputContext usage. 2023-03-16 14:09:47 +01:00
Rémi Bernon
195879ada8 imm32/tests: Test ImmUnregisterWord with the installed IME. 2023-03-16 14:09:47 +01:00
Rémi Bernon
6896953d95 imm32/tests: Test ImmGetRegisterWordStyle with the installed IME. 2023-03-16 14:09:46 +01:00
Rémi Bernon
eab785a358 imm32/tests: Test ImmRegisterWord with the installed IME. 2023-03-16 14:09:46 +01:00
Rémi Bernon
f05d4cb0c7 imm32/tests: Test ImmEnumRegisterWord with the installed IME. 2023-03-16 14:09:46 +01:00
Rémi Bernon
c959a58801 imm32/tests: Test ImmEscape with the installed IME. 2023-03-16 14:09:46 +01:00
Rémi Bernon
08a6d7687a imm32/tests: Test ImmGetProperty with the installed IME. 2023-03-16 14:09:46 +01:00
Rémi Bernon
bb8bcf492c imm32/tests: Test ImmIsIME with the installed IME. 2023-03-16 14:09:46 +01:00
Rémi Bernon
7f5007f197 imm32/tests: Use LANG_INVARIANT for the installed IME.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54669
2023-03-16 14:09:46 +01:00
Rémi Bernon
7ebf75f92d widl: Use open_input_file to open the main input. 2023-03-16 14:09:25 +01:00
Rémi Bernon
1a0a617850 widl: Respect -N flag for imported files preprocessing. 2023-03-16 14:09:25 +01:00
Rémi Bernon
39da052012 widl: Introduce new (open|close)_input_file helpers. 2023-03-16 14:09:25 +01:00
Rémi Bernon
a6ab03dcd5 widl: Handle preprocess-only case separately. 2023-03-16 14:09:25 +01:00
Rémi Bernon
9d537999e3 widl: Use a struct list for the import stack. 2023-03-16 14:09:25 +01:00
Rémi Bernon
5deda2de3f widl: Simplify handling of already parsed imports. 2023-03-16 14:09:25 +01:00
Rémi Bernon
9d1f1a3fb1 widl: Use a struct list to keep imported files. 2023-03-16 14:09:25 +01:00
Alexandros Frantzis
b35f4424b2 winewayland.drv: Report all advertised monitor modes to Wine.
Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2023-03-16 12:52:37 +01:00
Alexandros Frantzis
697b58f406 winewayland.drv: Report basic monitor information.
Whenever the Wayland output display state changes (including during
initialization), update the monitor information on the Wine side to
reflect these changes.

For now all monitors are placed at 0,0 in the monitor space, and
only the current mode is reported. These deficiencies will be addressed
in upcoming commits.

We currently support a single GPU, and a single monitor for each
adapter.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2023-03-16 12:52:37 +01:00
Alexandros Frantzis
243c19098e win32u: Allow drivers to set the null user driver.
Allow passing NULL as the user driver to __wine_set_user_driver(),
to set the internal null user driver. This is useful for drivers
that may need to tentatively set their own user driver during setup
and reset it on failure.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2023-03-16 12:52:37 +01:00
Alexandros Frantzis
50c1b1974f winewayland.drv: Perform basic per-process Wayland initialization.
Try to connect to the Wayland compositor, and fail driver initialization
if we are unable to do so.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2023-03-16 12:52:37 +01:00
Alexandros Frantzis
5ef250c0d1 winewayland.drv: Add initial unixlib stub.
Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2023-03-16 12:52:37 +01:00
Alexandros Frantzis
2a79056e9a winewayland.drv: Add initial driver stub.
Add the initial driver stub for the Wayland driver and build it
by default.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2023-03-16 12:52:37 +01:00
Connor McAdams
eeb098e7b6 uiautomationcore: Implement IUIAutomationElement::FindFirst{BuildCache}.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-16 12:48:13 +01:00
Connor McAdams
fdb3c9f93a uiautomationcore: Implement IUIAutomationElement::FindAll{BuildCache}.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-16 12:48:13 +01:00
Connor McAdams
3b68d75f53 uiautomationcore/tests: Add tests for IUIAutomationElement find methods.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-16 12:48:12 +01:00
Connor McAdams
d3d108f9b8 uiautomationcore: Implement IUIAutomationElement::GetCachedPropertyValueEx.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-16 12:48:12 +01:00
Connor McAdams
29a4e096d7 uiautomationcore: Implement IUIAutomationCacheRequest::AddProperty.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-16 12:48:12 +01:00
Connor McAdams
b9410e8c39 uiautomationcore: Add support for caching property values in UiaGetUpdatedCache.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-16 12:48:12 +01:00
Alex Henrie
0c1dcfd354 wldap32: Handle null LDAPMessage in ldap_parse_result.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54690
2023-03-16 12:47:54 +01:00
Alex Henrie
65323a6b96 wldap32: Handle null LDAPMessage in ldap_count_entries.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54690
2023-03-16 12:47:54 +01:00
Alex Henrie
57828356f8 wldap32: Replace bvfreeU with plain free. 2023-03-16 12:47:44 +01:00
Zhiyi Zhang
81976e5c3f light.msstyles: Add nonclient metrics. 2023-03-15 17:43:46 +01:00
Zhiyi Zhang
40492eb007 user32/tests: Do not modify cursor position when simulating clicks.
FVWM by default uses a focus follow mouse model so the window under the mouse cursor automatically
gets focus. Windows explorer.exe and other windows managers use click to focus model. So on FVWM,
if a test changes the cursor position, it might affects other tests that rely on a specific focus
window. Restore the cursor position after sending simulating clicks to avoid affecting other tests
unintentionally. FVWM could be configured to use a click to focus model, but right now it will make
many tests starting to succeed and other tests fail. So it seems to be too big of a change. Flaky
is added to test_SetWindowPos() because this patch makes the tests succeed on Gitlab CI but the same
tests still fails for other window managers and on TestBots.
2023-03-15 17:43:45 +01:00