Commit graph

157679 commits

Author SHA1 Message Date
Jinoh Kang 58571710ba comctl32: Fix integer overflow in DPA_Search.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-06-10 11:58:52 +02:00
Louis Lenders 561a5b8f84 advapi32: Fix spec entry for LookupPrivilegeDisplayName{A,W}.
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-09 20:56:39 +02:00
Zebediah Figura e63cdb3cad hidclass.sys: No longer set the DEVPROPKEY_HID_HANDLE property.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-09 20:55:52 +02:00
Zebediah Figura 1798702655 user32: Use IOCTL_HID_GET_WINE_RAWINPUT_HANDLE to retrieve the raw input handle.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-09 20:55:45 +02:00
Zebediah Figura cf2e168c3a dinput: Use IOCTL_HID_GET_WINE_RAWINPUT_HANDLE to retrieve the raw input handle.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-09 20:55:37 +02:00
Zebediah Figura b68d2aad19 hidclass.sys: Expose an ioctl to retrieve the raw input handle.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-09 20:55:27 +02:00
Rémi Bernon 64efaf26b7 kernelbase: Use RtlSetUserValueHeap to store HLOCAL.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-09 20:55:20 +02:00
Rémi Bernon ff864e5621 ntdll: Implement RtlSetUserValueHeap.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-09 20:55:20 +02:00
Rémi Bernon 06b582e695 kernelbase: Use HEAP_ADD_USER_INFO for HLOCAL allocations.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-09 20:55:20 +02:00
Rémi Bernon 31df70a3de ntdll: Add block padding when HEAP_ADD_USER_INFO flag is set.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-09 20:55:20 +02:00
Rémi Bernon 15d01a2a12 ole32/tests: Update IStream_SetSize with large size test result.
The high part is ignored, and OOM error is only returned if there's not
enough memory available, not because of GlobalReAlloc specific behavior.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-09 20:55:20 +02:00
Hugh McMaster 577258a981 conhost: Update debug output and comments when loading/saving settings.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-09 20:55:20 +02:00
Hugh McMaster 1c9c1ebc80 conhost: Show caret immediately after reshaping.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-09 20:55:20 +02:00
Georg Lehmann 86d893f931 winevulkan: Update to VK spec version 1.3.217.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-09 20:55:20 +02:00
Rémi Bernon a53298f4d0 dinput/tests: Merge device.c tests into device8.c.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-09 20:55:20 +02:00
Rémi Bernon f5e9079ed7 dinput/tests: Use dinput_test_(init|exit) for all tests.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-09 20:55:20 +02:00
Rémi Bernon 4e04c710ad dinput/tests: Avoid requiring foreground window in SetCooperativeLevel tests.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-09 20:55:20 +02:00
Paul Gofman 4f8fe3b184 winhttp: Use completion port for async send.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
2022-06-09 20:55:20 +02:00
Paul Gofman dae64e2db5 winhttp: Introduce netconn_wait_overlapped_result() helper.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
2022-06-09 20:55:20 +02:00
Jacek Caban 61ad0b844d win32u: Move SC_SIZE and SC_MOVE handling from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-09 20:55:20 +02:00
Jacek Caban 9c6895e37d winex11: Use LoadImageW in fetch_icon_data.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-09 20:55:20 +02:00
Jacek Caban 6e2ea185c2 win32u: Move NtUserInternalGetWindowIcon implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-09 20:55:20 +02:00
Jacek Caban a8ed1c94b3 win32u: Move NtUserDragDetect implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-09 20:55:20 +02:00
Jacek Caban 540dc761fc win32u: Move SetWindowContextHelpId implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-09 20:55:20 +02:00
Jacek Caban b2db69efcf win32u: Move NtUserScrollWindowEx implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-09 20:55:20 +02:00
Jacek Caban ff66d8ee0f win32u: Remove no longer used __wine_set_user_driver PE entry point.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-09 20:55:20 +02:00
Louis Lenders 4e19dbbbf2 wbemprox: Add a few properties to Win32_QuickFixEngineering.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52879
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-09 13:20:14 +02:00
Chilung Chan ab4e56b398 po: Update Traditional Chinese translation.
Signed-off-by: Chilung Chan <eason066@gmail.com>
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-09 13:20:13 +02:00
Akihiro Sagawa b4f20eec46 msvcrt: Avoid passing an invalid LCID to LCMapStringW.
Because it complains as follows on startup in Japanese locale:
002c:err:msvcrt:create_mbcinfo WideCharToMultiByte failed for cp 932, ret=0 (exp 196), error=122

