Commit graph

164617 commits

Author SHA1 Message Date
Alex Henrie
1da5618cba msi: Make TransformView_Create static. 2023-06-05 14:01:07 +02:00
Alex Henrie
daa20d9d63 msi: Return ERROR_OUTOFMEMORY if calloc fails in TransformView_Create (scan-build).
Instead of ERROR_SUCCESS.
2023-06-05 14:01:07 +02:00
Alex Henrie
abfc151e0b mscms: Fix double free on error path in EnumColorProfilesA (scan-build).
If fileW is not null, it is freed at the end of the function.
2023-06-05 14:01:07 +02:00
Alex Henrie
935626b488 wusa: Fix double free on error path in read_update_package (scan-build).
If read_identity returns FALSE, it has already called clear_identity.
2023-06-05 14:01:07 +02:00
Piotr Caban
7e060adfcc msvcr100: Use Context blocking functions in critical_section class. 2023-06-05 14:01:07 +02:00
Piotr Caban
51388af06f msvcr100: Use Context to store critical_section owner. 2023-06-05 14:01:07 +02:00
Rémi Bernon
6e23814253 kernelbase: Comment out DECLSPEC_HOTPATCH for ConvertThreadToFiber. 2023-06-05 14:01:07 +02:00
Zebediah Figura
ead421b744 ntdll: Simplify critical section timeout logic.
Make it more consistent, as well. Currently we alternate between 5 seconds and
60; instead just make it a consistent 60 after the first wait.

When +relay is on, always wait for 300 seconds, instead of alternating between
60 and 300.
2023-06-05 14:01:07 +02:00
Zebediah Figura
7520294840 ntdll: Do not throw deadlock exceptions for Wine critical sections.
This is actually a public debugging facility, but currently applies exclusively
to Wine internal locks. While we could expand this feature to all critical
sections, no application is known to depend on it, and the fact that it is a
debugging feature means it is not very likely we will ever find one.

As far as Wine is concerned, I believe this feature is unused. I have not heard
any mention of it in at least five years.

