Commit graph

163740 commits

Author SHA1 Message Date
Eric Pouech f01ce56a49 winedbg: Improve size management in watch command.
- support 8 byte targets
- default to CPU pointer size if size isn't present nor supported.
- detect unaligned requests

Signed-off-by: Eric Pouech <eric.pouech@codeweavers.com>
2023-04-18 18:18:19 +02:00
Eric Pouech adde76fabd winedbg: Simplify watch command implementation.
This also correctly initialize some lvalue.
Context of the bug has changed, but the underlying issue remained the same.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=39495
Signed-off-by: Eric Pouech <eric.pouech@codeweavers.com>
2023-04-18 18:18:16 +02:00
Eric Pouech 812b4b1ca3 dbghelp: Use source file path as stored in debug info format.
Currently, dbghelp returns the source file either:
- in DOS format when native module option isn't enabled
- as stored in debug info format otherwise

This used to work for PE modules inside ELF shared libraries but is broken
since evolution to REAL modules. This generates several issues:
- winedbg does not always set the native module option when calling dbghelp
  for source file related functions, leading to heterogenous output to user
- some dbghelp function rely on matching source paths, hence leading to
  errors in winedbg when mixing the two formats for the same source file.

Introduce a new Wine only dbghelp option to return the source paths as they
are stored inside debug information format, and activate it unconditionaly
inside winedbg.

This fixes some failure cases of command 'break <NN>' in winedbg.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-04-18 18:17:44 +02:00
Eric Pouech fd87ddfae7 winedbg: Let 'break symbol : line' command work again.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-04-18 18:17:44 +02:00
Alexandre Julliard fe693a7047 winedump: Dump hybrid metadata also for i386 CHPE modules. 2023-04-18 17:49:51 +02:00
Alexandre Julliard 6e348640c5 include: Add some CHPE definitions. 2023-04-18 17:49:23 +02:00
Zebediah Figura f19555c866 wined3d: Disable shaderTessellationAndGeometryPointSize. 2023-04-18 16:48:18 +02:00
Zebediah Figura f74de8e0ab ddraw: Retrieve the frontbuffer directly from wined3d. 2023-04-18 16:48:17 +02:00
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