Commit graph

167335 commits

Author SHA1 Message Date
Alexandre Julliard 4e9f1a41b9 makefiles: Always use the global SOURCES variable for .man.in files. 2023-10-14 13:44:07 +02:00
Alexandre Julliard 9d78031de6 Release 8.18. 2023-10-13 23:00:12 +02:00
Nikolay Sivov f690784338 d3dx9: Check for tx_1_0 blob magic earlier in D3DXCreateTextureShader().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-10-13 22:49:29 +02:00
Francois Gouget 0e44c658b6 advapi32/tests: Don't check the content of the buffer if ReadEventLog() fails. 2023-10-13 18:26:10 +02:00
Francois Gouget b34ec64537 advapi32/tests: Avoid unneeded reallocations of the ReadEventLog() buffer.
Also we don't care about the content of the buffer so using
HeapRealloc() makes no sense.
2023-10-13 18:26:09 +02:00
Francois Gouget e0c3530a74 advapi32/tests: Add the read_write info to the failures context.
Otherwise it's impossible to know which iteration failed.
2023-10-13 18:26:07 +02:00
Francois Gouget e6b5afcbd8 advapi32/tests: Better identify OpenEventLogA() failures. 2023-10-13 18:26:07 +02:00
Francois Gouget e9f6ff8cd4 user32/tests: Don't test GetWindowModuleFileName() on windows belonging to another process.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55777
2023-10-13 18:25:14 +02:00
Eric Pouech 44ab120661 winedbg: Correctly read LDT entries for wow64 debuggee.
This mostly matters for Mac as segment CS is handled as a real LDT
entry.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-10-13 18:04:36 +02:00
Eric Pouech 91ba80df26 winedbg: Set first LDT entry value as ntdll does.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-10-13 18:04:36 +02:00
Rémi Bernon b831dbfc3b winex11: Forcefully unmap the clipping window when it loses focus.
Fixes cursor not being released when alt-tabbing out of an unresponsive
foreground window.
2023-10-13 18:03:52 +02:00
Alexandros Frantzis 89c36c11fd winewayland.drv: Avoid resizing fullscreen windows.
If the window is already fullscreen and its size is compatible with what
the compositor is requesting, don't force a resize, since some applications
are very insistent on a particular fullscreen size (which may not match
the monitor size).
2023-10-13 17:50:06 +02:00
Alexandros Frantzis 26c7dfb7e9 winewayland.drv: Rename wayland_surface_configure_is_compatible for consistency.
Rename the function wayland_surface_configure_is_compatible to
wayland_surface_config_is_compatible to match the associated struct name.
2023-10-13 17:50:04 +02:00
Alexandros Frantzis dfcd2d8b70 winewayland.drv: Use surface geometry to satisfy state size constraints.
The maximized and fullscreen states disallow surface contents that are
larger than the configured size. However, if we have a larger surface,
and only part of the surface contains useful client data, we can inform
the compositor using xdg_surface_set_geometry, so that only the
specified region is considered for compositor-side positioning and
state constraints.

We use the geometry to support the presentation of windows that insist
on particular positions and sizes which may not match the compositor's
requested size (e.g., fullscreen but may overshoot a few pixels outside
the monitor boundary).
2023-10-13 17:50:03 +02:00
Alexandros Frantzis ab3d6d985d winewayland.drv: Handle application-initiated fullscreen state.
Detect when an window wants to become fullscreen and request the Wayland
fullscreen state from the compositor. The fullscreen state for windows
is inferred by their size and position relative to the monitor that
contains their largest region.

