Commit graph

167294 commits

Author SHA1 Message Date
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
Rémi Bernon edad780922 dmime: Implement IDirectMusicTrack_Play for the wave track.
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
Rémi Bernon 4a7a8a7ecc dmime: Implement GUID_(Download|Unload)FromAudioPath for wave track.
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
Rémi Bernon 7bbd4be52a dmime: Create a wave track when loading a segment from a .wav.
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
Rémi Bernon 15c4c02eeb dmusic: Split wave entry points to dmusic_wave.h. 2023-10-11 22:16:58 +02:00
Rémi Bernon 6c1bf1f3a9 dmime: Include dmobject.h in dmime_private.h. 2023-10-11 22:16:58 +02:00
Rémi Bernon 51c664b227 dmime: Get rid of the IDirectMusicWaveTrack typedef.
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:16:58 +02:00
Rémi Bernon 2581e0b3ea server: Send WM_WINE_SETCURSOR with the thread input cursor handle.
Which may be different from the last desktop cursor handle.

This makes the behavior better match the old winex11 behavior, which queried
the current thread input cursor handle on every mouse move to sync it with X11,
although it contradicts MSDN documentation which states that the cursor handle
is global.

This fixes the X11 cursor being visible in "Deus Ex: GOTY Edition".
2023-10-11 20:30:04 +02:00
Zhiyi Zhang 70c9239cb2 winex11.drv: Set _NET_WM_FULLSCREEN_MONITORS only when necessary.
If _NET_WM_FULLSCREEN_MONITORS is set then the property needs to be updated because it can't
be deleted by sending a _NET_WM_FULLSCREEN_MONITORS client message to the root window
according to the wm-spec version 1.5. Having the window spanning more than two monitors also
needs the property set. In other cases, _NET_WM_FULLSCREEN_MONITORS doesn't need to be set.
What's more, setting _NET_WM_FULLSCREEN_MONITORS adds a constraint on Mutter so that such a
window can't be moved to another monitor by using the Shift+Super+Up/Down/Left/Right
shortcut. So the property should be added only when necessary.
2023-10-11 20:29:49 +02:00
Arkadiusz Hiler 10a0a8eabc xinput1_3: Hold module reference while the hid thread is running.
We have no means of stopping the thread from DllMain on
DLL_PROCESS_DETACH without having a race condition - waiting on the
thread itself is not an option due to the loader lock.

The best we can do is just never unload the DLL as long as the thread is
active which is forever.

