Commit graph

165821 commits

Author SHA1 Message Date
Fabian Maurer
36c3a51d6a gdiplus: Prevent infinite loops due to floating point inaccuracy.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52492
2023-07-27 13:12:06 +09:00
Jeff Smith
57f692aef5 windowscodecs: Handle PNG histogram (hIST) chunk type. 2023-07-27 13:12:06 +09:00
Jeff Smith
36e5836e5d windowscodecs: PROPVARIANT fields should use CoTaskMem allocation. 2023-07-27 13:12:06 +09:00
Paul Gofman
c77642ec52 ntdll: Match Windows used block filling.
Test rewritten by Rémi Bernon.
2023-07-27 13:12:06 +09:00
Rémi Bernon
0c9e8e655b winegstreamer: Use a fixed size type for wg_sample data pointer. 2023-07-27 13:12:06 +09:00
Zebediah Figura
7c814a3e01 wined3d: Move struct wined3d_gl_info to struct wined3d_adapter_gl. 2023-07-27 11:54:21 +09:00
Zebediah Figura
3624e1191d wined3d: Store the sample count in struct wined3d_d3d_info.
Read that in wined3d_swapchain_apply_sample_count_override().
2023-07-27 11:54:21 +09:00
Zebediah Figura
1cab38b6ae wined3d: Track WINED3D_GL_NORMALIZED_TEXRECT in struct wined3d_d3d_info as well. 2023-07-27 11:54:21 +09:00
Zebediah Figura
6b0984dc3f wined3d: Use the varying count from struct wined3d_d3d_info in pixel_shader_init().
These two fields are always identical.
2023-07-27 11:54:21 +09:00
Zebediah Figura
9a19e34bf8 d3d11/tests: Mark test failures specific to the Vulkan or GL renderers. 2023-07-27 11:54:21 +09:00
Zebediah Figura
c065b4fe0b wined3d: Store push constants in wined3d_buffers in struct wined3d_state.
We will need them in buffers for Vulkan, as well as for software
vertex shaders. Currently we simply store them in sysmem buffers and
read directly back out of them to load GL uniforms.