Moreover, we have a different tool for debugging critical section timeouts,
namely, the ERR messages in the same function. These messages provide just as
much information while being less destructive to the process state.
2023-06-05 14:01:07 +02:00
Zebediah Figura
47c8dcc96a wow32: Use spec file imports. 2023-06-05 14:01:07 +02:00
Connor McAdams
7e19aef0f3 uiautomationcore: Get IRawElementProviderAdviseEvents interfaces from embedded fragment root providers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-06-05 14:01:07 +02:00
Connor McAdams
1122fde445 uiautomationcore: Respect ProviderOptions_UseComThreading on advise events interfaces.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-06-05 14:01:07 +02:00
Connor McAdams
68aa92d6b0 uiautomationcore: Add global interface table helper functions.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-06-05 14:01:07 +02:00
Connor McAdams
3d0c9efc1e uiautomationcore: Put general purpose helper functions into separate source file.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-06-05 14:01:07 +02:00
Alexandre Julliard
ad7b9726cb xml2: Import upstream release 2.11.4. 2023-06-05 14:01:07 +02:00
Alexandre Julliard
6b678a4e9b xslt: Import upstream release 1.1.38. 2023-06-05 12:09:29 +02:00
Alexandre Julliard
50c5eb31cb nls: Update locale data to CLDR version 43. 2023-06-05 12:07:34 +02:00
Alexandre Julliard
58bc99dce6 kernelbase: Update timezone data to version 2023c. 2023-06-04 18:25:55 +02:00
Giovanni Mascellani
4e88f44270 dxgi: Move Vulkan-specific code to d3d12_swapchain_create_vulkan_swapchain(). 2023-06-02 22:25:02 +02:00
Giovanni Mascellani
a7ff40a324 dxgi: Move non-Vulkan-specific code out of d3d12_swapchain_create_vulkan_swapchain(). 2023-06-02 22:25:02 +02:00
Giovanni Mascellani
6cb23836e7 dxgi: Factor out d3d12_swapchain_create_image_resources(). 2023-06-02 22:25:02 +02:00
Giovanni Mascellani
237062d01f dxgi: Store Vulkan formats in the swapchain object. 2023-06-02 22:25:02 +02:00
Giovanni Mascellani
565917d5d2 dxgi: Rename d3d12_swapchain_prepare_command_buffers(). 2023-06-02 22:25:02 +02:00
Giovanni Mascellani
eec9c3a2f6 dxgi: Document some struct d3d12_swapchain fields. 2023-06-02 22:25:02 +02:00
Rémi Bernon
88cbc08b7f server: Don't reset cursor clipping on foreground thread exit.
It will be reset on foreground input changes, when it happens.
2023-06-02 21:08:34 +02:00
Rémi Bernon
b863d3ab14 winex11: Reset clipping by calling NtUserClipCursor directly. 2023-06-02 21:08:34 +02:00
Rémi Bernon
5bdbbee6f4 winex11: Rely on win32u to reset clipping on display mode change. 2023-06-02 21:08:34 +02:00
Rémi Bernon
18cb55583a win32u: Reset cursor clipping rectangle on display mode change. 2023-06-02 21:08:34 +02:00
Alex Henrie
58a16612bd winegstreamer: Pass a QWORD pointer to IMFByteStream_GetLength.
Fixes warnings on GCC 13.
2023-06-02 20:47:29 +02:00
Rémi Bernon
226f8b7c28 winegstreamer: Implement MF_LOW_LATENCY attribute and latency query. 2023-06-02 20:47:29 +02:00
Rémi Bernon
036166faf7 winegstreamer: Pass desired input queue length to wg_transform_create. 2023-06-02 20:47:29 +02:00
Rémi Bernon
f83922fd98 winegstreamer: Pass desired output plane alignment to wg_transform_create. 2023-06-02 20:47:29 +02:00
Paul Gofman
4f4ee0e16b winegstreamer: Implement MFT_MESSAGE_COMMAND_FLUSH for the H264 decoder. 2023-06-02 20:47:29 +02:00
Paul Gofman
16347299c1 winegstreamer: Implement MFT_MESSAGE_COMMAND_DRAIN for the H264 decoder. 2023-06-02 20:47:29 +02:00
Shaun Ren
db2640d06b sapi: Implement token filtering and sorting in ISpObjectTokenEnumBuilder. 2023-06-02 20:47:29 +02:00
Shaun Ren
f286ee9bfa sapi: Partially reimplement ISpObjectTokenEnumBuilder storing a token array.
This is needed in order to implement filtering and sorting in
ISpObjectTokenCategory::EnumTokens.
2023-06-02 20:47:28 +02:00
Shaun Ren
e071a70ba8 sapi: Implement ISpObjectToken::CreateKey. 2023-06-02 20:47:28 +02:00
Alex Henrie
75de502ba4 iphlpapi/tests: Use ~0u instead of ~0ul in testGetIpNetTable.
Fixes warnings on GCC 13.
2023-06-02 20:47:28 +02:00
Jinoh Kang
078b0219aa server: Update parent window region when exposing previously invisible window.
Fixes: 33617af814
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54949
2023-06-02 20:47:28 +02:00
Jinoh Kang
c368dfebbb user32/tests: Test for update region after showing a child window. 2023-06-02 20:47:28 +02:00
Eric Pouech
af7b97e780 dbghelp: Reimplement EnumerateLoadedModules().
- correctly taking into accoung SYMOPT_INCLUDE_32BIT_MODULES option
- converting, for 32bit modules requested from a 64bit module,
  the system32 paths into syswow64

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-06-02 20:47:28 +02:00
Eric Pouech
79bae0ed37 dbghelp/tests: Add more tests for module imagename handling.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-06-02 20:47:25 +02:00
Eric Pouech
ed532a36b3 dbghelp/tests: Review old-wow64 expected values.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-06-02 20:47:01 +02:00
Eric Pouech
76d922983d dbghelp/tests: Fix process kind detection on old Windows machines.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-06-02 20:35:53 +02:00
Alexandre Julliard
b337c5b1a1 ntdll: Use the default ABI for all functions on the Unix side. 2023-06-02 09:50:50 +02:00
Alexandre Julliard
48537f4e1e ntdll: Use the sysv ABI for setjmp/longjmp on the Unix side. 2023-06-02 09:35:10 +02:00
Alexandre Julliard
e2fac05854 ntdll: Use the sysv ABI for the %fs allocation function. 2023-06-02 09:32:59 +02:00
Zebediah Figura
6bcfab4ca6 winebuild: Use the lretw mnemonic in wine_call_to_16().
We already use it in the __wine_spec_callfrom16_* functions.
2023-06-02 09:32:23 +02:00
Zebediah Figura
63a6f01a70 winebuild: Use segment prefixes in 16-bit stack switching code instead of writing out byte values.
Presumably at one point there were assemblers that choked on
these. However, currently we use segment prefixes elsewhere in
wine (namely, in the syscall dispatcher), and it seems fair to assume
that a sane compiler should support them.
2023-06-02 09:32:23 +02:00
Paul Gofman
a56e0ba4d4 ws2_32: Test wait alertability in WSAGetOverlappedResult(). 2023-06-02 09:32:23 +02:00