This fixes crashes in Mighty Switch Force! Collection while controllers
are unplugged - the game loads and frees xinput in a loop.
2023-10-11 17:28:24 +02:00
Piotr Caban 7128a6595a wineps.drv: Use first page DEVMODE to determine number of copies and collation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55718
2023-10-11 17:28:15 +02:00
Piotr Caban 12c3579bcb gdi32: Add GdiGetDevmodeForPage implementation. 2023-10-11 17:28:15 +02:00
Piotr Caban 78acbb6fec gdi32: Add GdiGetDevmodeForPage stub. 2023-10-11 17:28:14 +02:00
Piotr Caban c2489c501d gdi32: Add GdiDeleteSpoolFileHandle stub. 2023-10-11 17:28:14 +02:00
Piotr Caban 8dfa1d66b1 gdi32: Add GdiGetSpoolFileHandle stub. 2023-10-11 17:28:13 +02:00
Piotr Caban 81fa8615eb include: Add winppi.h header. 2023-10-11 17:28:13 +02:00
Piotr Caban 25e15e9e2c gdi32: Test PlayMetaFile on METADC. 2023-10-11 17:27:40 +02:00
Piotr Caban 5e507b3e3d gdi32: Fix METADC handling in PlayMetaFile. 2023-10-11 17:27:40 +02:00
Daniel Lehman 043cc2414d msxml6/tests: Copy namespaces as attributes tests. 2023-10-11 17:27:29 +02:00
Daniel Lehman 7c94aa9d98 msxml4/tests: Copy namespaces as attributes tests. 2023-10-11 17:27:29 +02:00
Alexandre Julliard 3c0d0005f4 ntdll: Use the standard syscall calling convention for NtFlushProcessWriteBuffers. 2023-10-11 17:26:49 +02:00
Brendan Shanks 5ae7ca0b78 wow64cpu: Use RTL_CONSTANT_STRING. 2023-10-11 17:26:49 +02:00
Brendan Shanks bb2e02ab66 winemac.drv: Use ObjC literals. 2023-10-11 17:26:49 +02:00
Alex Henrie 8943fcbca4 uninstaller: Don't overallocate in FetchFromRootKey. 2023-10-10 23:15:05 +02:00
Connor McAdams 4569157b28 uiautomationcore: Use EVENT_OBJECT_DESTROY to remove HWNDs from the COM API focus change HWND map.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-10 23:15:05 +02:00
Connor McAdams a275834bdd uiautomationcore: Use EVENT_OBJECT_FOCUS to advise HWND providers of focus change events in the COM API.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-10 23:15:05 +02:00
Connor McAdams 6b972a68b8 uiautomationcore: Query EVENT_OBJECT_FOCUS HWND for a serverside provider if there is a registered focus change event handler.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-10 23:15:05 +02:00
Connor McAdams 7886e4d08b uiautomationcore/tests: Add tests for IUIAutomationFocusChangedEventHandler event advisement behavior.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-10 23:15:05 +02:00
Connor McAdams 285620b177 win32u: Fix NtUserIsCurrent{Process/Thread}Window enum typo.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-10 23:15:05 +02:00
Zebediah Figura ee7d047dd5 ddraw: Always create surfaces with WINED3D_BIND_SHADER_RESOURCE if possible. 2023-10-10 23:15:05 +02:00
Zebediah Figura 9cd6a43fef ddraw: Refactor how bind flags are computed.
Try to do it in one place instead of two.
2023-10-10 23:15:05 +02:00
Zebediah Figura 379f592cca ddraw: Do not check for DDRAW_NO3D in wined3d_resource_desc_from_ddraw().
NO3D implies SYSTEMMEMORY, and is incompatible with TEXTUREMANAGE, so this case is unreachable.
2023-10-10 23:15:05 +02:00
Nikolay Sivov e04e10b37b gdi32/tests: Add some tests for FixBrushOrgEx().
It appears to be a stub on modern systems. Does not generate EMF output either.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-10-10 23:15:05 +02:00
Nikolay Sivov 86708b36f8 gdi32/emf: Add SetBrushOrgEx() recording.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-10-10 23:15:05 +02:00
Mohamad Al-Jaf a6a9419a34 windows.security.credentials.ui.userconsentverifier/tests: Add IUserConsentVerifierStatics::CheckAvailabilityAsync() tests. 2023-10-10 23:15:05 +02:00
Mohamad Al-Jaf a8f6183030 windows.security.credentials.ui.userconsentverifier: Implement IUserConsentVerifierStatics::CheckAvailabilityAsync().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55709
2023-10-10 23:15:05 +02:00
Mohamad Al-Jaf c2d0b2fdf2 windows.security.credentials.ui.userconsentverifier: Add IUserConsentVerifierStatics stub interface. 2023-10-10 23:15:05 +02:00
Mohamad Al-Jaf d7b7114dd9 windows.security.credentials.ui.userconsentverifier: Add stub DLL. 2023-10-10 23:15:05 +02:00
Mohamad Al-Jaf 5ff9ffb368 include: Add windows.security.credentials.ui.idl file. 2023-10-10 23:15:05 +02:00
Alexandre Julliard 945883438a winebuild: Add a helper to output an asm function header. 2023-10-10 23:15:05 +02:00
Alexandre Julliard 3bb752736c include: Stop pretending to support big-endian. 2023-10-10 11:11:26 +02:00
Alexandre Julliard 6b4399e369 ws2_32: Make htonl/htons/ntohl/ntohs proper functions. 2023-10-10 11:05:28 +02:00