Since there is no explicit fullscreen state for windows, compositor
initiated fullscreen requests may lead to a size change, but will not
directly affect other aspects of the window state.
2023-10-13 17:50:02 +02:00
Alexandros Frantzis 8f0d3ec13d winewayland.drv: Store and use the latest window config for a wayland_surface.
Instead of querying the window config for a wayland_surface on demand,
query it and store it only when it is applied through SetWindowPos. In
addition to being more efficient, this prevents deadlocks by avoiding
calling NtUser functions that require the user lock, while holding
the window_surface lock.
2023-10-13 17:50:00 +02:00
Alexandros Frantzis 52decb1ca6 winewayland.drv: Handle xdg_toplevel tiled states.
Tiled states don't place strict constraints on the surface size, but
they indicate a strong size preference, so try to respect it.
2023-10-13 17:49:59 +02:00
Alexandros Frantzis e1222ac33a winewayland.drv: Respect the compositor requested surface config.
If we are processing a config request by the compositor, consider that
config as authoritative for the window. Otherwise use the window state
to determine the new Wayland state to apply.
2023-10-13 17:49:57 +02:00
Hans Leidekker 85844ff5b4 mmdevapi/tests: Relax a capture test. 2023-10-13 17:48:25 +02:00
Hans Leidekker 23de0bff1d mmdevapi/tests: Don't initialize the audio client twice.
It leaves the client in a bad state, causing test failures on recent Windows versions.
2023-10-13 17:48:23 +02:00
Alexandre Julliard b35f00070f ntdll: Move LdrInitializeThunk to the CPU backends. 2023-10-13 15:57:03 +02:00
Francois Gouget db89311aa1 secur32/tests: Skip the tests instead of crashing if Kerberos is not supported.
This avoids a crash when Wine is compiled using --without-krb5.
This makes test_ticket_cache() more consistent with test_kerberos().
2023-10-13 09:59:49 +02:00
Brendan Shanks 8f7483d04b winemac.drv: Fix redundant calls to [NSCursor set].
Since self.cursorFrames is a copy property, its pointer value will only
equal frames when both are nil. Also return early from the function if
the array contents are equivalent.
2023-10-13 09:59:38 +02:00
Rémi Bernon a6710afc26 dmime: Translate DMUS_PMSGT_PATCH to DMUS_PMSGT_MIDI messages. 2023-10-13 09:59:24 +02:00
Rémi Bernon f74fe2e26b dmime: Translate DMUS_PMSGT_NOTE to DMUS_PMSGT_MIDI messages. 2023-10-13 09:59:24 +02:00
Rémi Bernon a4b006e723 dmime: Output DMUS_MIDI_PMSG into a music buffer on the port. 2023-10-13 09:59:24 +02:00
Rémi Bernon e3b23cb66e dmime: Implement band track IDirectMusicTrack_Play. 2023-10-13 09:59:24 +02:00
Rémi Bernon fd68076c36 dmime: Implement sequence track IDirectMusicTrack_Play. 2023-10-13 09:59:24 +02:00
Rémi Bernon b0573f9dc3 dmband: Download / unload bands when initializing / ending band track. 2023-10-13 09:59:22 +02:00
Fabian Maurer d177709b10 propsys: Implement PropVariantToUInt32WithDefault.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55713
2023-10-12 23:23:58 +02:00
Alex Henrie 9e76799266 msvcrt/tests: Add tests for wcsdup. 2023-10-12 23:17:12 +02:00
Alex Henrie 1cade77fc4 msvcrt/tests: Check errno after strdup(NULL). 2023-10-12 23:17:12 +02:00
Piotr Caban dea831a241 localspl: Truncate output file when printing to file. 2023-10-12 18:14:37 +02:00
Alexandre Julliard b6e502610a makefiles: Always use the global SOURCES variable for .in files. 2023-10-12 11:02:17 +02:00
Alexandre Julliard c047bb6ea3 makefiles: Always use the global SOURCES variable for .sfd files. 2023-10-12 10:59:29 +02:00
Alexandre Julliard 92fe7c9c9f makefiles: Always use the global SOURCES variable for .m files. 2023-10-12 10:56:03 +02:00
Alexandre Julliard bf8cb196b5 makefiles: Always use the global SOURCES variable for .po files. 2023-10-12 10:54:07 +02:00
Alexandre Julliard 64de93e300 makefiles: Always use the global SOURCES variable for .mc files. 2023-10-12 10:50:42 +02:00
Alexandre Julliard 1255764ad5 makefiles: Remove unnecessary imports of usp10.dll.
The functions are in gdi32 nowadays.
2023-10-12 10:45:23 +02:00
Alexandre Julliard 7e957a17f6 makefiles: Remove unnecessary imports of version.dll.
The functions are in kernelbase nowadays.
2023-10-12 10:34:21 +02:00
Brendan Shanks 69ceeaedf0 cfgmgr32: Add stub for CM_Get_Device_Interface_PropertyW. 2023-10-12 10:22:01 +02:00
Daniel Lehman 9373f330e5 advapi32/tests: Skip ReadEventLog on failure to open System log.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55731
2023-10-12 10:21:56 +02:00
Aurimas Fišeras 51e4ec30ed po: Update Lithuanian translation. 2023-10-12 10:20:18 +02:00
Rémi Bernon ccc5af8bf8 dmsynth: Create fluid_preset and fluid_voice from instrument. 2023-10-11 22:18:01 +02:00
Rémi Bernon 07aa6b5dcb dmsynth: Play some MIDI events in IDirectMusicSynth_Render. 2023-10-11 22:18:01 +02:00
Rémi Bernon d3b5c6bb29 dmsynth: Parse MIDI events in IDirectMusicSynth_PlayBuffer. 2023-10-11 22:18:01 +02:00
Rémi Bernon a4e933a3ab dmsynth: Guard synth members with a CS. 2023-10-11 22:18:01 +02:00
Rémi Bernon 456ba99255 dmsynth: Improve debug traces of DLS2 connections. 2023-10-11 22:18:01 +02:00
Rémi Bernon a1e8352f54 dmsynth: Fix synth download of articulations list. 2023-10-11 22:18:01 +02:00
Rémi Bernon 16f9bfd23f dmime: Play direct sound buffer from DMUS_PMSGT_WAVE message.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=9027
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=34751
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45135
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48220
2023-10-11 22:17:26 +02:00