Commit graph

158018 commits

Author SHA1 Message Date
Julian Klemann 3b91c7c58f httpapi/tests: Add tests for when URLs fail to be added to a queue.
If a queue is associated to a URL group and the URL cannot be added to
the queue, the URL should not be set in the group. In other cases, it
should be.

Signed-off-by: Julian Klemann <jklemann@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-16 22:39:14 +02:00
Julian Klemann 39502adc6c httpapi/tests: Move sleep statement.
The mentioned bug randomly occurred after some subsequent patches, so
the sleep should happen before GetOverlappedResult is called.

Signed-off-by: Julian Klemann <jklemann@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-16 22:39:14 +02:00
Giovanni Mascellani 433845277b mfplat/tests: Test interaction between Lock2D() and LockRect().
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-16 22:32:37 +02:00
Giovanni Mascellani 0d63116b27 mfplat/tests: Test interaction between Lock() and LockRect().
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-16 22:32:37 +02:00
Jacek Caban fc940d5834 win32u: Move WM_CONTEXTMENU and WM_POPUPSYSTEMMENU implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-16 19:29:10 +02:00
Jacek Caban b9d8a842f0 win32u: Move menu tracking implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-16 19:29:10 +02:00
Rémi Bernon 41184e9de9 winegstreamer: Implement ColorConvertDMO transform.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-16 19:29:10 +02:00
Rémi Bernon 5b178b2fa9 winegstreamer: Register stub ColorConvertDMO transform.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-16 19:29:10 +02:00
Rémi Bernon 09b56e2f36 winegstreamer: Remove unnecessary WineAudioConverter transform.
Superseded by the standard ResamplerMediaObject transform.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-16 19:29:10 +02:00
Rémi Bernon d33cb57e7d winegstreamer: Implement ResamplerMediaObject transform.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-16 19:29:10 +02:00
Rémi Bernon b6a7a02159 winegstreamer: Register stub ResamplerMediaObject transform.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-16 19:29:10 +02:00
Sebastián Aedo b39fa96d0c winex11.drv: Change order register_extension for WGL_ARB_pixel_format_float.
Some processes use very naive string matching when detecting extensions,
for example, Cossacks III checks if the extension is "contained" in the
current extension is checking, causing that `WGL_ARB_pixel_format` is
contained in `WGL_ARB_pixel_format_float`, but it ends up with the flag
deactivated because they aren't the same.

This makes it consistent with the behavior on winemac.drv/opengl.c
too.

