Commit graph

163732 commits

Author SHA1 Message Date
Zebediah Figura
83518a6810 wined3d: Allow retrieving the frontbuffer from a wined3d swapchain.
For ddraw.
2023-04-18 16:48:17 +02:00
Martin Garton
0dda5753c5 msvcrt: Fix typo in #define. 2023-04-18 10:23:52 +02:00
Brendan Shanks
06011209d7 winemac: Don't constrain surface dimensions to the onscreen part of a window.
Fixes an issue where a window's image would be stretched as it was moved
further offscreen.
The offscreen part of a window also did not display correctly in Exposé.
2023-04-18 10:22:31 +02:00
Brendan Shanks
88a09dd334 winemac: Set the Cocoa window contentMaxSize to the size limits from constrain_window_frame(). 2023-04-18 10:22:31 +02:00
Brendan Shanks
51f9bb766a winemac: Refactor constrain_window_frame() to use separate origin and size arguments. 2023-04-18 10:22:31 +02:00
Henri Verbeet
55ab59af9f d3dcompiler: Use vkd3d_shader_parse_dxbc() in d3dcompiler_shader_reflection_init(). 2023-04-18 10:18:48 +02:00
Henri Verbeet
372dc31eac d3dcompiler: Use vkd3d_shader_parse_dxbc() in d3dcompiler_strip_shader(). 2023-04-18 10:18:48 +02:00
Henri Verbeet
7dfd32d5f0 d3dcompiler: Use vkd3d_shader_parse_dxbc() in d3dcompiler_get_blob_part(). 2023-04-18 10:18:48 +02:00
Henri Verbeet
8455b47b86 d3dcompiler: Use vkd3d_shader_serialize_dxbc() in d3dcompiler_strip_shader().
Note that this adds a todo_wine to test_get_blob_part2(). It looks
like native d3dcompiler only adds padding between sections, while
vkd3d-shader always adds padding to the end of sections. I've sent a
vkd3d-shader patch to fix that, but the extra padding at the end of
the DXBC blob doesn't seem terribly concerning.
2023-04-18 10:18:48 +02:00
Henri Verbeet
0c7313840c d3dcompiler: Use vkd3d_shader_serialize_dxbc() in d3dcompiler_get_blob_part(). 2023-04-18 10:18:48 +02:00
Henri Verbeet
b8fe76a8b5 d3dcompiler: Store DXBC sections as vkd3d_shader_dxbc_section_desc structures. 2023-04-18 10:18:48 +02:00
Matteo Bruni
92a2ebc680 d3dcompiler/tests: Add a couple tests for minimum size in D3DStripShader(). 2023-04-18 10:18:29 +02:00
Matteo Bruni
a639324b3d d3dcompiler/tests: Add a couple tests for minimum size in D3DGetBlobPart(). 2023-04-18 10:18:28 +02:00
Henri Verbeet
3fbfd1da2c d3dcompiler: Check for minimum bytecode size in d3dcompiler_strip_shader(). 2023-04-18 10:18:28 +02:00
Henri Verbeet
a342c75a37 d3dcompiler: Check for minimum bytecode size in d3dcompiler_get_blob_part(). 2023-04-18 10:18:28 +02:00
Eric Pouech
9718a0b6d3 winegstreamer: In video_processor, activate a videoflip converter.
The app I'm considering opens a video_processor on its own, with
a NV12 format on input and a ARGB32 format on output.

Tested on Windows: the samples are flipped vertically. While Wine
keeps them untouched.

