Commit graph

165459 commits

Author SHA1 Message Date
Alexandre Julliard 240df39c1c ndis.sys: Use nameless unions/structs. 2023-07-14 09:25:19 +02:00
Alexandre Julliard 194b4025b0 msxml3: Use nameless unions/structs. 2023-07-14 09:24:57 +02:00
Alexandre Julliard 8de0a9dc74 msi: Use nameless unions/structs. 2023-07-14 09:24:29 +02:00
Alexandre Julliard 102a9bd94b mshtml: Use nameless unions/structs. 2023-07-14 09:24:17 +02:00
Alexandre Julliard 2ba8129ce0 mscoree: Use nameless unions/structs. 2023-07-14 09:24:05 +02:00
Zebediah Figura 59ecdbd43e opengl32: Correctly interpret glMapBuffer() access in wow64 mapping. 2023-07-14 09:15:10 +02:00
Zebediah Figura 77981d4548 opengl32: Copy to the wow64 buffer even for write maps.
GL_MAP_WRITE_BIT does not mean that the buffer will be filled, unless an
INVALIDATE bit is explicitly set. The application is free to partially update
the buffer, even if it does not read from it.

Thanks to Aida Jonikienė for doing most of the debugging here.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55045
2023-07-14 09:15:08 +02:00
Jinoh Kang 1fca47b724 msi: Don't open code dialog_add_control() in dialog_line_control().
Commit b1cc87cb65 ("msi: The line control has a height of exactly 2
device units.", 2007-12-16) open-coded the body of
(msi_)dialog_add_control() inside dialog_line_control() modulo the
height override.

Except the fixed height, line controls have nothing special compared to
other controls.  Thus, there is little merit in open-coding it.

Also, dialog_line_control() has bit-rotted over time; it already missed
a few changes that were done to any other controls.

Fix this by just using dialog_add_control().  Also, add a special case
logic just for line controls.
2023-07-14 09:14:33 +02:00
Jinoh Kang 3eceda2f2a msi: Make insertion order of line controls consistent with other controls.
Fixes: 2c5bd49297
2023-07-14 09:14:31 +02:00
Jinoh Kang 735584076e msi: Fully initialize the control structure in dialog_line_control().
Fixes: 76606eaea0
Fixes: 174b7b51ac
2023-07-14 09:14:28 +02:00
Jinoh Kang 548d7179e3 riched20: Don't call wrap_marked_paras_dc() before the editor is fully initialized.
Today, CreateTextServices() sometimes triggers an assertion failure in
select_style().

When ME_MakeEditor() calls ME_MakeFirstParagraph(), the editor
(ME_TextEditor) is not in a fully initialized state.  For example, the
font cache (pFontCache) is not fully initialized, which sometimes makes
select_style() believe that the cache slots are fully occupied.

Fix this by delaying the call to wrap_marked_paras_dc() until the editor
is fully initialized.

Also, delay the call to ITextHost::TxReleaseDC() until after
wrap_marked_paras_dc(), since we need the device context a bit longer.

Fixes: b70eb32c5f
2023-07-14 09:14:22 +02:00
Jinoh Kang 03036f42e1 riched20: Factor out device context acquisition from ME_MakeFirstParagraph.
This lets ME_MakeEditor() reuse the device context throughout the editor
initialization process.
2023-07-14 09:14:20 +02:00
Sven Baars 94d61d1b28 wow64win: Always use NtUserSetWindowLongPtr() for GWLP_HINSTANCE and GWLP_WNDPROC. 2023-07-13 23:42:46 +02:00
Jinoh Kang 86893ce299 ntdll: Fail loudly if RtlActivateActivationContextEx fails to allocate memory.
Many built-in callers of ActivateActCtx() just assume that it will
always succeed.  If it ever fails, then DeactivateActCtx() will notice
that the cookie is invalid and raise an exception anyway.
2023-07-13 23:42:46 +02:00
Giovanni Mascellani e77a9eda74 dxgi: Wait before acquiring the Vulkan queue for presenting.
The reason is explained in upstream commit
b2a1f6b5e4f59fbc7f91ada7e565639dcf4e8e7f, which also applies
to earlier vkd3d versions.
2023-07-13 23:42:46 +02:00
Giovanni Mascellani 23a1642673 dxgi: Acquire and release the Vulkan queue inside d3d12_swapchain_queue_present(). 2023-07-13 23:42:46 +02:00
Giovanni Mascellani 3dad51fba8 dxgi: Do not allow vkd3d_acquire_vk_queue() to fail.
The implementation even asserts its return value.
2023-07-13 23:42:46 +02:00
Giovanni Mascellani 060e9f7694 dxgi: Remove the worker event, which is now useless. 2023-07-13 23:42:46 +02:00
Giovanni Mascellani 287c6fe928 dxgi: Move buffer resizing to the worker thread. 2023-07-13 23:42:46 +02:00
Giovanni Mascellani 8cc427978f dxgi: Move presentation to the worker thread.
The main thread still waits for the worker thread, in order to keep
buffer resizing synchronized with presentation. As soon as buffer
presentation is offloaded to the worker thread too the wait can be
dropped.
2023-07-13 23:42:46 +02:00
Giovanni Mascellani f07859d75b dxgi: Introduce a worker thread for the D3D12 swapchain.
In the following commits the worker thread will be used for actual
presenting and buffer resizing. In this way the worker thread can
wait on the vkd3d queue without blocking or even deadlocking the
application.
2023-07-13 23:42:46 +02:00
Hans Lehnert b5dcfdad5f wininet: Handle http headers correctly when length is 0.
In HttpSendRequestW and HttpSendRequestExW, if the header pointer is not
null but the length parameter is 0, the header length should be derived
from the string length instead.

In HttpSendRequestA and HttpSendRequestExA, on the same scenario, the
function should fail instead.
2023-07-13 23:42:46 +02:00
Alexandre Julliard 96edde17d0 configure: Always disable winegstreamer if gst/gst.h is broken. 2023-07-13 23:42:42 +02:00
Alexandre Julliard 2436da5cef include: Add some new information classes. 2023-07-13 18:41:13 +02:00
Alexandre Julliard 962622e67d inetmib1: Use nameless unions/structs. 2023-07-13 11:58:25 +02:00
Alexandre Julliard ed412aeb81 inetcpl.cpl: Use nameless unions/structs. 2023-07-13 11:58:05 +02:00
Alexandre Julliard 6431b9584b inetcomm: Use nameless unions/structs. 2023-07-13 11:57:54 +02:00
Alexandre Julliard c48816400b ieframe: Use nameless unions/structs. 2023-07-13 11:57:35 +02:00
Alexandre Julliard a40b2139f7 hhctrl.ocx: Use nameless unions/structs. 2023-07-13 11:57:18 +02:00
Alexandre Julliard 313e4d0efc gdiplus: Use nameless unions/structs. 2023-07-13 11:57:07 +02:00
Alexandre Julliard 36bb34fd7e fusion: Use nameless unions/structs. 2023-07-13 11:56:55 +02:00
Alexandre Julliard 1e00844195 explorerframe: Use nameless unions/structs. 2023-07-13 11:56:43 +02:00
Alexandre Julliard 4ca6d95a88 ddrawex: Use nameless unions/structs. 2023-07-13 11:56:26 +02:00
Alexandre Julliard 5eab460c8b ddraw: Use nameless unions/structs. 2023-07-13 11:56:15 +02:00
Alexandre Julliard 2aab642849 d3drm: Use nameless unions/structs. 2023-07-13 11:55:55 +02:00
Connor McAdams a42f5f1970 combase: Use correct destination context in CoUnmarshalInterface when using the standard marshaler.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54609
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-07-13 11:51:47 +02:00
Connor McAdams b87c502a4f ole32/tests: Extend test_marshal_channel_buffer() test to include IRpcProxyBufferWrapper checks.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-07-13 11:51:47 +02:00
Eric Pouech 10aaff9245 conhost: Fix ctrl-c handling.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55197
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-07-13 11:51:41 +02:00
Maxim Karasev cb33d402bb include: Add missing Kerberos related defines. 2023-07-12 21:54:56 +02:00
Maxim Karasev cecd031308 include: Update _SECURITY_INTEGER.
In Windows it works that way.
2023-07-12 21:54:54 +02:00
Maxim Karasev 062cf6e2f1 include: Add UNICODE_NULL. 2023-07-12 21:54:49 +02:00
Victor Chiletto 8f663f3d5e msvcrt: Use GetLocaleInfoEx to compare locale info.
GetLocaleInfoA doesn't return the proper sname for neutral LCIDs.
2023-07-12 21:51:20 +02:00
Victor Chiletto ec7816a42a msvcrt: Remap synonyms to snames.
Gives us more control over what we map to which is required due to changes in Chinese locales.
2023-07-12 21:51:18 +02:00
Victor Chiletto d71e939498 msvcrt: Simplify set_lc_locale_name. 2023-07-12 21:51:18 +02:00
Victor Chiletto 72c3b8f3a0 msvcrt: Skip exhaustive locale search with valid snames. 2023-07-12 21:51:18 +02:00
Victor Chiletto 45dd09d0cf msvcrt: Convert locale_to_LCID to snames. 2023-07-12 21:51:18 +02:00
Victor Chiletto 24a2b62554 msvcrt: Use snames instead of LCIDs in create_locinfo. 2023-07-12 21:51:18 +02:00
Victor Chiletto 969e3626bb msvcr120/tests: Check ___lc_locale_name_func with neutral Chinese locales. 2023-07-12 21:51:18 +02:00
Victor Chiletto fbbe8e26be msvcr110/tests: Add tests for new setlocale behaviors.
A bunch of locales had changes >= msvcr 110.
2023-07-12 21:51:15 +02:00
Alexandre Julliard ac6a2f2c19 gitlab: Install the gstreamer packages from deb-multimedia.org.
The standard bookworm packages don't support multilib.
2023-07-12 19:01:13 +02:00