Commit graph

167064 commits

Author SHA1 Message Date
Rémi Bernon 0d3b83c021 dmime/tests: Add some tests for GUID_ConnectToDLSCollection. 2023-09-29 21:41:25 +02:00
Alexandre Julliard d92d9bc2a9 ntdll: Don't free reserved memory on 64-bit macOS.
It's part of the zerofill section.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55674
2023-09-29 19:51:46 +02:00
Paul Gofman 4e55945467 shell32: Handle long command line in execute_from_key(). 2023-09-29 17:27:18 +02:00
Paul Gofman f1c57f06d6 shell32: Avoid stack corruption with long name in SHELL_TryAppPathW(). 2023-09-29 17:26:45 +02:00
Mohamad Al-Jaf 94e3e2d115 windows.applicationmodel/tests: Use PathRemoveFileSpecW() instead of PathCchRemoveFileSpec().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55652
2023-09-29 17:24:19 +02:00
Jactry Zeng bb8cc288a6 msxml3/tests: Add tests of ValidateOnParse property. 2023-09-29 17:24:07 +02:00
Jactry Zeng 3db3e3768b msxml3: Add ValidateOnParse support for IXMLDOMDocument3_{get,set}Property(). 2023-09-29 17:24:07 +02:00
Jactry Zeng 7995d152d7 msxml3: Store ValidateOnParse property in domdoc_properties instead. 2023-09-29 17:24:06 +02:00
Jacek Caban cdb9b60162 include: Support ARM64EC target in winnt.h. 2023-09-29 17:23:52 +02:00
Jacek Caban 71ebc22d63 include: Move __getReg intrinsic to intrin.h. 2023-09-29 17:23:51 +02:00
Jacek Caban 12c019ff84 include: Support ARM64EC target in intrin.h. 2023-09-29 17:23:51 +02:00
Rémi Bernon 086e114f05 dmusic: Implement SoundFont2 instrument parsing. 2023-09-29 17:23:10 +02:00
Rémi Bernon 215a55d603 dmusic: Implement SoundFont2 wave sample parsing. 2023-09-29 17:23:10 +02:00
Rémi Bernon b733a46ada dmusic: Implement SoundFont2 collection parsing. 2023-09-29 17:23:10 +02:00
Rémi Bernon 182338bab2 dmusic: Avoid crashing in traces if wave doesn't have a WSMPL. 2023-09-29 17:23:10 +02:00
Rémi Bernon 2a1fd9851c dmusic: Avoid leaking articulations when freeing regions. 2023-09-29 17:23:10 +02:00
Rémi Bernon 8e881787fc dmloader: Add fallbacks if the configured GMFilePath doesn't exist. 2023-09-29 17:23:10 +02:00
Rémi Bernon 49c6e57d95 dmloader: Remove invalid default DLS collection check. 2023-09-29 17:23:10 +02:00
Rémi Bernon 767c5ddbf9 dmusic/tests: Test default gm.dls sound font instruments. 2023-09-29 17:23:10 +02:00
Rémi Bernon 1ffc47b5e6 dmloader: Use a simpler file stream implementation. 2023-09-29 17:23:08 +02:00
Rémi Bernon 9e0487c4cc dmime: Return DMUS_E_AUDIOPATH_INACTIVE when audio paths are not enabled. 2023-09-28 23:21:46 +02:00
Rémi Bernon 0fb4e5ec47 dmime: Return DMUS_E_AUDIOPATHS_IN_USE when audio paths are in use. 2023-09-28 23:21:46 +02:00
Rémi Bernon 9788fb6911 dmime: Initialize performance in Init rather than InitAudio. 2023-09-28 23:21:46 +02:00
Rémi Bernon 50b09dcf11 dmime: Set the port direct sound before activating it. 2023-09-28 23:21:46 +02:00
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