This happens after commit c2a455a20d.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-09 13:20:13 +02:00
Alexandre Julliard 21a1c30972 ntdll: Move the user locale initialization to the Unix side.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-09 13:20:13 +02:00
Alexandre Julliard c5eb9cb25e ntdll: Share a few more locale functions with the Unix side.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-09 13:20:13 +02:00
Paul Gofman ab88f34de6 ws2_32/tests: Add tests for terminated thread asyncs completion.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
2022-06-09 13:20:13 +02:00
Paul Gofman 7c597313f8 ntdll: Cancel asyncs when thread is terminated.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
2022-06-09 13:20:13 +02:00
Paul Gofman 5a8ccc15a2 ws2_32: Check for valid socket in WSAGetOverlappedResult().
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
2022-06-09 13:20:13 +02:00
Martin Storsjö 94dc5714ac ntdll/tests: Test returning an exception handler on arm/arm64.
Signed-off-by: Martin Storsjö <martin@martin.st>
2022-06-09 13:20:13 +02:00
Martin Storsjö f1f7e096db ntdll/tests: Fix printing of incorrect exception handler data.
*(DWORD *)data is the value being compared; printing the 'data'
pointer itself provides little value here.

Signed-off-by: Martin Storsjö <martin@martin.st>
2022-06-09 13:20:13 +02:00
Derek Lesho 474d1824c4 mfreadwrite: Update source reader MF_SOURCE_READER_ANY_STREAM behavior based on tests.
Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
2022-06-09 10:46:55 +02:00
Derek Lesho 35f9b6f0b1 mfreadwrite/tests: Test timestamp-based MF_SOURCE_READER_ANY_STREAM behavior.
Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
2022-06-09 10:46:55 +02:00
Rémi Bernon c40ab0f9a6 winegstreamer: Support zero-copy in wg_transform_push_data.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-09 10:46:50 +02:00
Rémi Bernon f17b801056 winegstreamer: Support zero-copy output using the allocator.
Through a custom allocator, by borrowing memory from the reading thread
and mapping it instead of the allocated memory.

We cannot use the buffer pool to share wrapped buffers, because some
decoder will hold on the acquired buffers longer than they should and
we cannot remove our memory from them as long as they keep a reference.

Swapping the memory on map should be safe.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-09 10:46:48 +02:00
Rémi Bernon b38935f1cf winegstreamer: Introduce a new custom memory allocator.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-09 10:46:48 +02:00
Rémi Bernon 4f242f09c0 winegstreamer: Rename mf_(create|destroy)_wg_sample helpers.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-09 10:46:48 +02:00
Rémi Bernon 240aff382d winegstreamer: Introduce new wg_transform_(push|read)_mf helpers.
To read MF sample properties before pushing, and update them after
sucessfully reading a sample.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-09 10:46:46 +02:00
Connor McAdams f256979be1 uiautomationcore: Implement MSAA accState based property IDs for MSAA providers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-08 18:54:25 +02:00
Connor McAdams c250b5c777 uiautomationcore: Implement UIA_ControlTypePropertyId for MSAA providers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-08 18:54:25 +02:00
Connor McAdams e3349cef43 uiautomationcore/tests: Store test IAccessible data in structures.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-08 18:54:25 +02:00
Connor McAdams 06344846d5 uiautomationcore: Use WindowFromAccessibleObject to get HWND in UiaProviderFromIAccessible.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-08 18:54:25 +02:00
Connor McAdams 97357ea622 uiautomationcore/tests: Skip UiaProviderFromIAccessible tests on Win10v1507.
In Windows 10 version 1507, UiaProviderFromIAccessible will try to check
the IAccessible passed in against the root IAccessible of the HWND
associated with the passed in IAccessible. In all other Windows
versions, this check is done on a call to get_HostRawElementProvider, or
the first time navigating towards a parent or sibling. Rather than work
around this, just skip the tests if this happens.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-08 18:54:25 +02:00
Connor McAdams 84141b5acd include: Add UI Automation Control Type ID definitions.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-08 18:54:25 +02:00
Rémi Bernon 2692e59f46 windows.gaming.input: Implement stub IGamepad2 interface.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-08 15:04:56 +02:00