So added a videoflip in the video processor to be activated when needed.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-04-18 10:18:17 +02:00
Eric Pouech
77a21bfbe3 mf/tests: Add tests about (negative) stride handling.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-04-18 10:18:17 +02:00
Ziqing Hui
992984f12c wingstreamer: Create extra decodebin to decode compressed stream. 2023-04-18 10:17:51 +02:00
Ziqing Hui
3cef365f63 winegstreamer: Implement wg_format_from_caps_video_wmv. 2023-04-18 10:17:51 +02:00
Anton Baskanov
5ae89b0c8b winegstreamer: Call init_gstreamer() in winegstreamer_create_video_decoder(). 2023-04-18 10:17:43 +02:00
Anton Baskanov
a455dd53d5 winegstreamer: Fix negative height image size calculation.
Fixes intro video playback in multiple games (e.g. Earth 2150).
2023-04-18 10:17:36 +02:00
Connor McAdams
a19c1ff169 uiautomationcore: Add a default ProviderType_Proxy MSAA bridge clientside provider.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-04-17 22:27:24 +02:00
Connor McAdams
2a089f52f0 uiautomationcore: Implement NavigateDirection_Parent navigation for default HWND provider.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-04-17 22:27:24 +02:00
Connor McAdams
9b1243fb6b uiautomationcore: Implement UIA_BoundingRectanglePropertyId for default HWND provider.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-04-17 22:27:24 +02:00
Connor McAdams
cee22e0cb6 uiautomationcore: Implement UIA_ControlTypePropertyId for default HWND provider.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-04-17 22:27:24 +02:00
Bernhard Übelacker
07c0cd6ba5 ntoskrnl: Do not leak memory by setting input buffer to NULL.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52322
2023-04-17 18:55:41 +02:00
Hans Leidekker
956e580f06 wine.inf: Use FLG_ADDREG_NOCLOBBER for CurrentMajor/MinorVersionNumber.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54844
2023-04-17 18:55:41 +02:00
Gabriel Ivăncescu
602e7f891d mshtml: Use proper event type for PageTransition events.
wine-gecko now supports their creation via CreateEvent.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-04-17 18:55:41 +02:00
Gabriel Ivăncescu
bce0ebafa6 mshtml: Implement MediaQueryList's removeListener method.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-04-17 18:55:41 +02:00
Gabriel Ivăncescu
1a01fb23a3 mshtml: Implement MediaQueryList's addListener method.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-04-17 18:55:41 +02:00
Francois Gouget
8b8d787d7d user32/tests: Fix the DBCS WM_CHAR tests in mixed locales.
WM_CHAR interprets the character codes using a code page tied to the
keyboard layout, not CP_ACP.
Also skip the test if WideCharToMultiByte() used the default character
since that breaks the round-trip.
Trace the code page when skipping the tests.

Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54424
2023-04-17 18:55:41 +02:00
Rémi Bernon
6fb4766947 user32: Ignore WM_IME_COMPOSITION from the IME UI window in DefWindowProc.
As in 6fd3bd9b62.
2023-04-17 18:55:41 +02:00
Rémi Bernon
45b096abb4 user32: Move WM_IME_COMPOSITION DefWindowProc handlers in separate helpers. 2023-04-17 18:55:41 +02:00
Byeong-Sik Jeon
93e5d7b317 imm32: Avoid updating INPUTCONTEXT hWnd on ImmSetActiveContext deactivation. 2023-04-17 18:55:41 +02:00
Rémi Bernon
422ee56c1b imm32: Forward ImmGetContext to NtUserGetWindowInputContext directly. 2023-04-17 18:55:41 +02:00
Byeongsik Jeon
5ef8554ee9 imm32: Stop updating INPUTCONTEXT hWnd member in ImmGetContext. 2023-04-17 18:55:41 +02:00
Rémi Bernon
53ae92fab4 imm32/tests: Check ImmSetActiveContext effect on INPUTCONTEXT hWnd member. 2023-04-17 18:55:41 +02:00
Rémi Bernon
c8d5603776 imm32/tests: Check IME UI visibility vs ImmSetCompositionWindow. 2023-04-17 18:55:41 +02:00
Rémi Bernon
3e3706adcc imm32/tests: Test that ImmSetOpenStatus doesn't set IMMGWL_IMC. 2023-04-17 18:55:41 +02:00
Davide Beatrici
c0884c02cb winepulse: Remove AudioSessionManager. 2023-04-17 18:55:41 +02:00
Davide Beatrici
03f7d797e5 wineoss: Remove AudioSessionManager. 2023-04-17 18:55:41 +02:00
Davide Beatrici
95dfef6ad3 winecoreaudio: Remove AudioSessionManager. 2023-04-17 18:55:41 +02:00
Davide Beatrici
25dc3d82c6 winealsa: Remove AudioSessionManager. 2023-04-17 18:55:41 +02:00
Davide Beatrici
c0aa622d96 mmdevapi: Implement AudioSessionManager. 2023-04-17 18:55:41 +02:00
Davide Beatrici
4cee5af0ea mmdevapi: Import GetAudioSessionWrapper() from driver. 2023-04-17 18:55:41 +02:00
Davide Beatrici
8f31a253f0 winepulse: Export function to get AudioSessionWrapper object. 2023-04-17 18:55:41 +02:00
Davide Beatrici
07d6a48c73 wineoss: Export function to get AudioSessionWrapper object. 2023-04-17 18:55:41 +02:00
Davide Beatrici
0e7a4fd7c1 winecoreaudio: Export function to get AudioSessionWrapper object. 2023-04-17 18:55:41 +02:00
Davide Beatrici
9bfaf65b7c winealsa: Export function to get AudioSessionWrapper object. 2023-04-17 18:55:41 +02:00
Derek Lesho
e6e7c7916d winegstreamer: Cache wg_parser input data.
In order to reduce wg_parser initialization time by skipping the round-trip to the PE thread.

Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
2023-04-17 18:55:41 +02:00