Commit graph

169009 commits

Author SHA1 Message Date
Dmitry Timoshkov a9cc6f0218 oleaut32: Implement OleLoadPictureFile.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-01-22 21:37:33 +01:00
Dmitry Timoshkov 176fa9ad27 oleaut32: Factor out stream creation from OleLoadPicturePath.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-01-22 21:37:33 +01:00
Dmitry Timoshkov d451842d16 oleaut32: Do not reimplement OleLoadPicture in OleLoadPicturePath.
punkCaller is ignored by StdPicture ClassFactory implementation anyway.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-01-22 21:37:33 +01:00
Rémi Bernon d5cfbf5da4 user32/tests: Test that WH_KEYBOARD_LL are blocking SendInput. 2024-01-22 16:49:57 +01:00
Rémi Bernon ee74d202cd user32/tests: Move KEYEVENTF_UNICODE to test_SendInput_keyboard_messages. 2024-01-22 16:49:57 +01:00
Rémi Bernon a823177ccb win32u: Avoid truncating ToUnicodeEx result if there's room. 2024-01-22 16:49:57 +01:00
Vijay Kiran Kamuju 0d137ddb72 msvcr100: Add _ReaderWriterLock constructor implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46074
2024-01-22 16:49:37 +01:00
Gabriel Ivăncescu 64009b9c9f jscript: Allow garbage collection between different jscript contexts.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-01-22 14:25:54 +01:00
Gabriel Ivăncescu bc45b43a49 jscript: Make the garbage collector thread-wide rather than per-ctx.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-01-22 14:25:54 +01:00
Gabriel Ivăncescu 39c7950aae jscript: Don't use atomic compare exchange when setting the script ctx.
It already bails out early if the thread_data was already populated, so
only one thread can reach here at one time.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-01-22 14:25:51 +01:00
Gabriel Ivăncescu f55db65292 jscript: Move thread_id from JScript struct to TLS data.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2024-01-22 14:25:51 +01:00
Alex Henrie cba29adf06 ntoskrnl: Reimplement ExAllocatePool* on top of ExAllocatePool2.
Microsoft deprecated all of these functions except ExAllocatePool2 and
ExAllocatePool3, so it's a safe bet that in Windows the old functions
are just wrappers around the new ones now.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54362
2024-01-22 14:22:21 +01:00
Alex Henrie 87761a8a92 include: Add POOL_FLAGS and POOL_FLAG_*. 2024-01-22 14:22:20 +01:00
Eric Pouech 46ab4f0ce7 include: Avoid redefining _InterlockedCompareExchange128 as inline.
Note the _InterlockedCompareExchange128 for a x86_64 machine is only
defined as intrinsic when -mcx16 option is enabled.
But we use always use the intrinsic definition on x86_64 so that
compilation done without the -mcx16 could be detected (on C++ only).
And the intrinsic has been added recently to aarch64 machine for clang.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-01-22 14:16:07 +01:00
Eric Pouech 72c4adc036 include: Avoid defining intrinsic functions as inline.
Now clang provides intrinsic variant of Interlocked*64 family on i386
machine.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-01-22 14:15:43 +01:00
Daniel Lehman 8536af685a msvcp140: Pad _Mtx_t struct to match Windows. 2024-01-22 14:15:13 +01:00
Daniel Lehman c3ee5751d5 msvcp120/tests: Add some tests for _Mtx_t fields. 2024-01-22 14:15:13 +01:00
Fabian Maurer d9c4b56e71 windows.ui: Add stubs for InputPane class. 2024-01-22 14:15:13 +01:00
Fabian Maurer 5de5ae4eb1 include: Add Windows.UI.ViewManagement.InputPane definitions. 2024-01-22 14:15:13 +01:00
Alexandre Julliard 78c2b7dfe2 ntdll: Use a .seh handler for KiUserCallbackDispatcher exceptions. 2024-01-22 14:01:24 +01:00
Alexandre Julliard 47aebf67a5 ntdll: Export KiUserCallbackDispatcherReturn. 2024-01-22 11:46:50 +01:00
Alexandre Julliard 7344a124d7 ntdll: Report failure in KiUserCallbackDispatcher when catching an exception. 2024-01-22 11:46:50 +01:00
Alexandre Julliard d89037a826 ntdll: Share KiUserCallbackDispatcher implementation across platforms. 2024-01-22 11:46:25 +01:00
Alexandre Julliard 3031f15784 include: Add a typedef for user callback function pointers. 2024-01-22 11:26:56 +01:00
Alexandre Julliard c7c8624250 msvcp: Consistently use __int64 types in number conversion functions.
This avoids unaligned access warnings with clang.
2024-01-22 11:26:56 +01:00
Nikolay Sivov d46021bab9 d2d1/effect: Recreate transform graph when input count changes. 2024-01-22 10:14:54 +01:00
Nikolay Sivov 1671031143 d2d1/effect: Use XML description for builtin effects. 2024-01-22 10:14:53 +01:00
Nikolay Sivov 9b32b18b08 d2d1/effect: Handle variable input count attributes in the description. 2024-01-22 10:14:51 +01:00
Nikolay Sivov 69870ee88b d2d1/tests: Add some tests for minimum/maximum input count in effect description. 2024-01-22 10:14:51 +01:00
Rémi Bernon a634c30f00 mfplat: Support compressed WAVEFORMATEX in MFCreateWaveFormatExFromMFMediaType. 2024-01-22 10:14:33 +01:00
Rémi Bernon 1939bfff9f mfplat: Support AAC format attributes in MFInitMediaTypeFromWaveFormatEx. 2024-01-22 10:14:33 +01:00
Rémi Bernon 96346d24c1 mfplat/tests: Test MFWaveFormatExConvertFlag_ForceExtensible with HEAACWAVEFORMAT. 2024-01-22 10:14:33 +01:00
Rémi Bernon aa648beec8 mfplat/tests: Add MFInitMediaTypeFromWaveFormatEx tests with HEAACWAVEFORMAT. 2024-01-22 10:14:33 +01:00
Rémi Bernon 2155817a36 mfplat/tests: Test MFInitMediaTypeFromWaveFormatEx wrt MF_MT_FIXED_SIZE_SAMPLES. 2024-01-22 10:14:33 +01:00
Rémi Bernon 681d201462 include: Add HEAACWAVEINFO and HEAACWAVEFORMAT definitions. 2024-01-22 10:14:32 +01:00
Vijay Kiran Kamuju f24b20f01e include: Add Windows.Storage.Streams.InMemoryRandomAccessStream runtimeclass definition.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54963
2024-01-22 10:13:28 +01:00
Fabian Maurer 51b9d8ae65 winegstreamer: Don't check event for NULL, gstreamer already does that. 2024-01-22 10:13:12 +01:00
Yuxuan Shui 8daf207bf7 dmime: Semi-support creating an audio path from config. 2024-01-22 10:12:47 +01:00
Yuxuan Shui e9a52308bb dmime: IDirectMusicPerformance::CreateAudioPath should fail when config is NULL. 2024-01-22 10:12:47 +01:00
Yuxuan Shui 289dfacfd4 dmime: Parse AudioPathConfig. 2024-01-22 10:12:46 +01:00
Yuxuan Shui a300815c0f dmime: AudioPathConfig is not AudioPath.
AudioPaths are created from IDirectMusicPerformance::CreateAudioPath and CreateStandardAudioPath, and
don't have an IDirectMusicObject or an IPersistStream interface. On the other hand AudioPathConfigs
are loaded from files, and do have IDirectMusicObject and IPersistStream.

