Commit graph

159127 commits

Author SHA1 Message Date
Connor McAdams 00c8117a72 combase: Omit thread ID from the stub manager ipid for MTA objects.
It is possible for a thread that creates an MTA to call
CoUninitialize() and not destroy the MTA if another thread has
entered the MTA in the meantime. If the original thread then creates
an STA, subsequent attempts to find the MTA with 'apartment_findfromtid'
will get the original thread's STA. To avoid this, don't set a TID value
in the stub manager IPID value to indicate that the stub resides in the
MTA.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-08-30 21:38:39 +02:00
Jacek Caban 55db1dbb32 user32: Call winproc_init before dpiaware_init.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53601
2022-08-30 21:38:39 +02:00
Zebediah Figura 099f84c4f0 include: Add list_move_after() and list_move_before().
Cherry-picked from vkd3d commit a2996c2d59b140a0a92efc85d43c8f9b59540a12.
2022-08-30 21:38:39 +02:00
Henri Verbeet 57c9bc9056 include: Avoid _t-suffixes.
The _t-suffix is reserved by POSIX.

Cherry-picked from vkd3d commit 78c203b395b1fa4b5918cf881ebba8e9d47ae997.
2022-08-30 21:38:39 +02:00
Alexandre Julliard 96742389f6 include: Add va_list version of the debug printf functions. 2022-08-30 18:33:23 +02:00
Alexandre Julliard 4d0468e316 include: Simplify handling of va_list in debug printf functions. 2022-08-30 18:33:20 +02:00
Alexandre Julliard a8b007da58 kernelbase: Fix error value for PE files without resource.
Avoids spurious "dll is missing" messages from winetest.
2022-08-30 18:30:13 +02:00
Nikolay Sivov f143af50a3 evr/filter: Implement media type testing for QueryAccept().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-29 20:04:17 +02:00
Nikolay Sivov 4d7b3c7861 evr/filter: Add IMFTopologyServiceLookup stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-29 20:04:17 +02:00
Nikolay Sivov 27972922c7 evr/filter: Add IMediaEventSink stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-29 20:04:17 +02:00
Bernhard Kölbl cb2dfa437d windows.media.speech/tests: Skip SpeechRecognitionListConstraint tests on Win10 1709 x32 and below. 2022-08-29 20:04:17 +02:00
Bernhard Kölbl b2b0e7ee99 windows.media.speech/tests: Add basic query tests for SpeechSynthesizerOptions. 2022-08-29 20:04:17 +02:00
Bernhard Kölbl 958b3da947 include/windows.media.speechsynthesis.idl: Add missing interfaces to SpeechSynthesizerOptions runtimeclass.
And their dependencies.
2022-08-29 20:04:17 +02:00
Bernhard Kölbl df9fc8958f windows.media.speech: Add missing async_void_Release implementation.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2022-08-29 20:04:17 +02:00
Bernhard Kölbl 6dc873bcae windows.media.speech/tests: Remove some flaky refcount checks.
They can fail, when the recognition session outlives the test
function, which is expected to happen, as the session is concurrent.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53458
2022-08-29 20:04:17 +02:00
Alexandre Julliard 81e91afb36 urlmon/tests: Run tests against the gitlab server to avoid redirects. 2022-08-29 16:04:29 +02:00
Alexandre Julliard a4930f003f Release 7.16.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-08-28 14:24:49 +02:00
Gabriel Ivăncescu d9c1f5a41b mshtml: Implement remainingSpace prop for sessionStorage.
And a character quota that matches native.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-27 16:53:48 +02:00
Gabriel Ivăncescu a35462679a mshtml: Implement length prop for Storage.
`length` for localStorage is not updated immediately on native, which
suggests some caching is involved for a period of time (probably for
performance reasons to avoid reading the file everytime the prop is read),
or it doesn't block like the rest since the write is asynchronous, making
it unreliable to test, which is why the tests for it are basic.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-27 16:53:46 +02:00
Gabriel Ivăncescu 31b6138db4 mshtml: Implement key() for localStorage.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-27 16:53:46 +02:00
Gabriel Ivăncescu 2834119a43 mshtml: Implement key() for sessionStorage.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-27 16:53:46 +02:00
Gabriel Ivăncescu 102e62332a mshtml: Implement clear() for Storage.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-27 16:53:46 +02:00
Gabriel Ivăncescu adc5bcba57 mshtml: Implement removeItem() for sessionStorage.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-27 16:53:46 +02:00
Gabriel Ivăncescu 1a5cddc1da mshtml: Implement getItem() for sessionStorage.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-27 16:53:46 +02:00
Gabriel Ivăncescu 3ba9c760df mshtml: Implement setItem() for sessionStorage.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-27 16:53:46 +02:00
Jacek Caban b348930547 user32: Build with nameless structs and unions. 2022-08-27 16:53:33 +02:00
Jacek Caban f2c55128c8 user32: Merge win.h into user_private.h. 2022-08-27 16:53:33 +02:00
Jacek Caban eb817e1f20 user32: Remove no longer user get_hwnd_message_parent. 2022-08-27 16:53:33 +02:00
Jacek Caban 3ba583fde8 win32u: Introduce NtUserActivateOtherWindow.
And use it instead of WINPOS_ActivateOtherWindow.
2022-08-27 16:53:30 +02:00
Jacek Caban 803a5f0789 win32u: Move NtUserPerMonitorDPIPhysicalToLogicalPoint implementation from user32. 2022-08-27 16:53:28 +02:00
Jacek Caban 352e24dcdf win32u: Move NtUserLogicalToPerMonitorDPIPhysicalPoint implementation from user32. 2022-08-27 16:53:27 +02:00
Jacek Caban fd38290918 user32: Remove no longer used DPI functions. 2022-08-27 16:53:27 +02:00
Huw Davies d6dce27e42 wow64: Fix another ARM32 machine type. 2022-08-27 16:53:19 +02:00
Nikolay Sivov 4690a7df51 mfplat: Partially implement MFInitMediaTypeFromAMMediaType().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-27 16:53:13 +02:00
Nikolay Sivov 1e2f552428 mfplat: Partially implement MFInitMediaTypeFromVideoInfoHeader().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-27 16:53:13 +02:00
Nikolay Sivov 43e70580f4 mfplat/tests: Add some tests for legacy media type conersion functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-27 16:53:09 +02:00
André Zwing 9eaeebf039 wow64: Fix the ARM32 machine type. 2022-08-25 14:35:58 -05:00
Loïc Rebmeister ddb0339fa1 wintypes: Add RoResolveNamespace stub.
Signed-off-by: Loïc Rebmeister <fox2code@gmail.com>
2022-08-25 12:01:35 -05:00
Brendan Shanks 42f9a8ef79 shell32: Return NULL from ExtractIcon() for all error cases. 2022-08-25 11:58:05 -05:00
Brendan Shanks 584eb4e804 shell32/tests: Test ExtractIcon() with an empty/invalid path. 2022-08-25 11:58:05 -05:00
Gijs Vermeulen a9ed113347 kernel32: Add SetProcessDefaultCpuSets stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53589
2022-08-25 11:57:24 -05:00
Jacek Caban 0739aa610c user32: Pass resource ID as a string in DIALOG_CreateControls32.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53566
2022-08-25 11:57:24 -05:00
Jacek Caban 2e9c40d50a user32: Support passing bitmap and icon resource ID as a string when creating static control. 2022-08-25 11:57:21 -05:00
Jacek Caban f28824eb58 user32: Support resource ID strings in CREATESTRUCT Unicode conversion. 2022-08-25 11:56:22 -05:00
Alexandre Julliard 5e0d56e7e7 gitlab: Add macOS build. 2022-08-25 11:51:42 -05:00
Rémi Bernon 4e55dfb7c5 qasf/tests: Test ASF Reader filter threading wrt. ReceiveCanBlock. 2022-08-24 14:58:06 -05:00
Rémi Bernon 31add29f54 qasf/tests: Test ASF Reader filter initial state and pins. 2022-08-24 14:58:06 -05:00
Piotr Caban d22275a1dc msvcr100: Set scheduler in tasks created with ScheduleTask function. 2022-08-24 12:27:43 -05:00
Torge Matthies 581a35d1bf msvcr100: Implement _StructuredTaskCollection::_Schedule and _Schedule_loc.
Signed-off-by: Torge Matthies <tmatthies@codeweavers.com>
2022-08-24 12:27:23 -05:00
Torge Matthies e704c44542 msvcr100: Factor out the mapping of a context to a scheduler.
Signed-off-by: Torge Matthies <tmatthies@codeweavers.com>
2022-08-24 12:27:23 -05:00