Commit graph

167040 commits

Author SHA1 Message Date
Rémi Bernon 3400e41d5c dmime/tests: Test performance Init with a created port.
Final Fantasy VIII does this, more or less, and needs Init to succeed.
2023-09-28 23:21:44 +02:00
Rémi Bernon de27d59a8a dmime/tests: Move performance tests into dmime.c. 2023-09-28 23:21:43 +02:00
Rémi Bernon ed2eebf2f5 dmime/tests: Remove some duplicated tests.
These are now more extensively tested in dmime/tests/dmime.c.
2023-09-28 23:21:41 +02:00
Alex Henrie 25f3ba3e06 include: Correct conflicting definition of PSECURITY_DESCRIPTOR.
In the Windows SDK, PSECURITY_DESCRIPTOR is void* and
PISECURITY_DESCRIPTOR is SECURITY_DESCRIPTOR*. PSECURITY_DESCRIPTOR is
defined in winnt.h and PISECURITY_DESCRIPTOR is defined in
wbasetypes.idl.
2023-09-28 22:35:41 +02:00
Alex Henrie 0369223f73 include: Correct conflicting definition of PSID.
In the Windows SDK, PSID is void* and PISID is SID*. Both types are
defined in both winnt.h and wtypesbase.idl.
2023-09-28 22:35:41 +02:00
Francois Gouget 65261f3c80 tests: Update the documentation. 2023-09-28 22:35:41 +02:00
Hans Leidekker ed71abd1cc secur32: Only return success from initialize_package() when initialization fully succeeds.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55522
2023-09-28 22:35:41 +02:00
Martin Storsjö 65a6019df9 include: Update the d3d12 header from vkd3d.
This corresponds to vkd3d as of commit
acd3ed97dc8e1ac192b2ec6fc19596831a6b61c6.

The cpp_quoted #include directive is fixed up to match the file
naming outside of vkd3d, renaming the reference to
vkd3d_d3d12sdklayers.h back to d3d12sdklayers.h.

This matches other renamings that are done at the start of the
file for vkd3d renamed idl files as well.

Signed-off-by: Martin Storsjö <martin@martin.st>
2023-09-28 22:35:41 +02:00
Alexandre Julliard 9b60b671da ntdll: Don't release the low address space reservation on wow64. 2023-09-28 22:35:41 +02:00
Alexandre Julliard a81c53504a ntdll: Release the low address space reservation for 64-bit apps. 2023-09-28 22:35:41 +02:00
Paul Gofman 416a273241 winegstreamer: Also return output with 2 channels for multichannel inputs from AAC decoder. 2023-09-27 22:23:12 +02:00
Paul Gofman bb95f8c2f6 winegstreamer: Validate maximum channel count in _SetInputType in AAC decoder. 2023-09-27 22:23:12 +02:00
Paul Gofman 902133b008 winegstreamer: Correct output available types attrs in AAC decoder for channel count > 2. 2023-09-27 22:23:12 +02:00
Paul Gofman 5b0172e161 winegstreamer: Handle missing or zero channel count in _GetOutputAvailableType in AAC decoder. 2023-09-27 22:23:12 +02:00
Paul Gofman 3432ef30c3 mf/tests: Add tests for AAC decoder with different input number of channels. 2023-09-27 22:23:12 +02:00
Alexandros Frantzis d7ec8fb6a3 winewayland.drv: Fix removal of wl_seat globals.
Store and compare against the wl_seat global id (aka name) during
global_remove, since the global id is distinct from the wl_proxy id
which we were previously checking.
2023-09-27 22:16:48 +02:00
Alexandros Frantzis 24a6f36784 winewayland.drv: Handle client-initiated user-driven window resize.
When we are notified by Wine core that the user wants to interactively
resize the window, forward the request to compositor, so it can take
over and resize the window according to user input.

In the process of the interactive resize we receive a stream of
xdg_toplevel configure events informing us about the updated window
sizes.
2023-09-27 22:16:48 +02:00
Alexandros Frantzis ddc4cfe238 winewayland.drv: Handle client-initiated user-driven window move.
When we are notified by Wine core that the user wants to interactively
move the window, forward the request to compositor, so it can take over
and move the window according to user input.

Note that the move does *not* affect the position of the window in the
Wine virtual screen space.
2023-09-27 22:16:48 +02:00
Alexandros Frantzis 36ecb876db winewayland.drv: Handle xdg_toplevel maximized state.
A request for the maximized state has two potential origins:

1. The compositor, through an xdg_toplevel configure event. In this case
   we update the window state and size accordingly.

2. The application or Wine itself, by changing the window style. When
   we detect such a style, we make a request to the compositor to set
   the maximized state. The compositor will then eventually reply with
   a configure event, and we continue with case (1). Note that the
   compositor may deny our request, in which case we will also sync
   the window style accordingly.

An acknowledged maximized state imposes very strict constraints on the
size of surface content we can present. We are careful to not violate
these constraints, since otherwise the compositor will disconnect us.
2023-09-27 22:16:48 +02:00
Alexandros Frantzis 6e903b7924 winewayland.drv: Handle xdg_toplevel configure event size hint.
Use the size hint provided by the compositor to resize the window
associated with a Wayland toplevel surface.

A surface config moves through the following stages (each stage may hold
a different event):

1. Pending: In the process of being populated from separate Wayland
   events.

2. Requested: A fully formed config which hasn't been handled yet. A new
   finalized Pending event will always be promoted to a Requested event
   (so we will skip previous events if new ones arrive quickly enough).

3. Processing: A config that is being processed. When processing is
   done, we mark it with `wayland_surface_config.processed = TRUE`.

