Commit graph

167305 commits

Author SHA1 Message Date
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
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