This does decrease memory usage a bit for d3d10+.
2023-07-27 11:54:21 +09:00
Zebediah Figura
5323042f7a wined3d: Add helpers to retrieve shader constants from a wined3d_stateblock. 2023-07-27 11:54:21 +09:00
Zebediah Figura
31eacea31a wined3d: Remove states not used by d3d10+ from wined3d_device_context_set_state(). 2023-07-27 11:54:21 +09:00
Zebediah Figura
a10540753c wined3d: Move wined3d_device_apply_stateblock() to stateblock.c.
All other code touching stateblocks is in stateblock.c; this is a more intuitive
and modular place for it. This may merit renaming the function, but should be a
subsequent commit.
2023-07-27 11:54:21 +09:00
Piotr Caban
94812b1265 userenv: Fix setting ALLUSERSPROFILE and ProgramData in CreateEnvironmentBlock.
This syncs the code with dlls/ntdll/unix/env.c add_registry_environment.
It fixes ALLUSERSPROFILE and ProgramData environment variables value
in services.
2023-07-27 11:54:21 +09:00
Jacek Caban
9b400f3f3e win32u: Use user message packing for WM_WINDOWPOSCHANGING and WM_WINDOWPOSCHANGED. 2023-07-27 11:54:03 +09:00
Jacek Caban
f231c7bed0 win32u: Use user message packing for WM_COMPAREITEM. 2023-07-27 11:54:03 +09:00
Jacek Caban
7f4ffc7c10 win32u: Use user message packing for WM_DELETEITEM. 2023-07-27 11:54:03 +09:00
Jacek Caban
58dece677f win32u: Use user message packing for WM_MEASUREITEM. 2023-07-27 11:54:03 +09:00
Jacek Caban
0be2078531 win32u: Use user message packing for WM_DRAWITEM. 2023-07-27 11:54:03 +09:00
Jacek Caban
f104be399b win32u: Use user message packing for WM_GETMINMAXINFO. 2023-07-27 11:54:03 +09:00
Jacek Caban
4777bd62ae win32u: Use user message packing for messages passing string. 2023-07-27 11:54:03 +09:00
Jacek Caban
78a4bad8c5 win32u/tests: Fully initialize lparam_buffer before each test. 2023-07-27 11:54:03 +09:00
Jacek Caban
271feee4ba win32u: Use user message packing for WM_GETTEXT and WM_ASKCBFORMATNAME. 2023-07-27 11:54:03 +09:00
Alistair Leslie-Hughes
61d51b69d0 mmsystem.dll16: Remove DECLSPEC_HIDDEN usage. 2023-07-27 11:54:03 +09:00
Alistair Leslie-Hughes
9095854e1a krnl386.exe16: Remove DECLSPEC_HIDDEN usage. 2023-07-27 11:54:03 +09:00
Alistair Leslie-Hughes
3b6bf90ae0 user.exe16: Remove DECLSPEC_HIDDEN usage. 2023-07-27 11:54:03 +09:00
Paul Gofman
7b243afc63 nsiproxy.sys: Detect wireless interface type on Linux. 2023-07-27 11:54:03 +09:00
Davide Beatrici
ad3a0b767f winepulse: Remove GetAudioSessionWrapper. 2023-07-27 11:47:38 +09:00
Davide Beatrici
b0d1625300 wineoss: Remove GetAudioSessionWrapper. 2023-07-27 11:47:38 +09:00
Davide Beatrici
e1eb454904 winecoreaudio: Remove GetAudioSessionWrapper. 2023-07-27 11:47:37 +09:00
Davide Beatrici
41e4506996 winealsa: Remove GetAudioSessionWrapper. 2023-07-27 11:47:37 +09:00
Davide Beatrici
b26bad578a mmdevapi: Implement AudioClient_Create. 2023-07-27 11:47:34 +09:00
Davide Beatrici
55b6cded64 mmdevapi: Introduce wine_unix_call helper. 2023-07-27 11:47:34 +09:00
Davide Beatrici
a5e3e5efa0 mmdevapi: Import get_device_name_from_guid() from driver. 2023-07-27 11:47:34 +09:00
Davide Beatrici
dd6807b408 winepulse: Export get_device_name_from_guid(). 2023-07-27 11:47:34 +09:00
Davide Beatrici
10075a9e92 wineoss: Export get_device_name_from_guid(). 2023-07-27 11:47:33 +09:00
Davide Beatrici
5a0d3fc31d winecoreaudio: Export get_device_name_from_guid(). 2023-07-27 11:47:33 +09:00
Davide Beatrici
fbb03f929b winealsa: Export get_device_name_from_guid(). 2023-07-27 11:47:30 +09:00
Georg Lehmann
b5e19a33c9 winevulkan: Update to VK spec version 1.3.259. 2023-07-24 22:52:22 +02:00
Aurimas Fišeras
330ef7a10b po: Update Lithuanian translation. 2023-07-24 22:52:22 +02:00
Zebediah Figura
3d02e9870a httpapi/tests: Do not test that a local TCP port is closed.
I suspect the intent of this test was to verify that httpapi really doesn't bind
to that port. That HttpAddUrlToUrlGroup() fails implies this, but paranoia in a
case like this is rarely unwarranted.

However, this test cannot reliably succeed; some other operating system
component may open a TCP port in the meantime, and it appears that on Windows 10
this does in fact happen.

Since the goal of the test is just extra paranoia, I don't think it's worth
keeping.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55127
2023-07-24 22:52:22 +02:00
Zebediah Figura
01afb21bf2 ws2_32: Move the event reset in WSAEnumNetworkEvents() to the server.
So that it is done atomically with retrieving events.

Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=52474
2023-07-24 22:51:06 +02:00
Zebediah Figura
0a33ac4a53 server: Move the implementation of IOCTL_AFD_GET_EVENTS to a dedicated server call. 2023-07-24 22:51:00 +02:00
Zebediah Figura
8ab7120bad ws2_32/tests: Execute test_iocp() near the end.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54413
2023-07-24 22:49:40 +02:00
Zebediah Figura
ca02b8e4bc ws2_32/tests: Use closesocket(), not close(). 2023-07-24 22:49:40 +02:00
Zebediah Figura
5dc0b0ef88 ws2_32/tests: Update test_write_watch() for Windows 11.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54546
2023-07-24 22:49:40 +02:00
Zebediah Figura
9a43d51e06 ws2_32/tests: Give an event test marked todo a bit more time to fail on Wine.
We are testing that FD_CLOSE isn't generated, but Wine currently generates
FD_CLOSE anyway. However, sometimes Wine does not generate FD_CLOSE immediately,
causing the test to intermittently succeed inside the todo block.

This test is difficult to fix properly—it would involve either (arbitrary?)
buffering in the server, or support from the host OS.

However, we also don't want to make the Windows tests take longer, so add the
200 ms of leeway only on Wine.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54073
2023-07-24 22:49:40 +02:00
Zebediah Figura
f523609219 ws2_32/tests: Increase the timeout on some FD_CLOSE tests.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54073
2023-07-24 22:48:42 +02:00
Fabian Maurer
7da5dff88c gdiplus: Make flatten_bezier_add iterative. 2023-07-24 22:30:38 +02:00