Commit graph

165727 commits

Author SHA1 Message Date
Francois Gouget c7e6f208d6 winex11.drv: Add a trailing linefeed to a WARN() message. 2023-07-27 13:12:06 +09:00
Francois Gouget 2f57803114 ntdll/tests: Fix the NtSetInformationFile() test on Windows 10 <= 1709.
It does not support FileDispositionInformationEx and returns various
error codes.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55331
2023-07-27 13:12:06 +09:00
Rémi Bernon 4151acb4e8 dinput: Unacquire only DISCL_FOREGROUND devices on foreground changes.
Fixes broken input in Final Fantasy XIII after main window focus loss.
2023-07-27 13:12:06 +09:00
Victor Chiletto fd2ddf8f2a msvcrt: Remove uses of wcsncpy from locale_to_sname. 2023-07-27 13:12:06 +09:00
Victor Chiletto 46596db7ed msvcrt: Fix memory leak in create_locinfo. 2023-07-27 13:12:06 +09:00
Victor Chiletto 85317b51cb msvcrt: Remove unused struct locale_search_t member. 2023-07-27 13:12:06 +09:00
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