Commit graph

166718 commits

Author SHA1 Message Date
Zhiyi Zhang
109d15ab35 user32: Map WM_CHAR wparam in ASCII to Unicode in IsDialogMessageA() for CJK locales.
Fix displaying Chinese characters as "??" in some applications with Chinese locale.
2023-09-14 11:18:48 +02:00
Zhiyi Zhang
fe594a83d4 user32/tests: Test IsDialogMessageA() converting ASCII WM_CHAR messages. 2023-09-14 11:18:48 +02:00
Zebediah Figura
b3212327c7 wined3d: Do not set last_was_pshader from the GLSL fragment pipe.
It's only used by the arbfp, nvts, and ffp pipes.
2023-09-14 11:16:00 +02:00
Zebediah Figura
dc2f353884 wined3d: Remove the unused "current_vprogram_id" field from struct shader_arb_priv.
This has been unused since 1bd56b6ca5.
2023-09-14 11:15:58 +02:00
Zebediah Figura
95197f62a0 wined3d: Remove the unused "current_fprogram_id" field from struct shader_arb_priv.
This has been unused since 1bd56b6ca5.
2023-09-14 11:15:57 +02:00
Zebediah Figura
0c4bb26639 wined3d: Remove WINED3D_TEXTURE_NORMALIZED_COORDS.
This is no longer used. It was previously used in two places to perform
an open-coded wined3d_context_gl_draw_textured_quad(), but the latter checks
wined3d_texture_gl.target instead, which is set to GL_TEXTURE_2D or
GL_TEXTURE_RECTANGLE_ARB under the exact same conditions, making this flag
redundant even at the time.

The two uses were removed in 012f9b03f8 [which changed the relevant code to use
wined3d_context_gl_draw_textured_quad() instead], and cdacbd985 [which removed
the relevant code entirely.]
2023-09-14 11:15:55 +02:00
Zebediah Figura
37a60f580c wined3d: Remove the unused "sampler" local variable from wined3d_context_vk_load_shader_resources().
This was made unused by a42808b54a.
2023-09-14 11:15:53 +02:00
Zebediah Figura
85c89bd864 wined3d: Do not use EXT_transform_feedback if transformFeedback is not actually supported. 2023-09-14 11:15:38 +02:00
Zebediah Figura
067c8acd95 wined3d: Do not use EXT_host_query_reset if hostQueryReset is not actually supported. 2023-09-14 11:15:38 +02:00
Zebediah Figura
c87786b30e wined3d: Allow creating a feature level < 10 device if KHR_shader_draw_parameters is missing.
vkd3d-shader only needs it for SV_VertexID and SV_InstanceID, which are specific
to shader model 4 and higher.
2023-09-14 11:15:36 +02:00
Zebediah Figura
f959068788 wined3d: Enable shaderDrawParameters on Vulkan 1.1 if supported.
This fixes a validation error:

[ VUID-VkShaderModuleCreateInfo-pCode-01091 ] Object 0: handle = 0x7fbdb300, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xa7bb8db6 | vkCreateShaderModule(): The SPIR-V Capability (DrawParameters) was declared, but none of the requirements were met to use it. The Vulkan spec states: If pCode declares any of the capabilities listed in the SPIR-V Environment appendix, one of the corresponding requirements must be satisfied (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkShaderModuleCreateInfo-pCode-01091)
2023-09-14 11:15:31 +02:00
Alistair Leslie-Hughes
cfae1ceb04 d3drm: Correct D3DRMIMAGE validation. 2023-09-14 11:15:01 +02:00
Hans Leidekker
e85cab70ea winscard/tests: Skip tests when SCardListReadersA() returns an empty list. 2023-09-14 11:14:42 +02:00
Hans Leidekker
417dc2b40e wpcap/tests: Accept another return value from pcap_can_set_rfmon(). 2023-09-14 11:14:35 +02:00
Gabriel Ivăncescu
e6c2395fd4 mshtml: Traverse and unlink LinkElements using the dispex.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-09-14 11:14:03 +02:00
Gabriel Ivăncescu
d47279b5b6 mshtml: Traverse and unlink ButtonElements using the dispex.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-09-14 11:14:03 +02:00
Gabriel Ivăncescu
e5afc6886a mshtml: Traverse and unlink InputElements using the dispex.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-09-14 11:14:03 +02:00
Gabriel Ivăncescu
a9e5a23311 mshtml: Traverse and unlink ImageElements using the dispex.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-09-14 11:14:03 +02:00
Gabriel Ivăncescu
9d10b6399e mshtml: Traverse and unlink IFrames using the dispex.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-09-14 11:14:03 +02:00
Gabriel Ivăncescu
015cfd9ec6 mshtml: Traverse and unlink FrameElements using the dispex.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-09-14 11:14:03 +02:00
Gabriel Ivăncescu
35aeccf3b1 mshtml: Traverse and unlink FormElements using the dispex.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-09-14 11:14:03 +02:00
Gabriel Ivăncescu
87a06268fc mshtml: Traverse and unlink BodyElements using the dispex.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-09-14 11:14:03 +02:00
Gabriel Ivăncescu
20d8e72c65 mshtml: Traverse and unlink AreaElements using the dispex.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-09-14 11:14:03 +02:00
Gabriel Ivăncescu
36d923e20e mshtml: Traverse and unlink AnchorElements using the dispex.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-09-14 11:14:03 +02:00
Stefan Dösinger
b059052ece d3d9/tests: Mark hidden window WM_WINDOWPOSCHANGED tests unconditionally flaky.
kwin resizes hidden windows most of the time. I see the existing flaky
markers triggered on Windows 11 occasionally.
2023-09-14 11:13:50 +02:00
Stefan Dösinger
48a4f670d1 d3d8/tests: Mark the hidden test WM_WINDOWPOSCHANGED test flaky. 2023-09-14 11:13:50 +02:00
Stefan Dösinger
b14d7f2fa8 d3d9/tests: Fix skipping ATI2N in test_resource_access. 2023-09-14 11:13:36 +02:00
Stefan Dösinger
7bbf29644c d3d8/tests: Fix skipping ATI2N in test_resource_access. 2023-09-14 11:13:36 +02:00
Stefan Dösinger
ac85fa8d0f d3d9/tests: Request a 3 mip level cube texture in test_getdc().
If we let d3d9 decide we get a single-level texture on HW that does not
support mipmapped cubes, e.g. r200 GPUs. By explicitly requesting the 3
levels we need we'll skip the test.