Signed-off-by: Sebastián Aedo <sebastian.aedo29@gmail.com>
2022-06-16 11:41:11 +02:00
Alex Henrie 89ec37871f ntdll: Don't hard-code the battery and AC adapter names on Linux.
Look through all of the devices in /sys/class/power_supply and take the
statistics from the first battery and the first AC adapter.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52831
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2022-06-16 11:40:05 +02:00
Alistair Leslie-Hughes 88c29c3ff0 d3drm: Pass all D3DRM_LOAD* flags directly through to CreateEnumObject() in IDirect3DRMMeshBuilder3::Load().
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
2022-06-16 11:39:22 +02:00
Andrew Eikum 712c547e08 include: Remove duplicate ICodecAPI::GetParameterValues function.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-15 22:21:34 +02:00
Connor McAdams 62d76348b3 uiautomationcore: Add basic IAccessible2 support.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-15 21:48:53 +02:00
Connor McAdams 7d5708a182 ia2comproxy: Introduce new proxy stub DLL for IAccessible2.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-15 21:48:52 +02:00
Connor McAdams ad8c61d897 include: Import IAccessible2 headers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-15 21:48:08 +02:00
Piotr Caban 2e2377df21 d3dx10/tests: Add D3DX10CreateAsyncTextureProcessor tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-15 21:45:03 +02:00
Piotr Caban 0d457b2ce2 d3dx10: Add D3DX10CreateAsyncTextureProcessor implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
2022-06-15 21:45:03 +02:00
Piotr Caban 04b6412c18 d3dx10: Add D3DX10CreateAsyncTextureProcessor stub.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-15 21:45:02 +02:00
Piotr Caban 547c292a80 d3dx10: Exit early on volume textures in D3DX10CreateTextureFromMemory.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
2022-06-15 21:45:02 +02:00
Piotr Caban 802cbe14f9 d3dx10/tests: Add D3DX10CreateTextureFromMemory HRESULT argument tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-15 21:45:02 +02:00
Piotr Caban 56debb4918 d3dx10: Don't ignore HRESULT parameter in D3DX10CreateTextureFromMemory.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-15 21:45:02 +02:00
Nikolay Sivov 5beba20e8f d3d11: Create dxgi resource objects for buffers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-15 21:44:47 +02:00
Nikolay Sivov 204126ec4c d3d11: Create dxgi resource object for 3D textures.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-15 21:44:47 +02:00
Nikolay Sivov 9b220b8079 d3d11: Always use dxgi resource private store for 1D and 2D textures.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-15 21:44:47 +02:00
Nikolay Sivov 0492f8cf0d d3d11: Add a helper to create DXGI resource objects.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-15 21:44:47 +02:00
Nikolay Sivov 184ff3bfbb dxgi: Create DXGI resource object, optionally supporting surface interfaces.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-15 21:44:47 +02:00
Nikolay Sivov 9a78bd87c4 dxgi/tests: Add a IDXGIResource support test for CreateSurface().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-15 21:44:46 +02:00
Nikolay Sivov bf8171a3a9 d3d11/tests: Add some tests for IDXGIResource support.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-15 21:44:46 +02:00
Jacek Caban 76a0108c59 win32u: Use NtUserCallHwnd for NtUserSetForegroundWindow.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-15 18:32:19 +02:00
Jacek Caban 389832e0d9 win32u: Move WM_NCRBUTTONDOWN implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-15 18:32:19 +02:00
Jacek Caban 8ddf64b69a win32u: Move WM_NCLBUTTONDOWN implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-15 18:32:19 +02:00
Jacek Caban 80ef8832aa win32u: Move WM_NCHITTEST implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-15 18:32:19 +02:00
Jacek Caban 07f2cc9dda win32u: Move process default layout handling from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-15 18:32:18 +02:00
Jacek Caban 6f3ed5fd64 win32u: Move NtUserInvalidateRect and NtUserInvalidateRgn implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-15 18:32:16 +02:00
Jacek Caban dad8044f1a win32u: Move WM_KEYF1 implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-15 18:32:16 +02:00
Jacek Caban 95b76f5101 win32u: Move NtUserMenuItemFromPoint implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-15 18:32:16 +02:00
Hans Leidekker 987d637e31 cryptnet: Fall back to online CRL verification if OCSP verification fails.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53136
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53138
2022-06-15 15:35:01 +02:00
Hans Leidekker f08dcbf894 cryptnet: Move revocation cache check to verify_cert_revocation_from_dist_points_ext().
Paves the way for falling back from OCSP to online CRL verification. It's not clear if a
cache is needed for OCSP responses, or if the wininet cache wouldn't be sufficient.
2022-06-15 15:34:58 +02:00
Hans Leidekker bbb3990c91 cryptnet: Fail CRL verification if there's no issuer certificate. 2022-06-15 15:34:58 +02:00
Rémi Bernon c57eda2432 server: Avoid using pointer value after realloc.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-15 11:57:08 +02:00
Rémi Bernon 902a894900 d3drm: Avoid using pointer value after free.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-15 11:53:29 +02:00
Rémi Bernon 164a4070db dsound: Avoid using pointer value after free.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-15 11:53:29 +02:00
Rémi Bernon e2f7f01ac8 notepad: Avoid using pointer value after free.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-15 11:53:29 +02:00
Rémi Bernon 7b44906361 msi: Avoid using pointer value after free.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-15 11:53:29 +02:00
Rémi Bernon bcf38fc53c user32/tests: Workaround use after free warnings.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-15 11:53:29 +02:00
Rémi Bernon 197c24092a oleaut32/tests: Workaround use after free warnings.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-15 11:53:29 +02:00
Rémi Bernon c8d6f21284 mshtml/tests: Avoid using pointer value after free.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-15 11:53:29 +02:00