They were somehow confused with each other and implemented in the same struct, this commit fixes that.
2024-01-22 10:12:44 +01:00
Piotr Caban 12e8d3bd48 msvcp140: Recognize no error case in _Syserror_map. 2024-01-22 10:12:06 +01:00
Piotr Caban c0598baa87 msvcp140/tests: Fix _Syserror_map(0) test failure in newest msvcp140. 2024-01-22 10:12:06 +01:00
Piotr Caban 1d917529f1 msvcp140: Add _XGetLastError implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46904
2024-01-22 10:12:06 +01:00
Vijay Kiran Kamuju b6199254be msvcp140: Add stub for _XGetLastError. 2024-01-22 10:12:05 +01:00
Vijay Kiran Kamuju f51b4d014e wine.inf: Create security directory.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52399
2024-01-22 10:11:27 +01:00
Bernhard Übelacker c3ef1a6c67 dbghelp: Return early if HeapAlloc failed.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56223
2024-01-22 10:10:23 +01:00
Zhiyi Zhang b89d9f3145 ncrypt/tests: Add NCryptExportKey() tests. 2024-01-19 21:18:04 +01:00
Zhiyi Zhang 663bce9de9 ncrypt: Add some missing RSA key properties. 2024-01-19 21:18:04 +01:00
Zhiyi Zhang 1144efbc47 ncrypt/tests: Test default RSA key properties. 2024-01-19 21:18:04 +01:00