4. Current: The config has been acknowledged, i.e., we are promising to
   respect any implied content constraints.
2023-09-27 22:16:48 +02:00
Alexandros Frantzis 76eecdb205 winewayland.drv: Handle xdg_toplevel close event. 2023-09-27 22:16:48 +02:00
Alexandros Frantzis e0a5f35649 winewayland.drv: Remove wayland_surface destruction double locking.
Ignoring the possibility of HWND recycling allows us to use a simpler
scheme to ensure valid access to the wayland_surface associated with an
xdg_surface during event handling. The scheme involves setting HWND as
the xdg_surface user data and using that to get to the wayland_surface.

The prerequisite for this code to be correct is that the wayland surface
destruction for a HWND must be performed under the wayland_win_data
mutex.
2023-09-27 22:16:48 +02:00
Alistair Leslie-Hughes 8fa02bf086 msado15: Update editMode in AddNew/Cancel/Update functions. 2023-09-27 22:16:48 +02:00
Alistair Leslie-Hughes 5bfd2fc19c msado15: _Recordset::Open store active connection parameter. 2023-09-27 22:16:48 +02:00
Alistair Leslie-Hughes a1610861ff msado15: Implement _Recordset::get_ActiveConnection. 2023-09-27 22:16:48 +02:00
Joel Holdsworth e06780c3a7 ntdll/tests: Skip FileLinkInformationEx tests on older Windows versions.
Test failures were introduced in 67479f8c2f, and affect Windows 10
1607 and older.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55631
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2023-09-27 22:16:45 +02:00
Joel Holdsworth b19b9a35ce ntdll/tests: Skip FileRenameInformationEx tests on older Windows versions.
Test failures were introduced in 67479f8c2f, and affect Windows 10
1607 and older.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55631
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2023-09-27 22:16:34 +02:00
Esme Povirk ef837dbceb user32/tests: Use open_clipboard helper in msg tests. 2023-09-27 21:47:40 +02:00
Zhiyi Zhang 8d5d413697 user32: Enable IsDialogMessageA() ASCII to Unicode mapping only when the user default lang ID is CJK.
Using GetSystemMetrics(SM_DBCSENABLED) may incorrectly enable ASCII to Unicode mapping in mixed
locale environments. For example, when UserDefaultLCID is French(040c) but SystemDefaultLCID is
Japanese(0411).

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55655
2023-09-27 21:47:40 +02:00
Zhiyi Zhang b000b65937 user32/tests: Fix test failures in Hindi UTF-8 and mixed locales.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55656
2023-09-27 21:47:40 +02:00
Hans Leidekker c3937d954f systeminfo: Add an implementation on top of WMI. 2023-09-27 21:47:40 +02:00
Hans Leidekker 917d6afa69 wbemprox: Implement Win32_OperatingSystem.InstallDate. 2023-09-27 21:47:40 +02:00
Hans Leidekker ef14808c93 wbemprox: Fix Win32_OperatingSystem.TotalVirtual/VisibleMemorySize. 2023-09-27 21:44:06 +02:00
Hans Leidekker 97114ac884 wbemprox: Get Win32_OperatingSystem.BuildType from the registry. 2023-09-27 21:44:06 +02:00
Nikolay Sivov 985bb4263e d3d10/tests: Test for correct return value.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-09-27 21:43:03 +02:00
Alistair Leslie-Hughes cef39a24ee d3dx9: Trace pointer value in D3DXValidMesh(). 2023-09-27 21:42:52 +02:00
Alex Henrie 0d7cf84709 include: Move RTL functions that belong in ntddk.h from winternl.h to ntddk.h. 2023-09-27 11:17:47 +02:00
Biswapriyo Nath 6786d38aa2 include: Add some structures in d3d12video.idl. 2023-09-27 11:17:08 +02:00
Zebediah Figura a2c552f723 wined3d: Move struct wined3d_stateblock into stateblock.c. 2023-09-26 21:35:56 +02:00
Zebediah Figura fb0c4ec5a3 wined3d: Make wined3d_stateblock_state_{init,cleanup}() static. 2023-09-26 21:35:56 +02:00
Zebediah Figura 7bb6dc7b83 wined3d: Remove invalid parameter checks from internal wined3d_device_set_*() functions. 2023-09-26 21:35:55 +02:00
Akihiro Sagawa ae8b7109f0 cmd: Always outputs leading zeros when listing file time information. 2023-09-26 21:35:21 +02:00
Akihiro Sagawa 2188e11e78 cmd/tests: Test file time stamp format. 2023-09-26 21:35:21 +02:00
Akihiro Sagawa 6800ab403e cmd/tests: Add dir built-in command test. 2023-09-26 21:35:21 +02:00
Brendan Shanks 6d366ce7b4 msv1_0: Implement ntlm_fork() using posix_spawn(). 2023-09-26 21:22:49 +02:00
Bartosz Kosiorek d18fd2c194 gdiplus/tests: Add tests of InterpolationMode Bilinear for GdipDrawImagePointsRect. 2023-09-26 21:21:25 +02:00
Andrew Brobston 54b875c08e d2d1: Support GUID_WICPixelFormat32bppRGB.
Needed by PowerFritz 18.
2023-09-26 21:20:06 +02:00
Nikolay Sivov 167ad1ee7b d3dcompiler: Add support for matrix majority compiler flags.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55182
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-09-26 21:19:50 +02:00
Yuxuan Shui 34319496d8 rtworkq: Fix leak of thread pool work items. 2023-09-26 21:19:43 +02:00
Biswapriyo Nath 20f88c831e include: Add ID3D12VideoEncodeCommandList2 in d3d12video.idl. 2023-09-26 21:19:29 +02:00