Commit Graph

157174 Commits

Author SHA1 Message Date
Jacek Caban dfeb2d2474 win32u: Introduce DesktopWindowProc driver entry point.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 20:53:35 +02:00
Jacek Caban 336f033273 win32u: Move desktop window proc implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 20:53:35 +02:00
Jacek Caban a15df248e5 win32u: Export NtUserGetWindowPlacement.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 20:53:34 +02:00
Jacek Caban 9abd2ae8d1 win32u: Move NtUserSetInternalWindowPos implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 20:53:33 +02:00
Jacek Caban 96b2b4c078 win32u: Move NtUserSetWindowPlacement implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 20:53:31 +02:00
Nikolay Sivov 295599e2c2 dwrite/opentype: Fix GPOS PairSet array offset.
Passed offset already includes subtable offset.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 20:52:32 +02:00
Nikolay Sivov f6d184fe88 vbscript: Handle null arguments in DateSerial().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 20:52:26 +02:00
Nikolay Sivov da966b4d46 vbscript: Implement Weekday().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 20:52:20 +02:00
Alistair Leslie-Hughes 0f44081775 d3drm: IDirect3DRMTexture3 Get/SetShades.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:30:58 +02:00
Alistair Leslie-Hughes 90b2a8e11e d3drm: IDirect3DRMTexture3 Get/SetColors.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:30:56 +02:00
Alistair Leslie-Hughes 913c82e48c d3drm: IDirect3DRMTexture3 Get/SetDecalOrigin.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:30:54 +02:00
Alistair Leslie-Hughes b8f67bf78d d3drm: IDirect3DRMMeshBuilder2 Get/SetQuality.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:30:51 +02:00
Rémi Bernon 3c304287e7 windows.gaming.input: Ignore IDirectInputDevice8_GetDeviceState failures.
We will get hotplug notifications asynchronously, and returning an error
here can cause uncaught C++ exceptions in games.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:30:46 +02:00
Rémi Bernon b7f51783bb windows.gaming.input: Implement IForceFeedbackEffect_get_State.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:30:45 +02:00
Rémi Bernon b2b1e6a438 windows.gaming.input: Implement IForceFeedbackEffect_(Start|Stop).
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:30:43 +02:00
Rémi Bernon 4860e52924 winebus.sys: Add support for PID effect gain.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:30:41 +02:00
Bernhard Kölbl 0a4b2bbd55 windows.media.speech/tests: Add some recognition tests.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:29:56 +02:00
Bernhard Kölbl 38902e6d60 windows.media.speech/tests: Make use of a helper function for IAsyncInfo checking.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:29:55 +02:00
Bernhard Kölbl 1b1ed8f1e2 windows.media.speech/tests: Add await helper for IAsyncOperation.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:29:53 +02:00
Bernhard Kölbl 00e3dccb67 windows.media.speech/tests: Retype AsyncOperationCompletedHandler to IInspectable.
So it can be used more generic.

Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:29:51 +02:00
Bernhard Kölbl c73f06a586 windows.media.speech: Rename impl_from_IAsyncInfo to async_inspectable_impl_from_IAsyncInfo.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:29:49 +02:00
Bernhard Kölbl 1805b2ff26 windows.media.speech/tests: Remove a inconsistent ref check.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:29:47 +02:00
Piotr Caban f3576a0590 msvcr120: Add missing _StructuredTaskCollection destructor spec file entry.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:28:53 +02:00
Nikolay Sivov f2ee6b7c31 winedump: Add support for dumping UnloadedModuleListStream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:28:25 +02:00
Eric Pouech 4a1f1082e4 include: Use Mingw64's __uuidof when present.
otherwise Wine's and Mingw64's __uuidof() conflict (C++)

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 16:17:08 +02:00
Rémi Bernon 61bc8abd1f ntdll: Use block size helpers in heap_reallocate.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 15:54:05 +02:00
Rémi Bernon eb931b8421 ntdll: Rename HEAP_FindFreeBlock size parameter.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 15:54:05 +02:00
Rémi Bernon b20f466628 ntdll: Rename local variables in heap_allocate.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 15:54:05 +02:00
Rémi Bernon a3acd63581 ntdll: Rename local variables in heap_reallocate.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 15:54:05 +02:00
Rémi Bernon 9325bfada7 ntdll: Use block helpers in subheap_notify_free_all.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 15:54:05 +02:00
Rémi Bernon 2815c117bc ntdll: Ignore back pointer when validating free block pattern.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 15:54:05 +02:00
Alistair Leslie-Hughes 034b7e306e dwmapi: Clear DWM_TIMING_INFO structure before returning.
Clearing the structure passed in, allows Chromium to calculated
failback values when refreshing windows.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53016
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 15:53:59 +02:00
Rémi Bernon 11cb3bbf69 dinput: Make sure converted direction values are always positive.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 21:46:35 +02:00
Rémi Bernon 37abfa73f2 windows.gaming.input: Implement IConditionForceEffect_SetParameters.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 21:46:33 +02:00
Rémi Bernon 84fe8c2246 windows.gaming.input: Implement IPeriodicForceEffect_SetParameters(WithEnvelope).
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 21:46:32 +02:00
Rémi Bernon 081a289126 windows.gaming.input: Implement IRampForceEffect_SetParameters(WithEnvelope).
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 21:46:31 +02:00
Rémi Bernon aba20b0624 windows.gaming.input: Implement IConstantForceEffect_SetParameters(WithEnvelope).
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 21:46:29 +02:00
Rémi Bernon bc6df7ca57 windows.gaming.input: Implement IForceFeedbackEffect_(get|put)_Gain.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 21:46:28 +02:00
Rémi Bernon c578aa7cd3 windows.gaming.input: Always assume at least two force feedback axes.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 21:46:27 +02:00
Rémi Bernon 0c6f463fe1 dinput/tests: Remove IAsyncOperation reference count checks.
They are unreliable as the worker thread is holding a reference on the
async operation itself.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 21:46:24 +02:00
Sven Baars 07cb8ef5d0 d3dx10/tests: Disable a PreloadGlyphs test for d3dx10_34.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51827
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:38:14 +02:00
Fabian Maurer f391e9cf1e kernel32: Prevent null pointer dereference in WritePrivateProfileStructW.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49285
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:37:30 +02:00
Brendan Shanks 65954db2be crypt32/tests: Fix mismatched deallocation function.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:36:10 +02:00
Brendan Shanks eb55f64d52 include: Add __WINE_DEALLOC attribute and use it for allocation functions.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:36:10 +02:00
Brendan Shanks fd1b9afc1d include: Add __WINE_MALLOC attribute and use it for allocation functions.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:36:10 +02:00
Rémi Bernon 0c856978f1 ntdll: Update block unused_bytes in shrink_used_block.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:29:03 +02:00
Rémi Bernon 481ecc2d72 ntdll: Cleanup HEAP_ShrinkBlock and rename it to shrink_used_block.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:29:03 +02:00
Rémi Bernon c662992de4 ntdll: Create free block after updating the size in HEAP_ShrinkBlock.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:29:03 +02:00
Rémi Bernon 419e4730ba ntdll: Simplify the fallback case in heap_reallocate.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:29:03 +02:00
Rémi Bernon 3728b2b7d2 ntdll: Fail to allocate large blocks if heap isn't growable.
This tweaks the test sizes so that it passes on Wine too. The created
heap should be large enough to hold the requested alloc size, but the
allocation still fails.

Windows seems to have a specific lower threshold for large blocks with
non growable heaps, but it's probably not very useful to match it.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:28:59 +02:00