The test demonstrates that only one subresource can be locked / have a
DC, so it makes sense to show that this applies to the whole texture and
not just one level.
2023-09-14 11:13:33 +02:00
Stefan Dösinger
b3e98cadfa d3d8/tests: Zero stride tests crash on Windows XP, r200 GPU. 2023-09-14 11:13:33 +02:00
Stefan Dösinger
da264c4d00 d3d9/tests: Zero stride tests crash on Windows XP, r200 GPU. 2023-09-14 11:13:33 +02:00
Arkadiusz Hiler
0b7b6d1050 dsound: Get rid of DSOUND_capturers and related lock.
Ever since dcaeb6b4fd ("dsound: Allow multiple buffers to capture from
the same device.") it's not used for anything.
2023-09-14 11:12:59 +02:00
Brendan Shanks
c95ec7236c winspool.drv: Ensure unixlib function tables and enum stay in sync. 2023-09-14 11:12:43 +02:00
Brendan Shanks
e8ea81cf7a dwrite: Ensure unixlib function tables and enum stay in sync. 2023-09-14 11:12:36 +02:00
Brendan Shanks
40051cfa5b winegstreamer: Ensure unixlib function tables and enum stay in sync. 2023-09-14 11:12:29 +02:00
Brendan Shanks
2fd33f6ce1 bcrypt: Ensure unixlib function tables and enum stay in sync. 2023-09-14 11:12:16 +02:00
Brendan Shanks
9492913dee ws2_32: Ensure unixlib function tables and enum stay in sync. 2023-09-14 11:12:05 +02:00
Brendan Shanks
798eff6a0e msv1_0: Ensure unixlib function tables and enum stay in sync. 2023-09-14 11:12:00 +02:00
Brendan Shanks
495e1a0c5b crypt32: Ensure unixlib function tables and enum stay in sync. 2023-09-14 11:11:55 +02:00
Rémi Bernon
aeea45946a dmime: Use PARENTSRC with dmusic. 2023-09-14 11:11:47 +02:00
Rémi Bernon
d6f049e8a5 dmscript: Use PARENTSRC with dmusic. 2023-09-14 11:11:46 +02:00
Rémi Bernon
f49b5ca85e dmscript: Use CRT allocation functions. 2023-09-14 11:11:46 +02:00
Rémi Bernon
b02b32f9b7 dmscript: Always return S_FALSE from DllCanUnloadNow. 2023-09-14 11:11:46 +02:00
Rémi Bernon
da8a8bbf9a dmloader: Use PARENTSRC with dmusic. 2023-09-14 11:11:46 +02:00
Rémi Bernon
307b13bcf5 dmloader: Use CRT allocation functions. 2023-09-14 11:11:46 +02:00
Rémi Bernon
30e5892c98 dmloader: Always return S_FALSE from DllCanUnloadNow. 2023-09-14 11:11:45 +02:00
Rémi Bernon
6798b73452 dmcompos: Use PARENTSRC with dmusic. 2023-09-14 11:11:45 +02:00
Rémi Bernon
8a02434cf0 dmcompos: Use CRT allocation functions. 2023-09-14 11:11:45 +02:00
Rémi Bernon
7d94983c73 dmcompos: Always return S_FALSE from DllCanUnloadNow. 2023-09-14 11:11:42 +02:00
Jacek Caban
81c05589af shell32: Use a signed value to assign single signed bitfields values. 2023-09-13 22:07:19 +02:00